summaryrefslogtreecommitdiff
path: root/mate-applet
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-01-25 04:33:43 +0100
committerJavier <dev.git@javispedro.com>2015-01-25 04:33:43 +0100
commit4545948192a7bac1f86be840f6d883a112d8591e (patch)
treec7ae264a3d56302fdf1c114e77836c965ce9bfbc /mate-applet
parente5239736235d6beace1d18c18decaaf6611bb1dd (diff)
downloadmdock-4545948192a7bac1f86be840f6d883a112d8591e.tar.gz
mdock-4545948192a7bac1f86be840f6d883a112d8591e.zip
remove icon-size setting and use normal allocation
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)