Mercurial > pidgin.yaz
changeset 16325:ca75eccdca3d
Make sure the blinking docklet has the same size. Fixes #174.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 24 Apr 2007 21:54:12 +0000 |
parents | ea82f4e6321e |
children | 69ed7b52faeb |
files | pidgin/gtkdocklet-x11.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkdocklet-x11.c Mon Apr 23 07:54:21 2007 +0000 +++ b/pidgin/gtkdocklet-x11.c Tue Apr 24 21:54:12 2007 +0000 @@ -142,9 +142,10 @@ docklet_x11_blank_icon() { if (!blank_icon) { + GtkIconSize size = GTK_ICON_SIZE_LARGE_TOOLBAR; gint width, height; - - gtk_icon_size_lookup(GTK_ICON_SIZE_LARGE_TOOLBAR, &width, &height); + g_object_get(G_OBJECT(image), "icon-size", &size, NULL); + gtk_icon_size_lookup(size, &width, &height); blank_icon = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, width, height); gdk_pixbuf_fill(blank_icon, 0); }