summaryrefslogtreecommitdiff
path: root/mate-applet
diff options
context:
space:
mode:
Diffstat (limited to 'mate-applet')
-rw-r--r--mate-applet/mdock-mate-panel-applet.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mate-applet/mdock-mate-panel-applet.c b/mate-applet/mdock-mate-panel-applet.c
index 1394620..7079c27 100644
--- a/mate-applet/mdock-mate-panel-applet.c
+++ b/mate-applet/mdock-mate-panel-applet.c
@@ -57,11 +57,11 @@ static gboolean transform_applet_orient_to_orientation(GBinding *binding, const
switch (orient) {
case MATE_PANEL_APPLET_ORIENT_DOWN:
case MATE_PANEL_APPLET_ORIENT_UP:
- g_value_set_enum(to_value, GTK_ORIENTATION_VERTICAL);
+ g_value_set_enum(to_value, GTK_ORIENTATION_HORIZONTAL);
break;
case MATE_PANEL_APPLET_ORIENT_LEFT:
case MATE_PANEL_APPLET_ORIENT_RIGHT:
- g_value_set_enum(to_value, GTK_ORIENTATION_HORIZONTAL);
+ g_value_set_enum(to_value, GTK_ORIENTATION_VERTICAL);
break;
}
}
@@ -112,6 +112,8 @@ static void mdock_mate_panel_applet_init(MDockMatePanelApplet *self)
action_group);
g_object_unref(action_group);
+
+ gtk_widget_show(GTK_WIDGET(self->dock));
}
MatePanelApplet *mdock_mate_panel_applet_new(void)