[gnome-control-center] Revert "shell: Reset "small_screen_set" when we use a big screen"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Revert "shell: Reset "small_screen_set" when we use a big screen"
- Date: Tue, 8 May 2012 17:55:33 +0000 (UTC)
commit c3fa222461df600a863fa5411566a98a7db6cb3b
Author: Bastien Nocera <hadess hadess net>
Date: Tue May 8 18:53:04 2012 +0100
Revert "shell: Reset "small_screen_set" when we use a big screen"
This reverts commit 3e5f488160ff2ba72d6871a8b9848fb1206da3c8.
shell/gnome-control-center.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 095bad7..a5c9c03 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -1167,10 +1167,8 @@ update_small_screen_settings (GnomeControlCenter *self)
gtk_scrolled_window_set_min_content_height (GTK_SCROLLED_WINDOW (self->priv->scrolled_window), SMALL_SCREEN_FIXED_HEIGHT);
if (!self->priv->small_screen_set
- && self->priv->small_screen != small) {
+ && self->priv->small_screen != small)
gtk_window_maximize (GTK_WINDOW (self->priv->window));
- self->priv->small_screen_set = TRUE;
- }
}
else
{
@@ -1179,10 +1177,10 @@ update_small_screen_settings (GnomeControlCenter *self)
gtk_window_unmaximize (GTK_WINDOW (self->priv->window));
gtk_window_set_resizable (GTK_WINDOW (self->priv->window), FALSE);
- self->priv->small_screen_set = FALSE;
}
self->priv->small_screen = small;
+ self->priv->small_screen_set = TRUE;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]