summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-07-25 15:51:23 +0200
committerMonsta <[email protected]>2015-08-08 18:26:44 +0300
commit343fe225b0f103f176de7af3bfacdb274a81906f (patch)
tree7369c2a66a48a4d588e90c8b673de93d60d2520b
parentef263cb59d6eeb2cb0d3bc96ec855b669d48c8c8 (diff)
downloadmate-notification-daemon-343fe225b0f103f176de7af3bfacdb274a81906f.tar.bz2
mate-notification-daemon-343fe225b0f103f176de7af3bfacdb274a81906f.tar.xz
Help: remove useless help button from gui
+ little GUI adjustments, looks better with two buttons
-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>