From 85c3d598211139071d92f290cc4d7c44111e7d63 Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Sun, 13 Mar 2011 19:28:24 +0000 Subject: [PATCH] dstcheck: * Change button labels to use verbs. Since the labels are now "Use this time" and "Manually adjust time...", don't ask for a second confirmation in case you chose to adjust time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40932 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/dstcheck.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/bin/dstcheck.cpp b/src/bin/dstcheck.cpp index b94eb6b01a..32eb98aaff 100644 --- a/src/bin/dstcheck.cpp +++ b/src/bin/dstcheck.cpp @@ -138,21 +138,13 @@ main(int argc, char **argv) TimedAlert::GetLabel(string); int32 index = (new TimedAlert("timedAlert", string.String(), - B_TRANSLATE("Ask me later"), B_TRANSLATE("Yes"), - B_TRANSLATE("No")))->Go(); + B_TRANSLATE("Ask me later"), B_TRANSLATE("Use this time"), + B_TRANSLATE("Manually adjust time" B_UTF8_ELLIPSIS)))->Go(); if (index == 0) exit(0); - if (index == 2) { - BAlert *alert = new BAlert("dstcheck", - B_TRANSLATE("Would you like to set the clock?"), - B_TRANSLATE("No"), B_TRANSLATE("Yes")); - alert->SetShortcut(0, B_ESCAPE); - index = alert->Go(); - - if (index == 1) - be_roster->Launch("application/x-vnd.Haiku-Time"); - } + if (index == 2) + be_roster->Launch("application/x-vnd.Haiku-Time"); } lseek(fd, 0, SEEK_SET);