From dbb4ff1313ca3a1cd6a80a775da29c18b9f3cda4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Dec 2015 15:58:47 +0000 Subject: missing menu uids git-svn-id: http://svn.miranda-ng.org/main/trunk@15884 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FTPFileYM/src/ftpfile.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/FTPFileYM') diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp index d0e6b988fe..3fd2de8122 100644 --- a/plugins/FTPFileYM/src/ftpfile.cpp +++ b/plugins/FTPFileYM/src/ftpfile.cpp @@ -92,6 +92,7 @@ void InitMenuItems() TCHAR stzName[256]; CMenuItem mi; + SET_UID(mi, 0xB7132F5A, 0x65FC, 0x42C5, 0xB4, 0xCB, 0x54, 0xBC, 0xAC, 0x58, 0x34, 0xE9); mi.flags = CMIF_TCHAR; mi.hIcolibItem = iconList[ServerList::FTP_COUNT].hIcolib; mi.position = 3000090001; @@ -103,18 +104,17 @@ void InitMenuItems() memset(&mi, 0, sizeof(mi)); mi.name.t = stzName; + mi.flags = CMIF_TCHAR | CMIF_SYSTEM; CMenuItem mi2; - mi2.flags = CMIF_TCHAR; + mi2.flags = CMIF_TCHAR | CMIF_SYSTEM; mi2.pszService = MS_FTPFILE_CONTACTMENU; for (int i = 0; i < ServerList::FTP_COUNT; i++) { if (DB::getStringF(0, MODULE, "Name%d", i, stzName)) mir_sntprintf(stzName, TranslateT("FTP Server %d"), i + 1); - mi.flags = CMIF_TCHAR; mi.root = (opt.bUseSubmenu) ? hMenu : 0; - mi.hIcolibItem = iconList[i].hIcolib; hSubMenu[i] = Menu_AddContactMenuItem(&mi); Menu_ConfigureItem(hSubMenu[i], MCI_OPT_EXECPARAM, i + 1000); @@ -154,6 +154,7 @@ void InitMenuItems() } memset(&mi, 0, sizeof(mi)); + SET_UID(mi, 0x0C17CAD7, 0x7F23, 0x449B, 0xB9, 0xCD, 0xFF, 0x50, 0xDA, 0x69, 0xF3, 0x6F); mi.flags = CMIF_TCHAR; mi.hIcolibItem = iconList[ServerList::FTP_COUNT].hIcolib; mi.position = 3000090001; -- cgit v1.2.3