Commit graph

72 commits

Author SHA1 Message Date
Dirk Mueller
8e31c22156 grrrrr...
svn path=/trunk/kdebase/kwin/; revision=376625
2005-01-08 22:25:07 +00:00
Dirk Mueller
1f509ffe24 fix export's
svn path=/trunk/kdebase/kwin/; revision=375962
2005-01-06 22:37:53 +00:00
Luboš Luňák
9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +00:00
Sandro Giessl
e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00
Nicolas Goutte
7aba5a0721 Unify the translation of KWin's clients
(The user visible strings inkdebase/kwin/clients are extracted to
kwin_client.pot)
CCMAIL:kde-i18n-doc@kde.org

svn path=/trunk/kdebase/kwin/; revision=347824
2004-09-20 11:20:12 +00:00
Sandro Giessl
b4c946d132 above, below, shade buttons
svn path=/trunk/kdebase/kwin/; revision=332553
2004-07-25 12:39:32 +00:00
Sandro Giessl
cc6b654b6f use new maximize() overload
svn path=/trunk/kdebase/kwin/; revision=332523
2004-07-25 11:43:57 +00:00
Nicolas Goutte
92949ab569 I18N: untranslatable strings
Add a central user message extraction for all KWin client.
(The config programs have already their own .pot files)
CCMAIL:kde-i18n-doc@kde.org

(Note: there is currently not much of a choice to add a new .pot file,
as KWin has already many of them and we are in message freeze.
But at least this new .pot file can be shared between all clients, which
share most of the user visible strings.)

svn path=/trunk/kdebase/kwin/; revision=332022
2004-07-23 13:09:13 +00:00
Nicolas Goutte
790b9e0de6 Disable message extraction before that Scripty can extract them for the
first time and until this problem can be clearer.

Reason: from my first test, there are mostly the same strings ("Maximize",
"Minimize"...) and therefore such mini-pot files full of duplicates
should not be created. (That the config files are even extra files is bad too.)

svn path=/trunk/kdebase/kwin/; revision=331821
2004-07-22 18:02:59 +00:00
Luboš Luňák
12f4763033 Oops. KWin decoration plugins had no messages although they contain
few i18n strings.

svn path=/trunk/kdebase/kwin/; revision=331733
2004-07-22 11:48:03 +00:00
Stephan Binner
c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
2004-06-27 16:18:56 +00:00
Luboš Luňák
307ee66123 Use "Modern System" in all visible strings as the name of this
modsystem^H^H^Hmodernsys^H^H^Hmodernsystem decoration.
CCMAIL: 74346-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=290891
2004-02-24 12:34:58 +00:00
Frans Englich
4b522c51cb Remove all CVS Id tags from kdebase, if I haven't missed one.
Of course, this will multifold break compile as well as a dozen of people
will now object that they actually wanted the Id tags.

