http://bugzilla.gnome.org/show_bug.cgi?id=82850 some protection against
2002-05-24 Jody Goldberg <jody@gnome.org> http://bugzilla.gnome.org/show_bug.cgi?id=82850 * gnome-keybinding-properties.c (setup_dialog) : some protection against faulty installs.
This commit is contained in:
parent
8c6844c7bb
commit
9af1b5753d
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-05-24 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
|
http://bugzilla.gnome.org/show_bug.cgi?id=82850
|
||||||
|
* gnome-keybinding-properties.c (setup_dialog) : some protection
|
||||||
|
against faulty installs.
|
||||||
|
|
||||||
Tue May 21 19:36:13 2002 Jonathan Blandford <jrb@redhat.com>
|
Tue May 21 19:36:13 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gnome-keybinding-properties.c (accel_edited_callback):
|
* gnome-keybinding-properties.c (accel_edited_callback):
|
||||||
|
|
|
@ -890,7 +890,8 @@ setup_dialog (GladeXML *dialog)
|
||||||
widget = WID ("gnome-keybinding-dialog");
|
widget = WID ("gnome-keybinding-dialog");
|
||||||
filename = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP, "keyboard-shortcut.png", TRUE, NULL);
|
filename = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP, "keyboard-shortcut.png", TRUE, NULL);
|
||||||
icon_pixbuf = gdk_pixbuf_new_from_file ("keyboard-shortcut.png", NULL);
|
icon_pixbuf = gdk_pixbuf_new_from_file ("keyboard-shortcut.png", NULL);
|
||||||
gtk_window_set_icon (GTK_WINDOW (widget), icon_pixbuf);
|
if (icon_pixbuf != NULL)
|
||||||
|
gtk_window_set_icon (GTK_WINDOW (widget), icon_pixbuf);
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
g_object_unref (icon_pixbuf);
|
g_object_unref (icon_pixbuf);
|
||||||
gtk_widget_show (widget);
|
gtk_widget_show (widget);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue