diff options
author | Richard Purdie <richard@openedhand.com> | 2005-12-23 00:36:23 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-12-23 00:36:23 +0000 |
commit | f0ecf5b5eefa0e6489de08ccd747ef007e7ce352 (patch) | |
tree | ce53e4e822fd3721e2b5c7cd1309d0d65ca04e75 /openembedded/packages/gtk+/gtk+-2.8.9/treeviewfix.patch | |
parent | f2bf93642c1280ac5952ed2373e61818c0d2f969 (diff) | |
download | openembedded-core-f0ecf5b5eefa0e6489de08ccd747ef007e7ce352.tar.gz openembedded-core-f0ecf5b5eefa0e6489de08ccd747ef007e7ce352.tar.bz2 openembedded-core-f0ecf5b5eefa0e6489de08ccd747ef007e7ce352.tar.xz openembedded-core-f0ecf5b5eefa0e6489de08ccd747ef007e7ce352.zip |
add gtk+2.8.9 and eds-feed (galago)
git-svn-id: https://svn.o-hand.com/repos/poky@212 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/gtk+/gtk+-2.8.9/treeviewfix.patch')
-rw-r--r-- | openembedded/packages/gtk+/gtk+-2.8.9/treeviewfix.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/openembedded/packages/gtk+/gtk+-2.8.9/treeviewfix.patch b/openembedded/packages/gtk+/gtk+-2.8.9/treeviewfix.patch new file mode 100644 index 000000000..0608075ed --- /dev/null +++ b/openembedded/packages/gtk+/gtk+-2.8.9/treeviewfix.patch @@ -0,0 +1,29 @@ +Index: gtktreeview.c +=================================================================== +RCS file: /cvs/gnome/gtk+/gtk/gtktreeview.c,v +retrieving revision 1.498 +diff -u -p -r1.498 gtktreeview.c +--- gtk+-2.8.9/gtk/gtktreeview.c.old 22 Oct 2005 21:08:23 -0000 1.498 ++++ gtk+-2.8.9/gtk/gtktreeview.c 24 Oct 2005 22:30:27 -0000 +@@ -2098,6 +2098,9 @@ gtk_tree_view_size_allocate (GtkWidget + /* now the adjustments and window sizes are in sync, we can sync toprow/dy again */ + if (tree_view->priv->height <= tree_view->priv->vadjustment->page_size) + gtk_adjustment_set_value (GTK_ADJUSTMENT (tree_view->priv->vadjustment), 0); ++ else if (tree_view->priv->vadjustment->value + tree_view->priv->vadjustment->page_size > tree_view->priv->height) ++ gtk_adjustment_set_value (GTK_ADJUSTMENT (tree_view->priv->vadjustment), ++ tree_view->priv->height - tree_view->priv->vadjustment->page_size); + else if (gtk_tree_row_reference_valid (tree_view->priv->top_row)) + gtk_tree_view_top_row_to_dy (tree_view); + else +@ -5031,6 +5034,11 @@ validate_visible_area (GtkTreeView *tree + * else than zero. we update top_row to be in sync with dy = 0. + */ + gtk_adjustment_set_value (GTK_ADJUSTMENT (tree_view->priv->vadjustment), 0); ++ gtk_tree_view_dy_to_top_row (tree_view); ++ } ++ else if (tree_view->priv->vadjustment->value + tree_view->priv->vadjustment->page_size > tree_view->priv->height) ++ { ++ gtk_adjustment_set_value (GTK_ADJUSTMENT (tree_view->priv->vadjustment), tree_view->priv->height - tree_view->priv->vadjustment->page_size); + gtk_tree_view_dy_to_top_row (tree_view); + } + else |