Commit Graph

106 Commits

Author SHA1 Message Date
Jekyll Wu
e3e960ab95 Move the 'show menubar' option from profiles into global settings 2012-01-22 10:21:29 +08:00
Jekyll Wu
3524588a2e Prepare for adding functionality code 2012-01-22 10:21:29 +08:00
Jekyll Wu
67fcfd4c29 add page for tabbar settings 2012-01-22 10:21:29 +08:00
Jekyll Wu
1726ec83f0 start point of global settings 2012-01-22 10:21:29 +08:00
Jekyll Wu
3d8da1f878 Make 'foreach(...)' more readable 2012-01-14 22:54:56 +08:00
Jekyll Wu
e8718d5293 Remove unnecesary #include and add small constness 2012-01-14 18:57:31 +08:00
Kurt Hindenburg
c11c22a7b4 Apply astyle-kdelibs
Over the years, the coding style is all over the place.

Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
2011-12-24 10:47:48 -05:00
Jekyll Wu
b95f9443a0 Trivial change on #include 2011-11-16 13:31:24 +08:00
Jekyll Wu
125e2c7bd2 Declare pointer and reference in a consistent way
Most code use the "const QString& text" form, instead of the "const
QString &text" form. So change the minority to be consistent with
the majority.
2011-11-06 06:13:28 +08:00
Jekyll Wu
330de6c6f4 Fix some spelling problems 2011-11-06 03:41:20 +08:00
Jekyll Wu
02377dabf5 Minor change on layout and whitespace 2011-11-02 10:22:42 +08:00
Jekyll Wu
1cbe3c3104 Minor change on names
- rename "activate_menu" to "activiate-menu"
  - use the "action" local variable consistently
2011-10-26 08:33:30 +08:00
Kurt Hindenburg
fd0d6e5bb6 Minor spelling fixes. 2011-10-17 06:35:27 -09:00
Jekyll Wu
105043b75c Shift+Tab should not cause implicit focus switching in stand-alone konsole
This allows passing Shift+Tab to the terminal process when split view is in
use and the shortcut of "Next View Container" action is set as "None".

BUG: 244514
FIXED-IN:4.8
REVIEW:102834
2011-10-16 11:47:23 +08:00
Jekyll Wu
e3a09c9c4d Close session reliably when the session process doesn't die with SIGHUP.
BUG:241709
BUG:251566
CCBUG:254600
FIXED-IN: 4.8
REVIEW:102239
2011-10-03 12:40:04 +08:00
Jekyll Wu
0165f45402 Rename 'Configure Profiles...' into 'Manage Profiles...'
The makes the action consistent with the opened ManageProfilesDialog.
2011-10-01 14:08:45 +08:00
Jekyll Wu
b5dc6891a8 The initial visibility of menubar should be determined by profile option.
BUG: 186561
FIXED-IN: 4.8
REVIEW: 102502
2011-09-25 06:01:47 +08:00
Kurt Hindenburg
127c2b523e Don't show the default profile in list when no others are listed.
When user selects only 1 profile to be listed in menu, it makes the
'New Tab->' list unnecessary.  No profile will listed if the only
selected profile is the default one.

Patch by Francesco Cecconi <francesco.cecconi@gmail.com>

BUG: 245478
REVIEW: 102670
FIXED-IN: 4.8
2011-09-24 16:17:45 -04:00
Kurt Hindenburg
0c0874f98a On MacOSX, put menus inside konsole window.
KDE's menuBar()->isTopLevelMenu() hasn't worked for a while.  Without a
replacement, let's just put the menus inside the main window.  This
also makes the keyboard shortcut to show menus look reasonable (instead
of floating).
2011-09-24 09:31:58 -04:00
Montel Laurent
b91f50015d Normalize signals/slots 2011-07-30 14:10:56 +02:00
Kurt Hindenburg
5ba077d554 Set the window icon to the active session icon.
The konsole window icon will now be the same as the currect session's
icon.
FEATURE: 256840
2011-04-03 21:13:13 -04:00
Kurt Hindenburg
fd5c4f4443 Remove unused ShowRemoteDialog
The dialog code was commented out in 2008 as part of
https://projects.kde.org/projects/kde/kdebase/konsole/repository/
revisions/5036d8cb00414593631bc611191c9ed95668dcc6
2011-04-03 15:47:41 -04:00
Kurt Hindenburg
5cf21b4e2e Don't search for 'File' but grab the menu's first qaction.
As pinotree on IRC kindly pointed out, searching for 'File' won't work
in non-English menus.  Now we grab the first action in the menu which
should always be in for the File menu in Konsole.

CCBUG: 170878
2011-03-18 10:59:03 -04:00
Kurt Hindenburg
6e12d78864 Create a shortcut to activate the menu bar.
This allows access to the menu bar via the keyboard.

BUG: 170878
FIXED-IN: 4.7
REVIEW: 100804
2011-03-18 09:34:34 -04:00
Kurt Hindenburg
ad9f8011c3 Correct issue where new tabs start in wrong directories.
Currently, Konsole only updates the tab folder ~2 seconds.  After this
patch, when a new tab is requested the working directory is updated.

