Commit Graph

1951 Commits

Author SHA1 Message Date
Martin Klapetek
2bd7101314 Calendar QML imports cleanup 2014-05-13 17:51:43 +02:00
Martin Klapetek
a4b08b0db3 Fix calendar font sizing
Reviewed-by: Sebastian Kügler
2014-05-13 17:44:45 +02:00
Aleix Pol
da190fa711 Reduce calls to ShellCorona::screenForContainment
Just store some values instead of calling repeatedly without reason.
2014-05-13 14:15:46 +02:00
Aleix Pol
cc661dfdd6 Save some calls to ShellCorona::screenGeometry
It's not an especially cheap function and it didn't make sense doing
it twice
2014-05-13 14:03:46 +02:00
Marco Martin
3f516ddda6 adapt api change 2014-05-13 13:45:32 +02:00
Marco Martin
34b86471d0 fix screen region mapping
BUG:334670
2014-05-13 13:42:44 +02:00
Marco Martin
55514d28c7 Merge branch 'mart/plasmoidMove' 2014-05-13 12:47:49 +02:00
Marco Martin
64cff59a31 api to add an existing applet and position mapping 2014-05-13 12:46:17 +02:00
Marco Martin
cdb9c8c1cc addApplet function
offers a crude support to applet migration between containments
2014-05-12 21:07:41 +02:00
Martin Klapetek
247e829332 Proper if-else {} style 2014-05-12 19:21:06 +02:00
Marco Martin
895c5b6b2b close the menu if it was already open
sometimes on plasma start, other context events may be triggered
while the menu is in its exec(), byt the qqmlincubator.
if so, close the already existing menu.

BUG:334562
2014-05-12 11:02:56 +02:00
Allen Winter
939e01f554 fix build
include <cmath> to declare floor()
2014-05-11 20:58:53 -04:00
Marco Martin
97831b616f experim API to move plamoids between containments 2014-05-09 18:43:33 +02:00
Marco Martin
0b83de8fbb "menu" icon 2014-05-09 18:01:48 +02:00
Marco Martin
759036e19f remove dead code 2014-05-09 14:24:05 +02:00
Marco Martin
ea3544deb7 remove unused function 2014-05-09 14:21:23 +02:00
Marco Martin
91e6297114 export plasmoid.rootItem 2014-05-09 13:12:38 +02:00
Marco Martin
39047a0ab8 layout fixes 2014-05-09 13:12:30 +02:00
Marco Martin
79bf8bf138 no compactRepresentationCheck if not ready yet 2014-05-08 15:49:36 +02:00
Aleix Pol
2f027d4348 Remove pointless casts 2014-05-08 15:28:09 +02:00
Marco Martin
53893e8d0b make the toolbox directly child of containmentinterface 2014-05-07 20:27:51 +02:00
Marco Martin
f21851548c new api for availablescreensize/region 2014-05-07 15:18:21 +02: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
Marco Martin
ac963b8a27 emit externalData only after the ui is here 2014-05-06 19:28:44 +02:00
Marco Martin
a7928f29dd if there are args, emit externalData 2014-05-06 19:06:31 +02:00
David Edmundson
f123671346 Check the right items are valid in iconItem
Reviewed-By: Marco Martin
2014-05-06 16:33:20 +02:00
Marco Martin
9d24b7e391 ensure to repaint on repaintNeeded
BUG:334394
2014-05-06 11:49:21 +02:00
Marco Martin
220e8766d2 fix css colors 2014-05-06 11:41:18 +02:00
Marco Martin
445081843c this assert doesn't make much sense 2014-05-06 10:52:57 +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
Martin Gräßlin
491befb850 Add safety checks to XCB functions in WindowThumbnail
Prevents XCB warnings about BadWindow when a tooltip is shown for the
first time.

REVIEW: 117822
2014-05-05 07:18:06 +02:00
l10n daemon script
5713f72542 SVN_SILENT made messages (.desktop file) 2014-05-03 08:34:24 +00:00
Marco Martin
b27135a62b icon for logout 2014-05-02 19:14:09 +02:00
Marco Martin
944c1549ae avoid half pixels 2014-05-02 15:43:55 +02:00
Marco Martin
cee9c928e3 simplify theme
add an hint for the progressbar size, throw away the old elements legacy of pre-components
2014-05-02 15:39:08 +02:00
Marco Martin
d9823b2cd5 slightly more opaque 2014-05-02 14:55:53 +02:00
Marco Martin
90c8dbc255 simplify logic a lot 2014-05-02 14:55:43 +02:00
Marco Martin
02ccc2d98e better radial symmetry look for the icon
BUG:333968
2014-05-02 12:49:23 +02:00
Marco Martin
a8d2315f34 slighly stronger contrast effect 2014-05-02 11:52:16 +02:00
Marco Martin
e6dd40919a correct topleft color 2014-05-02 11:34:49 +02:00
l10n daemon script
d55335d2a9 SVN_SILENT made messages (.desktop file) 2014-05-02 08:52:44 +00:00
Marco Martin
a6eca11b84 restore corona immutability
BUG:334141
2014-04-30 19:31:56 +02:00
Eike Hein
2591685579 Emit signal when hiding due to focus loss to a non-related window. 2014-04-30 19:17:14 +02:00
Eike Hein
3ebbedead2 Also consider parent windows when evaluating focus loss for dialog hide. 2014-04-30 19:14:55 +02:00
Eike Hein
000d49463b Don't hide when focus moves to a child window.
REVIEW:117897
2014-04-30 15:04:16 +02:00
Martin Gräßlin
af5a855da4 Discard window thumbnail pixmap after texture got destroyed by SceneGraph
If the window holding the WindowThumbnail item goes away the texture hold
by the node is destroyed but our bound window pixmap is not yet freed.
This results in incorrect state the next time the WindowThumbnail is
shown.

To get back into a clean state discardPixmap() is called if there is no
texture but a bound low level pixmap.

BUG: 333482
REVIEW: 117824
2014-04-30 13:14:44 +02:00
Marco Martin
4851be6e1e don't crash if destroy happens before first sync 2014-04-29 18:21:28 +02:00