[anjuta] anjuta: Save GDL settings correctly
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] anjuta: Save GDL settings correctly
- Date: Sat, 10 Nov 2012 10:07:52 +0000 (UTC)
commit f9605608346b9f1e453bcd61c4de84d7de2b2c3e
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Wed Nov 7 22:30:50 2012 +0100
anjuta: Save GDL settings correctly
The start plugin is setting the main window in maximize mode and it wasn't
going back in normal mode after loading a new project. So the GDL project
settings were overwritten by the initial back-up just before being saved.
src/anjuta-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/anjuta-window.c b/src/anjuta-window.c
index 72bbe34..3edfeff 100644
--- a/src/anjuta-window.c
+++ b/src/anjuta-window.c
@@ -951,6 +951,9 @@ anjuta_window_layout_load (AnjutaWindow *win, const gchar *layout_filename,
if (!gdl_dock_layout_load_layout (win->layout_manager, name))
g_warning ("Loading layout failed!!");
+
+ /* Layout loaded from file are not maximized */
+ win->maximized = FALSE;
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]