Display account name in statusbar when retrieving from POP account. Display account...
authorPaul Mangan <paul@claws-mail.org>
Tue, 4 May 2004 16:29:32 +0000 (16:29 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 4 May 2004 16:29:32 +0000 (16:29 +0000)
AUTHORS
ChangeLog.claws
configure.ac
src/inc.c
src/prefs_account.c
src/prefs_folder_item.c

diff --git a/AUTHORS b/AUTHORS
index fdd712b..2893b1e 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -202,3 +202,4 @@ contributors (beside the above; based on Changelog)
        David Chalmers
        Chad Robinson
        Edgar Toernig
+       Fabien Vantard
index aa8e0b6..8edd206 100644 (file)
@@ -1,3 +1,19 @@
+2004-05-04 [paul]      0.9.10claws54
+
+       * src/inc.c
+               Display account_name in statusbar when retrieving
+               messages from a pop account
+       * src/prefs_account.c
+               display account name in title of prefs_account
+               window
+       * src/prefs_folder_item.c
+               display folder name in title of prefs_folder window
+
+       all 3 patches submitted by Fabien Vantard
+
+       * AUTHORS
+               add Fabien Vantard
+
 2004-05-04 [paul]      0.9.10claws53
 
        * src/prefs_actions.c
index f8f1dd3..0ead2e8 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=53
+EXTRA_VERSION=54
 
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
index 7b9e33d..719a3c7 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -859,8 +859,9 @@ static void inc_progress_dialog_set_label(IncProgressDialog *inc_dialog,
        case POP3_GETAUTH_PASS:
        case POP3_GETAUTH_APOP:
                progress_dialog_set_label(dialog, _("Authenticating..."));
-               statusbar_print_all(_("Retrieving messages from %s..."),
-                                   SESSION(session)->server);
+               statusbar_print_all(_("Retrieving messages from %s (%s) ..."),
+                                   SESSION(session)->server,
+                                   session->ac_prefs->account_name);
                break;
        case POP3_GETRANGE_STAT:
                progress_dialog_set_label
index 7eb44a4..ed64e58 100644 (file)
@@ -711,9 +711,12 @@ PrefsAccount *prefs_account_open(PrefsAccount *ac_prefs)
                                     _("Preferences for new account"));
                gtk_widget_hide(dialog.apply_btn);
        } else {
+               gchar *title;
                prefs_set_dialog(param);
-               gtk_window_set_title(GTK_WINDOW(dialog.window),
-                                    _("Account preferences"));
+               title = g_strdup_printf (_("%s - Account preferences"),
+                               ac_prefs->account_name);
+               gtk_window_set_title(GTK_WINDOW(dialog.window), title);
+               g_free (title);
                gtk_widget_show(dialog.apply_btn);
        }
 
index 4e34f2c..498818a 100644 (file)
@@ -787,12 +787,18 @@ static GSList *prefs_pages = NULL;
 
 void prefs_folder_item_open(FolderItem *item)
 {
+       gchar *id, *title;
+
        if (prefs_pages == NULL) {
                register_general_page();
                register_compose_page();
        }
 
-       prefswindow_open(_("Settings for folder"), prefs_pages, item);
+       id = folder_item_get_identifier (item);
+       title = g_strdup_printf (_("%s - Settings for folder"), id);
+       g_free (id);
+       prefswindow_open(title, prefs_pages, item);
+       g_free (title);
 }
 
 void prefs_folder_item_register_page(PrefsPage *page)