remove sound notifications button icon that no longer exists (bug #570906)

2009-02-27  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties.c: (create_dialog): remove sound
	notifications button icon that no longer exists (bug #570906)

svn path=/trunk/; revision=9292
This commit is contained in:
Jens Granseuer 2009-02-27 17:56:39 +00:00 committed by Jens Granseuer
parent 146ef65c1c
commit 135fbbfcac
2 changed files with 8 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2009-02-27 Jens Granseuer <jensgr@gmx.net>
* gnome-keyboard-properties.c: (create_dialog): remove sound
notifications button icon that no longer exists (bug #570906)
2009-02-14 Sergey Udaltsov <svu@gnome.org> 2009-02-14 Sergey Udaltsov <svu@gnome.org>
* gnome-keyboard-properties-xkbltadd.c: fixed initial preview, * gnome-keyboard-properties-xkbltadd.c: fixed initial preview,

View file

@ -80,9 +80,6 @@ create_dialog (void)
image = gtk_image_new_from_stock (GTK_STOCK_REFRESH, GTK_ICON_SIZE_BUTTON); 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); 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; return dialog;
} }
@ -226,7 +223,7 @@ main (int argc, char **argv)
{NULL} {NULL}
}; };
context = g_option_context_new (_("- GNOME Keyboard Preferences")); context = g_option_context_new (_("- GNOME Keyboard Preferences"));
g_option_context_add_main_entries (context, cap_options, g_option_context_add_main_entries (context, cap_options,
GETTEXT_PACKAGE); GETTEXT_PACKAGE);
@ -257,9 +254,9 @@ main (int argc, char **argv)
(WID (WID
("keyboard_notebook")), ("keyboard_notebook")),
2); 2);
} }
capplet_set_icon (WID ("keyboard_dialog"), capplet_set_icon (WID ("keyboard_dialog"),
"preferences-desktop-keyboard"); "preferences-desktop-keyboard");
gtk_widget_show (WID ("keyboard_dialog")); gtk_widget_show (WID ("keyboard_dialog"));