[Pidgin] #2629: Modifications needed for building with native GTK on MacOSX + docklet using GtkStatusIcon

Pidgin trac at pidgin.im
Wed Aug 29 15:25:38 EDT 2007


#2629: Modifications needed for building with native GTK on MacOSX + docklet using
GtkStatusIcon
---------------------------+------------------------------------------------
  Reporter:  nevil         |       Owner:  seanegan         
      Type:  patch         |      Status:  assigned         
  Priority:  minor         |   Milestone:  2.2.0            
 Component:  pidgin (gtk)  |     Version:                   
Resolution:                |    Keywords:  MacOSX gtk native
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by seanegan):

 Replying to [comment:10 nevil]:
 > Replying to [comment:9 seanegan]:
 > Regarding the icon sizes, I fixed it for Mac by changing the size in
 pidginstock.c from GTK_ICON_SIZE_MENU to GTK_ICON_SIZE_SMALL_TOOLBAR.

 That's a really bad hack, that will break things in other places. It
 sounds like a design flaw in GtkStatusIcon.

 I'd say the two best ways to do this are to either do the scaling
 yourself, using gtkdocklet-x11's scaling code, and not use set_from_stock,
 or alternately, look at GtkStatusIconQuartz.c and create a gtkdocklet-
 quartz.c based on it.

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


More information about the Tracker mailing list