Kaydet (Commit) fbe1d542 authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix possible wrong window title when loading session files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1964 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 0cf185f4
2007-10-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c: Fix possible wrong window title when loading session
files.
2007-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, po/sv.po, po/LINGUAS:
......@@ -7,8 +13,8 @@
2007-10-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, doc/geany.html, doc/geany.txt, plugins/Makefile.am,
scintilla/Makefile.am, scintilla/PlatGTK.cxx, src/gb.c,
src/project.c, src/vte.c, tagmanager/Makefile.am:
scintilla/Makefile.am, scintilla/PlatGTK.cxx, src/Makefile.am,
src/gb.c, src/project.c, src/vte.c, tagmanager/Makefile.am:
Apply most of the patch from #1794250 (thanks):
Remove compiler specific flags.
Add configure option to specify the path to libvte.so.
......
......@@ -761,7 +761,14 @@ gboolean configuration_open_files()
if (failure)
msgwin_status_add(_("Failed to load one or more session files."));
else if (session_notebook_page >= 0)
{
// exlicitly allow notebook switch page callback to be called for window title,
// encoding settings and so other things
main_status.opening_session_files = FALSE;
gtk_notebook_set_current_page(GTK_NOTEBOOK(app->notebook), session_notebook_page);
// reset status to leave in any case with the same state as when entering
main_status.opening_session_files = TRUE;
}
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment