If -i, --new-instance options are passed, disable loading & saving of
session files. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1699 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
80e0695bd8
commit
9db2a589c5
@ -3,6 +3,9 @@
|
||||
* src/treeviews.c:
|
||||
Prevent warning when closing files when Geany is busy (e.g. pressing
|
||||
Ctrl-W when opening files).
|
||||
* src/main.c:
|
||||
If -i, --new-instance options are passed, disable loading & saving of
|
||||
session files.
|
||||
|
||||
|
||||
2007-07-12 Enrico Tröger <enrico.troeger@uvena.de>
|
||||
|
@ -513,6 +513,8 @@ static void parse_command_line_options(gint *argc, gchar ***argv)
|
||||
|
||||
#ifdef HAVE_SOCKET
|
||||
socket_info.ignore_socket = ignore_socket;
|
||||
if (ignore_socket)
|
||||
cl_options.load_session = FALSE;
|
||||
#endif
|
||||
#ifdef HAVE_VTE
|
||||
vte_info.lib_vte = lib_vte;
|
||||
|
Loading…
x
Reference in New Issue
Block a user