diff options
author | Ross Burton <ross@openedhand.com> | 2007-07-26 16:12:11 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-07-26 16:12:11 +0000 |
commit | 7d9c3749e535cb5b51402299d58bab4104880d8f (patch) | |
tree | 4ed3cb07d8361edde6596b1e950e4f57eb368df4 /meta/packages/gtk+/gtk+-2.6.10 | |
parent | 24f13ade828c10aee426164e9a35d455027e3358 (diff) | |
download | openembedded-core-7d9c3749e535cb5b51402299d58bab4104880d8f.tar.gz openembedded-core-7d9c3749e535cb5b51402299d58bab4104880d8f.tar.bz2 openembedded-core-7d9c3749e535cb5b51402299d58bab4104880d8f.tar.xz openembedded-core-7d9c3749e535cb5b51402299d58bab4104880d8f.zip |
Add a bit of a hack patch to disable frantic redrawing of GtkRange when they move, so that the contents has a change on slower devices
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2234 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.6.10')
-rw-r--r-- | meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch b/meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch new file mode 100644 index 000000000..d16871228 --- /dev/null +++ b/meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch @@ -0,0 +1,18 @@ +Index: gtk/gtkrange.c +=================================================================== +--- gtk/gtkrange.c (revision 18542) ++++ gtk/gtkrange.c (working copy) +@@ -1569,9 +1569,12 @@ + + gtk_widget_queue_draw (GTK_WIDGET (range)); + /* This is so we don't lag the widget being scrolled. */ ++#if 0 ++ /* Disable this, the scroll bar lags a bit but the end result is that ++ scrolling treeviews is *a lot* smoother. See GNOME #460534. */ + if (GTK_WIDGET_REALIZED (range)) + gdk_window_process_updates (GTK_WIDGET (range)->window, FALSE); +- ++#endif + /* Note that we don't round off to range->round_digits here. + * that's because it's really broken to change a value + * in response to a change signal on that value; round_digits |