diff options
author | Sergey Tatarinov <tatarinov.sergey@gmail.com> | 2015-01-10 20:51:10 +0000 |
---|---|---|
committer | Sergey Tatarinov <tatarinov.sergey@gmail.com> | 2015-01-10 20:51:10 +0000 |
commit | b454349d50a819960b7bc199a1c368f97ffc1a9d (patch) | |
tree | f670fcc6e0487b5eb9fff93a893fba6438530546 /plugins/Db_autobackups | |
parent | c0ea3f567b5185d22cb120bf4b17d1fb77c6c95d (diff) |
Db_autobackups: reverted icon in the popup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups')
-rw-r--r-- | plugins/Db_autobackups/src/backup.cpp | 2 | ||||
-rw-r--r-- | plugins/Db_autobackups/src/headers.h | 17 |
2 files changed, 8 insertions, 11 deletions
diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp index 22090ee0f6..a637ba7fe4 100644 --- a/plugins/Db_autobackups/src/backup.cpp +++ b/plugins/Db_autobackups/src/backup.cpp @@ -36,7 +36,7 @@ void ShowPopup(TCHAR* ptszText, TCHAR* ptszHeader, TCHAR* ptszPath) if (ptszPath != NULL)
ppd.PluginData = (void*)mir_tstrdup(ptszPath);
ppd.PluginWindowProc = DlgProcPopup;
- ppd.lchIcon = Skin_GetIconByHandle(iconList[0].hIcolib);
+ ppd.lchIcon = Skin_GetIcon(iconList[0].szName);
PUAddPopupT(&ppd);
}
diff --git a/plugins/Db_autobackups/src/headers.h b/plugins/Db_autobackups/src/headers.h index 77fdd86a14..a3bc9d04a9 100644 --- a/plugins/Db_autobackups/src/headers.h +++ b/plugins/Db_autobackups/src/headers.h @@ -23,29 +23,26 @@ #include "version.h"
-#define MS_AB_BACKUP "AB/Backup"
-#define MS_AB_SAVEAS "AB/SaveAs"
+#define MS_AB_BACKUP "AB/Backup"
+#define MS_AB_SAVEAS "AB/SaveAs"
-#define SUB_DIR L"\\AutoBackups"
-#define DIR L"%miranda_userdata%"
+#define SUB_DIR L"\\AutoBackups"
+#define DIR L"%miranda_userdata%"
int SetBackupTimer(void);
int OptionsInit(WPARAM wParam, LPARAM lParam);
int LoadOptions(void);
-void BackupStart(TCHAR *backup_filename);
+void BackupStart(TCHAR *backup_filename);
extern HINSTANCE g_hInstance;
-extern TCHAR *profilePath;
-
+extern TCHAR *profilePath;
static IconItem iconList[] = {
- { LPGEN("Backup profile"), "backup", IDI_ICON1 },
+ { LPGEN("Backup profile"), "backup", IDI_ICON1 },
{ LPGEN("Save profile as..."), "saveas", IDI_ICON1 }
};
-
-
#endif
|