diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-04-14 04:50:14 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-04-14 04:50:14 +0000 |
commit | 62438306f2489397750d8678dec8abbb4f3f4148 (patch) | |
tree | 3fdac8a8193e520286a388cce5352d05dd23acc5 | |
parent | 3cd20026f4797fdc0d923e30272278b5577358f6 (diff) |
extraicons: some fixes
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@163 c086bb3d-8645-0410-b8da-73a8550f86e7
-rw-r--r-- | Plugins/extraicons/DefaultExtraIcons.cpp | 14 | ||||
-rw-r--r-- | Plugins/extraicons/Docs/extraicons_readme.txt | 2 | ||||
-rw-r--r-- | Plugins/extraicons/Docs/langpack_extraicons.txt | 1 | ||||
-rw-r--r-- | Plugins/extraicons/options.cpp | 2 |
4 files changed, 14 insertions, 5 deletions
diff --git a/Plugins/extraicons/DefaultExtraIcons.cpp b/Plugins/extraicons/DefaultExtraIcons.cpp index 9d7de2d..270f26a 100644 --- a/Plugins/extraicons/DefaultExtraIcons.cpp +++ b/Plugins/extraicons/DefaultExtraIcons.cpp @@ -125,14 +125,20 @@ struct Info const char *name;
const char *desc;
const char *icon;
- const char *db[6];
+ const char *db[8];
void (*SetIcon)(HANDLE hContact, Info *info, const char *text);
void (*OnClick)(Info *info, const char *text);
HANDLE hExtraIcon;
} infos[] = {
- { "email", "E-mail", "core_main_14", { NULL, "e-mail", "UserInfo", "Mye-mail0", "UserInfo", "e-mail" }, DefaultSetIcon, &EmailOnClick, NULL },
- { "sms", "Phone/SMS", "core_main_17", { NULL, "Cellular", "UserInfo", "MyPhone0", "UserInfo", "Phone" }, DefaultSetIcon, NULL, NULL },
- { "homepage", "Homepage", "core_main_2", { NULL, "Homepage", "UserInfo", "Homepage" }, DefaultSetIcon, &HomepageOnClick, NULL },
+ { "email", "E-mail", "core_main_14", { NULL, "e-mail",
+ "UserInfo", "e-mail",
+ "UserInfo", "Mye-mail0" }, DefaultSetIcon, &EmailOnClick, NULL },
+ { "sms", "Phone/SMS", "core_main_17", { NULL, "Cellular",
+ "UserInfo", "Cellular",
+ "UserInfo", "Phone",
+ "UserInfo", "MyPhone0" }, DefaultSetIcon, NULL, NULL },
+ { "homepage", "Homepage", "core_main_2", { NULL, "Homepage",
+ "UserInfo", "Homepage" }, DefaultSetIcon, &HomepageOnClick, NULL },
};
static void EmailOnClick(Info *info, const char *text)
diff --git a/Plugins/extraicons/Docs/extraicons_readme.txt b/Plugins/extraicons/Docs/extraicons_readme.txt index 5ab11d3..abba8d5 100644 --- a/Plugins/extraicons/Docs/extraicons_readme.txt +++ b/Plugins/extraicons/Docs/extraicons_readme.txt @@ -14,7 +14,7 @@ It is based on the idea that plugins register icons, the contact list shows them - Visibility/Chat activity
- Gender
-By now it is supported my clist_modern and clist_mw. I intend to add clist_nicer next.
+By now it is supported my clist_modern and clist_mw from 0.8#29. I intend to add clist_nicer next.
Thanks to FYR for some code that I copied from clist_modern and to Angeli-Ka for the nice icons.
diff --git a/Plugins/extraicons/Docs/langpack_extraicons.txt b/Plugins/extraicons/Docs/langpack_extraicons.txt index 575b4ef..7582444 100644 --- a/Plugins/extraicons/Docs/langpack_extraicons.txt +++ b/Plugins/extraicons/Docs/langpack_extraicons.txt @@ -1,6 +1,7 @@ ; Extra Icons Service
; Author: Pescuma
+[Select the extra icons to be shown in the contact list:]
[Slot 1]
[Slot 2]
[Slot 3]
diff --git a/Plugins/extraicons/options.cpp b/Plugins/extraicons/options.cpp index 23dd723..bc32b15 100644 --- a/Plugins/extraicons/options.cpp +++ b/Plugins/extraicons/options.cpp @@ -114,6 +114,8 @@ static BOOL CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA {
case WM_INITDIALOG:
{
+ TranslateDialogDefault(hwndDlg);
+
numSlots = GetNumberOfSlots();
RECT rcLabel;
|