aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-24 09:44:32 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-24 09:44:32 +0000
commit4ed3c3a2ebcb3647af9eae9231150a41bd2491de (patch)
treec1ace9b6adad549d4a6d2384876610b446e16043
parent0a02061397634278a6528b9f2b695957eafc3daa (diff)
set the title of separated message window to '(Subject) - Sylpheed.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@676 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/messageview.c10
3 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 32943089..faa5ed26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-10-24
+ * src/messageview.c: set the title of separated message window to
+ "(Subject) - Sylpheed".
+
+2005-10-24
+
* src/summaryview.c
src/mimeview.c: fixed the problem that DnD didn't work on GTK+ 2.8
(thanks to Victor Ananajevsky).
diff --git a/ChangeLog.ja b/ChangeLog.ja
index ae7b0a75..124b0f50 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-10-24
+ * src/messageview.c: 独立したメッセージウィンドウのタイトルを
+ "(件名) - Sylpheed" にセットするようにした。
+
+2005-10-24
+
* src/summaryview.c
src/mimeview.c: DnD が GTK+ 2.8 で効かなかった問題を修正(Victor
Ananajevsky さん thanks)。
diff --git a/src/messageview.c b/src/messageview.c
index f5c0a47a..ef452c7f 100644
--- a/src/messageview.c
+++ b/src/messageview.c
@@ -366,7 +366,7 @@ MessageView *messageview_create_with_new_window(void)
guint n_menu_entries;
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
- gtk_window_set_title(GTK_WINDOW(window), _("Sylpheed - Message View"));
+ gtk_window_set_title(GTK_WINDOW(window), _("Message View - Sylpheed"));
gtk_window_set_wmclass(GTK_WINDOW(window), "message_view", "Sylpheed");
gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, FALSE);
gtk_widget_set_size_request(window, prefs_common.msgwin_width,
@@ -469,6 +469,14 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
if (!messageview->msginfo)
messageview->msginfo = procmsg_msginfo_copy(msginfo);
}
+
+ if (messageview->window && msginfo->subject) {
+ gchar *title;
+
+ title = g_strconcat(msginfo->subject, " - Sylpheed", NULL);
+ gtk_window_set_title(GTK_WINDOW(messageview->window), title);
+ g_free(title);
+ }
headerview_show(messageview->headerview, messageview->msginfo);
textview_set_all_headers(messageview->textview, all_headers);