summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-30 13:00:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-30 13:00:48 +0300
commit11e63a9fe8496302dc789c74b2b6ba39a14b568a (patch)
tree21525c638446ce670244bbc3431f9e00fb75e632 /src/resources
parent7b8493a8a977032b502e6df00b89f6b1a813b78b (diff)
downloadplus-11e63a9fe8496302dc789c74b2b6ba39a14b568a.tar.gz
plus-11e63a9fe8496302dc789c74b2b6ba39a14b568a.tar.bz2
plus-11e63a9fe8496302dc789c74b2b6ba39a14b568a.tar.xz
plus-11e63a9fe8496302dc789c74b2b6ba39a14b568a.zip
Impliment packet SMSG_MAIL_NEW_MAIL.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/notifications.h4
-rw-r--r--src/resources/notifytypes.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/notifications.h b/src/resources/notifications.h
index 81199fcc7..69cb6a205 100644
--- a/src/resources/notifications.h
+++ b/src/resources/notifications.h
@@ -611,6 +611,10 @@ namespace NotifyManager
// TRANSLATORS: notification message
N_("Can't get attach. Too many items."),
NotifyFlags::EMPTY},
+ {"new mail",
+ // TRANSLATORS: notification message
+ "%s",
+ NotifyFlags::STRING},
};
} // namespace NotifyManager
#endif // RESOURCES_NOTIFICATIONS_H
diff --git a/src/resources/notifytypes.h b/src/resources/notifytypes.h
index 14eedf9eb..1c132e876 100644
--- a/src/resources/notifytypes.h
+++ b/src/resources/notifytypes.h
@@ -171,6 +171,7 @@ namespace NotifyTypes
MAIL_GET_ATTACH_OK,
MAIL_GET_ATTACH_ERROR,
MAIL_GET_ATTACH_TOO_MANY_ITEMS,
+ NEW_MAIL,
TYPE_END
};