diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-09-28 06:26:36 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-09-28 06:26:36 +0000 |
commit | 9a1a61fd754486ea65c3297d16f166efde52f6c3 (patch) | |
tree | 69e46f144c18c9b9b335f89da34175342b5aff49 /src/compose.c | |
parent | bfa087fcb24c3c14882ecb7af711b75b0f33d778 (diff) |
only show subject on the compose titlebar.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@609 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/compose.c')
-rw-r--r-- | src/compose.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/compose.c b/src/compose.c index dfd6a75c..00565d42 100644 --- a/src/compose.c +++ b/src/compose.c @@ -2360,20 +2360,14 @@ static void compose_set_title(Compose *compose) gchar *str; gchar *edited; const gchar *subject; - const gchar *address; subject = gtk_entry_get_text(GTK_ENTRY(compose->subject_entry)); if (!subject || subject[0] == '\0') subject = _("(No Subject)"); - if (compose->account && compose->account->address) - address = compose->account->address; - else - address = _("(No From)"); - edited = compose->modified ? _(" [Edited]") : ""; - str = g_strdup_printf(_("%s: %s - Compose%s"), - address, subject, edited); + + str = g_strdup_printf(_("%s - Compose%s"), subject, edited); gtk_window_set_title(GTK_WINDOW(compose->window), str); g_free(str); } |