Commit graph

986 commits

Author SHA1 Message Date
Michael Jansen
f37efe22c9 Add a undo() method that does what its name suggest for the global shortcuts
and call it where appropriate.

Leaving the dialog with cancel now leaves the user settings unchanged.
As expected.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021767
2009-09-09 23:44:08 +00:00
Michael Jansen
fff3477452 1. Move adding the "Switch to Desktop %1" actions to init()
2. Document the relation between setting numberSpinBox and filling m_editor
   with defaults

svn path=/trunk/KDE/kdebase/workspace/; revision=1021766
2009-09-09 23:44:06 +00:00
Michael Jansen
22cb0b0226 Never ever discrespect the users current setting. NEVER
svn path=/trunk/KDE/kdebase/workspace/; revision=1021764
2009-09-09 23:44:02 +00:00
Michael Jansen
6b8a3a61a1 ALLWAYS set isConfigurationAction if you create action just for
configuration purposes.

And do it before you set a global shortcut. Doing it after that is good
intention but still tool late.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021763
2009-09-09 23:43:58 +00:00
Martin Gräßlin
754f5d0829 Quick maximize and tiling when moving a window to the left/right or top screen edge.
Top screen edge (un)maximizes. Left screen edge sets window to left half of screen geometry, right edge to other half.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021305
2009-09-08 20:01:08 +00:00
Hugo Pereira Da Costa
82aa125975 reverted to r1015361 because last commit was adressing the same issue (already fixed). Sorry
svn path=/trunk/KDE/kdebase/workspace/; revision=1018986
2009-09-02 14:30:30 +00:00
Hugo Pereira Da Costa
76104a522a fixed preview event painting, to use pixmap as intermediate painting device, in order to proper account for event clip rect, and avoid decorations appearing out of the widget rect
svn path=/trunk/KDE/kdebase/workspace/; revision=1018742
2009-09-02 05:28:38 +00:00
Lucas Murray
8b19de13f0 Select the default decoration if the configured decoration doesn't exist.
svn path=/trunk/KDE/kdebase/workspace/; revision=1016905
2009-08-29 10:16:13 +00:00
Lucas Murray
47ef5f02cc Replace Ozone with Nitrogen as the default decoration and remove Ozone.
CCMAIL:kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1016904
2009-08-29 10:12:00 +00:00
Christoph Feck
a83e508bdd Use QPainter to render preview
Reviewed by Lucas Murray
BUG: 203842

svn path=/trunk/KDE/kdebase/workspace/; revision=1015361
2009-08-25 11:13:27 +00:00
Lucas Murray
c3a07890f5 Add close window ability to customizable title bar mouse button actions.
Patch by Thomas Lundgaard.
CCMAIL: thomaslundgaard@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=1015273
2009-08-25 04:10:11 +00:00
Script Kiddy
76ea5e9987 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1014621

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-08-23 12:06:49 +00:00
Thomas Lübking
1f365bf428 BUG: 153799
BUG: 187952
CCBUG: 197992
CCBUG: 203320

extrapolate and (if available) set shortcuts for new virtual desktops
automatically

svn path=/trunk/KDE/kdebase/workspace/; revision=1011934
2009-08-16 12:19:07 +00:00
Script Kiddy
fd0ecc715a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1011290

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-08-14 09:29:08 +00:00
Lucas Murray
4bc9e6c533 Rename the "normal" focus stealing prevention level to "medium".
CCBUG: 203447

svn path=/trunk/KDE/kdebase/workspace/; revision=1010423
2009-08-12 12:34:10 +00:00
Christoph Feck
25a056e171 Fix preview margins
* limit to 10 pixels, regardless of what the client announces
* "old" clients have the same margins for consistency
* use KWindowSystem::compositingActive() instead of D-Bus

Reviewed by Lucas Murray

svn path=/trunk/KDE/kdebase/workspace/; revision=1005231
2009-07-31 15:38:12 +00:00
Script Kiddy
4a1461ef9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1004472

The following changes were in SVN, but were removed from git:

M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-07-30 09:23:14 +00:00
Martin Gräßlin
8564fca1bc Fixing a copy&paste error. Screen edges kcm should read cube settings for cube actions, not desktop grid settings.
BUG: 201362

