diff options
author | Federico Mena Quintero <federico@gnome.org> | 2011-07-01 14:36:52 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2011-07-01 19:07:12 -0500 |
commit | 6bb34d7dd466d95a8ecc0377221dc7c00e2f13ec (patch) | |
tree | 65af3eb17ad83367c297a0038af0ff79cb8031ce /gtk/gtkfilechooserprivate.h | |
parent | 18ebec28c93a1141b390df8a983b48600bdd6c46 (diff) | |
download | gtk+-6bb34d7dd466d95a8ecc0377221dc7c00e2f13ec.tar.gz |
Centralize the setting of the pathbar's widgets
It used to be that every part of the file chooser's code would show/hide the widgets
near the pathbar as needed. Now we have two central functions:
path_bar_update()
path_bar_set_mode()
These take care of all the widget shuffling; setting the visibility of the
pathbar, info bar, and Create Folder button as appropriate; setting the contents
of the info bar, etc. - based on the current operation_mode and action.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Diffstat (limited to 'gtk/gtkfilechooserprivate.h')
-rw-r--r-- | gtk/gtkfilechooserprivate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h index a00d532f14..2e2109f7af 100644 --- a/gtk/gtkfilechooserprivate.h +++ b/gtk/gtkfilechooserprivate.h @@ -183,9 +183,11 @@ struct _GtkFileChooserDefault GtkWidget *browse_path_bar_hbox; GtkSizeGroup *browse_path_bar_size_group; GtkWidget *browse_path_bar; + GtkWidget *browse_special_mode_icon; + GtkWidget *browse_special_mode_label; GtkWidget *browse_select_a_folder_info_bar; GtkWidget *browse_select_a_folder_label; - GtkWidget *browse_select_a_folder_warning_icon; + GtkWidget *browse_select_a_folder_icon; GtkFileSystemModel *browse_files_model; char *browse_files_last_selected_name; @@ -198,7 +200,6 @@ struct _GtkFileChooserDefault GtkFileSystemModel *search_model; /* OPERATION_MODE_RECENT */ - GtkWidget *recent_hbox; GtkRecentManager *recent_manager; GtkFileSystemModel *recent_model; guint load_recent_id; |