Commit Graph

1012 Commits

Author SHA1 Message Date
Tom Beckmann
b6fb2d260d notifications: add support for default action
This implements activation of the "default" action and adds the "actions" capability
to the server in order to make all apps set their actions if they have any.
2014-10-07 20:32:00 +02:00
Rico Tzschichholz
26603627e4 notifications: Prepare handling of "default" action in a more generic way
This eases the later addition for a more complete support and cleans
things up a bit.
2014-10-07 20:10:46 +02:00
Tom Beckmann
ead2a1fe45 notifications: add support for default action
This implements activation of the "default" action and adds the "actions" capability
to the server in order to make all apps set their actions if they have any.
2014-10-07 19:08:31 +02:00
Tom Beckmann
5c76b8046f multitaskingview: use 24px icons in IconGroups as 22px icons have been removed from the theme 2014-10-06 01:58:46 +02:00
Rico Tzschichholz
1c652ab95f Update .bzrignore 2014-10-05 09:16:43 +02:00
Daniel Foré
a6dcf5dc9f Add and use dedicated multitiasking-view icon 2014-10-05 09:13:15 +02:00
Cody Garver
6000f53828 False attach-modal-dialogs 2014-10-04 18:48:08 -05:00
Rico Tzschichholz
ff1a644d7c Avoid calling PluginManager.get_plugin twice, handle case when plugin of a type is null 2014-10-01 22:42:30 +02:00
Tom Beckmann
008afea34d Fix windows flashing when minimizing, restructure minimize code slightly 2014-10-01 21:47:54 +02:00
Tom Beckmann
77856c43a5 actually check the plugin's type for ActivatableComponent 2014-10-01 20:48:22 +02:00
Rico Tzschichholz
8540d25388 Fix some issues and codestyle 2014-09-30 17:40:41 +02:00
Rico Tzschichholz
41de35783b Update libmutter bindings to 3.14.0 and bump its requirements 2014-09-30 17:00:49 +02:00
Tom Beckmann
cc244921f9 lib: remove public functions for accessing InputArea, fix input area assignment
Rename now internal InputArea.HOTCORNER to DEFAULT for a more fitting description since
it is used by plugins as well and not just HOTCORNERS in the "default" mode.
Fix InputArea.NONE being always assigned when no hotcorners are configured.
Plugins won't need access to the InputArea functions since they're all handled within
the wm and reconfigured when the plugin changes its area or the wm's modal mode.
2014-08-31 19:09:38 +02:00
Tom Beckmann
d62757998e remove Gee as a depedency for libgala, use GVariant instead of GValue for ActivatableComponent.open 2014-08-24 20:34:00 +02:00
Rico Tzschichholz
3ac84e4a01 Use is_horizontal_dock () of DockPreferences 2014-08-18 09:50:13 +02:00
Rico Tzschichholz
95330478f5 vapi: Update mutter bindings to 3.13.4+ 2014-08-18 08:51:02 +02:00
Rico Tzschichholz
cfcaa85eb6 vapi: Update bindings of gdesktopenums-3.0, gnome-desktop-3.0, libmutter 2014-08-12 13:46:56 +02:00
Tom Beckmann
06ed9866da notifications: add small top offset to notification stack's children
The close button would be beyond the clip region of the stack for the first notification
so we have to move them down slightly in order to prevent it from getting cut off.
2014-08-11 20:47:41 +02:00
Tom Beckmann
48c2779b48 icongroup: Add delay before showing close icon, check condition for showing a close button in central place
Adding a delay should help preventing accidentally closing a workspace.
Checking the condition whether a close button should be shown in a central place fixes the button
appearing after clicking on the last workspace.
2014-08-11 00:54:33 +02:00
Tom Beckmann
887c564fe4 notifications: make sure text is placed below the icon 2014-08-11 00:36:44 +02:00
Tom Beckmann
dc6e1173bb notifications: fix progress bar disappearing when volume is decreased below 0 (which means muted) 2014-08-11 00:30:29 +02:00
Rico Tzschichholz
fe30a890f4 build: Use libcanberra-gtk3 2014-08-10 09:31:27 +02:00
Tom Beckmann
642e840a15 Implement notifications plugin 2014-08-10 03:20:35 +00:00
Tom Beckmann
892cf01dab grab colors for labels from theme (.label and .title) 2014-08-09 11:55:41 +02:00
Tom Beckmann
7815a6e87a use a gtkstylecontext for rendering the notifications, add a fallback style 2014-08-09 00:06:54 +02:00
Tom Beckmann
31b698cf62 make name and comment translatable, update .pot 2014-08-08 19:27:39 +02:00
Tom Beckmann
0911e5fb28 add .desktop file for invoking multitaskingview via dbus 2014-08-08 19:20:59 +02:00
Tigran Gabrielyan
1f98418798 wm: improve nudge effect on attempting to switch to non existent workspace
Changed nudge effect to use KeyframeTransition
Check if nudge effect isn't already played before adding the transition to prevent spasms
2014-08-07 15:48:45 +02:00
Tigran Gabrielyan
c992c5e102 Changed nudge effect to use KeyframeTransition
Check if nudge effect isn't already played before adding the transition to prevent spasms
2014-08-03 19:10:16 -07:00
Tigran Gabrielyan
9319b06b56 Simplified logic 2014-08-03 11:42:01 -07:00
Tom Beckmann
6c691f48bc Merge in trunk 2014-08-03 06:51:13 -05:00
Tom Beckmann
70c74f3dc3 reduce memleaks for valac < 0.26 2014-08-01 13:25:31 +02:00
Tigran Gabrielyan
c1235dd2ce windowclone: adjust position of close button
Adjusted the position of the close icon, it was off and would be hidden by the window to the right of it
2014-08-01 10:56:17 +02:00
Tigran Gabrielyan
32c1eb4362 Adjusted the position of the close icon 2014-07-31 22:46:10 -07:00
Marcus Wichelmann
89e87fb94b IconGroupContainer: Fix calculation of total width
Merged lp:~l-admin-3/gala/icon-position-fix
2014-07-31 01:21:53 +02:00
Marcus Wichelmann
646ced3f92 edited icongroup-position 2014-07-31 00:41:53 +02:00
Rico Tzschichholz
8f3a2eb38d build: Rely on new-dtags support to replace RPATH with RUNPATH 2014-07-30 13:48:13 +02:00
Tom Beckmann
d8a762c9ec Remove EndSessionDialog, it has been moved the Wingpanel. We are required to move it to a native gtk context, because of the troubles CSD is giving windows that are spawned inside the WM. 2014-07-28 18:50:58 +00:00
Tom Beckmann
ed50b232f5 Remove the EndSessionDialog
As dialogs now use CSD we meet problems with decorations if we have the dialog spawned
inside gala since we're required to spawn POPUP type windows, which apparently won't get
decorated and, if forced to receive decorations, act weirdly.
2014-07-28 13:46:44 +02:00
Rico Tzschichholz
7f397dce91 po: Initial translations import 2014-07-24 07:25:01 +02:00
Rico Tzschichholz
24a262abdc notifyserver: Move category-sound-mapping to its own function 2014-07-23 21:38:23 +02:00
Rico Tzschichholz
7b57e7f901 notifyserver: No need to duplicate code 2014-07-23 19:51:49 +02:00
Rico Tzschichholz
1ce3f1d19e notifyserver: Clean ups 2014-07-23 19:23:00 +02:00
Tom Beckmann
fd1c8118d5 decrease close animation duration to 100ms 2014-07-22 20:33:33 +02:00
Tom Beckmann
67da350e65 disable debug print for notifications 2014-07-22 20:18:54 +02:00
Tom Beckmann
d5c9b55385 don't play sounds for confirmation notifications 2014-07-22 20:06:09 +02:00
Daniel Foré
5eb443b3a8 no bounce when dismissing notification 2014-07-21 15:58:08 -07:00
Rico Tzschichholz
009ce114de notify: Optimize and clean up NotifyServer 2014-07-21 17:45:40 +02:00
Tom Beckmann
36bd1cf67c raise stack when a notification appears 2014-07-21 17:48:34 +02:00
Tom Beckmann
539bad0118 add support for 'sound' capability 2014-07-21 17:45:32 +02:00