Commit Graph

602 Commits

Author SHA1 Message Date
l10n daemon script
b092bbed31 SVN_SILENT made messages (.desktop file) 2014-06-12 08:31:04 +00:00
Martin Klapetek
a177696c6c Update DataEngine sources only if they are used
REVIEW: 118669
2014-06-11 17:17:41 +02:00
Marco Martin
d3f73c59f3 apidoc 2014-06-09 19:44:52 +02:00
Marco Martin
fa95680a51 use color groups instead
the Text and Background colors can become buttonText or ButtonBackground
based on the svg property ColorGroup
2014-06-09 19:35:58 +02:00
Marco Martin
cac2704d50 prototype of more flexyble svg stylesheets
experiment in dynamic repacement of Text and Background
colors, in order to be able to generate icons of different colors
based on where they are (for instance if the normal background
is dark and the button background is light

at the moment supported an option to invert colors, one
to use the "highlight" color (if we want colored icons
on mouse over)
2014-06-09 17:35:46 +02:00
l10n daemon script
5ab5d89fea SVN_SILENT made messages (.desktop file) 2014-06-07 08:25:46 +00:00
Giorgos Tsiapaliokas
35e5c46358 Unset the contentsPrefixPaths for the ThemePackages. The Theme Packages are not supposed to have a "contents/" directory.
REVIEWED-BY: Marco Martin
2014-06-06 18:48:49 +03:00
Aleix Pol
a06c1569a1 The screen size will be defined by the final Corona
It doesn't make sense to try to give hints at what it will be given that
we don't know.
For example, see how we're defining ::numScreens as 1 on the other method
as well.
2014-06-05 01:25:18 +02:00
David Edmundson
7ea8e24584 Remove more unused QApplication includes 2014-06-04 18:57:18 +02:00
David Edmundson
e8297e9a0f QDesktopWidget -> QScreen 2014-06-04 18:55:05 +02:00
Marco Martin
b6ac8ded88 forcefully remove some entries
newly created containments may have some default entries like plugin
or formfactor written in the config group, but not in keyList()
they have to be explicitly removed because wouldn't be removed in
deleteGroup
BUG:335792
2014-06-04 17:28:11 +02:00
David Edmundson
23068fb2b0 Avoid references to QApplication
They cause problems when running in QGuiApplication

REVIEW: 118470
2014-06-02 17:44:47 +02:00
Marco Martin
4fd0af246d make package::uninstall actually work 2014-06-02 16:38:50 +02:00
Marco Martin
0c127f1ce5 delete framedata when ThemePrivate dies 2014-05-28 20:34:25 +02:00
Marco Martin
3fdf999ba0 bit more complex bookeeping
since it is now possible to have different svg/framesvg with
different themes, s_sharedFrames must be indexed by theme first
what it's really the identifying thing is ThemePrivate, so it's indexed by that
this fixes a crash that occurs the second thime the theme gets changed

BUG:335472
2014-05-28 20:27:58 +02:00
Marco Martin
140d066021 check for slots existence before blindly connecting 2014-05-27 17:13:57 +02:00
Yuri Chornoivan
aab2c13164 Fix typos found by mvillarino 2014-05-27 07:02:32 +03:00
Marco Martin
0596cf176f schedule a rect cache sync when stuff gets in
do a disc sync with a 2 minutes delay
2014-05-26 20:32:22 +02:00
Marco Martin
0b10a16113 try harder to avoid creating svg renderers
now is actually possible to obtain a startup with zero svg renderers
    * svg::isValid will create a renderer only if really nevessary
    * the rects cache is ensured to be written on disk
    * fixed the check on the theme metadata age
    * rect cache is shared between all applications
2014-05-26 20:14:57 +02:00
Aleix Pol
9d9c72630c Simplify plasma theme startup
Don't emit themeChanged when constructing Plasma::Theme instances

Reviewed by David Edmundson
2014-05-26 19:03:46 +02:00
Marco Martin
819b42932d accept file:// urls as absolute paths 2014-05-26 13:55:10 +02:00
Aleix Pol
efdf1ca917 Make QtGui a public dependency of KF5::Plasma
Many classes from QtGui are specified in the header files, this alone is
enough reason to make it a public dependency. (QGuiApplication, QFont,
QPixmap are some examples).
This also pulls QtCore (e.g. QString, QRect, QUrl), which also is, of
course.

CCMAIL: plasma-devel@kde.org
2014-05-26 04:16:57 +02:00
Aleix Pol
38b16d5149 Remove unneeded includes
QWidget!!
2014-05-26 04:11:35 +02:00
l10n daemon script
fd1674450e SVN_SILENT made messages (.desktop file) 2014-05-25 08:47:48 +00:00
Sebastian Kügler
249c1e1c93 Less warnings at runtime
It's quite common to try loading a package in order to check if it's
valid. No need to litter the console with that.
2014-05-23 18:41:50 +02:00
l10n daemon script
2ba1a0c90f SVN_SILENT made messages (.desktop file) 2014-05-23 08:16:11 +00:00
Marco Martin
409d340fba if a name is passed in the ctor, never change
BUG:335005
2014-05-20 18:26:03 +02:00
l10n daemon script
db8da9ff8d SVN_SILENT made messages (.desktop file) 2014-05-20 10:48:03 +00:00
David Edmundson
989dc5c07c Remove pointless include 2014-05-19 22:13:30 +02:00
Marco Martin
1e7a8b60a1 clean 2014-05-19 19:18:52 +02:00
Marco Martin
f7e25fe696 don't link to xml and iconthemes 2014-05-19 19:09:09 +02:00
Marco Martin
8155f2d542 don't link to qtquick 2014-05-19 18:32:34 +02:00
Marco Martin
924818a0ca don't link agains KConfigWidgets
not needed anymore
2014-05-19 16:58:37 +02:00
Marco Martin
d0816f1448 crash-- 2014-05-19 15:35:04 +02:00
Marco Martin
72239e7f3c apps can use more than one theme.
add the name in s_sharedFrames
CCBUG:335003
CCBUG:335004
2014-05-19 15:24:36 +02:00
Marco Martin
bbed0411b6 don't use another Thmeme copy 2014-05-19 14:58:19 +02:00
Marco Martin
682bf5f149 if containment gets destroyed, destroy all dialogs
BUG:334977
2014-05-19 11:15:51 +02:00
Marco Martin
9d3344d0a6 close the remove dialog if containment locks
BUG:334978
2014-05-19 11:11:19 +02:00
l10n daemon script
14ab84f5cc SVN_SILENT made messages (.desktop file) 2014-05-18 08:22:25 +00:00
Marco Martin
2d29445164 set the shortcut to the action
BUG:334855
2014-05-16 10:03:45 +02:00
Patrick Spendrin
c68db518c8 remove unneeded header
REVIEW:118119
2014-05-15 16:54:31 +02:00
Marco Martin
7f4e72fb35 crash--
weird behavior:
qdeleteall crashes, deleting items one by one doesn't
2014-05-14 18:21:49 +02:00
l10n daemon script
1b3060649c SVN_SILENT made messages (.desktop file) 2014-05-14 08:29:33 +00:00
Marco Martin
842d8a7ad5 don't onAppExitCleanup on theme destroy
Theme is not a singleton anymore
2014-05-07 13:58:09 +02:00
Marco Martin
2d94312f97 support config for applets children of applets 2014-05-07 13:09:35 +02:00
Eike Hein
1805bb7496 Make sure the args part of Containment::createApplet(..., args) ends up in the applet. 2014-05-06 20:52:42 +02:00
Aleix Pol
556c1e321a Remove random qDebug output
Makes it easier to spot the actual problems on the output. If there's
something that's actually indicating a problem, we should make it a
qWarning.
2014-05-06 19:57:37 +02:00
David Edmundson
873106a7ca Track screen in the containment when inside an applet
Make the system tray containment update which screen it is on when the
system tray applet is moved.

This fixes notifications if the panel is moved between screens.

REVIEW: 117946
2014-05-05 11:39:36 +02:00
l10n daemon script
5713f72542 SVN_SILENT made messages (.desktop file) 2014-05-03 08:34:24 +00:00
l10n daemon script
d55335d2a9 SVN_SILENT made messages (.desktop file) 2014-05-02 08:52:44 +00:00