source: trunk/third/gnome-core/panel/session.h @ 17152

Revision 17152, 1.4 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17151, which included commits to RCS files with non-trunk default branches.
Line 
1#ifndef SESSION_H
2#define SESSION_H
3
4#include <glib.h>
5#include "panel-widget.h"
6
7BEGIN_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
25int 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
33void save_next_applet(void);
34
35
36int panel_session_die (GnomeClient *client,
37                        gpointer client_data);
38
39void panel_quit(void);
40
41void panel_config_sync(void);
42void panel_config_sync_schedule (void);
43
44void load_system_wide (void);
45void load_up_globals (void);
46/* only to be used on beginning, we don't really want to write globals much */
47void write_global_config (void);
48
49void init_user_applets(void);
50void init_user_panels(void);
51
52void apply_global_config(void);
53
54/* just temporary so that we can bridge the gap between old and new config */
55void convert_old_config(void);
56
57/* prefix thingie */
58char * get_correct_prefix (char const **sep);
59void push_correct_global_prefix (void);
60
61END_GNOME_DECLS
62
63#endif
Note: See TracBrowser for help on using the repository browser.