Ticket #11892: 0001-Fix-11892.-Standard-buttons-disposition-in-Settings.patch

File 0001-Fix-11892.-Standard-buttons-disposition-in-Settings.patch, 1.5 KB (added by Janus, 10 years ago)
  • src/apps/terminal/PrefWindow.cpp

    From cff292ea298840a04d99359e69cfa00cc8278160 Mon Sep 17 00:00:00 2001
    From: Janus <janus2@ymail.com>
    Date: Tue, 10 Mar 2015 19:09:27 +0000
    Subject: [PATCH] Fix 11892. Standard buttons disposition in Settings
    
    ---
     src/apps/terminal/PrefWindow.cpp | 14 +++++++-------
     1 file changed, 7 insertions(+), 7 deletions(-)
    
    diff --git a/src/apps/terminal/PrefWindow.cpp b/src/apps/terminal/PrefWindow.cpp
    index 763d3d7..bba7a31 100644
    a b PrefWindow::PrefWindow(const BMessenger& messenger)  
    4747            .Add(fAppearanceView = new AppearancePrefView(
    4848                B_TRANSLATE("Appearance"), fTerminalMessenger))
    4949            .AddGroup(B_HORIZONTAL)
    50                 .Add(fSaveAsFileButton = new BButton("savebutton",
    51                     B_TRANSLATE("Save to file" B_UTF8_ELLIPSIS),
    52                     new BMessage(MSG_SAVEAS_PRESSED), B_WILL_DRAW))
    53                 .AddGlue()
    54                 .Add(fRevertButton = new BButton("revertbutton",
    55                     B_TRANSLATE("Revert"), new BMessage(MSG_REVERT_PRESSED),
    56                     B_WILL_DRAW))
    5750                .Add(fDefaultsButton = new BButton("okbutton",
    5851                    B_TRANSLATE("Defaults"), new BMessage(MSG_DEFAULTS_PRESSED),
    5952                    B_WILL_DRAW))
     53                .Add(fRevertButton = new BButton("revertbutton",
     54                    B_TRANSLATE("Revert"), new BMessage(MSG_REVERT_PRESSED),
     55                    B_WILL_DRAW))
     56                .AddGlue()
     57                .Add(fSaveAsFileButton = new BButton("savebutton",
     58                    B_TRANSLATE("Save to file" B_UTF8_ELLIPSIS),
     59                    new BMessage(MSG_SAVEAS_PRESSED), B_WILL_DRAW))
    6060            .End()
    6161        .End();
    6262