[gtk+/gtk-2.90] Comment that the column order needs to be kept in sync across two functions
- From: Christian Dywan <cdywan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2.90] Comment that the column order needs to be kept in sync across two functions
- Date: Fri, 16 Oct 2009 14:02:42 +0000 (UTC)
commit 525634a008a7e27cb20003d92dbe83199e67b587
Author: Federico Mena Quintero <federico novell com>
Date: Fri Sep 11 13:08:11 2009 -0500
Comment that the column order needs to be kept in sync across two functions
Signed-off-by: Federico Mena Quintero <federico novell com>
gtk/gtkfilechooserdefault.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 9f9f2fa..69c9063 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -4468,6 +4468,8 @@ create_file_list (GtkFileChooserDefault *impl)
g_signal_connect (selection, "changed",
G_CALLBACK (list_selection_changed), impl);
+ /* Keep the column order in sync with update_cell_renderer_attributes() */
+
/* Filename column */
impl->list_name_column = gtk_tree_view_column_new ();
@@ -10025,6 +10027,8 @@ update_cell_renderer_attributes (GtkFileChooserDefault *impl)
always_sensitive = impl->action != GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER &&
impl->action != GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER;
+ /* Keep the following column numbers in sync with create_file_list() */
+
/* name */
column = gtk_tree_view_get_column (GTK_TREE_VIEW (impl->browse_files_tree_view), 0);
list = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (column));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]