commit 21c90151862812c9aa6a5229c3dda39fbb7d8236
parent 9d6e3426f081bdcba62852d036daffd0478f51b9
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sun, 17 Apr 2016 14:01:10 -0400
about: put the repo's actual name instead of "this repository" (install/update button)
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/about.cpp b/src/about.cpp
@@ -123,6 +123,11 @@ void About::populate()
auto_snprintf(title, sizeof(title), AUTO_STR("About %s"), name.c_str());
SetWindowText(handle(), title);
+ auto_char btnLabel[32] = {};
+ auto_snprintf(btnLabel, sizeof(btnLabel),
+ AUTO_STR("Install/update %s"), name.c_str());
+ SetWindowText(getControl(IDC_INSTALL), btnLabel);
+
m_websiteLinks = m_index->links(Index::WebsiteLink);
if(m_websiteLinks.empty())
hide(getControl(IDC_WEBSITE));
diff --git a/src/resource.rc b/src/resource.rc
@@ -60,7 +60,7 @@ BEGIN
WS_VSCROLL | ES_MULTILINE | ES_READONLY | NOT WS_TABSTOP
PUSHBUTTON "&Website", IDC_WEBSITE, 5, 250, 45, 14
PUSHBUTTON "&Donate...", IDC_DONATE, 54, 250, 45, 14
- PUSHBUTTON "&Install/update this repository", IDC_INSTALL, 286, 250, 120, 14
+ PUSHBUTTON "", IDC_INSTALL, 286, 250, 120, 14
DEFPUSHBUTTON "&Close", IDOK, 409, 250, 45, 14
END