summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-26 18:21:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-26 18:21:10 +0000
commit68924bfc1a213e619563c2cffb6d44b5b5346f6d (patch)
tree139f501b225080e4f895dbd40083df5956c3e339 /plugins/Watrack
parentb7a7d90f054d48dfda64e8a11d4f5cbb3fe2a521 (diff)
next slice of cutting out unused menu features - popupPosition
git-svn-id: http://svn.miranda-ng.org/main/trunk@14400 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/i_gui.inc8
-rw-r--r--plugins/Watrack/lastfm/lastfm.pas8
-rw-r--r--plugins/Watrack/myshows/myshows.pas8
-rw-r--r--plugins/Watrack/popup/popups.pas10
-rw-r--r--plugins/Watrack/stat/statlog.pas10
5 files changed, 22 insertions, 22 deletions
diff --git a/plugins/Watrack/i_gui.inc b/plugins/Watrack/i_gui.inc
index 7b1dd90843..81e4c35beb 100644
--- a/plugins/Watrack/i_gui.inc
+++ b/plugins/Watrack/i_gui.inc
@@ -36,10 +36,10 @@ begin
FillChar(mi, sizeof(mi), 0);
mi.szPopupName.a:=PluginShort;
- mi.hIcon :=IcoLib_GetIcon(IcoBtnEnable,0);
- mi.szName.a :='Disable WATrack';
- mi.pszService :=MS_WAT_PLUGINSTATUS;
- mi.popupPosition:=MenuDisablePos;
+ mi.hIcon :=IcoLib_GetIcon(IcoBtnEnable,0);
+ mi.szName.a :='Disable WATrack';
+ mi.pszService:=MS_WAT_PLUGINSTATUS;
+ mi.position :=MenuDisablePos;
hMenuDisable:=Menu_AddMainMenuItem(@mi);
end;
diff --git a/plugins/Watrack/lastfm/lastfm.pas b/plugins/Watrack/lastfm/lastfm.pas
index 12a144a8a7..ae56647617 100644
--- a/plugins/Watrack/lastfm/lastfm.pas
+++ b/plugins/Watrack/lastfm/lastfm.pas
@@ -183,10 +183,10 @@ begin
FillChar(mi, sizeof(mi), 0);
mi.szPopupName.a:=PluginShort;
- mi.hIcon :=IcoLib_GetIcon(IcoLastFM,0);
- mi.szName.a :='Disable scrobbling';
- mi.pszService :=MS_WAT_LASTFM;
- mi.popupPosition:=500050000;
+ mi.hIcon :=IcoLib_GetIcon(IcoLastFM,0);
+ mi.szName.a :='Disable scrobbling';
+ mi.pszService:=MS_WAT_LASTFM;
+ mi.position :=500050000; // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
hMenuLast:=Menu_AddMainMenuItem(@mi);
end;
diff --git a/plugins/Watrack/myshows/myshows.pas b/plugins/Watrack/myshows/myshows.pas
index af79485133..e6c5c6cb21 100644
--- a/plugins/Watrack/myshows/myshows.pas
+++ b/plugins/Watrack/myshows/myshows.pas
@@ -214,10 +214,10 @@ begin
FillChar(mi, sizeof(mi), 0);
mi.szPopupName.a:=PluginShort;
- mi.hIcon :=IcoLib_GetIcon(IcoMyShows,0);
- mi.szName.a :='Disable scrobbling';
- mi.pszService :=MS_WAT_MYSHOWS;
- mi.popupPosition:=500050000;
+ mi.hIcon :=IcoLib_GetIcon(IcoMyShows,0);
+ mi.szName.a :='Disable scrobbling';
+ mi.pszService:=MS_WAT_MYSHOWS;
+ mi.position :=500050000;
hMenuMyShows:=Menu_AddMainMenuItem(@mi);
end;
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas
index d714facb52..cd548e9e88 100644
--- a/plugins/Watrack/popup/popups.pas
+++ b/plugins/Watrack/popup/popups.pas
@@ -474,11 +474,11 @@ begin
FillChar(mi,SizeOf(mi),0);
mi.szPopupName.a:=PluginShort;
- mi.hIcon :=IcoLib_GetIcon(IcoBtnInfo,0);
- mi.szName.a :='Music Info';
- mi.pszService :=MS_WAT_SHOWMUSICINFO;
- mi.popupPosition:=MenuInfoPos;
- hMenuInfo :=Menu_AddMainMenuItem(@mi);
+ mi.hIcon :=IcoLib_GetIcon(IcoBtnInfo,0);
+ mi.szName.a :='Music Info';
+ mi.pszService:=MS_WAT_SHOWMUSICINFO;
+ mi.position :=MenuInfoPos;
+ hMenuInfo:=Menu_AddMainMenuItem(@mi);
ActionList:=nil;
if ServiceExists(MS_POPUP_ADDPOPUPW)<>0 then
diff --git a/plugins/Watrack/stat/statlog.pas b/plugins/Watrack/stat/statlog.pas
index c1a9fe0a76..ea6b5baf54 100644
--- a/plugins/Watrack/stat/statlog.pas
+++ b/plugins/Watrack/stat/statlog.pas
@@ -583,11 +583,11 @@ begin
FillChar(mi, sizeof(mi), 0);
mi.szPopupName.a:=PluginShort;
- mi.hIcon :=IcoLib_GetIcon(IcoBtnReport,0);
- mi.szName.a :='Create WATrack report';
- mi.pszService :=MS_WAT_MAKEREPORT;
- mi.popupPosition:=MenuReportPos;
- hMenuReport :=Menu_AddMainMenuItem(@mi);
+ mi.hIcon :=IcoLib_GetIcon(IcoBtnReport,0);
+ mi.szName.a :='Create WATrack report';
+ mi.pszService:=MS_WAT_MAKEREPORT;
+ mi.position :=MenuReportPos; // !!!!!!!!!!!!!!!!!!!!!
+ hMenuReport:=Menu_AddMainMenuItem(@mi);
plStatusHook:=HookEvent(ME_WAT_NEWSTATUS,@NewPlStatus);
end;