[gnome-control-center] shell: Maximise window on monitor size change
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Maximise window on monitor size change
- Date: Tue, 8 May 2012 17:55:38 +0000 (UTC)
commit 3bd227a9055746238d24ce777ded471a569f0376
Author: Bastien Nocera <hadess hadess net>
Date: Tue May 8 18:54:28 2012 +0100
shell: Maximise window on monitor size change
When the monitor changes size, and we have a small screen, reset
small_screen_set so that we maximise the window.
shell/gnome-control-center.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index a5c9c03..fda7cee 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -1196,6 +1196,9 @@ static void
monitors_changed_cb (GdkScreen *screen,
GnomeControlCenter *self)
{
+ /* We reset small_screen_set to make sure that the
+ * window gets maximised if need be, in update_small_screen_settings() */
+ self->priv->small_screen_set = FALSE;
update_small_screen_settings (self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]