Remove obsolete comment in the patch.
This commit is contained in:
@ -4,7 +4,7 @@ requiring double-click.
|
|||||||
Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gtk+-2.12.1.orig/gtk/gtkfilechooserdefault.c 2007-11-04 15:14:51.503352071 +0100
|
--- gtk+-2.12.1.orig/gtk/gtkfilechooserdefault.c 2007-11-04 15:14:51.503352071 +0100
|
||||||
+++ gtk+-2.12.1/gtk/gtkfilechooserdefault.c 2007-11-04 15:47:23.358581961 +0100
|
+++ gtk+-2.12.1/gtk/gtkfilechooserdefault.c 2007-11-04 16:08:51.972015856 +0100
|
||||||
@@ -390,10 +390,6 @@ static void check_preview_change (GtkFil
|
@@ -390,10 +390,6 @@ static void check_preview_change (GtkFil
|
||||||
|
|
||||||
static void filter_combo_changed (GtkComboBox *combo_box,
|
static void filter_combo_changed (GtkComboBox *combo_box,
|
||||||
@ -16,16 +16,18 @@ Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
|||||||
|
|
||||||
static gboolean shortcuts_key_press_event_cb (GtkWidget *widget,
|
static gboolean shortcuts_key_press_event_cb (GtkWidget *widget,
|
||||||
GdkEventKey *event,
|
GdkEventKey *event,
|
||||||
@@ -2004,7 +2000,7 @@ shortcuts_append_paths (GtkFileChooserDe
|
@@ -2002,9 +1998,7 @@ shortcuts_append_paths (GtkFileChooserDe
|
||||||
|
|
||||||
/* As there is no separator now, we want to start there.
|
profile_start ("start", NULL);
|
||||||
*/
|
|
||||||
|
- /* As there is no separator now, we want to start there.
|
||||||
|
- */
|
||||||
- start_row = shortcuts_get_index (impl, SHORTCUTS_BOOKMARKS_SEPARATOR);
|
- start_row = shortcuts_get_index (impl, SHORTCUTS_BOOKMARKS_SEPARATOR);
|
||||||
+ start_row = shortcuts_get_index (impl, SHORTCUTS_BOOKMARKS_SEPARATOR) + 1;
|
+ start_row = shortcuts_get_index (impl, SHORTCUTS_BOOKMARKS_SEPARATOR) + 1;
|
||||||
num_inserted = 0;
|
num_inserted = 0;
|
||||||
|
|
||||||
for (; paths; paths = paths->next)
|
for (; paths; paths = paths->next)
|
||||||
@@ -2016,6 +2012,8 @@ shortcuts_append_paths (GtkFileChooserDe
|
@@ -2016,6 +2010,8 @@ shortcuts_append_paths (GtkFileChooserDe
|
||||||
if (impl->local_only &&
|
if (impl->local_only &&
|
||||||
!gtk_file_system_path_is_local (impl->file_system, path))
|
!gtk_file_system_path_is_local (impl->file_system, path))
|
||||||
continue;
|
continue;
|
||||||
@ -34,7 +36,7 @@ Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
|||||||
|
|
||||||
label = gtk_file_system_get_bookmark_label (impl->file_system, path);
|
label = gtk_file_system_get_bookmark_label (impl->file_system, path);
|
||||||
|
|
||||||
@@ -2245,13 +2243,14 @@ shortcuts_add_bookmarks (GtkFileChooserD
|
@@ -2245,13 +2241,14 @@ shortcuts_add_bookmarks (GtkFileChooserD
|
||||||
impl->num_bookmarks + 1);
|
impl->num_bookmarks + 1);
|
||||||
|
|
||||||
impl->num_bookmarks = 0;
|
impl->num_bookmarks = 0;
|
||||||
@ -51,7 +53,7 @@ Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
|||||||
|
|
||||||
if (impl->shortcuts_pane_filter_model)
|
if (impl->shortcuts_pane_filter_model)
|
||||||
gtk_tree_model_filter_refilter (GTK_TREE_MODEL_FILTER (impl->shortcuts_pane_filter_model));
|
gtk_tree_model_filter_refilter (GTK_TREE_MODEL_FILTER (impl->shortcuts_pane_filter_model));
|
||||||
@@ -3657,8 +3656,22 @@ static void
|
@@ -3657,8 +3654,22 @@ static void
|
||||||
shortcuts_selection_changed_cb (GtkTreeSelection *selection,
|
shortcuts_selection_changed_cb (GtkTreeSelection *selection,
|
||||||
GtkFileChooserDefault *impl)
|
GtkFileChooserDefault *impl)
|
||||||
{
|
{
|
||||||
@ -74,7 +76,7 @@ Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@@ -3930,7 +3943,7 @@ shortcuts_list_create (GtkFileChooserDef
|
@@ -3930,7 +3941,7 @@ shortcuts_list_create (GtkFileChooserDef
|
||||||
GDK_ACTION_COPY | GDK_ACTION_MOVE);
|
GDK_ACTION_COPY | GDK_ACTION_MOVE);
|
||||||
|
|
||||||
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (impl->browse_shortcuts_tree_view));
|
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (impl->browse_shortcuts_tree_view));
|
||||||
@ -83,7 +85,7 @@ Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
|||||||
gtk_tree_selection_set_select_function (selection,
|
gtk_tree_selection_set_select_function (selection,
|
||||||
shortcuts_select_func,
|
shortcuts_select_func,
|
||||||
impl, NULL);
|
impl, NULL);
|
||||||
@@ -3938,9 +3951,6 @@ shortcuts_list_create (GtkFileChooserDef
|
@@ -3938,9 +3949,6 @@ shortcuts_list_create (GtkFileChooserDef
|
||||||
g_signal_connect (selection, "changed",
|
g_signal_connect (selection, "changed",
|
||||||
G_CALLBACK (shortcuts_selection_changed_cb), impl);
|
G_CALLBACK (shortcuts_selection_changed_cb), impl);
|
||||||
|
|
||||||
@ -93,7 +95,7 @@ Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
|||||||
g_signal_connect (impl->browse_shortcuts_tree_view, "key_press_event",
|
g_signal_connect (impl->browse_shortcuts_tree_view, "key_press_event",
|
||||||
G_CALLBACK (shortcuts_key_press_event_cb), impl);
|
G_CALLBACK (shortcuts_key_press_event_cb), impl);
|
||||||
|
|
||||||
@@ -8604,25 +8614,6 @@ gtk_file_chooser_default_should_respond
|
@@ -8604,25 +8612,6 @@ gtk_file_chooser_default_should_respond
|
||||||
gtk_file_path_free (path);
|
gtk_file_path_free (path);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
@ -119,7 +121,7 @@ Index: gtk+-2.12.1/gtk/gtkfilechooserdefault.c
|
|||||||
else if (impl->toplevel_last_focus_widget == impl->browse_files_tree_view)
|
else if (impl->toplevel_last_focus_widget == impl->browse_files_tree_view)
|
||||||
{
|
{
|
||||||
/* The focus is on a dialog's action area button, *and* the widget that
|
/* The focus is on a dialog's action area button, *and* the widget that
|
||||||
@@ -10482,25 +10473,6 @@ shortcuts_activate_iter (GtkFileChooserD
|
@@ -10482,25 +10471,6 @@ shortcuts_activate_iter (GtkFileChooserD
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user