1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
#ifndef NTL_WINDOW_PRIVATE_H
#define NTL_WINDOW_PRIVATE_H
#include "ntl-window.h"
#include "ntl-content-view.h"
#include <libnautilus/libnautilus.h>
#include <libnautilus/nautilus-undo-manager.h>
#include <gtk/gtk.h>
typedef enum {
CV_PROGRESS_INITIAL = 1,
CV_PROGRESS_DONE,
CV_PROGRESS_ERROR,
VIEW_ERROR,
RESET_TO_IDLE, /* Not a real item - a command */
NAVINFO_RECEIVED,
NEW_CONTENT_VIEW_ACTIVATED,
NEW_META_VIEW_ACTIVATED,
SYNC_STATE /* Not a real item - a flag */
} NautilusWindowStateItem;
void nautilus_window_set_state_info(NautilusWindow *window, ... /* things to set, plus optional params */);
void nautilus_window_real_request_selection_change(NautilusWindow *window,
Nautilus_SelectionRequestInfo *loc,
NautilusViewFrame *requesting_view);
void nautilus_window_real_request_status_change(NautilusWindow *window,
Nautilus_StatusRequestInfo *loc,
NautilusViewFrame *requesting_view);
void nautilus_window_real_request_location_change (NautilusWindow *window,
Nautilus_NavigationRequestInfo *loc,
NautilusViewFrame *requesting_view);
void nautilus_window_real_request_progress_change (NautilusWindow *window,
Nautilus_ProgressRequestInfo *loc,
NautilusViewFrame *requesting_view);
void nautilus_window_set_status(NautilusWindow *window, const char *txt);
void nautilus_window_back_or_forward (NautilusWindow *window,
gboolean back,
guint distance);
void nautilus_window_begin_location_change(NautilusWindow *window,
Nautilus_NavigationRequestInfo *loc,
NautilusViewFrame *requesting_view,
NautilusLocationChangeType type,
guint distance);
void nautilus_window_remove_meta_view_real(NautilusWindow *window, NautilusViewFrame *meta_view);
void nautilus_window_load_content_view_menu (NautilusWindow *window, NautilusNavigationInfo *ni);
NautilusViewFrame *nautilus_window_load_content_view(NautilusWindow *window,
const char *iid,
Nautilus_NavigationInfo *navinfo,
NautilusViewFrame **requesting_view);
void nautilus_window_connect_content_view (NautilusWindow *window,
NautilusContentViewFrame *view);
void nautilus_window_connect_view (NautilusWindow *window,
NautilusViewFrame *view);
void nautilus_window_view_destroyed(NautilusViewFrame *view, NautilusWindow *window);
void nautilus_send_history_list_changed (void);
void nautilus_add_to_history_list (NautilusBookmark *bookmark);
GSList *nautilus_get_history_list (void);
void nautilus_window_add_bookmark_for_current_location (NautilusWindow *window);
void nautilus_window_initialize_menus (NautilusWindow *window);
void nautilus_window_initialize_toolbars (NautilusWindow *window);
void nautilus_window_go_back (NautilusWindow *window);
void nautilus_window_go_forward (NautilusWindow *window);
void nautilus_window_go_up (NautilusWindow *window);
void nautilus_window_go_home (NautilusWindow *window);
NautilusUndoManager *nautilus_window_get_undo_manager (NautilusWindow *window);
#endif
|