Commit Graph

1999 Commits

Author SHA1 Message Date
José Expósito
b2269aeb27 meson.build: Add libcanberra as dependency
Even though libcanberra is listed in the README.md file as dependency,
it wasn't actually used.

Add it as dependency in meson.build.
2021-06-30 08:45:55 +02:00
imgradeone Yan
695bae3219 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (45 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/zh_Hans/
2021-06-20 11:45:18 +00:00
José Expósito
491b3cc6e5 Screenshot: Save to clipboard using shortcuts
Allow to save screenshot to clipboard when the filename received is
empty.

Not changing the save_image_to_file to keep backward compatibility.

Fix #1137
2021-06-17 10:51:11 -06:00
José Expósito
0c9a68aa8b Screenshot: Refactor ScreenshotManager.save_image
In previous versions of GNOME Settings daemon (elementary OS <= 5),
saving to clipboard was handled by the daemon. The daemon used to
request Gala to save the screenshot in a temp path like
"/tmp/gnome-settings-daemon-screenshot-XXXX" and copied the image to
the  clipboard from there.

More information: https://github.com/elementary/gala/issues/474

Now, Gala is in charge of copying to clipboard when the take screenshot
methods receive an empty filename.

This commit: Move the code from save_image to save_image_to_file.
2021-06-17 10:51:11 -06:00
José Expósito
c0506cb99b Multitasking view: Ajust window icon on scaling factor change 2021-06-17 10:19:43 -06:00
José Expósito
4be64574c0 Multitasking view: Ajust close window button on scaling factor change 2021-06-17 10:19:43 -06:00
José Expósito
afa6d6bd43 Multitasking view: Do not reuse scaling factor
The scaling factor can change at any point, but the WindowClone was
saving a value calculated in the constructor, creating several bugs when
scaling was changed.

Remove that pre-calculated value and use always a fresh value.
2021-06-17 10:19:43 -06:00
José Expósito
5693e10940
README: Update dependency versions (#1164) 2021-06-17 08:49:58 +02:00
Jeremy Wootten
8d3bbc7635 Fix lint error in src/InternalUtils.vala 2021-06-15 13:50:50 -06:00
Jeremy Wootten
bef79790a6 Fix lint errors in src/WindowManager.vala 2021-06-15 13:50:50 -06:00
Jeremy Wootten
25c83a2dde Fix lint errors in src/Background/BackgroundSource.vala & src/Widgets/Screenshield.vala 2021-06-15 13:50:50 -06:00
Jeremy Wootten
6d025daa69 Fix lint error in src/Widgets/WindowCLone.vala 2021-06-15 13:50:50 -06:00
Jeremy Wootten
3101cafbb2 Fix lint error in src/Widgets/WorkspaceClone.vala 2021-06-15 13:50:50 -06:00
Jeremy Wootten
c7903c9062 Replace tabs with spaces in vapi/Clutter-6-custom.vapi 2021-06-15 13:50:50 -06:00
Jeremy Wootten
33295e8365 Replace tabs with spaces i vapi/Clutter-7-custom.vapi 2021-06-15 13:50:50 -06:00
Jeremy Wootten
fd16bcd5c3 Replace tabs with spaces in vapi/Cogl-6-custom.vapi 2021-06-15 13:50:50 -06:00
Jeremy Wootten
9dd7861067 Replace tabs with spaces in /vapi/Cogl-7-custom.vala 2021-06-15 13:50:50 -06:00
Jeremy Wootten
f5a0463329 Fix lint errors in /daemon/MenuDaemon 2021-06-15 13:50:50 -06:00
Jeremy Wootten
eaa05aeb68 Fix lint errors in /src/DBus.vala 2021-06-15 13:50:50 -06:00
Daniel Foré
6ba3b25118 Add Lint to CI 2021-06-15 13:50:50 -06:00
José Expósito
1fa2d359a6
Desktop context menu: Do not show scroll (#1153)
Avoid showing scroll when the desktop context menu is displayed close to
the screen bottom edge.

This behavious was caused by the "push_in" param in the popup
GtkMenuPositionFunc callback:

> Note that moving and possibly resizing the menu around will alter the
> scroll position [...]. In practice, this behavior is only useful for
> combobox popups or option menus
https://developer.gnome.org/gtk3/stable/GtkMenu.html#GtkMenuPositionFunc

Fix #1146

Co-authored-by: Cassidy James Blaede <cassidy@elementary.io>
2021-06-14 10:39:00 -06:00
José Expósito
11643da1e5
a11y: Delay dwell click timer animation (#1156) 2021-06-04 09:00:42 -07:00
José Expósito
29cd5ad361 IconGroupContainer: Force re-layout
To avoid visual glitches when the scaling factor is changed, re-layout
the IconGroupContainer before the multitasking view is opened.
2021-06-04 09:57:24 -06:00
José Expósito
218cf00402 WindowIconActor: Resize on scalling factor change
To avoid visual glitches when the scaling factor is change, take
scalling factor into account to resize the icon.
2021-06-04 09:57:24 -06:00
José Expósito
f02019fd76 IconGroup: Resize the close button on redraw
To avoid visual glitches when the scaling factor is changed, adjust the
close button size on redraw to make sure the current scale factor is
used.
2021-06-04 09:57:24 -06:00
José Expósito
a7fb5107fe IconGroup: Refactor the close button placement
Move the code to place the IconGroup close button to a funtion to be
able to reuse it.

Refactor, no functional changes.
2021-06-04 09:57:24 -06:00
José Expósito
d993d095c1 IconGroup: Resize the canvas on redraw
To avoid visual glitches when the scaling factor is change, adjust the
canvas size on redraw to make sure the current scale factor is used.
2021-06-04 09:57:24 -06:00
José Expósito
ab351ea321 IconGroup: Refactor the canvas resize logic
Move the code to resize the IconGroup canvas to a funtion to be able to
reuse it.

Refactor, no functional changes.
2021-06-04 09:57:24 -06:00
Allan Nordhøy
dce79fdf2e Translated using Weblate (Norwegian Bokmål (nb))
Currently translated at 91.1% (41 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/nb/
2021-06-03 15:18:33 +00:00
Uwe S
e1f2f8d1ec Translated using Weblate (German)
Currently translated at 93.3% (42 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/de/
2021-05-21 19:39:59 +00:00
Corentin Noël
c104d22b54 Translated using Weblate (Marathi)
Currently translated at 93.3% (42 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/mr/
2021-05-21 09:46:38 +00:00
Corentin Noël
e99a492ce5 Translated using Weblate (German)
Currently translated at 93.3% (42 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/de/
2021-05-21 09:46:38 +00:00
Adolfo Jayme Barrientos
456341d3e2 Translated using Weblate (Spanish)
Currently translated at 100.0% (45 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/es/
2021-05-19 19:48:40 +00:00
Alvaro
83b7ab2083 Translated using Weblate (Spanish)
Currently translated at 97.7% (44 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/es/
2021-05-19 11:42:27 +00:00
José Expósito
55b34dd5eb
Fix #1131: Multitasking view: Keyboard focus highlight should use accent color (#1133) 2021-05-18 11:59:14 -07:00
José Expósito
16c112ccef
Multitasking view: Animate the dock when small size is selected (#1138) 2021-05-18 11:55:01 -07:00
José Expósito
ef536fa014
multitasking-view: Keyboard navigation rounded highlight (#1130) 2021-05-09 10:11:58 -07:00
Harrison Xu
58ffb6d3da Translated using Weblate (Chinese (Simplified))
Currently translated at 95.5% (43 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/zh_Hans/
2021-05-05 10:46:40 +00:00
Ozgur Baskin
97a424f527 Translated using Weblate (Turkish)
Currently translated at 100.0% (45 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/tr/
2021-05-05 10:46:40 +00:00
Jiri Grönroos
cef657ff95 Translated using Weblate (Finnish)
Currently translated at 77.7% (35 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/fi/
2021-05-04 13:48:32 +00:00
Marius Meisenzahl
915712865d
Set accent color based on primary color (#1124) 2021-05-03 10:58:30 -07:00
Hugo Carvalho
a4b4c4b89d Translated using Weblate (Portuguese)
Currently translated at 100.0% (45 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/pt/
2021-05-02 16:01:26 +00:00
Marius Meisenzahl
5cf9308ca6
Set accent color based on wallpaper (#1104)
* Add libgexiv2-dev as dependency

* Add classes

* Add demo

* Fix signal

* Cleanup

* Use Granite.Settings

* Revert "Use Granite.Settings"

This reverts commit a2da4bbbdb.

* Sort dependencies alphabetically

* Cleanup class NamedColor

* Read color from Gtk theme

* Cleanup
2021-04-29 16:36:59 -06:00
nasserbinlaboun
3d3a69a594 Translated using Weblate (Arabic)
Currently translated at 53.3% (24 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/ar/
2021-04-26 12:57:28 +00:00
EpixMan
019e8ddfd1 Translated using Weblate (Arabic)
Currently translated at 53.3% (24 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/ar/
2021-04-26 12:57:28 +00:00
nasserbinlaboun
7e178a6f37 Translated using Weblate (Arabic)
Currently translated at 46.6% (21 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/ar/
2021-04-26 11:34:23 +00:00
EpixMan
fc1aa842a7 Translated using Weblate (Arabic)
Currently translated at 46.6% (21 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/ar/
2021-04-26 11:34:23 +00:00
nasserbinlaboun
1d000c5a32 Translated using Weblate (Arabic)
Currently translated at 44.4% (20 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/ar/
2021-04-26 11:32:35 +00:00
EpixMan
1bcadac79a Translated using Weblate (Arabic)
Currently translated at 44.4% (20 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/ar/
2021-04-26 11:32:35 +00:00
nasserbinlaboun
e11da11d87 Translated using Weblate (Arabic)
Currently translated at 42.2% (19 of 45 strings)

Translation: Desktop/Gala
Translate-URL: https://l10n.elementary.io/projects/desktop/gala/ar/
2021-04-26 11:29:00 +00:00