[Pidgin] #1721: tray icon size is always 48 px with vertical panel on XFCE

Pidgin trac at pidgin.im
Fri Jun 15 18:00:59 EDT 2007


#1721: tray icon size is always 48 px with vertical panel on XFCE
---------------------------+------------------------------------------------
  Reporter:  flox          |       Owner:                   
      Type:  defect        |      Status:  new              
  Priority:  minor         |   Milestone:                   
 Component:  pidgin (gtk)  |     Version:  2.0.2            
Resolution:                |    Keywords:  tray xfce xubuntu
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by freetz):

 I can confirm it. Same behaviour with notification area applet in gnome-
 panel,
 (probably) caused by last changes in gtkdocklet-x11.c (docklet_height
 magic):

 {{{

 @@ -125,8 +125,12 @@
                 int icon_size;
                 if (docklet_height < 22)
                         icon_size =
 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL);
 -               else
 +               else if (docklet_height < 32)
                         icon_size =
 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_SMALL);
 +               else if (docklet_height < 48)
 +                       icon_size =
 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_MEDIUM);
 +               else
 +                       icon_size =
 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_LARGE);

                 gtk_image_set_from_stock(GTK_IMAGE(image), icon_name,
 icon_size);
         }

 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1721#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list