[haiku-commits] haiku: hrev45332 - src/preferences/appearance

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 3 Mar 2013 01:41:57 +0100 (CET)

hrev45332 adds 1 changeset to branch 'master'
old head: ca51eb367d8a1876855f9c53a08653c41a164ea5
new head: 703912cc4fd9b34b06f672df798fcebbadd609a5
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=703912c+%5Eca51eb3

----------------------------------------------------------------------------

703912c: Aesthetical changes. No functional change.
  
  Manually applied humdinger's Decorator_aesthetics.diff patch from #7874.

                                        [ Matt Madia <mattmadia@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45332
Commit:      703912cc4fd9b34b06f672df798fcebbadd609a5
URL:         http://cgit.haiku-os.org/haiku/commit/?id=703912c
Author:      Matt Madia <mattmadia@xxxxxxxxx>
Date:        Sun Mar  3 00:38:27 2013 UTC

Ticket:      https://dev.haiku-os.org/ticket/7874

----------------------------------------------------------------------------

1 file changed, 8 insertions(+), 7 deletions(-)
.../appearance/LookAndFeelSettingsView.cpp            | 15 ++++++++-------

----------------------------------------------------------------------------

diff --git a/src/preferences/appearance/LookAndFeelSettingsView.cpp 
b/src/preferences/appearance/LookAndFeelSettingsView.cpp
index 5a6b12c..eb048aa 100644
--- a/src/preferences/appearance/LookAndFeelSettingsView.cpp
+++ b/src/preferences/appearance/LookAndFeelSettingsView.cpp
@@ -74,7 +74,7 @@ LookAndFeelSettingsView::LookAndFeelSettingsView(const char* 
name)
        // Decorator menu
        _BuildDecorMenu();
        fDecorMenuField = new BMenuField("decorator",
-               B_TRANSLATE("Window decorator:"), fDecorMenu);
+               B_TRANSLATE("Decorator:"), fDecorMenu);
 
        fDecorInfoButton = new BButton(B_TRANSLATE("About"),
                new BMessage(kMsgDecorInfo));
@@ -179,13 +179,14 @@ LookAndFeelSettingsView::MessageReceived(BMessage *msg)
                                break;
 
                        BString authorsText(decor->Authors().String());
-                       authorsText.ReplaceAll(", ", "\n    ");
+                       authorsText.ReplaceAll(", ", "\n\t");
 
-                       BString infoText("Name: %decorName\n"
-                               "Authors:\n    %decorAuthors\n"
+                       BString infoText(B_TRANSLATE("%decorName\n\n"
+                               "Authors:\n\t%decorAuthors\n\n"
                                "URL: %decorURL\n"
-                               "License: %decorLic\n"
-                               "Description:\n    %decorDesc\n");
+                               "License: %decorLic\n\n"
+                               "%decorDesc\n"));
+
 
                        infoText.ReplaceFirst("%decorName", 
decor->Name().String());
                        infoText.ReplaceFirst("%decorAuthors", 
authorsText.String());
@@ -193,7 +194,7 @@ LookAndFeelSettingsView::MessageReceived(BMessage *msg)
                        infoText.ReplaceFirst("%decorURL", 
decor->SupportURL().String());
                        infoText.ReplaceFirst("%decorDesc", 
decor->ShortDescription().String());
 
-                       BAlert *infoAlert = new BAlert(B_TRANSLATE("About 
Decorator"),
+                       BAlert *infoAlert = new BAlert(B_TRANSLATE("About 
decorator"),
                                infoText.String(), B_TRANSLATE("OK"));
                        infoAlert->SetFlags(infoAlert->Flags() | 
B_CLOSE_ON_ESCAPE);
                        infoAlert->Go();


Other related posts:

  • » [haiku-commits] haiku: hrev45332 - src/preferences/appearance - mattmadia