SF.net SVN: geany:[5031] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Jun 17 12:35:17 UTC 2010


Revision: 5031
          http://geany.svn.sourceforge.net/geany/?rev=5031&view=rev
Author:   ntrel
Date:     2010-06-17 12:35:17 +0000 (Thu, 17 Jun 2010)

Log Message:
-----------
Display 'new instance' on title bar (patch by Eugene Arshinov,
thanks).

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-06-17 12:14:48 UTC (rev 5030)
+++ trunk/ChangeLog	2010-06-17 12:35:17 UTC (rev 5031)
@@ -6,6 +6,9 @@
  * src/build.c:
    Make default Build dialog entries grey, not light grey (too hard to
    read on a white background).
+ * src/ui_utils.c:
+   Display 'new instance' on title bar (patch by Eugene Arshinov,
+   thanks).
 
 
 2010-06-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2010-06-17 12:14:48 UTC (rev 5030)
+++ trunk/src/ui_utils.c	2010-06-17 12:35:17 UTC (rev 5031)
@@ -51,6 +51,7 @@
 #include "symbols.h"
 #include "toolbar.h"
 #include "geanymenubuttonaction.h"
+#include "main.h"
 
 
 GeanyInterfacePrefs	interface_prefs;
@@ -290,6 +291,10 @@
 		g_string_append(str, "] - ");
 	}
 	g_string_append(str, "Geany");
+	if (cl_options.new_instance)
+	{
+		g_string_append(str, _(" (new instance)"));
+	}
 	gtk_window_set_title(GTK_WINDOW(main_widgets.window), str->str);
 	g_string_free(str, TRUE);
 }


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