[Pidgin] #10599: New API proposal: pidgin_make_scrollable

Pidgin trac at pidgin.im
Mon Oct 26 15:08:32 EDT 2009


#10599: New API proposal: pidgin_make_scrollable
--------------------+-------------------------------------------------------
Reporter:  nix_nix  |        Type:  patch       
  Status:  new      |   Component:  pidgin (gtk)
 Version:  2.6.3    |    Keywords:              
--------------------+-------------------------------------------------------
 {{{ GtkWidget *pidgin_make_scrollable(GtkWidget *child, GtkPolicyType
 hscrollbar_policy, GtkPolicyType vscrollbar_policy, GtkShadowType
 shadow_type, int width, int height); }}}

 This replaces all the code involving gtk_scrolled_window. A few places
 deal with GtkScrolledWindow widgets after their creation (gtkstatusbox,
 gtkimhtmltoolbar, and gtkimhtml). They all do so by setting h- or
 vscrollbar policies later. I have replaced those calls with g_object_set
 in order to make them widget-independent.

 - 295 lines
 + 128 lines

 The patch can also be pulled via monotone:

 mtn pull piiickoska.go-nix.ca org.maemo.garage.pidgin.pidgin.pidgin-make-
 scrollable

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


More information about the Tracker mailing list