svn path=/trunk/kdebase/ksysguard/; revision=290873
2004-02-24 11:30:21 +00:00
Sandro Giessl
9268d2acdb Set the current window state when initializing OnAllDesktop buttons. (#71531)
svn path=/trunk/kdebase/kwin/; revision=278218
2004-01-09 18:20:29 +00:00
Luboš Luňák
569224d117 Replace the temporary MousePosition enum naming with something that
doesn't look so silly and doesn't conflict with Qt.

svn path=/trunk/kdebase/kwin/; revision=273144
2003-12-15 15:10:17 +00:00
Sandro Giessl
69f858427e Make titlebar buttons only react on left-click, if they have one function
only.

CCMAIL: 58220-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=263874
2003-11-02 11:03:41 +00:00
Luboš Luňák
abdfd596b2 And one more case of flickering ... how comes nobody complained?
svn path=/trunk/kdebase/kwin/; revision=263250
2003-10-30 18:01:43 +00:00
Luciano Montanaro
47f5381fca Constified bitmap data
svn path=/trunk/kdebase/kwin/; revision=255846
2003-10-03 08:09:15 +00:00
Gunnar Schmidt
219d1f6cca Added the border size feature to the Modern System decoration
The current implementation does not offer the largest two sizes as for those the buttons need to be scaled (which requires bigger changes as the buttons are based on pixmaps).

svn path=/trunk/kdebase/kwin/; revision=254093
2003-09-26 12:09:20 +00:00
Luboš Luňák
9fac9d2a43 Fixes for mousePosition().
Since Qt propagates mouse events up the widget hierarchy, it's better
to filter out Qt events rather than X events for the decoration.

svn path=/trunk/kdebase/kwin/; revision=252346
2003-09-19 11:11:07 +00:00
Luboš Luňák
87fa54326f As kdelibs/NAMING says, using lib<appname>.la as name for a library is bad.
Library name changed to libkdecorations.la .

svn path=/trunk/kdebase/kwin/; revision=251859
2003-09-17 14:23:53 +00:00
Luboš Luňák
813ce7ccce Merging back the ModernSys decoration from kwin_iii to HEAD.
The config/ subdir is not updated (and thus it keeps the changes done
in HEAD).

svn path=/trunk/kdebase/kwin/; revision=251622
2003-09-16 19:37:46 +00:00
Dirk Mueller
6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
Aaron J. Seigo
fdbe58d03f apparently setColSpacing is new in Qt3.2. this one goes out to everyone
still compiling with 3.1

svn path=/trunk/kdebase/kwin/; revision=234785
2003-07-01 02:54:32 +00:00
Aaron J. Seigo
ad483c520d dude up the config pages of these puppies. now that they appear on the
first tab of the kcm it became wildly obvious how much TLC they needed.

svn path=/trunk/kdebase/kwin/; revision=234652
2003-06-30 08:16:28 +00:00
Luboš Luňák
5596abd78e Don't link against kdeinit modules.
svn path=/trunk/kdebase/kwin/; revision=233861
2003-06-26 08:52:13 +00:00
Melchior Franz
d4d96f7148 fix dialog layout for rtl languages;
replace numeric by symbolic constants

svn path=/trunk/kdebase/kwin/; revision=204603
2003-02-03 11:55:34 +00:00
Luboš Luňák
3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
2002-08-28 15:17:31 +00:00
Karol Szwed
36aebe0323 Namespace cleanup to prevent crashes due to symbol clashes with RTLD_GLOBAL
svn path=/trunk/kdebase/kwin/; revision=174118
2002-08-27 18:08:20 +00:00
Karol Szwed
a33f4313ab - Removing patch by Diego Iastrubini that attempted to fix the bidi issues in
clients by adding an unnecessary 'enable-bidi' checkbox which was never agreed
  upon on the kwin mailing list.

  The use of --reverse is sufficient without needing this checkbox.
  Please discuss largish patches like these first, especially during a feature
  freeze!

  (Everyone also seems to forget the kwin-styles in kdeartwork)

- Make clients look the same with --reverse instead of the broken state they
  were in previously. If the button ordering is not to your liking in reverse
  mode, just change the button positions. (Or send patches for those clients
  that have not got these features yet).

- Clean up popupMenu handling somewhat.

- Remove a global static object in keramik.

svn path=/trunk/kdebase/kwin/; revision=174079
2002-08-27 15:12:14 +00:00
Diego Iastrubni
27998b71ac dded a new checkbox to kcontrol-> wm -> decorations ->general. By defaut this checkbox is on.
if it's on, kwin clients will reverse thire display when the desktop is reversed (arabic, hebrew etc).

Clinets updated to use this options, and options.h has a few more lines :)
see clients for the changes.

