diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-03-09 06:37:55 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-03-09 06:37:55 +0000 |
commit | 39683eb5ab1e51c69ddf12a9da1ce0402f78380f (patch) | |
tree | d7f296191bfad70c9edf0c6fe10c42b2fe8ccb49 /src/inc.c | |
parent | 57da061f6ef7b0b005066dcf7fd5bd317f394339 (diff) |
added a hidden option "mime_command" for backward compatibility.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1035 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/inc.c')
-rw-r--r-- | src/inc.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -182,10 +182,9 @@ static void inc_finished(MainWindow *mainwin, gint new_messages) prefs_common.enable_newmsg_notify && prefs_common.newmsg_notify_cmd) { gchar buf[1024]; - gchar *p; - if ((p = strchr(prefs_common.newmsg_notify_cmd, '%')) && - *(p + 1) == 'd' && !strchr(p + 2, '%')) + if (str_find_format_times + (prefs_common.newmsg_notify_cmd, 'd') == 1) g_snprintf(buf, sizeof(buf), prefs_common.newmsg_notify_cmd, new_messages); |