summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet.c
diff options
context:
space:
mode:
authorKonstantin Pugin <[email protected]>2014-06-20 00:34:43 +0700
committerKonstantin Pugin <[email protected]>2014-06-20 01:18:57 +0700
commit5185103c7acac7f6f291bbd5f7c969c8809237e7 (patch)
tree0470d3e8d2348b32b7d601435fe2cb90515be080 /libmate-panel-applet/mate-panel-applet.c
parente964b756355ad5e66a0166d9ca218bdde2054f6d (diff)
downloadmate-panel-5185103c7acac7f6f291bbd5f7c969c8809237e7.tar.bz2
mate-panel-5185103c7acac7f6f291bbd5f7c969c8809237e7.tar.xz
Fix expanded panels and size allocation
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet.c')
-rw-r--r--libmate-panel-applet/mate-panel-applet.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 7a514c58..34f10a5f 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -2133,7 +2133,9 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass)
g_param_spec_uint ("orient",
"Orient",
"Panel Applet Orientation",
- 0, G_MAXUINT, 0, /* FIXME */
+ MATE_PANEL_APPLET_ORIENT_FIRST,
+ MATE_PANEL_APPLET_ORIENT_LAST,
+ MATE_PANEL_APPLET_ORIENT_UP,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SIZE,
@@ -2154,7 +2156,9 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass)
g_param_spec_uint ("flags",
"Flags",
"Panel Applet flags",
- 0, G_MAXUINT, 0, /* FIXME */
+ MATE_PANEL_APPLET_FLAGS_NONE,
+ MATE_PANEL_APPLET_FLAGS_ALL,
+ MATE_PANEL_APPLET_FLAGS_NONE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SIZE_HINTS,