History log of /haiku/src/apps/terminal/PrefWindow.cpp
Revision Date Author Comments
# d0ac6099 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Use B_USE_WINDOW_SPACING

Use B_USE_WINDOW_SPACING as inset from contents to window border.
Some whitespace cleanup.


# 7f0d2c98 05-Apr-2015 Janus <janus2@ymail.com>

Terminal: Standard buttons disposition in Settings.

* Rename Defaults button to "defaultsbutton".
* Fixes #11892.


# defb8292 10-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Terminal Prefs: replace "OK" with "Defaults"

Again, this is the more standard way to do things in Haiku.


# cca6cae6 10-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Terminal preferences: replace "Cancel" with "Revert"

This is the standard way in Haiku preference panels.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 560ff447 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 71302e7c 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40973 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a949fa2a 17-Nov-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

PrefWindow::_Revert(): Also send notifications for the tab and window title
settings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39477 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 004b2edb 25-Jul-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37756 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4eb0cbb0 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c514d3e 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36675 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8989d8a5 06-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Jorma Karvonen: Localization of the Terminal application. Thanks a lot.
Closes ticket #5850.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36640 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f03034d7 24-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed ticket #5032. The PrefWindow reverts the settings if, on exit,
the user chooses not to save.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34242 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 411d718e 21-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a method to PrefHandler to save the default settings, and used it
in TermWindow and PrefWindow. Added patch by adparadox which implements
menuitem and shortcut to close the active tab (slightly modified by me).
I went with COMMAND-SHIFT-W instead of COMMAND-W.
This fixes bug #3898.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34176 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64fd88f5 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Tweak a bit the layout of the preference window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34168 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 70f7a8ad 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Cleanup: removed unused messages constant and classes, merged AppearPrefView
with PrefView, moved main from Terminal.cpp to TermApp.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34163 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a5ec0eeb 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed the BMessengers to make clearer to which messengers they
refer to. Made some parameters const references. Removed leftovers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1ca410b 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Work in progress: converting the terminal preference window to the layout api


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34160 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b61e1f74 10-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Terminal's preferences window :
* Align the controls
* Remove a bit of gray space that was superflous
* Size dropdown menu now includes sizes of 13, 15 or 17, if needed, avoiding the case where is shown the word "size".
Basically, it doesn't show them unless you got at that value by using the menu entries.

Also disables the Increase/Decrease text size menu entries if you reach the upper or lower bounds.

Partly fixes ticket #4198.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32225 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e2d1e007 08-Aug-2009 Joachim Seemer <humdingerb@googlemail.com>

