It's good when a patch applies, it's better when it builds.

This commit is contained in:
Josselin Mouette
2007-06-14 00:15:19 +00:00
parent 21763dcaf2
commit 6488284d97
2 changed files with 3 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,7 +1,7 @@
gtk+2.0 (2.11.2-2) UNRELEASED; urgency=low
* 040_filechooser_single-click.patch: fix the patch to apply cleanly
again, and enable it. (Untested yet; use at your own risk!)
again, and enable it.
-- Josselin Mouette <joss@debian.org> Wed, 13 Jun 2007 20:37:07 +0200

View File

@ -4,7 +4,7 @@ requiring double-click.
Index: gtk+-2.11.2/gtk/gtkfilechooserdefault.c
===================================================================
--- gtk+-2.11.2.orig/gtk/gtkfilechooserdefault.c 2007-06-06 13:43:08.000000000 +0200
+++ gtk+-2.11.2/gtk/gtkfilechooserdefault.c 2007-06-13 20:35:28.276504667 +0200
+++ gtk+-2.11.2/gtk/gtkfilechooserdefault.c 2007-06-14 02:10:53.595381229 +0200
@@ -389,10 +389,6 @@
static void filter_combo_changed (GtkComboBox *combo_box,
@ -31,7 +31,7 @@ Index: gtk+-2.11.2/gtk/gtkfilechooserdefault.c
+
+ if (gtk_tree_selection_get_selected(selection, NULL, &iter))
+ {
+ gtk_tree_model_filter_convert_iter_to_child_iter (GTK_TREE_MODEL_FILTER (impl->shortcuts_filter_model),
+ gtk_tree_model_filter_convert_iter_to_child_iter (GTK_TREE_MODEL_FILTER (impl->shortcuts_pane_filter_model),
+ &child_iter,
+ &iter);
+ shortcuts_activate_iter (impl, &child_iter);