1 | #ifndef SESSION_H |
---|
2 | #define SESSION_H |
---|
3 | |
---|
4 | #include <glib.h> |
---|
5 | #include "panel-widget.h" |
---|
6 | |
---|
7 | BEGIN_GNOME_DECLS |
---|
8 | |
---|
9 | #define DEFAULT_AUTO_HIDE_STEP_SIZE 10 |
---|
10 | #define DEFAULT_EXPLICIT_HIDE_STEP_SIZE 80 |
---|
11 | #define DEFAULT_DRAWER_STEP_SIZE 80 |
---|
12 | |
---|
13 | /* amount of time in ms. to wait before lowering panel */ |
---|
14 | #define DEFAULT_MINIMIZE_DELAY 300 |
---|
15 | #define DEFAULT_MAXIMIZE_DELAY 0 |
---|
16 | |
---|
17 | /* number of pixels it'll stick up from the bottom when using |
---|
18 | PANEL_AUTO_HIDE */ |
---|
19 | #define DEFAULT_MINIMIZED_SIZE 6 |
---|
20 | |
---|
21 | #define DEFAULT_PANEL_NUM 0 |
---|
22 | |
---|
23 | #define PANEL_CONFIG_PATH "/panel.d/default/" |
---|
24 | |
---|
25 | int panel_session_save (GnomeClient *client, |
---|
26 | int phase, |
---|
27 | GnomeSaveStyle save_style, |
---|
28 | int shutdown, |
---|
29 | GnomeInteractStyle interact_style, |
---|
30 | int fast, |
---|
31 | gpointer client_data); |
---|
32 | |
---|
33 | void save_next_applet(void); |
---|
34 | |
---|
35 | |
---|
36 | int panel_session_die (GnomeClient *client, |
---|
37 | gpointer client_data); |
---|
38 | |
---|
39 | void panel_quit(void); |
---|
40 | |
---|
41 | void panel_config_sync(void); |
---|
42 | void panel_config_sync_schedule (void); |
---|
43 | |
---|
44 | void load_system_wide (void); |
---|
45 | void load_up_globals (void); |
---|
46 | /* only to be used on beginning, we don't really want to write globals much */ |
---|
47 | void write_global_config (void); |
---|
48 | |
---|
49 | void init_user_applets(void); |
---|
50 | void init_user_panels(void); |
---|
51 | |
---|
52 | void apply_global_config(void); |
---|
53 | |
---|
54 | /* just temporary so that we can bridge the gap between old and new config */ |
---|
55 | void convert_old_config(void); |
---|
56 | |
---|
57 | /* prefix thingie */ |
---|
58 | char * get_correct_prefix (char const **sep); |
---|
59 | void push_correct_global_prefix (void); |
---|
60 | |
---|
61 | END_GNOME_DECLS |
---|
62 | |
---|
63 | #endif |
---|