diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-05-30 11:53:57 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-05-30 11:53:57 +0000 |
commit | 20051a55a8a7cb710767e09b0a5e6e2a0445c0ae (patch) | |
tree | dc2a3ad5c9a897968df2034ea9d6c889dc724af5 /protocols/Xfire | |
parent | 7b40d91a4f81cbba63ae7cabc263af69539bd22b (diff) |
Get rid of Popup (EnableDisableMenuCommand) vs. YAPP (ToggleEnabled) services madness
git-svn-id: http://svn.miranda-ng.org/main/trunk@9370 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r-- | protocols/Xfire/src/main.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index 86334fb692..b08edd0f1f 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -2380,10 +2380,6 @@ void gamedetectiont(LPVOID lparam) {
CallService("Popup/EnableDisableMenuCommand",NULL,NULL);
}
- else if (ServiceExists("Popup/ToggleEnabled"))
- {
- CallService("Popup/ToggleEnabled",NULL,NULL);
- }
disabledpopups=FALSE;
}
//sound wieder aktivieren, nur wenn es vorher abgestellt wurde
@@ -2521,11 +2517,6 @@ void gamedetectiont(LPVOID lparam) disabledpopups=TRUE;
CallService("Popup/EnableDisableMenuCommand",NULL,NULL);
}
- else if (ServiceExists("Popup/ToggleEnabled")&&db_get_b(NULL,"YAPP","Enabled",0)==1)
- {
- disabledpopups=TRUE;
- CallService("Popup/ToggleEnabled",NULL,NULL);
- }
}
//sound abschalten
if (db_get_b(NULL,protocolname,"nosoundev",0)&&db_get_b(NULL,"Skin","UseSound",0)==1)
|