[Pidgin] #521: Make tray icon widget available to plugins

Pidgin trac at pidgin.im
Fri Sep 21 14:07:02 EDT 2007


#521: Make tray icon widget available to plugins
---------------------------+------------------------------------------------
  Reporter:  jwendell      |       Owner:  charkins
      Type:  patch         |      Status:  reopened
  Priority:  minor         |   Milestone:  2.3.0   
 Component:  pidgin (gtk)  |     Version:  2.0     
Resolution:                |    Keywords:          
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by charkins):

 I've attached a patch showing what the API is going to look like. The X11
 implementation currently uses gtk_widget_get_screen(), which isn't
 available before gtk+2.2, I'll do something to deal with that before this
 gets applied.

 Turns out we can get the position of the icon under win32 if the user is
 running the standard windows shell. If we run into problems, we return
 FALSE, indicating that the geometry was not returned (this will also
 happen in all cases when the docklet is not visible). Any of the
 parameters passed to pidgin_docklet_get_geometry() can be NULL if the
 value is not desired.

 We'll likely be getting a GtkStatusIcon implementation of the docklet for
 2.3.0 as well, so I'll make sure this ui_op gets implemented there as
 well.

-- 
Ticket URL: <https://developer.pidgin.im/ticket/521#comment:8>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list