summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src')
-rw-r--r--protocols/Xfire/src/Xfire_game.cpp3
-rw-r--r--protocols/Xfire/src/Xfire_gamelist.cpp3
-rw-r--r--protocols/Xfire/src/main.cpp3
3 files changed, 4 insertions, 5 deletions
diff --git a/protocols/Xfire/src/Xfire_game.cpp b/protocols/Xfire/src/Xfire_game.cpp
index 8f7f7b6d7f..8abedcb60c 100644
--- a/protocols/Xfire/src/Xfire_game.cpp
+++ b/protocols/Xfire/src/Xfire_game.cpp
@@ -437,8 +437,7 @@ void Xfire_game::createMenuitem(unsigned int pos, int dbid)
dbid = pos;
CLISTMENUITEM mi = { 0 };
- // mi.popupPosition = 500084000; !!!!!!!!!!!!!!!!!!!!!!!!
- mi.pszPopupName = Translate("Start game");
+ mi.hParentMenu = Menu_CreateRoot(MO_MAIN, LPGENW("Start game"), 500084000);
mi.pszContactOwner = protocolname;
mir_snprintf(temp, _countof(temp), servicefunction, this->id);
diff --git a/protocols/Xfire/src/Xfire_gamelist.cpp b/protocols/Xfire/src/Xfire_gamelist.cpp
index 624e79a184..344289044a 100644
--- a/protocols/Xfire/src/Xfire_gamelist.cpp
+++ b/protocols/Xfire/src/Xfire_gamelist.cpp
@@ -242,11 +242,10 @@ void Xfire_gamelist::clearGamelist() {
void Xfire_gamelist::createDummyMenuItem()
{
CLISTMENUITEM mi = { 0 };
+ mi.hParentMenu = Menu_CreateRoot(MO_MAIN, LPGENW("Start game"), 500084000);
mi.position = 500090001;
mi.pszName = Translate("Please wait...");
mi.hIcon = LoadIcon(hinstance, MAKEINTRESOURCE(ID_OP));
- // mi.popupPosition = 500084000; !!!!!!!!!!!!!!!!!!!!!!!
- mi.pszPopupName = Translate("Start game");
mi.pszContactOwner = protocolname;
dummymenuitem = Menu_AddMainMenuItem(&mi);
}
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index ab71efc9ee..ab06f85b5c 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -1114,7 +1114,7 @@ extern "C" __declspec(dllexport) int Load(void)
// erweiterte Kontextmenüpunkte
CLISTMENUITEM mi = { 0 };
- mi.ptszPopupName = _T(protocolname);
+ mi.hParentMenu = Menu_CreateRoot(MO_CONTACT, _T(protocolname), 500090000);
mi.flags = CMIF_TCHAR;
char servicefunction[100];
@@ -1188,6 +1188,7 @@ extern "C" __declspec(dllexport) int Load(void)
blockfriend = Menu_AddContactMenuItem(&mi);
// my fire profile
+ mi.hParentMenu = Menu_CreateRoot(MO_MAIN, _T(protocolname), 500090000);
mir_strcpy(servicefunction, protocolname);
mir_strcat(servicefunction, "GotoProfile2");
CreateServiceFunction(servicefunction, GotoProfile2);