~ubuntu-branches/ubuntu/raring/nautilus/raring

« back to all changes in this revision

Viewing changes to src/nautilus-window.h

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Jeremy Bicha
  • Date: 2012-01-31 13:45:01 UTC
  • mfrom: (1.17.25)
  • Revision ID: package-import@ubuntu.com-20120131134501-yn7mqny7fgzx9fao
Tags: 1:3.3.4-0ubuntu1
* New upstream version which fixes:
  - "Opening Popupmenu in Context of Folder with List-View impossible?"
    (lp: #126540)
  - "'Create folder in here' context menu option for nautilus" (lp: #61786)
  - the file count and the size count change in opposite direction.
    (lp: #503330)
  - the mounts in the place menu should have a properties entry.
    (lp: #846289)
  - add command line option to select file (lp: #575719)
  - Media in 'Places' side bar should have same context menu as in 
    'Computer' (lp: #230098)
* debian/nautilus-data.install:
  - updated, ui and icons have been moved into gresources
* debian/patches/05_desktop_menu_export.patch:
   - updated to correctly include the gresources desktop definition

[ Jeremy Bicha ]
* New upstream release.
* debian/control.in:
  - Bump minimum GTK and glib
* Refreshed patches
* Dropped upstream patches:
  - 17_dont_allow_new_tab_on_desktop.patch
  - 18_fix_crash_in_get_current_uri.patch
  - 19_lazily_initialize_notification_service.patch
  - git_sideplace_sorting.patch
  - git_next_row.patch
  - git_dont_document_browser_option.patch
  - git_browser_compat.patch
  - git_bookmarks_reordering.patch
  - git_listview_context_menus.patch
  - git_use_gtk_grid.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include <libnautilus-private/nautilus-bookmark.h>
35
35
#include <libnautilus-private/nautilus-search-directory.h>
36
36
 
 
37
#include "nautilus-navigation-state.h"
37
38
#include "nautilus-view.h"
38
39
#include "nautilus-window-types.h"
39
40
 
56
57
} NautilusWindowShowHiddenFilesMode;
57
58
 
58
59
typedef enum {
59
 
        NAUTILUS_WINDOW_NAVIGATION,
60
 
        NAUTILUS_WINDOW_DESKTOP
61
 
} NautilusWindowType;
62
 
 
63
 
GType          nautilus_window_slot_get_type (void);
64
 
 
65
 
typedef enum {
66
60
        NAUTILUS_WINDOW_NOT_SHOWN,
67
61
        NAUTILUS_WINDOW_POSITION_SET,
68
62
        NAUTILUS_WINDOW_SHOULD_SHOW
81
75
typedef struct {
82
76
        GtkWindowClass parent_spot;
83
77
 
84
 
        NautilusWindowType window_type;
85
 
        const char *bookmarks_placeholder;
86
 
 
87
78
        /* Function pointers for overriding, without corresponding signals */
88
79
 
89
80
        void   (* sync_title) (NautilusWindow *window,
107
98
};
108
99
 
109
100
GType            nautilus_window_get_type             (void);
110
 
void             nautilus_window_show_window          (NautilusWindow    *window);
111
101
void             nautilus_window_close                (NautilusWindow    *window);
112
102
 
113
103
void             nautilus_window_connect_content_view (NautilusWindow    *window,
122
112
                                                       NautilusWindowGoToCallback callback,
123
113
                                                       gpointer           user_data);
124
114
void             nautilus_window_new_tab              (NautilusWindow    *window);
125
 
void             nautilus_window_prompt_for_location  (NautilusWindow    *window,
126
 
                                                       const char        *initial);
127
115
 
128
 
void             nautilus_window_allow_up             (NautilusWindow    *window, 
129
 
                                                       gboolean           allow);
130
116
GtkUIManager *   nautilus_window_get_ui_manager       (NautilusWindow    *window);
131
 
 
 
117
GtkActionGroup * nautilus_window_get_main_action_group (NautilusWindow   *window);
 
118
NautilusNavigationState * 
 
119
                 nautilus_window_get_navigation_state (NautilusWindow    *window);
132
120
 
133
121
void                 nautilus_window_report_load_complete     (NautilusWindow *window,
134
122
                                                               NautilusView *view);
138
126
                     nautilus_window_get_hidden_files_mode (NautilusWindow *window);
139
127
void                 nautilus_window_set_hidden_files_mode (NautilusWindow *window,
140
128
                                                            NautilusWindowShowHiddenFilesMode  mode);
141
 
NautilusWindowType   nautilus_window_get_window_type       (NautilusWindow *window);
142
129
void                 nautilus_window_report_load_underway  (NautilusWindow *window,
143
130
                                                            NautilusView *view);
144
131
void                 nautilus_window_view_visible          (NautilusWindow *window,
145
132
                                                            NautilusView *view);
146
 
void                 nautilus_window_set_initiated_unmount (NautilusWindow *window,
147
 
                                                            gboolean initiated_unmount);
148
133
NautilusWindowSlot * nautilus_window_get_active_slot       (NautilusWindow *window);
149
134
void                 nautilus_window_push_status           (NautilusWindow *window,
150
135
                                                            const char *text);
151
136
 
152
 
void     nautilus_window_allow_back           (NautilusWindow *window,
153
 
                                               gboolean       allow);
154
 
void     nautilus_window_allow_forward        (NautilusWindow *window,
155
 
                                               gboolean        allow);
156
137
void     nautilus_window_hide_sidebar         (NautilusWindow *window);
157
138
void     nautilus_window_show_sidebar         (NautilusWindow *window);
158
139
void     nautilus_window_back_or_forward      (NautilusWindow *window,