File xournal-Improve-window-title.patch of Package xournal
From b0d19f6945477bac922767d12a3c57a6e80cebe3 Mon Sep 17 00:00:00 2001
From: Michael Walter <michael.walter@gmail.com>
Date: Wed, 10 Dec 2014 23:05:36 -0800
Subject: [PATCH] Improve window title (file name before program name).
---
src/xo-misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xo-misc.c b/src/xo-misc.c
index 335759b..25f83c2 100644
--- a/src/xo-misc.c
+++ b/src/xo-misc.c
@@ -1635,7 +1635,7 @@ void update_file_name(char *filename)
return;
}
p = xo_basename(filename, FALSE);
- g_snprintf(tmp, 100, _("Xournal - %s"), p);
+ g_snprintf(tmp, 100, _("%s - Xournal"), p);
gtk_window_set_title(GTK_WINDOW (winMain), tmp);
new_mru_entry(filename);
--
1.9.4.msysgit.0