[gnome-applets/wip/segeiger/window-picker-in-process: 5/8] Applet: Let outerbox and tasklist only expand as much as necessary



commit 301e814755b709de0d25eb9165cfbd8f965b5f47
Author: Sebastian Geiger <sbastig gmx net>
Date:   Sat Jul 11 22:15:56 2015 +0200

    Applet: Let outerbox and tasklist only expand as much as necessary

 windowpicker/src/applet.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/windowpicker/src/applet.c b/windowpicker/src/applet.c
index 941dc43..5580bb6 100644
--- a/windowpicker/src/applet.c
+++ b/windowpicker/src/applet.c
@@ -152,12 +152,14 @@ load_window_picker (PanelApplet *applet) {
                         = panel_applet_settings_new(applet, SETTINGS_SCHEMA);
 
     GtkWidget *outer_box = priv->outer_box = gtk_box_new (panel_applet_get_gtk_orientation (applet), 0);
+    gtk_widget_set_halign (outer_box, GTK_ALIGN_START);
     gtk_container_add (GTK_CONTAINER (applet), outer_box);
     gtk_container_set_border_width (GTK_CONTAINER (applet), 0);
     gtk_container_set_border_width (GTK_CONTAINER (outer_box), 0);
 
     priv->tasks = task_list_new (windowPickerApplet);
     gtk_widget_set_vexpand (priv->tasks, TRUE);
+    gtk_widget_set_halign (priv->tasks, GTK_ALIGN_START);
     gtk_box_pack_start (GTK_BOX (outer_box), priv->tasks, TRUE, TRUE, 0);
 
     priv->title = task_title_new (windowPickerApplet);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]