svn path=/trunk/kdebase/kwin/; revision=173581
2002-08-24 12:02:26 +00:00
Stephan Binner
2896179100 CVS_SILENT Capitalisation fixes.
svn path=/trunk/kdebase/kcontrol/; revision=151429
2002-04-23 13:02:02 +00:00
Karol Szwed
b7fd6761f1 A few libkwin to kwin_ tweaks.
svn path=/trunk/kdebase/kwin/; revision=137833
2002-02-21 14:03:28 +00:00
Stephan Kulow
e3e09f533d use kwin_ instead of libkwin
svn path=/trunk/kdebase/kwin/; revision=137446
2002-02-19 16:56:16 +00:00
Waldo Bastian
6ebc89dac6 CVS_SILENT
Added Encoding header for compliance with Desktop Entry Standard

svn path=/trunk/kdebase/kcontrol/; revision=134824
2002-01-31 18:51:15 +00:00
David Faure
7962136939 CVS_SILENT fixheaders
svn path=/trunk/kdebase/kwin/; revision=117488
2001-10-12 12:29:15 +00:00
Karol Szwed
003eab093b Adding resize handle configuration patch by Melchior Franz.
svn path=/trunk/kdebase/kwin/; revision=117114
2001-10-10 10:50:07 +00:00
Karol Szwed
128d006be8 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114659
2001-09-18 11:43:37 +00:00
Meni Livne
2c366e2d8e Adding insertCalatogue() calls enabling to show translated messages.
svn path=/trunk/kdebase/kwin/; revision=106169
2001-07-15 12:14:54 +00:00
Lukáš Tinkl
1540b2bf62 missing messages targets, adjusted naming for gallium's ease
svn path=/trunk/kdebase/kwin/; revision=105753
2001-07-12 11:56:22 +00:00
Ralf Nolden
278c511d4f this is the actual bugfix from Gallium for the window decorations. This is
his part of the patch, works fine but there's just the re-check needed to
be added so when the effect for tooltips changes, the deco's tooltips take
this as well. There are no new strings except the Un-Sticky tooltip, all
others are translated. thd@kde.org agreed on the strings.

svn path=/trunk/kdebase/kwin/; revision=104585
2001-07-01 10:10:17 +00:00
Ralf Nolden
5781bbadac readded modernsystem style as that is needed by kpersonalizer. Gallium
takes over maintenance and there are several additions and changes from
Melchior Franz anyway

svn path=/trunk/kdebase/kwin/; revision=103041
2001-06-19 15:26:48 +00:00
Daniel M. Duley
29af54215b Removing the styles I wrote except the default one, and will be maintaining
them outside of CVS.

svn path=/trunk/kdebase/kwin/; revision=102431
2001-06-16 00:48:49 +00:00
Karol Szwed
096025d7ed Renaming "foo Decoration Settings" to "Decoration Settings" to remove
redundancy in the config modules.

svn path=/trunk/kdebase/kwin/; revision=101301
2001-06-10 11:05:15 +00:00
Karol Szwed
3ecb89d03f Removed some unused headers, and made titlebar buttons visible
on isMinimizable() and isMaximizable()

svn path=/trunk/kdebase/kwin/; revision=100360
2001-06-04 12:32:26 +00:00
Karol Szwed
e7a3ecfd82 Added patch by Melchior to move the [ModernSystem] section in the kwinrc
file into kwinmodernsysrc

svn path=/trunk/kdebase/kwin/; revision=99266
2001-05-29 07:10:17 +00:00
Karol Szwed
070353f3f5 Adding a few cleanups by Melchior
svn path=/trunk/kdebase/kwin/; revision=96754
2001-05-13 05:47:49 +00:00
Luboš Luňák
f84c7a340a Move the configuration options for custom button positions to kwin from
the plugins. And I even resisted to break BC in kwin again even though
I could :).

svn path=/trunk/kdebase/kwin/; revision=94905
2001-05-03 08:06:28 +00:00
Karol Szwed
60121852e5 Renamed CustomButtonOrder to CustomButtonPositions to make button order
configurable after kwindecoration change.

svn path=/trunk/kdebase/kwin/; revision=93571
2001-04-23 12:05:55 +00:00