Applied old patch by Urias (see #3209) improving strings in Terminal's preferences. Added a few more tidbits.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 06a28b54 24-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

BFilePanel doesn't take over ownership of the supplied messenger, so it
was leaked. CID 881.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25641 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56e415dd 04-Feb-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Opening the preferences window and hitting "cancel" would shrink the
window every time, without reason, since _Revert() was called even if no
changes were made.
Build the list of window sizes dynamically, this way we get rid of some
code duplication.
Removed implementation of TermWindow::QuitRequested(). The
B_QUIT_ON_WINDOW close takes care of quitting the application.
Some cleanups.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23860 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c4eae2c1 21-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

more renaming


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23695 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc25fe81 17-Jul-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Got rid of gTermPref by adding some static methods to PrefHandler.
The font size menu wasn't up to date with the current settings. Fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 37b209af 17-Jul-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed spawn.cpp/h to Shell.cpp/h and updated the other source files to
take this change into account


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 66eba86f 16-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Jonas Sundstrom: fixed the usage of B_UTF8_ELLIPSIS hopefully
everywhere in the tree.
* Added the ellipsis to "About Haiku" in Deskbar as well.
* Minor cleanup of Deskbar's StatusView.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21156 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7e99a484 13-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed *Dlg classes to *Window, completing my previous commit

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20680 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f8cc2a74 13-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed *Dlg to *Window, since the term "Dialog" is alien to the beos
api. Thanks to Vasilis Kaoutsis for the suggestion. I'll rename the
classes with the next commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20679 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f0d2c98b60a9910e0260be1531eb3f3f910c049 05-Apr-2015 Janus <janus2@ymail.com>

Terminal: Standard buttons disposition in Settings.

* Rename Defaults button to "defaultsbutton".
* Fixes #11892.


# defb82922a0f1e2872aae848b8c565fd26b2eb90 10-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Terminal Prefs: replace "OK" with "Defaults"

Again, this is the more standard way to do things in Haiku.


# cca6cae659cc8ab5bbacaf49c35d95e40e4d7f88 10-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Terminal preferences: replace "Cancel" with "Revert"

This is the standard way in Haiku preference panels.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 560ff4478d5c85455ea3e5ed5e392ef93132d545 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 71302e7c6dbf98040eb000175a2545d0de63fdc8 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40973 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a949fa2a6740821ec0e84f1e10859190720aeb57 17-Nov-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

PrefWindow::_Revert(): Also send notifications for the tab and window title
settings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39477 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 004b2edb113827c313fe650de6e0023b5efc3044 25-Jul-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37756 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c514d3e3bfc9c33f9f4a2edd0b593d734046c8f 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36675 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8989d8a52e0ca6b551f2a57b51a7f1c77726144b 06-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Jorma Karvonen: Localization of the Terminal application. Thanks a lot.
Closes ticket #5850.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36640 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f03034d7c982324906fd20273c52a2fb04186fd7 24-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed ticket #5032. The PrefWindow reverts the settings if, on exit,
the user chooses not to save.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34242 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 411d718eec32ccc3b869866ac015a933945a74a2 21-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a method to PrefHandler to save the default settings, and used it
in TermWindow and PrefWindow. Added patch by adparadox which implements
menuitem and shortcut to close the active tab (slightly modified by me).
I went with COMMAND-SHIFT-W instead of COMMAND-W.
This fixes bug #3898.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34176 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64fd88f56aa7c10039d2d07eef72bc572ef6d439 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Tweak a bit the layout of the preference window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34168 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 70f7a8ad0f5ae85b18c2ae9ad9b0d45f7f87522c 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Cleanup: removed unused messages constant and classes, merged AppearPrefView
with PrefView, moved main from Terminal.cpp to TermApp.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34163 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a5ec0eeb43a14b09d418eed8da3d8767e63c3882 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed the BMessengers to make clearer to which messengers they
refer to. Made some parameters const references. Removed leftovers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1ca410b12258c740d1c725b2f0fbadca9fe8321 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Work in progress: converting the terminal preference window to the layout api


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34160 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b61e1f74bf422d9a5d5f1b531b686270ebef4d16 10-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Terminal's preferences window :
* Align the controls
* Remove a bit of gray space that was superflous
* Size dropdown menu now includes sizes of 13, 15 or 17, if needed, avoiding the case where is shown the word "size".
Basically, it doesn't show them unless you got at that value by using the menu entries.

Also disables the Increase/Decrease text size menu entries if you reach the upper or lower bounds.

Partly fixes ticket #4198.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32225 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e2d1e007c0bd7bc1efdaec87f2690cf776cac60d 08-Aug-2009 Joachim Seemer <humdingerb@googlemail.com>

Applied old patch by Urias (see #3209) improving strings in Terminal's preferences. Added a few more tidbits.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 06a28b5416fd1797d2eea1842f50e80ddf5c5339 24-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

BFilePanel doesn't take over ownership of the supplied messenger, so it
was leaked. CID 881.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25641 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56e415dda141250b366bc3d5edd71814960129dd 04-Feb-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Opening the preferences window and hitting "cancel" would shrink the
window every time, without reason, since _Revert() was called even if no
changes were made.
Build the list of window sizes dynamically, this way we get rid of some
code duplication.
Removed implementation of TermWindow::QuitRequested(). The
B_QUIT_ON_WINDOW close takes care of quitting the application.
Some cleanups.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23860 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c4eae2c1fc5ea7f6cb86552efcb895eee38e8fad 21-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

more renaming


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23695 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc25fe8173a381f951765f518a85c287e894cd8c 17-Jul-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Got rid of gTermPref by adding some static methods to PrefHandler.
The font size menu wasn't up to date with the current settings. Fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 37b209af048711485162612411b223ecf1948650 17-Jul-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed spawn.cpp/h to Shell.cpp/h and updated the other source files to
take this change into account


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 66eba86f4b3c2eef6462d090e93245fc60d7127b 16-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Jonas Sundstrom: fixed the usage of B_UTF8_ELLIPSIS hopefully
everywhere in the tree.
* Added the ellipsis to "About Haiku" in Deskbar as well.
* Minor cleanup of Deskbar's StatusView.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21156 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7e99a484fbb78fbf2a35b1c152cfe1e9e708d558 13-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed *Dlg classes to *Window, completing my previous commit

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20680 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f8cc2a74e477715822698d206e888f50e7dfaea0 13-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed *Dlg to *Window, since the term "Dialog" is alien to the beos
api. Thanks to Vasilis Kaoutsis for the suggestion. I'll rename the
classes with the next commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20679 a95241bf-73f2-0310-859d-f6bbb57e9c96