r28292 - in /desktop/experimental/vte/debian: changelog patches/01_scroll_notebook.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Sun Jun 5 00:26:59 UTC 2011


Author: joss
Date: Sun Jun  5 00:26:59 2011
New Revision: 28292

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=28292
Log:
01_scroll_notebook.patch: new patch. Allow to switch tabs with 
Alt+wheel with the latest gtk+3.0.

Added:
    desktop/experimental/vte/debian/patches/01_scroll_notebook.patch
Modified:
    desktop/experimental/vte/debian/changelog
    desktop/experimental/vte/debian/patches/series

Modified: desktop/experimental/vte/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/vte/debian/changelog?rev=28292&op=diff
==============================================================================
--- desktop/experimental/vte/debian/changelog [utf-8] (original)
+++ desktop/experimental/vte/debian/changelog [utf-8] Sun Jun  5 00:26:59 2011
@@ -1,12 +1,14 @@
-vte (1:0.28.0-2) UNRELEASED; urgency=low
+vte (1:0.28.0-2) experimental; urgency=low
 
   * Fix long description, thanks Teemu Ikonen. Closes: #623219.
   * Drop useless libvte-dev dependency on python-vte. Closes: #549015.
   * libvte-common Breaks libvte9 < 1:0.28. Closes: #616394, #611826.
   * python-vte Breaks python-apt << 0.8.0~exp2. Closes: #621483.
   * Fix udeb sourcedir, thanks Colin Watson. Closes: #627555.
-
- -- Josselin Mouette <joss at debian.org>  Tue, 19 Apr 2011 09:15:59 +0200
+  * 01_scroll_notebook.patch: new patch. Allow to switch tabs with 
+    Alt+wheel with the latest gtk+3.0.
+
+ -- Josselin Mouette <joss at debian.org>  Sun, 05 Jun 2011 02:06:40 +0200
 
 vte (1:0.28.0-1) experimental; urgency=low
 

Added: desktop/experimental/vte/debian/patches/01_scroll_notebook.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/vte/debian/patches/01_scroll_notebook.patch?rev=28292&op=file
==============================================================================
--- desktop/experimental/vte/debian/patches/01_scroll_notebook.patch (added)
+++ desktop/experimental/vte/debian/patches/01_scroll_notebook.patch [utf-8] Sun Jun  5 00:26:59 2011
@@ -1,0 +1,24 @@
+With the addition of 043_notebook_scroll.patch in gtk+3.0, it is 
+possible to switch tabs with Alt+mouse wheel from anywhere on the 
+notebook. This patch prevents vte from interecepting the signal.
+
+Corresponding GTK+ bug: GNOME #145244
+
+Index: vte-0.28.0/src/vte.c
+===================================================================
+--- vte-0.28.0.orig/src/vte.c	2011-06-05 01:48:33.224480856 +0200
++++ vte-0.28.0/src/vte.c	2011-06-05 01:59:00.267546314 +0200
+@@ -11361,6 +11361,13 @@ vte_terminal_scroll(GtkWidget *widget, G
+ 
+ 	vte_terminal_read_modifiers (terminal, (GdkEvent*) event);
+ 
++#if GTK_CHECK_VERSION (2, 90, 8)
++	/* Do not intercept Alt+scroll, let the GtkNotebook handle it to switch tabs.
++	   Requires a fixed GTK+, see https://bugzilla.gnome.org/show_bug.cgi?id=145244 */
++	if (event->state & GDK_MOD1_MASK)
++		return FALSE;
++#endif
++
+ 	_VTE_DEBUG_IF(VTE_DEBUG_EVENTS)
+ 		switch (event->direction) {
+ 		case GDK_SCROLL_UP:

Modified: desktop/experimental/vte/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/vte/debian/patches/series?rev=28292&op=diff
==============================================================================
--- desktop/experimental/vte/debian/patches/series [utf-8] (original)
+++ desktop/experimental/vte/debian/patches/series [utf-8] Sun Jun  5 00:26:59 2011
@@ -1,2 +1,3 @@
+01_scroll_notebook.patch
 25_optional-ncurses.patch
 60_termcap-home-end.patch




More information about the pkg-gnome-commits mailing list