Patch by Christoph Feck.

BUG: 227156
FIXED-IN: 4.7
2011-03-04 14:34:19 -05:00
Kurt Hindenburg
a95222fec5 Fix issue where the context menu popup no longer appeared after closing a tab.
BUG: 185466

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216490
2011-01-23 17:39:49 +00:00
Kurt Hindenburg
2f7a42e762 Remove unused code that was used in the previous menu stucture.
This removes the warning:
konsole(11694)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory!

BUG: 183244

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216478
2011-01-23 16:30:22 +00:00
Aurélien Gâteau
eb53c7b0c3 Revert "showMenuBar is deprecated, use showHideMenuBar instead."
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1194444
2010-11-09 00:15:10 +00:00
Kevin Ottens
2fc410709d showMenuBar is deprecated, use showHideMenuBar instead.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1190389
2010-10-27 14:25:11 +00:00
Kurt Hindenburg
cd4adc3fc4 Allow the window size and location to be saved per profile.
Patch is from Gentoo.

BUG: 181129

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1144208
2010-06-29 13:50:32 +00:00
Kurt Hindenburg
9a8e2bc729 Set the autorepeat to false for new tab/window shortcuts.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1137324
2010-06-12 11:33:45 +00:00
Kurt Hindenburg
b2939c262e Fix issue where the menu status for View menubar is not correct.
BUG: 181345

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133041
2010-06-01 00:05:41 +00:00
Sascha Peilicke
0f2ba47707 'New Tab' kactionmenu now found in the configure shortcut dialog.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1123169
2010-05-05 13:49:21 +00:00
Sascha Peilicke
45d27ec764 Second chunk of menubar changes, see http://reviewboard.kde.org/r/3875/ for details.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1122683
2010-05-04 13:31:46 +00:00
Sascha Peilicke
82ddddcc76 Menubar and actions revamp, see http://reviewboard.kde.org/r/3110/ for details.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1121952
2010-05-02 19:43:43 +00:00
Sascha Peilicke
934c7e230d Replaced deprecated call to QLayout::setMargin and replaced it with QLayout::setContentsMargins.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1088825
2010-02-11 18:06:02 +00:00
Kurt Hindenburg
b2a291b01f Allow 'Open Folder in Tabs' to support SSH bookmarks.
Thanks to Will Angenent for patch.

BUG: 177637

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1033653
2009-10-10 17:35:15 +00:00
Fredrik Höglund
1fcde703b1 Get rid of the ARGB visual hack, and use Qt::WA_TranslucentBackground instead.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1032123
2009-10-06 22:46:01 +00:00
Robert Knight
dd9df43b44 Remove emacs mode information from the bottom of some source files.
If this information is put anywhere it should be in a single file instead
of duplicated for each file.  In fact, it shouldn't be needed at all since
we have the same rules on tabs and tab sizes as most other parts of kdebase


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=946369
2009-03-29 11:12:57 +00:00
David Faure
9fcdce14cd Fix warning from kxmlguiwindow saying that this line is useless; it is indeed.
Confirmed by Robert Knight.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=917080
2009-01-26 20:23:16 +00:00
Chusslove Illich
e6de2fc0d6 Use new KLocale method to remove accelerator markers.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=893417
2008-12-06 15:38:29 +00:00
Robert Knight
c91956542f Fix crash on logout if MainWindow::_defaultProfile is null
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=867477
2008-10-03 15:44:26 +00:00
Robert Knight
ef3e43e11d Initial implementation of session management in Konsole.
Patch from Stefan Becker <stefan.becker@nokia.com>

Thank-you very much Stefan!

CCBUG: 152761


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=867323
2008-10-03 10:38:50 +00:00
Robert Knight
849954b0a4 Change default shortcut for bookmarks from Ctrl+B to Ctrl+Shift+B, now possible
thanks to Aaron's fixes to KBookmarkMenu.

BUG:160346
CCBUG:168985


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863371
2008-09-21 22:13:29 +00:00
Robert Knight
956277c014 Convert tabs to 4 spaces to match kdelibs conventions. Previously
there was a mix of tabs and spaces for indentation.

CCMAIL:Stefan.Becker@nokia.com


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863326
2008-09-21 20:06:58 +00:00
Aaron J. Seigo
569235573d put the search bar on the correct side of the tabs .. INSIDE them ...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=860035
2008-09-11 20:03:03 +00:00
Robert Knight
f3147ff807 Fix compile.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837743
2008-07-25 15:46:24 +00:00
Robert Knight
8d3e6fad20 * Avoid unneccessarily updating shortcuts for active main window after accepting
'Configure Shortcuts' dialog
* Reload XML file for current controller as well as inactive controllers

CCBUG: 161021

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837730
2008-07-25 15:05:29 +00:00
Robert Knight
5f5a438708 More detailed comments on updating shortcuts.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837728
2008-07-25 15:05:19 +00:00
Robert Knight
946d1cdf11 Sync shortcut changes between main windows by copying shortcuts between
action collections.  KXMLGUIClient::reloadXML() required
the client to be removed and re-inserted for it to have an effect.

CCBUG: 161021

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837727
2008-07-25 15:05:12 +00:00