cpw.qulogic.gtk3: 9f9150c8: Fix some changes for the scrollable stuf...
qulogic at pidgin.im
qulogic at pidgin.im
Mon Mar 14 02:51:03 EDT 2011
----------------------------------------------------------------------
Revision: 9f9150c83aa41a5ad716a09dc9be9079a5235a85
Parent: 92ebe72724679dcc52283183ffa0c14598e7c0ab
Author: qulogic at pidgin.im
Date: 03/14/11 02:41:44
Branch: im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/9f9150c83aa41a5ad716a09dc9be9079a5235a85
Changelog:
Fix some changes for the scrollable stuff.
Changes against parent 92ebe72724679dcc52283183ffa0c14598e7c0ab
patched pidgin/gtkplugin.c
patched pidgin/gtkutils.c
-------------- next part --------------
============================================================
--- pidgin/gtkutils.c c8ce87a0b46dc160044d88474739bb713277b2ec
+++ pidgin/gtkutils.c 0ccca74bb1b5de5e8881c3712eca66db4e969983
@@ -3433,7 +3433,7 @@ pidgin_make_scrollable(GtkWidget *child,
if (width != -1 || height != -1)
gtk_widget_set_size_request(sw, width, height);
if (child) {
- if (GTK_WIDGET_GET_CLASS(child)->set_scroll_adjustments_signal)
+ if (GTK_IS_SCROLLABLE(child))
gtk_container_add(GTK_CONTAINER(sw), child);
else
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(sw), child);
============================================================
--- pidgin/gtkplugin.c e88989638201444cd6810ba450c34725fc371d51
+++ pidgin/gtkplugin.c 3520b503220a3ba79f25fe5a52bf1ac25816d100
@@ -776,7 +776,7 @@ void pidgin_plugin_dialog_show()
gtk_tree_view_append_column (GTK_TREE_VIEW(event_view), col);
gtk_tree_view_column_set_sort_column_id(col, 1);
g_object_unref(G_OBJECT(ls));
- gtk_box_pack_start(GTK_BOX(GTK_DIALOG(plugin_dialog)->vbox),
+ gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(plugin_dialog))),
pidgin_make_scrollable(event_view, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC, GTK_SHADOW_IN, -1, -1),
TRUE, TRUE, 0);
gtk_tree_view_set_search_column(GTK_TREE_VIEW(event_view), 1);
More information about the Commits
mailing list