summaryrefslogtreecommitdiff
path: root/mate-panel/panel-enums.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-11 00:01:30 +0200
committerStefano Karapetsas <[email protected]>2012-10-11 00:01:30 +0200
commit876f39364e2106c8cb96fa4a9067359e5a350583 (patch)
tree2936001f23a62397065495e3fd065cb260eff4d7 /mate-panel/panel-enums.h
parent66916b20f16f9f0aad4c527519b70ac3a72bbec7 (diff)
downloadmate-panel-876f39364e2106c8cb96fa4a9067359e5a350583.tar.bz2
mate-panel-876f39364e2106c8cb96fa4a9067359e5a350583.tar.xz
migrate mate-panel to gsettings
Diffstat (limited to 'mate-panel/panel-enums.h')
-rw-r--r--mate-panel/panel-enums.h62
1 files changed, 6 insertions, 56 deletions
diff --git a/mate-panel/panel-enums.h b/mate-panel/panel-enums.h
index b9418fbb..6a98ab97 100644
--- a/mate-panel/panel-enums.h
+++ b/mate-panel/panel-enums.h
@@ -26,17 +26,9 @@
#define __PANEL_ENUMS_H__
#include <glib.h>
+#include "panel-enums-gsettings.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef enum {
- PANEL_ORIENTATION_TOP = 1 << 0,
- PANEL_ORIENTATION_RIGHT = 1 << 1,
- PANEL_ORIENTATION_BOTTOM = 1 << 2,
- PANEL_ORIENTATION_LEFT = 1 << 3
-} PanelOrientation;
+G_BEGIN_DECLS
#define PANEL_HORIZONTAL_MASK (PANEL_ORIENTATION_TOP | PANEL_ORIENTATION_BOTTOM)
#define PANEL_VERTICAL_MASK (PANEL_ORIENTATION_LEFT | PANEL_ORIENTATION_RIGHT)
@@ -59,52 +51,10 @@ typedef enum {
} PanelState;
typedef enum {
- PANEL_ANIMATION_SLOW = 0,
- PANEL_ANIMATION_MEDIUM = 1,
- PANEL_ANIMATION_FAST = 2
-} PanelAnimationSpeed;
-
-typedef enum {
- PANEL_BACK_NONE = 0,
- PANEL_BACK_COLOR = 1,
- PANEL_BACK_IMAGE = 2
-} PanelBackgroundType;
-
-typedef enum {
- PANEL_MATECONF_TOPLEVELS,
- PANEL_MATECONF_OBJECTS,
- PANEL_MATECONF_APPLETS
-} PanelMateConfKeyType;
-
-typedef enum {
- PANEL_OBJECT_DRAWER,
- PANEL_OBJECT_MENU,
- PANEL_OBJECT_LAUNCHER,
- PANEL_OBJECT_APPLET,
- PANEL_OBJECT_ACTION,
- PANEL_OBJECT_MENU_BAR,
- PANEL_OBJECT_SEPARATOR,
- /* The following two are for backwards compatibility with 2.0.x */
- PANEL_OBJECT_LOGOUT,
- PANEL_OBJECT_LOCK
-} PanelObjectType;
-
-typedef enum {
- PANEL_ACTION_NONE = 0,
- PANEL_ACTION_LOCK,
- PANEL_ACTION_LOGOUT,
- PANEL_ACTION_RUN,
- PANEL_ACTION_SEARCH,
- PANEL_ACTION_FORCE_QUIT,
- PANEL_ACTION_CONNECT_SERVER,
- PANEL_ACTION_SHUTDOWN,
- /* compatibility with MATE < 2.13.90 */
- PANEL_ACTION_SCREENSHOT,
- PANEL_ACTION_LAST
-} PanelActionButtonType;
+ PANEL_GSETTINGS_TOPLEVELS,
+ PANEL_GSETTINGS_OBJECTS
+} PanelGSettingsKeyType;
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __PANEL_ENUMS_H__ */