summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Notifications.h
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-07-26 22:51:26 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-07-26 22:51:26 +0000
commite54b4cd7f0c6fd272437e410f17238a6c94b1547 (patch)
tree77eb81e4a1fc1acc27b95561614fff6a0405d313 /plugins/PluginUpdater/src/Notifications.h
parentcfeeb89bc233916e4a173f005e71862bfa595b50 (diff)
PluginUpdater:
-Now the custom URL is remembered when changing the update mode in Options -Cleaned up popup Options -Fixed Restart MessageBox after silent update -code reordering git-svn-id: http://svn.miranda-ng.org/main/trunk@9958 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Notifications.h')
-rw-r--r--plugins/PluginUpdater/src/Notifications.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.h b/plugins/PluginUpdater/src/Notifications.h
index b131a7e4a3..91c57a6c67 100644
--- a/plugins/PluginUpdater/src/Notifications.h
+++ b/plugins/PluginUpdater/src/Notifications.h
@@ -17,29 +17,21 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
-#define POPUPS 4
+#define POPUPS 3
//=== Objects =====
//This one is used to easily tie status id, icon, text...
typedef struct
{
int ID;
- int Icon;
COLORREF colorBack;
COLORREF colorText;
} aPopups;
-typedef struct _MSGPOPUPDATA
-{
- POPUPACTION pa[4];
- HWND hDialog;
-}
-MSGPOPUPDATA, *LPMSGPOPUPDATA;
-
#define DEFAULT_POPUP_LCLICK 1
#define DEFAULT_POPUP_RCLICK 0
#define DEFAULT_POPUP_ENABLED 1
-#define DEFAULT_MESSAGE_ENABLED 1
+#define DEFAULT_MESSAGE_ENABLED 0
#define DEFAULT_TIMEOUT_VALUE 0
#define COLOR_BG_FIRSTDEFAULT RGB(173,206,247)
@@ -67,6 +59,6 @@ static struct {
TCHAR *Text;
int Action;
} PopupActions[] = {
- _T("Close popup"), PCA_CLOSEPOPUP,
- _T("Do nothing"), PCA_DONOTHING
+ LPGENT("Close popup"), PCA_CLOSEPOPUP,
+ LPGENT("Do nothing"), PCA_DONOTHING
};