[gnome-control-center/gnome-3-2] screen: Don't fill up the space
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-2] screen: Don't fill up the space
- Date: Thu, 8 Sep 2011 16:07:09 +0000 (UTC)
commit ed347aab54870d0ecce8c93374bc522d97198de5
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 8 16:44:16 2011 +0100
screen: Don't fill up the space
When the brightness slider is hidden, we're smaller than the
minimum panel size, so don't fill that up.
panels/screen/cc-screen-panel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/screen/cc-screen-panel.c b/panels/screen/cc-screen-panel.c
index 3b3ffaa..f5c1d11 100644
--- a/panels/screen/cc-screen-panel.c
+++ b/panels/screen/cc-screen-panel.c
@@ -535,6 +535,7 @@ cc_screen_panel_init (CcScreenPanel *self)
widget = WID ("screen_vbox");
gtk_widget_reparent (widget, (GtkWidget *) self);
+ g_object_set (self, "valign", GTK_ALIGN_START, NULL);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]