Display 'new instance' on title bar (patch by Eugene Arshinov,

thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5031 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2010-06-17 12:35:17 +00:00
parent 77183d838e
commit 0331c0e650
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -51,6 +51,7 @@
#include "symbols.h"
#include "toolbar.h"
#include "geanymenubuttonaction.h"
#include "main.h"
GeanyInterfacePrefs interface_prefs;
@ -290,6 +291,10 @@ void ui_set_window_title(GeanyDocument *doc)
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);
}