SF.net SVN: geany: [1699] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Jul 13 11:07:35 UTC 2007


Revision: 1699
          http://svn.sourceforge.net/geany/?rev=1699&view=rev
Author:   ntrel
Date:     2007-07-13 04:07:35 -0700 (Fri, 13 Jul 2007)

Log Message:
-----------
If -i, --new-instance options are passed, disable loading & saving of
session files.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-07-13 10:46:11 UTC (rev 1698)
+++ trunk/ChangeLog	2007-07-13 11:07:35 UTC (rev 1699)
@@ -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 at uvena.de>

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2007-07-13 10:46:11 UTC (rev 1698)
+++ trunk/src/main.c	2007-07-13 11:07:35 UTC (rev 1699)
@@ -513,6 +513,8 @@
 
 #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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list