summaryrefslogtreecommitdiff
path: root/src/mir_app/res/resource.rc
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-13 17:32:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-13 17:32:08 +0300
commit520fca8c13037c9077e7d372c0d20a2364964ffb (patch)
tree9b8594a08387b2e31952e4ece4f92732b50ca38f /src/mir_app/res/resource.rc
parentd34d3314d9da310469343a0de2f4b3b49c3a56b9 (diff)
Contacts lists:
- duplicate IDR_CLISTMENU resources removed, the only copy remains in mir_app.dll; - local variable g_hMenuMain removed from Clist_Modern and replaced with g_clistApi.hMenuMain; - duplicate code removed from Clist_Modern (CLUI::CreateCluiFrames()) - fixes #1465 (StdClist: "Status" menu cannot change language on the fly); - fixes #1467 (Clist_blind: menu cannot change language on the fly); - fixes menu-related part in #1471
Diffstat (limited to 'src/mir_app/res/resource.rc')
-rw-r--r--src/mir_app/res/resource.rc22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mir_app/res/resource.rc b/src/mir_app/res/resource.rc
index cc030252d6..f0f22abf34 100644
--- a/src/mir_app/res/resource.rc
+++ b/src/mir_app/res/resource.rc
@@ -1298,6 +1298,28 @@ BEGIN
END
END
+IDR_CLISTMENU MENU
+BEGIN
+ POPUP "&Main menu"
+ BEGIN
+ MENUITEM SEPARATOR
+ MENUITEM "E&xit", ID_ICQ_EXIT
+ END
+ POPUP "&Status"
+ BEGIN
+ MENUITEM "&Offline\tCtrl+0", ID_STATUS_OFFLINE, CHECKED
+ MENUITEM "On&line\tCtrl+1", ID_STATUS_ONLINE
+ MENUITEM "&Away\tCtrl+2", ID_STATUS_AWAY
+ MENUITEM "&Not available\tCtrl+3", ID_STATUS_NA
+ MENUITEM "Occ&upied\tCtrl+4", ID_STATUS_OCCUPIED
+ MENUITEM "&Do not disturb\tCtrl+5", ID_STATUS_DND
+ MENUITEM "&Free for chat\tCtrl+6", ID_STATUS_FREECHAT
+ MENUITEM "&Invisible\tCtrl+7", ID_STATUS_INVISIBLE
+ MENUITEM "On the &phone\tCtrl+8", ID_STATUS_ONTHEPHONE
+ MENUITEM "Out to &lunch\tCtrl+9", ID_STATUS_OUTTOLUNCH
+ END
+END
+
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////