Set the window icon.
2002-03-21 Seth Nickell <snickell@stanford.edu> * background-properties-capplet.c: (main): Set the window icon.
This commit is contained in:
parent
c05f4f18a3
commit
00450ae290
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-03-21 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* background-properties-capplet.c: (main):
|
||||
|
||||
Set the window icon.
|
||||
|
||||
2002-03-21 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* background-properties-capplet.c: (string_to_orientation),
|
||||
|
|
|
@ -507,6 +507,7 @@ main (int argc, char **argv)
|
|||
GladeXML *dialog;
|
||||
GtkWidget *dialog_win;
|
||||
ApplierSet *set;
|
||||
GdkPixbuf *pixbuf;
|
||||
|
||||
static gboolean get_legacy;
|
||||
static struct poptOption cap_options[] = {
|
||||
|
@ -540,6 +541,10 @@ main (int argc, char **argv)
|
|||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
NULL);
|
||||
|
||||
pixbuf = gdk_pixbuf_new_from_file (GNOMECC_DATA_DIR "/icons/background-capplet.png", NULL);
|
||||
gtk_window_set_icon (GTK_WINDOW(dialog_win), pixbuf);
|
||||
gdk_pixbuf_unref (pixbuf);
|
||||
|
||||
g_signal_connect (G_OBJECT (dialog_win), "response", (GCallback) dialog_button_clicked_cb, NULL);
|
||||
|
||||
gtk_drag_dest_set (dialog_win, GTK_DEST_DEFAULT_ALL,
|
||||
|
|
Loading…
Add table
Reference in a new issue