From 135fbbfcacadfa8e251848c2e22f11db52f63851 Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Fri, 27 Feb 2009 17:56:39 +0000 Subject: [PATCH] remove sound notifications button icon that no longer exists (bug #570906) 2009-02-27 Jens Granseuer * gnome-keyboard-properties.c: (create_dialog): remove sound notifications button icon that no longer exists (bug #570906) svn path=/trunk/; revision=9292 --- capplets/keyboard/ChangeLog | 5 +++++ capplets/keyboard/gnome-keyboard-properties.c | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/capplets/keyboard/ChangeLog b/capplets/keyboard/ChangeLog index c2bfc64f7..8b4da9c16 100644 --- a/capplets/keyboard/ChangeLog +++ b/capplets/keyboard/ChangeLog @@ -1,3 +1,8 @@ +2009-02-27 Jens Granseuer + + * gnome-keyboard-properties.c: (create_dialog): remove sound + notifications button icon that no longer exists (bug #570906) + 2009-02-14 Sergey Udaltsov * gnome-keyboard-properties-xkbltadd.c: fixed initial preview, diff --git a/capplets/keyboard/gnome-keyboard-properties.c b/capplets/keyboard/gnome-keyboard-properties.c index 3b538b40d..f468e16ef 100644 --- a/capplets/keyboard/gnome-keyboard-properties.c +++ b/capplets/keyboard/gnome-keyboard-properties.c @@ -80,9 +80,6 @@ create_dialog (void) image = gtk_image_new_from_stock (GTK_STOCK_REFRESH, GTK_ICON_SIZE_BUTTON); gtk_button_set_image (GTK_BUTTON (WID ("xkb_reset_to_defaults")), image); - image = gtk_image_new_from_icon_name ("gnome-sound-properties", GTK_ICON_SIZE_BUTTON); - gtk_button_set_image (GTK_BUTTON (WID ("notifications_button")), image); - return dialog; } @@ -226,7 +223,7 @@ main (int argc, char **argv) {NULL} }; - + context = g_option_context_new (_("- GNOME Keyboard Preferences")); g_option_context_add_main_entries (context, cap_options, GETTEXT_PACKAGE); @@ -257,9 +254,9 @@ main (int argc, char **argv) (WID ("keyboard_notebook")), 2); - + } - + capplet_set_icon (WID ("keyboard_dialog"), "preferences-desktop-keyboard"); gtk_widget_show (WID ("keyboard_dialog"));