diff options
author | Javier <dev.git@javispedro.com> | 2015-01-25 04:33:43 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-01-25 04:33:43 +0100 |
commit | 4545948192a7bac1f86be840f6d883a112d8591e (patch) | |
tree | c7ae264a3d56302fdf1c114e77836c965ce9bfbc /mate-applet | |
parent | e5239736235d6beace1d18c18decaaf6611bb1dd (diff) | |
download | mdock-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.c | 6 |
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) |