summaryrefslogtreecommitdiff
path: root/src/capplet
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-07-25 15:51:23 +0200
committerinfirit <[email protected]>2015-07-28 11:38:23 +0200
commit5719ca490a58c1f6084ecac38dd691dd0d85e6b7 (patch)
treea6ab8613b03b4ebad55b072a5b2870ffe3db6c24 /src/capplet
parent0b2604b1b0fef7672978b5b682915491e1aa7a71 (diff)
downloadmate-notification-daemon-5719ca490a58c1f6084ecac38dd691dd0d85e6b7.tar.bz2
mate-notification-daemon-5719ca490a58c1f6084ecac38dd691dd0d85e6b7.tar.xz
Help: remove useless help button from gui
+ little GUI adjustments, looks better with two buttons
Diffstat (limited to 'src/capplet')
-rw-r--r--src/capplet/mate-notification-properties.c9
-rw-r--r--src/capplet/mate-notification-properties.ui32
2 files changed, 2 insertions, 39 deletions
diff --git a/src/capplet/mate-notification-properties.c b/src/capplet/mate-notification-properties.c
index 0b719bc..a1e322e 100644
--- a/src/capplet/mate-notification-properties.c
+++ b/src/capplet/mate-notification-properties.c
@@ -434,11 +434,6 @@ static void notification_properties_checkbox_notify(GSettings *settings, gchar *
}
}
-static void notification_properties_dialog_help(void)
-{
- /* Do nothing */
-}
-
static void show_message(NotificationAppletDialog* dialog, const gchar* message)
{
GtkWidget* d = gtk_message_dialog_new(GTK_WINDOW(dialog->dialog), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", message);
@@ -490,10 +485,6 @@ static void notification_properties_dialog_response(GtkWidget* widget, int respo
{
switch (response)
{
- case GTK_RESPONSE_HELP:
- notification_properties_dialog_help();
- break;
-
case GTK_RESPONSE_ACCEPT:
notification_properties_dialog_preview(dialog);
break;
diff --git a/src/capplet/mate-notification-properties.ui b/src/capplet/mate-notification-properties.ui
index c59c86b..280fb8d 100644
--- a/src/capplet/mate-notification-properties.ui
+++ b/src/capplet/mate-notification-properties.ui
@@ -22,21 +22,6 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
- <object class="GtkButton" id="button3">
- <property name="label">gtk-help</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
- <property name="focus_on_click">False</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="button4">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -87,7 +72,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">1</property>
+ <property name="position">0</property>
</packing>
</child>
<child>
@@ -103,7 +88,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">2</property>
+ <property name="position">1</property>
</packing>
</child>
</object>
@@ -139,18 +124,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkLabel" id="label10">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes"> </property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkTable" id="table3">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -299,7 +272,6 @@
</object>
</child>
<action-widgets>
- <action-widget response="-11">button3</action-widget>
<action-widget response="-3">button4</action-widget>
<action-widget response="-7">button5</action-widget>
</action-widgets>