From af788b560d167a873036b0fae04f2a91f2cda9e5 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 29 Jun 2014 10:04:54 +0000 Subject: move favorite launcher to bottom --- shell/maynard.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'shell/maynard.c') 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); -- cgit v1.3.1