#if out a few things

This commit is contained in:
Federico Mena Quintero
2011-11-17 08:08:49 -06:00
parent 19ef71897d
commit c242e88a37
2 changed files with 14 additions and 0 deletions

View File

@ -151,6 +151,8 @@ typedef enum {
OPERATION_MODE_RECENT
} OperationMode;
#define REMOVE_FOR_PLACES_SIDEBAR 0
struct _GtkFileChooserDefault
{
GtkBox parent_instance;
@ -168,12 +170,14 @@ struct _GtkFileChooserDefault
/* The file browsing widgets */
GtkWidget *browse_widgets_box;
GtkWidget *browse_header_box;
#if REMOVE_FOR_PLACES_SIDEBAR
GtkWidget *browse_shortcuts_tree_view;
GtkWidget *browse_shortcuts_add_button;
GtkWidget *browse_shortcuts_remove_button;
GtkWidget *browse_shortcuts_popup_menu;
GtkWidget *browse_shortcuts_popup_menu_remove_item;
GtkWidget *browse_shortcuts_popup_menu_rename_item;
#endif
GtkWidget *browse_files_tree_view;
GtkWidget *browse_files_popup_menu;
GtkWidget *browse_files_popup_menu_add_shortcut_item;
@ -222,10 +226,12 @@ struct _GtkFileChooserDefault
GtkListStore *shortcuts_model;
#if REMOVE_FOR_PLACES_SIDEBAR
/* Filter for the shortcuts pane. We filter out the "current folder" row and
* the separator that we use for the "Save in folder" combo.
*/
GtkTreeModel *shortcuts_pane_filter_model;
#endif
/* Handles */
GSList *loading_shortcuts;