diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/prefs-dialog.c | 9 |
2 files changed, 7 insertions, 8 deletions
@@ -1,5 +1,11 @@ 2004-10-04 Christian Persch <chpe@cvs.gnome.org> + * src/prefs-dialog.c: (prefs_dialog_init): + + Same here. + +2004-10-04 Christian Persch <chpe@cvs.gnome.org> + * embed/find-dialog.c: (find_dialog_init): Same here. diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index abd0d7da6..b2529eb62 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1152,7 +1152,6 @@ prefs_dialog_init (PrefsDialog *pd) EphyDialog *dialog = EPHY_DIALOG (pd); EphyEncodings *encodings; GtkWidget *window, *button, *combo; - GdkPixbuf *icon; GtkCellRenderer *renderer; gboolean sensitive; @@ -1173,13 +1172,7 @@ prefs_dialog_init (PrefsDialog *pd) NULL); window = ephy_dialog_get_control (dialog, properties[WINDOW_PROP].id); - - icon = gtk_widget_render_icon (window, - GTK_STOCK_PREFERENCES, - GTK_ICON_SIZE_MENU, - "prefs_dialog"); - gtk_window_set_icon (GTK_WINDOW (window), icon); - g_object_unref(icon); + gtk_window_set_icon_name (GTK_WINDOW (window), GTK_STOCK_PREFERENCES); /* set homepage button sensitivity */ sensitive = eel_gconf_key_is_writable (CONF_GENERAL_HOMEPAGE); |