Commit Graph

166 Commits

Author SHA1 Message Date
JosephMcc
9502677835 PiP: Fix wrong size close button on HiDPI (#294)
Don't resize the button returned by create_close_button ().
2018-07-15 02:00:58 +02:00
Rico Tzschichholz
95aa47d8f4 Drop autotools buildsystem 2018-03-18 16:11:11 +01:00
Rico Tzschichholz
ffcde2a31a meson: Use install_rpath as needed (#200) 2018-03-14 02:46:38 -05:00
Rico Tzschichholz
ded8fd9345 Initial meson support 2018-03-11 19:26:03 +01:00
Adam Bieńkowski
0d291a7b73 pip: only update focus changes when switching from a normal window (#170)
Do not update PiP window visibility when switching from a non-normal
window, that is docks, desktop windows etc. This prevents hiding the
PiP window when e.g: showing a popover from wingpanel.
2018-02-14 21:26:44 +01:00
Adam Bieńkowski
c0eb426f81 pip: Hide the preview when the target window is focused (#166) 2018-01-30 14:59:30 +01:00
Daniel Foré
981eff8442 notify: Fix stroke width and border radius on HiDPI (#92) 2017-10-01 15:47:09 +02:00
Daniel Foré
1e29ce3487 maskcorners: Fix size of radius in HiDPI (#93) 2017-10-01 13:59:36 +02:00
Corentin Noël
9b68c4b664 notify: Make notifications to be HiDPI compatible 2017-09-28 16:47:02 +02:00
donadigo
bb686ff27b pip: Check cursor's coords against window's frame-rect 2017-09-24 10:22:25 +02:00
Adam Bieńkowski
fb8364ca0c pip: Don't include shadows by using window's frame-rect (#74) 2017-09-17 13:07:54 +02:00
Rico Tzschichholz
bcff07504a notify: Avoid ambiguous reference to GLib.Settings 2017-07-22 07:01:39 +02:00
Rico Tzschichholz
80f2ac39de utils: Add resize button methods and make use of them in pip 2017-07-18 19:13:47 +02:00
donadigo
b7bfe3e5de pip: Fix ShadowEffect namespace 2017-07-18 09:25:51 +02:00
Adam Bieńkowski
52678172d3 pip: Add Picture In Picture plugin (#32) 2017-07-16 22:00:23 +02:00
Felipe Escoto
112a261ba3 notify: Check array-length before accessing it 2017-02-20 11:19:06 +01:00
Rico Tzschichholz
0c5b1307bb maskcorners: Add missing license header 2017-01-05 15:03:38 +01:00
Corentin Noël
9665ae90d6 data: Replace png with svg files 2016-12-31 09:08:58 +01:00
Rico Tzschichholz
9469155b44 Add support for mutter 3.22
Replace clutter-gtk-1.0 with native clutter-1.0 API and use mutter's
internal clutter/cogl libraries if needed.
2016-11-15 17:13:39 +01:00
Rico Tzschichholz
e3d683809c notify: Check type of "desktop-entry" hint before retrieving it 2016-08-21 15:43:54 +02:00
Rico Tzschichholz
f136229957 Drop obsolete VALA_0_26 conditionals 2016-08-04 22:00:06 +02:00
Rico Tzschichholz
cf82dd5ca9 Guard usage of actors retrieved from Meta.Compositor.get_window_actors()
Ignore an actor if is_destroyed() is true to avoid using them in an
unstable state.
2016-08-04 09:37:29 +02:00
Adam Bieńkowski
246dead5dc notify: freeze track of notifications area only when a notification animation is happening 2016-07-29 00:19:16 +02:00
felescoto95@hotmail.com
b8e1a694c1 NotifyServer: use app_id as key for notification settings with gala-other as the fallback
The included .desktop file allows switchboard-plug-notifications to control notifications from applications using the outdated method for sending them
2016-07-14 15:04:44 -05:00
Rico Tzschichholz
5dfa702811 Use clutter methods instead of properties if useful 2015-11-12 09:25:27 +01:00
Daniel Foré
35f39f8a5e notify: don't force symbolic icons 2015-11-16 11:48:30 -08:00
Rico Tzschichholz
2fe0fbadf7 Drop support for mutter < 3.14.4 2015-11-11 20:56:40 +01:00
Rico Tzschichholz
64ce43d990 Use built-in Clutter methods. 2015-10-22 16:57:27 +02:00
Corentin Noël
28b34f62c4 Removed deprecation warnings. 2015-10-18 23:56:40 +02:00
LemonBoy
c7bc6df28f notify: Color the symbolic icons using the text foreground color. 2015-10-09 18:39:15 +02:00
Marcus Wichelmann
36ab48433a Notification backend updated 2015-09-22 15:58:21 +02:00
Rico Tzschichholz
934bfb88ec notfiy: The hint is actually called "suppress-sound" 2015-06-12 18:07:13 +02:00
Rico Tzschichholz
9e5cf6d3f8 notify: Fix broken r468 2015-06-05 20:03:11 +02:00
Marcus Wichelmann
12319569ea notify: Make application-notification-keys case-insensitive 2015-06-03 13:18:23 +02:00
Rico Tzschichholz
aa305ef8f2 notify: Cleaning up NotifyServer 2015-06-03 12:52:33 +02:00
Rico Tzschichholz
8984b60397 notify: Fix typo 2015-05-26 13:18:07 +02:00
Akshay Shekher
8ada58ccfc scale down icon if it is bigger than the required size 2015-05-26 15:13:31 +05:30
Rico Tzschichholz
f0981646c6 zoom: Optimize use of Meta.KeyHandlerFunc 2015-03-12 15:47:16 +01:00
Rico Tzschichholz
8f374b86df notify: Don't take a reference of NotifySettings 2015-03-12 15:15:47 +01:00
Rico Tzschichholz
f2afc60db2 Avoid returning a new reference of singletons 2015-03-12 15:10:18 +01:00
Rico Tzschichholz
c594f8e9a7 build/notify: Don't remove image-data file on make clean 2015-03-04 11:56:41 +01:00
Rico Tzschichholz
638849eb2b build: Let gala provide a public library for 3rd party plugin development 2015-03-04 10:51:43 +01:00
Rory J
2233bc05ab Dismiss notification after default action or app focus 2015-02-09 22:10:34 +00:00
Rory J
484f13842b Implement Mask Corners plugin 2015-02-05 20:15:55 +00:00
Tom Beckmann
e02db107d9 notifications: minor cleanup to rev423 2014-11-16 00:59:26 +01:00
Marcus Wichelmann
03bb3a941d Simplification. 2014-11-15 18:37:28 +01:00
Marcus Wichelmann
370a4e932b Some improvements. Bugfix. 2014-11-15 17:22:06 +01:00
Marcus Wichelmann
bb65c2f92f Improved consitstency. 2014-11-14 16:17:19 +01:00
Marcus Wichelmann
c0ca90bb4f priority-system removed 2014-11-11 22:55:05 +01:00
Marcus Wichelmann
f4d5918887 Some improvements 2014-11-11 22:43:35 +01:00
Marcus Wichelmann
c111f85e53 Confirmations are now excluded. 2014-11-09 23:27:08 +01:00
Marcus Wichelmann
1c9f5f1383 Added some security checks. 2014-11-09 18:58:38 +01:00
Marcus Wichelmann
077e8ef56f Schema changed. Priority-check added. 2014-11-07 16:11:23 +01:00
Marcus Wichelmann
feefd5376c Added is-in-array-check. 2014-11-03 12:56:12 +01:00
Marcus Wichelmann
0fb8b64a9c "Do Not Disturb"-Mode added. 2014-11-03 12:35:33 +01:00
Marcus Wichelmann
6fd5cd0a60 gsettings-schema added. 2014-11-03 12:23:35 +01:00
Marcus Wichelmann
ca4e10f56a Notify-Settings added. 2014-11-03 12:08:16 +01:00
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
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
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
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
70c74f3dc3 reduce memleaks for valac < 0.26 2014-08-01 13:25:31 +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
Tom Beckmann
87ab6ea9df implement close_notification and notification_closed from the spec 2014-07-21 04:00:32 +02:00
Tom Beckmann
5975802d1f fix silly typo blocking redraws on height change 2014-07-21 03:30:06 +02:00
Tom Beckmann
7757177ffa use correct height for sliding transitions, fix weirdnes with replacing confirmations 2014-07-21 03:21:19 +02:00
Tom Beckmann
f3868155ca minimal cleanup 2014-07-21 02:53:07 +02:00
Tom Beckmann
051e589688 use correct timeout value for updates 2014-07-21 02:27:41 +02:00
Tom Beckmann
ab2f4ff289 add sliding transitions to NormalNotifactions on update 2014-07-21 02:23:28 +02:00
Tom Beckmann
95f4971419 add a mask around images on notifications 2014-07-20 21:01:52 +02:00
Tom Beckmann
bd34ddd925 clip the container to not show the close animation on a secondary screen, add margin between monitor edge and notifications 2014-07-19 22:41:50 +02:00
Rico Tzschichholz
88b2718c75 Replace dbus-glib dependent sources 2014-07-19 21:42:33 +02:00
Tom Beckmann
e31834592c optimize spacing between labels 2014-07-19 19:28:47 +02:00
Tom Beckmann
936d9655e1 Only show a single confirmation notification at a time, add sliding transition to update a confirmation notification's content 2014-07-19 19:03:17 +02:00
Tom Beckmann
930b48fea8 Fix markup issues 2014-07-19 17:49:14 +02:00
Rico Tzschichholz
10733dbf58 Some clean ups 2014-07-19 11:37:14 +02:00
Daniel Foré
c03dfb41e8 make notifications appear much faster 2014-07-18 18:30:46 -07:00
Daniel Foré
0c9a89a8e7 minor tweaks to confirmation progress bar appearance 2014-07-18 17:55:37 -07:00
Tom Beckmann
8175fdf04b add fallback support for icons, drop icon animation for NORMAL priority notifications 2014-07-19 02:42:21 +02:00
Daniel Foré
8f52a66f82 offset shadow 2014-07-18 17:13:08 -07:00
Daniel Foré
6e131b8c7d actually fix it 2014-07-18 17:07:49 -07:00
Daniel Foré
7cbba07691 try to fix drawing 2014-07-18 16:47:51 -07:00
Tom Beckmann
8e02d3f552 add support for icon only notifications 2014-07-18 13:35:01 +02:00
Tom Beckmann
904cf24f2e add basic support for confirmation notifications 2014-07-18 13:12:31 +02:00
Tom Beckmann
b2d0f3f387 update to trunk rev394 2014-07-18 10:24:26 +02:00
Tom Beckmann
56688c04cf lib: drop unused symbol, update regions after freeze_track is disabled, don't expose X or Bamf to the API 2014-07-18 09:44:04 +02:00
Tom Beckmann
b3597ec367 update animations 2014-07-18 02:15:55 +02:00