diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-18 01:29:14 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-18 01:29:14 +0800 |
commit | 3a51f7793e0a7df908768056da6e60a8e0ae9e51 (patch) | |
tree | 06a30d5852ccccbb75a53f1fa7361978cae48db1 /shell/e-shell-view.c | |
parent | 2e8306e07bc705f7e927574d4ef03bb03f9e5e1e (diff) | |
download | gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.tar gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.tar.gz gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.tar.bz2 gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.tar.lz gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.tar.xz gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.tar.zst gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.zip |
Replace `--with-x-mailer' with a more generic `--with-sub-version'.
The value you provide is now also displayed in the shell title bar.
And while I was at it, I changed the title bar so that it displays the
name of the folder first (instead of "Evolution - Inbox" it says
"Inbox - Evolution 0.8 [yaddayadda]").
svn path=/trunk/; revision=7585
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 4d3926bb5e..a6aeca1815 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -1094,7 +1094,11 @@ update_for_current_uri (EShellView *shell_view) else folder_name = e_utf8_to_gtk_string ((GtkWidget *) shell_view, e_folder_get_name (folder)); - window_title = g_strdup_printf (_("Evolution - %s"), folder_name); + if (SUB_VERSION[0] == '\0') + window_title = g_strdup_printf (_("%s - Evolution %s"), folder_name, VERSION); + else + window_title = g_strdup_printf (_("%s - Evolution %s [%s]"), folder_name, VERSION, SUB_VERSION); + gtk_window_set_title (GTK_WINDOW (shell_view), window_title); g_free (window_title); g_free (folder_name); |