summaryrefslogtreecommitdiff
path: root/protocols/Skype
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-04-30 09:08:11 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-04-30 09:08:11 +0000
commitf33af68a6bb36bb2cbfa69bed3f71beacefaaccc (patch)
tree129ce9e7419a0b4c666a853a3c133324b3c16e81 /protocols/Skype
parentd373118fad0c3567cfce3817ce363176274a3930 (diff)
added setting own timezone
git-svn-id: http://svn.miranda-ng.org/main/trunk@4572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype')
-rw-r--r--protocols/Skype/res/Resource.rc4
-rw-r--r--protocols/Skype/src/skype_dialogs.cpp3
2 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Skype/res/Resource.rc b/protocols/Skype/res/Resource.rc
index 8d86d3345a..88777de95d 100644
--- a/protocols/Skype/res/Resource.rc
+++ b/protocols/Skype/res/Resource.rc
@@ -153,9 +153,9 @@ BEGIN
LTEXT "State:",IDC_STATIC,5,20,59,8
EDITTEXT IDC_STATE,67,18,75,12,ES_AUTOHSCROLL
LTEXT "Country:",IDC_STATIC,5,33,59,8
- COMBOBOX IDC_COUNTRY,67,31,91,172,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
+ COMBOBOX IDC_COUNTRY,67,31,143,172,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
LTEXT "Timezone:",IDC_STATIC,6,47,59,8
- COMBOBOX IDC_TIMEZONE,68,44,91,172,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
+ COMBOBOX IDC_TIMEZONE,68,44,142,172,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
END
IDD_PASSWORD_CHANGE DIALOGEX 0, 0, 201, 90
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp
index d75aff64ca..00145dbce4 100644
--- a/protocols/Skype/src/skype_dialogs.cpp
+++ b/protocols/Skype/src/skype_dialogs.cpp
@@ -659,6 +659,9 @@ static INT_PTR CALLBACK HomeSkypeDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam,
}
tmi.prepareList((HANDLE)lParam, GetDlgItem(hwndDlg, IDC_TIMEZONE), TZF_PLF_CB);
+ HANDLE hTimeZone = tmi.createByContact ? tmi.createByContact(NULL, 0) : 0;
+ LPCTSTR TzDescr = tmi.getTzDescription(tmi.getTzName(hTimeZone));
+ SetDlgItemText(hwndDlg, IDC_TIMEZONE, TzDescr);
}
break;