svn path=/trunk/KDE/kdebase/workspace/; revision=1002067
2009-07-24 21:10:34 +00:00
Martin Gräßlin
abe5c4ff04 Complete rewrite of flip switch.
* no more usage of OpenGL directly. Only highlevel API (except multiscreen :-()
 * better animations by adjusting the TimeLine's curve shape
 * new configuration options for window positions
 * Usage without tabbox (also supporting electric border)
 * Effect Frame showing the window title
 * many more things I have forgotten to mention
BUG: 187761

svn path=/trunk/KDE/kdebase/workspace/; revision=1000437
2009-07-21 10:18:48 +00:00
Laurent Montel
e785ec1993 Fix signal/slot
svn path=/trunk/KDE/kdebase/workspace/; revision=1000074
2009-07-20 19:39:31 +00:00
Christoph Feck
92edeb1fe4 Fix double margins
svn path=/trunk/KDE/kdebase/workspace/; revision=999968
2009-07-20 17:18:02 +00:00
Script Kiddy
9eb3821e6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=996576
2009-07-14 14:39:27 +00:00
Laurent Montel
d30325d924 fixuifiles
svn path=/trunk/KDE/kdebase/workspace/; revision=995255
2009-07-12 13:08:25 +00:00
Martin Gräßlin
f702221054 Rework of the multiple desktops kcm.
Now it uses a ui file which makes it easier to maintain.
It brings together all options for multiple desktops. That is:
 * number of desktops
 * pager layout
 * activity per desktop
 * desktop names
 * desktop effect for switching animation
 * OSD on desktop switch
 * Shortcuts for desktop changing

The plasma options (pager and activity) are still missing and currently disabled.
FEATURE: 129605
CCBUG: 153799

svn path=/trunk/KDE/kdebase/workspace/; revision=995230
2009-07-12 12:21:57 +00:00
Script Kiddy
5db5f77957 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=990943

The following changes were in SVN, but were removed from git:

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-07-03 14:05:35 +00:00
Andrius Štikonas
f3dad43a18 Use KIntSpinBox instead of QSpinBox for better integration with KDE. As a bonus this allows to use plural suffix in spinboxes since KDE 4.3 if necessary.
svn path=/trunk/KDE/kdebase/workspace/; revision=989742
2009-06-30 20:09:04 +00:00
Martin Gräßlin
369910865a Add "show desktop" to screen edges.
FEATURE: 195359

svn path=/trunk/KDE/kdebase/workspace/; revision=988839
2009-06-28 20:32:50 +00:00
Lucas Murray
d4647a3fbc Display a warning message when compositing is enabled during KDE
failsafe mode.
BUG: 197874

svn path=/trunk/KDE/kdebase/workspace/; revision=987757
2009-06-26 15:29:00 +00:00
Hugo Pereira Da Costa
e48740a6fb fixed indentation
svn path=/trunk/KDE/kdebase/workspace/; revision=987422
2009-06-26 03:07:18 +00:00
Hugo Pereira Da Costa
5e783b34b9 Added dbus call to get whether kwin compositing is enabled or not, rather than
systematically returning false. This enables nicer painting of decoration previews.


svn path=/trunk/KDE/kdebase/workspace/; revision=987420
2009-06-26 02:55:05 +00:00
Hugo Pereira Da Costa
031bdd0239 Changed painting of preview decorations, to use widget->render() instead of
widget->show(). This allows to have oxygen decorations painted properly (with visible 
shadows), to handle window resize properly, and does not affect other decorations.

 --This line, and those below, will be ignored--

M    preview.cpp
M    preview.h

svn path=/trunk/KDE/kdebase/workspace/; revision=987415
2009-06-26 01:53:38 +00:00
Script Kiddy
8ebed3b253 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=987253
2009-06-25 18:31:11 +00:00
Lucas Murray
2c6dccdb99 Make KWin system setting panels consistent with the rest of KDE again by
reverting part of r986282.
CCMAIL: christoph@maxiom.de

svn path=/trunk/KDE/kdebase/workspace/; revision=987069
2009-06-25 13:34:36 +00:00
Script Kiddy
57a205ff99 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=986478

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-24 17:22:21 +00:00
Christoph Feck
58b9127b3e Fix layout issues in kwin kcm
* remove fixed layout spacing and margin
* respect style's QFormLayout field policy
* reduce vertical space in compositing "General" tab
* layout desktop names in two columns


svn path=/trunk/KDE/kdebase/workspace/; revision=986282
2009-06-24 13:09:58 +00:00
Martin Gräßlin
00426a67ff Use a generic icon for screenedges kcm. That's not really nice but better than a missing icon.
We'll nag again for 4.4.

svn path=/trunk/KDE/kdebase/workspace/; revision=985870
2009-06-23 15:57:16 +00:00
Script Kiddy
a55589308d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=985817

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-23 14:10:37 +00:00
Script Kiddy
380820294b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=985256

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-06-22 14:13:47 +00:00
Script Kiddy
e9651de617 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=984807

The following changes were in SVN, but were removed from git:

M	wallpapers/Evening/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-21 13:45:48 +00:00
Laurent Montel
f8795d4934 It compiles without kde3support
svn path=/trunk/KDE/kdebase/workspace/; revision=984639
2009-06-21 10:14:36 +00:00
Script Kiddy
3823e3ac18 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=984344

The following changes were in SVN, but were removed from git:

M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-20 15:46:27 +00:00
Lucas Murray
138179d06c Missed some functions in the decoration API cleanup.
svn path=/trunk/KDE/kdebase/workspace/; revision=984121
2009-06-20 04:22:39 +00:00
Script Kiddy
50323a00c4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=983098

The following changes were in SVN, but were removed from git:

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-17 14:56:21 +00:00
Script Kiddy
cad3ec9be8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=981932
2009-06-14 14:13:23 +00:00
Script Kiddy
5b6ef606f2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=979835

The following changes were in SVN, but were removed from git:

M	wallpapers/HighTide/metadata.desktop
2009-06-10 14:56:08 +00:00
Lucas Murray
3d0301d786 Slight layout change to make more aesthetically pleasing.
svn path=/trunk/KDE/kdebase/workspace/; revision=978871
2009-06-08 12:20:48 +00:00
Script Kiddy
49683ff02a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=977924
2009-06-05 16:15:58 +00:00
Script Kiddy
fde2eb2ea3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=976372
2009-06-01 14:32:51 +00:00
Script Kiddy
b5d72d31a6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=973179

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
2009-05-26 14:19:07 +00:00
Script Kiddy
dea662439b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=972272
2009-05-24 13:43:21 +00:00