~ubuntu-desktop/gtk/ubuntu

« back to all changes in this revision

Viewing changes to debian/patches/042_treeview_single-focus.patch

  • Committer: Gianfranco Costamagna
  • Date: 2018-07-02 10:05:37 UTC
  • Revision ID: costamagnagianfranco@yahoo.it-20180702100537-q9b1n6o6cmd9q9ev
Tags: 2.24.32-2ubuntu1
releasing package gtk+2.0 version 2.24.32-2ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: gtk+-2.24.19/gtk/gtktreeview.c
2
 
===================================================================
3
 
--- gtk+-2.24.19.orig/gtk/gtktreeview.c 2013-06-28 23:40:08.435421781 +0200
4
 
+++ gtk+-2.24.19/gtk/gtktreeview.c      2013-06-28 23:40:08.427421690 +0200
5
 
@@ -9628,7 +9628,8 @@
 
1
From: Josselin Mouette <joss@debian.org>
 
2
Date: Sun, 4 Nov 2007 16:22:31 +0100
 
3
Subject: Don't select the focused item for GTK_SELECTION_SINGLE type
 
4
 treeviews
 
5
 
 
6
This allows the fix in 040_filechooser_single-click.patch to work.
 
7
 
 
8
Forwarded: no
 
9
---
 
10
 gtk/gtktreeview.c | 3 ++-
 
11
 1 file changed, 2 insertions(+), 1 deletion(-)
 
12
 
 
13
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
 
14
index 89301eb..d86bf0a 100644
 
15
--- a/gtk/gtktreeview.c
 
16
+++ b/gtk/gtktreeview.c
 
17
@@ -9628,7 +9628,8 @@ gtk_tree_view_focus_to_cursor (GtkTreeView *tree_view)
6
18
 
7
19
       if (cursor_path)
8
20
        {