From 5719ca490a58c1f6084ecac38dd691dd0d85e6b7 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 25 Jul 2015 15:51:23 +0200 Subject: Help: remove useless help button from gui + little GUI adjustments, looks better with two buttons --- src/capplet/mate-notification-properties.c | 9 -------- src/capplet/mate-notification-properties.ui | 32 ++--------------------------- 2 files changed, 2 insertions(+), 39 deletions(-) (limited to 'src/capplet') 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 @@ -21,21 +21,6 @@ True False end - - - gtk-help - True - False - False - True - False - - - False - False - 0 - - True @@ -87,7 +72,7 @@ False False - 1 + 0 @@ -103,7 +88,7 @@ False False - 2 + 1 @@ -138,18 +123,6 @@ True False - - - True - False - - - - False - False - 0 - - True @@ -299,7 +272,6 @@ - button3 button4 button5 -- cgit v1.2.1