diff options
author | portix <portix@gmx.net> | 2010-08-12 01:33:08 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2010-08-12 01:33:08 +0200 |
commit | 7214b53dc96fa9b7a31194866d23dd15a1295071 (patch) | |
tree | 17a76252998357b6422891dc7d056d827edc6123 /src/session.c | |
parent | d628059c2a4d718a75d4f435f5097516a5e8f86a (diff) | |
download | dwb-7214b53dc96fa9b7a31194866d23dd15a1295071.zip |
save session window realize issue
Diffstat (limited to 'src/session.c')
-rw-r--r-- | src/session.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/session.c b/src/session.c index c4e67451..38061b17 100644 --- a/src/session.c +++ b/src/session.c @@ -108,6 +108,13 @@ dwb_session_restore(const gchar *name) { g_strfreev(line); } g_strfreev(lines); + gtk_widget_show_all(dwb.gui.window); + if (dwb.state.layout & Maximized) { + gtk_widget_hide(dwb.gui.right); + for (GList *l = dwb.state.views->next; l; l=l->next) { + gtk_widget_hide(((View*)l->data)->vbox); + } + } return true; }/*}}}*/ |