summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/database.cpp6
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;
}