diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-13 19:46:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-13 19:49:05 +0300 |
commit | 0ded89cf48a288a249a8f60cce8341aa17551b33 (patch) | |
tree | 1d2284482c0668e98efab89a0fc7c56fd3c9cf89 /src/mir_app | |
parent | d963801f09c856b9654242913f078f3f5b43effb (diff) |
forgotten icon registration
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/database.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mir_app/src/database.cpp b/src/mir_app/src/database.cpp index 2ce6ee4d60..7b662e5ba4 100644 --- a/src/mir_app/src/database.cpp +++ b/src/mir_app/src/database.cpp @@ -486,6 +486,11 @@ static wchar_t tszUnknownFormat[] = LPGENW("Miranda was unable to open '%s', it' static wchar_t tszProfileLocked[] = LPGENW("Miranda was unable to open '%s'\nIt's inaccessible or used by other application or Miranda instance");
static wchar_t tszNoSuitableDriver[] = LPGENW("Miranda was unable to open '%s'\nThere is no suitable database driver installed");
+static IconItem iconList[] =
+{
+ { LPGEN("Show password"), "showpass", IDI_EYE },
+};
+
int LoadDatabaseModule(void)
{
wchar_t tmp[MAX_PATH];
@@ -552,5 +557,6 @@ int LoadDatabaseModule(void) if (rc == 0)
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
+ g_plugin.registerIcon(LPGEN("Database"), iconList, "database");
return rc;
}
|