summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2015-04-20 08:18:18 +0000
committerRené Schümann <white06tiger@gmail.com>2015-04-20 08:18:18 +0000
commit7b687c774158c03b6f5d508382219ae0863952b5 (patch)
tree61e40338b5a739c9271f8466adbb338c2a537307
parent8429513ae275d2e10d9c991b810720830a127e06 (diff)
not sure what r12937 was supposed to "fix", reverted for SendSS now
git-svn-id: http://svn.miranda-ng.org/main/trunk@12957 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/SendScreenshotPlus/res/resource.rc2
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp9
2 files changed, 8 insertions, 3 deletions
diff --git a/plugins/SendScreenshotPlus/res/resource.rc b/plugins/SendScreenshotPlus/res/resource.rc
index 6a1c8af638..fac296540f 100644
--- a/plugins/SendScreenshotPlus/res/resource.rc
+++ b/plugins/SendScreenshotPlus/res/resource.rc
@@ -55,7 +55,7 @@ EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CONTROLPARENT | WS_EX_APPWINDOW
CAPTION "Send screenshot"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- CONTROL "<unknown>",IDC_HEADERBAR,
+ CONTROL "Send screenshot to\n<unknown>",IDC_HEADERBAR,
"MHeaderbarCtrl",0x0,0,0,231,25
CONTROL "",IDC_CAPTURETAB,"SysTabControl32",TCS_RAGGEDRIGHT | WS_TABSTOP,8,36,218,68
CONTROL "Ti&med capture",ID_chkTimed,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,106,85,10
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index 7f37f1ee40..6214ba2763 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -176,8 +176,13 @@ void TfrmMain::wmInitdialog(WPARAM wParam, LPARAM lParam) {
/// Headerbar
pt = mir_tstrdup((TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)m_hContact, (LPARAM)GCDNF_TCHAR));
- if (pt && (m_hContact != 0))
- SetDlgItemText(m_hWnd, IDC_HEADERBAR, pt);
+ if (pt && (m_hContact != 0)) {
+ TCHAR* lptString = NULL;
+ mir_tstradd(lptString , TranslateT("Send screenshot to\n"));
+ mir_tstradd(lptString , pt);
+ SetDlgItemText(m_hWnd, IDC_HEADERBAR, lptString);
+ mir_free(lptString);
+ }
mir_free(pt);
SendDlgItemMessage(m_hWnd, IDC_HEADERBAR, WM_SETICON, ICON_BIG, (LPARAM)GetIcon(ICO_MAIN));