diff options
author | portix <portix@gmx.net> | 2010-11-02 23:43:04 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2010-11-02 23:43:04 +0100 |
commit | 058d0f1e6e98a0dcf312a4eaba35fe9feda90ca0 (patch) | |
tree | c0c2a40560278cf4275e1d9ac5bf1f41e9c53309 /src | |
parent | e5a7ec9eb5a408b80e0855eec756c1cf2de53dd6 (diff) | |
download | dwb-058d0f1e6e98a0dcf312a4eaba35fe9feda90ca0.zip |
Update Layout after restoring a session
Diffstat (limited to 'src')
-rw-r--r-- | src/dwb.c | 2 | ||||
-rw-r--r-- | src/session.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -448,10 +448,10 @@ dwb_update_status_text(GList *gl) { value == upper ? g_strdup(" [bot]") : g_strdup_printf(" [%02d%%]", (gint)(value * 100/upper)); g_string_append(string, position); + g_free(position); dwb_set_status_bar_text(VIEW(gl)->rstatus, string->str, NULL, NULL); g_string_free(string, true); - g_free(position); }/*}}}*/ /*}}}*/ diff --git a/src/session.c b/src/session.c index dc1df1ce..6a91acb7 100644 --- a/src/session.c +++ b/src/session.c @@ -119,6 +119,7 @@ dwb_session_restore(const gchar *name) { gtk_widget_hide(((View*)l->data)->vbox); } } + dwb_update_layout(); return true; }/*}}}*/ |