use appropriate window border icon.

2003-04-30  Alex Duggan  <aldug@astrolinux.com>

	* sound-properties-capplet.c: use appropriate
	window border icon.
This commit is contained in:
Alex Duggan 2003-05-01 05:31:42 +00:00 committed by Alex Duggan
parent 968f3b6e1a
commit 21e7d16ff8
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2003-04-30 Alex Duggan <aldug@astrolinux.com>
* sound-properties-capplet.c: use appropriate
window border icon.
2003-04-29 Kjartan Maraas <kmaraas@gnome.org> 2003-04-29 Kjartan Maraas <kmaraas@gnome.org>
* sound-properties-capplet.c: (main): Plug a leak. * sound-properties-capplet.c: (main): Plug a leak.

View file

@ -171,11 +171,6 @@ main (int argc, char **argv)
dialog = create_dialog (); dialog = create_dialog ();
setup_dialog (dialog, changeset); 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 dialog_win = gtk_dialog_new_with_buttons
(_("Sound preferences"), NULL, GTK_DIALOG_NO_SEPARATOR, (_("Sound preferences"), NULL, GTK_DIALOG_NO_SEPARATOR,
GTK_STOCK_HELP, GTK_RESPONSE_HELP, 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); 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); 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_widget_show_all (dialog_win);
gtk_main (); gtk_main ();