Jekyll Wu
dcd042270f
Remove duplicated and hardcoded callings.
...
Such settings about TerminalDisplay should go into applyProfileToView(),
and refers the profile for right value(if possible).
2011-10-10 17:28:40 +08:00
Jekyll Wu
b83b0c5419
Fix the inconsisten name/value between two scrollback emums.
...
TODO: it does not feel good to have two essentially the same enums
in two different places.
2011-10-10 17:25:41 +08:00
Jekyll Wu
2d7a67cc88
Remove memeber _terminalSizeStartup and related methods/calls.
...
That member was meant to control whether showing size hint on startup,
while it is actually only used to avoid showing size hint on startup.
That job can be done by a static variable within showResizeNotification()
2011-10-10 16:45:19 +08:00
Jekyll Wu
9ea9d62785
Reimplement the feature of "show/hide the size widget after resising"
...
This is a follow up of commit b40a006d which closees BUG 169054.
It turns out the old code already has most parts of similar logic.
So remove duplicated logic in the code.
2011-10-10 16:23:22 +08:00
Jekyll Wu
714ec30c32
Rename for consistency and clarity
2011-10-10 14:35:30 +08:00
Jekyll Wu
593186603b
Make dbus method newSession(profile,directory) works as expected
...
BUG:222233
FIXED-IN: 4.8
2011-10-08 18:00:33 +08:00
Kurt Hindenburg
3fc7f9c147
Add some i18nc KUIT context.
2011-10-04 13:46:53 -09: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
59963d8b7e
Change the type of TripleClickMode property from bool to enum.
...
Its correspoding UI in the EditProfileDialog is changed from
checkbox to combobox.
REVIEW:102742
2011-09-30 23:14:52 +08:00
Jekyll Wu
53f155d07e
Delete unnecessary "#include <assert.h>".
2011-09-27 23:12:46 +08:00
Jekyll Wu
acd37f7a73
Allow users to control where the newly created tab should be placed.
...
CCBUG:276872
REVIEW:102685
2011-09-27 06:45:05 +08:00
Kurt Hindenburg
dfd4c14c79
Add action to jump to last tab.
...
Allows user to select a shortcut to jump to the far right tab. There
is no default shortcut.
Patch by Francesco Cecconi <francesco.cecconi@gmail.com >
REVIEW: 102687
BUG: 279166
FIXED-IN: 4.8
2011-09-24 10:58:33 -04:00
Jekyll Wu
272ac9850e
Include KDE headers consistently in the from of "#include <KSomething>" .
...
However, some KDE headers are still only available in the form of
"#include <ksomething.h>"
krun.h ==> KRun
kicon.h ==> KIcon
kdebug.h ==> KDebug
kshell.h ==> KShell
kdialog.h ==> KDialog
kconfig.h ==> KConfig
klocale.h ==> KLocale
kglobal.h ==> KGlobal
kcolorutils.h ==> KColorUtils
kconfiggroup.h ==> KConfigGroup
kdesktopfile.h ==> KDesktopFile
kcolorscheme.h ==> KColorScheme
kstandarddirs.h ==> KStandardDirs
ktemporaryfile.h ==> KTemporaryFile
klocalizedstring.h ==> KLocalizedString
2011-09-23 05:04:46 +08:00
Jekyll Wu
50a38c2fcb
small changes with #include .
2011-09-06 08:17:41 +08:00
Jekyll Wu
f5772ab06b
Enable copy action only when some text are selected.
...
FEATURE: 203768
FIXED-IN: 4.8
2011-08-27 01:59:18 +08:00
Jekyll Wu
0ddf722e08
Disable clear & reset actions when the secondary screen is in use.
...
BUG:204741
FIXED-IN: 4.8
2011-08-27 00:14:09 +08:00
Jekyll Wu
67e2181fe7
Do not set alternative shortcut for switching to prev/next tab.
...
It is generally a good idea to pass more keyboard actions into terminal
process, instead of intercepting them. Anyway, Uses can still define the
alternative shortcuts themselfes if they want.
BUG: 188941
FIXED-IN: 4.8
2011-08-26 16:26:15 +08:00
Jekyll Wu
fff43b2ca7
Apply the changed profile only when it is used by current view.
...
This fixes the regressio caused by commit e8fa53 .
2011-08-16 16:07:55 +08:00
Jekyll Wu
3ea8344c4e
Fix compilation error introduced in commit 4d77f7.
2011-08-15 14:24:55 +08:00
Jekyll Wu
4d77f7a3f1
New tab will be placed to the right of the current tab.
...
This is a improved version, which also works well with split view.
2011-08-15 10:53:24 +08:00
Jekyll Wu
60fdf0f993
Revert "New tabs will be placed to the right of the current tab."
...
This is a temporary revert. Previous commit did not take split view
into account and puts new tab in weird order when used in split view.
A improved version will be commit shortly after.
This reverts commit 676df0c26e .
2011-08-15 10:44:12 +08:00
Jekyll Wu
81001aff31
call applyProfileToContainer() within createContainer().
...
This reduces duplication and make the code more consistent.
2011-08-15 09:25:22 +08:00
Jekyll Wu
f4b188658d
Newly created container should also show new & close button.
...
BUG: 207213
REVIEW: 102324
2011-08-15 08:55:01 +08:00
Jekyll Wu
e8fa531709
Split ViewManager::applyProfile() into two methods.
...
The original method is splitted into applyProfileToView() which applies
view-specific settings to TerminalDisplay, and applyProfileToContainer()
which applies container-specific settings to ViewContainer.
This comes as preparation for fixing bug #207213 .
REVIEW: 102321
2011-08-15 08:53:08 +08:00
Jekyll Wu
bfa0d696ad
move some code into ViewManager::createContainer().
2011-08-14 11:30:25 +08:00
Kurt Hindenburg
087f67e4fc
Allow an image to be set as the background in the terminal.
...
Restore the KDE3 option to have a background image in each session.
Patch by Alexandre Becoulet <diaxen@free.fr >
BUG: 157882
FIXED-IN: 4.8
2011-08-07 18:44:16 -04:00
Kurt Hindenburg
b40a006db8
Add a checkbox to hide the size widget upon resizing window.
...
Re-add the KDE 3 option to show/hide the size widget when the window is
changed.
Patch is years old from Chali Ahmul M.P.U <chali.ahmul@atlas.cz >
FEATURE: 169054
FIXED-IN: 4.8
2011-07-31 20:56:16 -04:00
Kurt Hindenburg
676df0c26e
New tabs will be placed to the right of the current tab.
...
Currently new tabs are placed at the end which is not very convenient.
Patch by Jekyll Wu <adaptee@gmail.com >
FEATURE: 276872
FIXED-IN: 4.8
2011-07-30 22:17:12 -04:00
Montel Laurent
b91f50015d
Normalize signals/slots
2011-07-30 14:10:56 +02:00
Kurt Hindenburg
e8145abc84
Allow all the tab widths to be the exact title length.
...
This toggles between the current calculations of the tab width and just
using the full title for the tab width.
This is a dbus method which will have to do unless I can get a GUI
in before the freeze.
2011-04-23 21:18:52 -04:00
Kurt Hindenburg
48cdd11371
Add profile option to disable underlining links.
...
Add a configuration item that allows disabling of the underlined links
on mouse hover. The option is profile specific and defaults to the previous
behaviour where links are underlined on hover.
Patch by Amand Tihon <amand.tihon@alrj.com >
BUG: 174261
FIXED-IN: 4.7
CCMAIL: amand.tihon@alrj.com
2011-04-16 13:39:42 -04:00
Kurt Hindenburg
467fb1edcb
Restore 'Close Tab' on the tab context menu and the close tabbar button.
...
These 2 options were disabled due to they messed up the menu texts
after the fix for bko 185466.
The close method via dbus has been disabled as it causes menu issues.
Most of patch to fix 'Close Tab' by Albert Astals Cid aacid@kde.org
BUG: 267896
CCBUG: 185466
FIXED-IN: 4.6.3
2011-04-05 11:39:48 -04: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
ae29427a26
Correct shortcut action titles: view -> tabs
...
BUG: 219290
FIXED-IN: 4.7
2011-03-04 12:37:44 -05:00
Kurt Hindenburg
a7092cc204
comment out last patch and include some debugging info
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216576
2011-01-24 04:04:10 +00:00
Kurt Hindenburg
ca5de07bbd
Handle when tabs are closed via the close tab button on tab bar.
...
CCBUG: 185466
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216575
2011-01-24 03:25:33 +00: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
6441f929a5
Recommit patch as this wasn't causing the crashes.
...
BUG: 240037
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1198147
2010-11-17 15:33:09 +00:00
Kurt Hindenburg
1236ba56d4
Remove previous commit as it cause a lot of crashes for apps using
...
Konsole Part.
CCBUG: 240037
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1194920
2010-11-10 05:19:30 +00:00
Kurt Hindenburg
f834ba132d
When closing a tab, select the previously focused tab.
...
BUG: 240037
FIXED-IN: 4.6
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1186295
2010-10-15 17:42:49 +00:00
Laurent Montel
9116e54fd4
Fix class
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1148412
2010-07-10 15:07:21 +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
Robert Knight
1c38b8b129
Fix shortcuts for split view left/right, top/bottom and zoom in. Qt::CTRL + Qt::SHIFT + where already requires shift is not handled, so leave out the Qt::SHIFT.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1143688
2010-06-28 13:47:11 +00:00
Valentine Sinitsyn
253a5cc824
Make bold font for bright (intensive) ANSI colors a user-configurable option rather than hardcoded default.
...
BUG: 226308
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133477
2010-06-01 20:06:11 +00:00
Kurt Hindenburg
1708547e64
Fix issue where the tab bar reappears after a split-view.
...
BUG: 176260
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133040
2010-06-01 00:00:54 +00:00
Kurt Hindenburg
c5ef78569f
Refresh the screen after the user manually drag-n-drops a tab.
...
BUG: 164099
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133036
2010-05-31 23:48:37 +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
Kurt Hindenburg
9292af91fd
Add 'Detach Tab' to the tab context menu.
...
Original patch by Shlomi Fish. I did some hacking on it.
BUG: 153376
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1118851
2010-04-26 02:10:05 +00:00
Kurt Hindenburg
ed3aee70b2
Use the default profile if the session management's Konsole file is unusable (corrupt/missing/etc).
...
CCBUG: 203621
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1115480
2010-04-16 15:18:21 +00:00
André Wöbbeking
7cd044356a
ksharedptr.h:211: warning: 'profile.KSharedPtr<Konsole::Profile>::d' is used uninitialized in this function
...
ViewManager.cpp:981: note: 'profile.KSharedPtr<Konsole::Profile>::d' was declared here
CCMAIL:kurt.hindenburg@gmail.com
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1044516
2009-11-03 22:46:57 +00:00