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 | |
parent | 2e8306e07bc705f7e927574d4ef03bb03f9e5e1e (diff) | |
download | gsoc2013-evolution-3a51f7793e0a7df908768056da6e60a8e0ae9e51.tar.gz 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')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/e-shell-view.c | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 19b9d139ff..e6a18e7814 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,11 @@ 2001-01-17 Ettore Perazzoli <ettore@ximian.com> + * e-shell-view.c (update_for_current_uri): Display the folder name + before "Evolution" instead of after it. Also, display the + sub-version string if it was defined when configuring. + +2001-01-17 Ettore Perazzoli <ettore@ximian.com> + * e-storage-set-view.c (table_drag_drop): Don't emit the "dnd_action" signal here. Instead, do a `gtk_drag_get_data()' to retrieve information about the drop. 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); |