[Pidgin] #2008: API for getting selected protocol ID from protocol drop-down menu

Pidgin trac at pidgin.im
Mon Jul 2 17:17:52 EDT 2007


#2008: API for getting selected protocol ID from protocol drop-down menu
--------------------------+-------------------------------------------------
 Reporter:  nix_nix       |       Type:  patch
   Status:  new           |   Priority:  minor
Component:  pidgin (gtk)  |    Version:  2.0.2
 Keywords:                |    Pending:  0    
--------------------------+-------------------------------------------------
 This patch introduces the function

 const char *pidgin_protocol_option_menu_get_selected(GtkWidget *optmenu);

 which should help eliminate the need for people to futz with the
 GtkOptionMenu's GtkMenu in order to retrieve the currently selected
 protocol ID.

 Yes, my long term goal is still GtkComboBox. I think this is currently the
 right step towards that goal. To this end, I have also replaced a
 reference to "GtkOptionMenu" in the Doxygen comments with "drop-down
 option menu" which is the term used by the rest of the functions.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2008>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list