From 21e7d16ff8ae28955eaad693bacaa6b518b251e6 Mon Sep 17 00:00:00 2001 From: Alex Duggan Date: Thu, 1 May 2003 05:31:42 +0000 Subject: [PATCH] use appropriate window border icon. 2003-04-30 Alex Duggan * sound-properties-capplet.c: use appropriate window border icon. --- capplets/sound/ChangeLog | 5 +++++ capplets/sound/sound-properties-capplet.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/capplets/sound/ChangeLog b/capplets/sound/ChangeLog index 90e163a6e..e55165411 100644 --- a/capplets/sound/ChangeLog +++ b/capplets/sound/ChangeLog @@ -1,3 +1,8 @@ +2003-04-30 Alex Duggan + + * sound-properties-capplet.c: use appropriate + window border icon. + 2003-04-29 Kjartan Maraas * sound-properties-capplet.c: (main): Plug a leak. diff --git a/capplets/sound/sound-properties-capplet.c b/capplets/sound/sound-properties-capplet.c index 28984d0b2..c03b39839 100644 --- a/capplets/sound/sound-properties-capplet.c +++ b/capplets/sound/sound-properties-capplet.c @@ -171,11 +171,6 @@ main (int argc, char **argv) dialog = create_dialog (); setup_dialog (dialog, changeset); -#if 0 - gnome_window_icon_set_default_from_file - (GNOMECC_ICONS_DIR "sound-capplet.png"); -#endif - dialog_win = gtk_dialog_new_with_buttons (_("Sound preferences"), NULL, GTK_DIALOG_NO_SEPARATOR, GTK_STOCK_HELP, GTK_RESPONSE_HELP, @@ -184,6 +179,7 @@ main (int argc, char **argv) g_signal_connect (G_OBJECT (dialog_win), "response", (GCallback) dialog_button_clicked_cb, changeset); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog_win)->vbox), WID ("prefs_widget"), TRUE, TRUE, GNOME_PAD_SMALL); + capplet_set_icon (dialog_win, "sound-capplet.png"); gtk_widget_show_all (dialog_win); gtk_main ();