diff --git a/ChangeLog b/ChangeLog index f11b91c9e8..4ab2e19dad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 14 22:31:25 2001 Matthias Clasen + + * demos/gtk-demo/main.c (setup_default_icon): Use a shaped + icon instead of one with ugly white background. + Fri Sep 14 22:26:01 2001 Matthias Clasen * demos/gtk-demo/stock_browser.c (id_to_macro): make diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index f11b91c9e8..4ab2e19dad 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Fri Sep 14 22:31:25 2001 Matthias Clasen + + * demos/gtk-demo/main.c (setup_default_icon): Use a shaped + icon instead of one with ugly white background. + Fri Sep 14 22:26:01 2001 Matthias Clasen * demos/gtk-demo/stock_browser.c (id_to_macro): make diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f11b91c9e8..4ab2e19dad 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Fri Sep 14 22:31:25 2001 Matthias Clasen + + * demos/gtk-demo/main.c (setup_default_icon): Use a shaped + icon instead of one with ugly white background. + Fri Sep 14 22:26:01 2001 Matthias Clasen * demos/gtk-demo/stock_browser.c (id_to_macro): make diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index f11b91c9e8..4ab2e19dad 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Fri Sep 14 22:31:25 2001 Matthias Clasen + + * demos/gtk-demo/main.c (setup_default_icon): Use a shaped + icon instead of one with ugly white background. + Fri Sep 14 22:26:01 2001 Matthias Clasen * demos/gtk-demo/stock_browser.c (id_to_macro): make diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index f11b91c9e8..4ab2e19dad 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Fri Sep 14 22:31:25 2001 Matthias Clasen + + * demos/gtk-demo/main.c (setup_default_icon): Use a shaped + icon instead of one with ugly white background. + Fri Sep 14 22:26:01 2001 Matthias Clasen * demos/gtk-demo/stock_browser.c (id_to_macro): make diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f11b91c9e8..4ab2e19dad 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Fri Sep 14 22:31:25 2001 Matthias Clasen + + * demos/gtk-demo/main.c (setup_default_icon): Use a shaped + icon instead of one with ugly white background. + Fri Sep 14 22:26:01 2001 Matthias Clasen * demos/gtk-demo/stock_browser.c (id_to_macro): make diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f11b91c9e8..4ab2e19dad 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Fri Sep 14 22:31:25 2001 Matthias Clasen + + * demos/gtk-demo/main.c (setup_default_icon): Use a shaped + icon instead of one with ugly white background. + Fri Sep 14 22:26:01 2001 Matthias Clasen * demos/gtk-demo/stock_browser.c (id_to_macro): make diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c index 954795e239..00fabe74af 100644 --- a/demos/gtk-demo/main.c +++ b/demos/gtk-demo/main.c @@ -765,12 +765,17 @@ setup_default_icon (void) if (pixbuf) { GList *list; + GdkPixbuf *transparent; + + /* The gtk-logo-rgb icon has a white background, make it transparent */ + transparent = gdk_pixbuf_add_alpha (pixbuf, TRUE, 0xff, 0xff, 0xff); list = NULL; - list = g_list_append (list, pixbuf); + list = g_list_append (list, transparent); gtk_window_set_default_icon_list (list); g_list_free (list); g_object_unref (G_OBJECT (pixbuf)); + g_object_unref (G_OBJECT (transparent)); } }