From 68924bfc1a213e619563c2cffb6d44b5b5346f6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jun 2015 18:21:10 +0000 Subject: 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 --- plugins/Watrack/i_gui.inc | 8 ++++---- plugins/Watrack/lastfm/lastfm.pas | 8 ++++---- plugins/Watrack/myshows/myshows.pas | 8 ++++---- plugins/Watrack/popup/popups.pas | 10 +++++----- plugins/Watrack/stat/statlog.pas | 10 +++++----- 5 files changed, 22 insertions(+), 22 deletions(-) (limited to 'plugins/Watrack') 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; -- cgit v1.2.3