summaryrefslogtreecommitdiff
path: root/shell/maynard.c
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-06-29 10:04:54 +0000
committerschneefux <schneefux+commit@schneefux.xyz>2014-06-29 10:04:54 +0000
commitaf788b560d167a873036b0fae04f2a91f2cda9e5 (patch)
tree51dece036218128dca61cae3f1ab3d4d13ce561d /shell/maynard.c
parentf234933f0b9f9648d504543f3674f9e372406267 (diff)
downloadgraynard-af788b560d167a873036b0fae04f2a91f2cda9e5.tar.gz
graynard-af788b560d167a873036b0fae04f2a91f2cda9e5.zip
move favorite launcher to bottom
Diffstat (limited to 'shell/maynard.c')
-rw-r--r--shell/maynard.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/shell/maynard.c b/shell/maynard.c
index 351076d..e2f5c3b 100644
--- a/shell/maynard.c
+++ b/shell/maynard.c
@@ -90,18 +90,15 @@ desktop_shell_configure (void *data,
int32_t width, int32_t height)
{
struct desktop *desktop = data;
- int window_height;
gtk_widget_set_size_request (desktop->background->window,
width, height);
- /* TODO: make this height a little nicer */
- window_height = height * MAYNARD_PANEL_HEIGHT_RATIO;
gtk_window_resize (GTK_WINDOW (desktop->panel->window),
- MAYNARD_PANEL_WIDTH, window_height);
+ width, MAYNARD_PANEL_HEIGHT);
shell_helper_move_surface (desktop->helper, desktop->panel->surface,
- 0, (height - window_height) / 2);
+ 0, height - MAYNARD_PANEL_HEIGHT); //TODO to bottom
desktop_shell_desktop_ready (desktop->shell);