Commit Graph

11927 Commits

Author SHA1 Message Date
Florian Müllner
c8e69a2154 menutracker: Fix a small memory leak
https://gitlab.gnome.org/GNOME/gnome-shell/issues/64
2018-03-02 19:43:45 +00:00
Aurimas Černius
3ee50adad9 Updated Lithuanian translation 2018-02-28 23:40:44 +02:00
GNOME Translation Robot
d1386ee8e4 Update Dutch translation 2018-02-26 21:31:44 +00:00
Marek Cernocky
6b994602d5 Updated Czech translation 2018-02-26 18:05:31 +01:00
Marek Cernocky
00039bbb47 Updated Czech translation 2018-02-26 18:00:00 +01:00
GNOME Translation Robot
0195b2f7c0 Update Scottish Gaelic translation
(cherry picked from commit 4d598b3294)
2018-02-26 12:56:36 +00:00
GNOME Translation Robot
adc60f3212 Update Scottish Gaelic translation
(cherry picked from commit e1b9babac5)
2018-02-26 12:50:19 +00:00
Milo Casagrande
579f59816f Update Italian translation 2018-02-26 08:09:42 +00:00
Trần Ngọc Quân
9e0df3c5c6 Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2018-02-26 07:30:59 +07:00
Balázs Úr
c6b14ef97e Update Hungarian translation 2018-02-25 19:54:54 +00:00
Furkan Ahmet Kara
59e535244f Update Turkish translation 2018-02-25 15:49:46 +00:00
Changwoo Ryu
720b9dd3d2 Update Korean translation 2018-02-25 14:48:41 +00:00
Dušan Kazik
60df5b4381 Update Slovak translation 2018-02-24 17:09:59 +00:00
Cheng-Chia Tseng
94a4dc4576 Update Chinese (Taiwan) translation 2018-02-24 13:18:53 +00:00
Wolfgang Stöggl
dbda223858 Update German translation 2018-02-23 15:06:44 +00:00
Daniel Mustieles
822875d5c3 Update Spanish translation 2018-02-23 07:27:14 +00:00
Daniel Mustieles
b11b28b83b Updated Spanish translation 2018-02-22 10:19:35 +01:00
Jonas Ådahl
ea0770ae22 build: Bump mutter API version
The API number was updated, let's keep up.
2018-02-21 19:05:49 +01:00
Florian Müllner
bdc9f293be Bump version to 3.27.91
Update NEWS.
2018-02-21 17:56:00 +01:00
Florian Müllner
922d73a09b Revert "build: Bump mutter API version"
Mutter only bumped the API version after 3.27.91 was released, so
don't require it for gnome-shell's 3.27.91 release.
2018-02-21 17:56:00 +01:00
Jonas Ådahl
46292fbdc5 build: Bump mutter API version
The API number was updated, let's keep up.
2018-02-21 23:49:11 +08:00
Florian Müllner
3b1330880f cleanup: Use Function.prototype.bind()
When not using arrow notation with anonymous functions, we use Lang.bind()
to bind `this` to named callbacks. However since ES5, this functionality
is already provided by Function.prototype.bind() - in fact, Lang.bind()
itself uses it when no extra arguments are specified. Just use the built-in
function directly where possible, and use arrow notation in the few places
where we pass additional arguments.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23
2018-02-21 13:55:02 +00:00
Florian Müllner
213e38c2ef cleanup: Use arrow notation for anonymous functions
Arrow notation is great, use it consistently through-out the code base
to bind `this` to anonymous functions, replacing the more overbose
Lang.bind(this, function() {}).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23
2018-02-21 13:55:00 +00:00
Florian Müllner
76f09b1e49 cleanup: Use method syntax
Modern javascript has a short-hand for function properties, embrace
it for better readability and to prepare for an eventual port to
ES6 classes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23
2018-02-21 13:54:58 +00:00
Florian Müllner
cff0b81f32 tests: Set calendar event source
Ever since commit e9e30138bd (2011!), the calendar only initialized
the header at construction time. Set an event source to trigger an
update of the content area, which is what the test is mainly intended
for.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38
2018-02-21 14:30:52 +01:00
Florian Müllner
23d6c4dcc0 tests: Fix import error in calendar
The Calendar module requires C_ at import time, which is only
available after Environment.init() has been called.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38
2018-02-21 14:30:37 +01:00
Florian Müllner
66c86109dd tests: Fix a warning
Gjs now warns about excess parameters passed to functions, so don't
use Gtk.main_quit directly as signal callback.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38
2018-02-21 14:30:30 +01:00
Florian Müllner
2e45be96b6 tests: Replace "for each" construct
It is no longer supported by recent mozjs versions, so replace it with
a regular for loop to unbreak the tests.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38
2018-02-21 14:30:22 +01:00
Florian Müllner
5d1626aba1 tests: Avoid redeclarations with let
Mozjs made this error fatal a while ago, so those tests were broken
by gjs' JS engine updates.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38
2018-02-21 14:30:09 +01:00
Florian Müllner
b7f083b1da tests: Fix gnome-shell theme import
The current import rule fails in two ways:
 - commit c62e7a6a moved the theme's stylesheet to the builddir
 - since commit 49c4ba56, assets are addressed as resource:// URIs

Fix both issues by loading and referencing the theme resource instead
of the stylesheet itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38
2018-02-21 14:30:00 +01:00
Florian Müllner
2bce1f1510 keyboard: Fix a warning
imports.misc.ibusManager.IBus is declared as const, so referencing it
from another module triggers a warning with recent mozjs. As of commit
083d11a032 IBus is mandatory, so just make it a regular import to avoid
the warning.
2018-02-21 13:19:15 +01:00
Марко Костић
1683f4953e Update Serbian translation 2018-02-21 09:51:44 +00:00
Piotr Drąg
1b2c67a726 Remove po/Makevars
Meson doesn’t use it, and Damned Lies learned to read po/meson.build.
2018-02-21 00:02:41 +01:00
Ray Strode
e1d9bdbbd6 loginDialog: only emit session-activated on user action
Right now we emit session-activated any time the bullet
moves in the session menu. That includes at startup when
picking an item arbitrarily, and any time GDM reports the
session was read from the user's account settings.

session-activated informs GDM about the newly selected session,
so emitting it in response to GDM reporting a session is a
bad idea.

This commit changes the code to only emit session-activated when
the user explicitly activates a session item from the gear menu.

Note, we no longer set the active session explicitly at start up.
This is a good thing since the item we were picking wasn't
necessarily correct.  It does means if GDM fails to inform us
about the correct default session we'll now show no bullet instead
of a bullet on the wrong item.

https://bugzilla.gnome.org/show_bug.cgi?id=740142
2018-02-20 10:27:08 -05:00
Ray Strode
58827ba36d gdm: use password authentication if all schemes are disabled
This prevents a traceback, at least.
2018-02-20 10:21:23 -05:00
Ray Strode
9ef1bc7273 gdm: honor timed login delay even if animations disabled
gnome-shell currently initiates an automatic login attempt if
timed login is enabled and the timed login animation completes.

Unfortunately, if animations are disabled (as is the case for
virtual machines) then the timed login animation will complete
instantly, and timed login will proceed immediately after gnome-shell
has noticed the user is idle for 5 seconds.

This commit addresses that problem by initiating timed login and the
animation from a main loop timeout, instead of using the tweener api.
2018-02-20 10:18:18 -05:00
Florian Müllner
a347ed9912 build: Minor cleanups
find_program() defaults to require the program in question, and as
failing to locate it is now fatal, there's no longer a need for
checking whether it was found later.

Spotted by Michael Catanzaro.
2018-02-20 11:09:40 +01:00
Милош Поповић
99d32d2add Update Serbian Latin translation 2018-02-20 10:02:15 +00:00
Борисав Живановић
2d03e1974a Update Serbian translation 2018-02-20 10:01:08 +00:00
Jakub Steiner
07cae5377a theme: use cantarell light
- lock screen
- date in the calendar popover

fixes issue #45
2018-02-20 09:19:09 +00:00
Jakub Steiner
436cac4134 theme: use cantarell light
- lock screen
- date in the calendar popover

fixes issue #45
2018-02-20 09:19:09 +00:00
Fabio Tomat
117fcc9743 Update Friulian translation 2018-02-19 12:41:20 +00:00
Bruce Cowan
6d969250ca Update British English translation 2018-02-18 10:45:31 +00:00
Robert Antoni Buj Gelonch
d68d1d1371 Update Catalan translation 2018-02-18 08:19:38 +00:00
Baurzhan Muftakhidinov
7d8b9b257a Update Kazakh translation 2018-02-18 04:11:37 +00:00
gogo
f237e42737 Update Croatian translation 2018-02-17 00:04:56 +00:00
Carlos Garnacho
ca095acd34 theme: Update OSK theme
Enter/shift/layout/hide buttons have been made to use our own assets, key
labels have been made slightly bigger, and incorrect padding has been
removed from the extended keys popovers.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46
2018-02-15 21:30:54 +01:00
Carlos Garnacho
630c70f13c keyboard: Set 'latched' pseudo-class on latched shift key
This is pseudo-class is added on .shift-key-uppercase whenever the shift
state is latched, a matching selector would be:
.keyboard-key.shift-key-uppercase:latched {}

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46
2018-02-15 19:36:48 +01:00
Carlos Garnacho
ebb39bcbe2 keyboard: Delegate enter/shift/layout/hide buttons style to theming
Drop the UTF8 glyphs from those, and add style classes so those can be
specifically themed and given a background image. The style classes are:
.keyboard-key.enter-key{}
.keyboard-key.shift-key-lowercase{} /* applies while lowercase */
.keyboard-key.shift-key-uppercase{} /* applies while uppercase */
.keyboard-key.layout-key{}
.keyboard-key.hide-key{}

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46
2018-02-15 19:36:45 +01:00
Carlos Garnacho
9cf2ec8bd2 keyboard: Avoid using key.label for anything else than presentation
Do the finicky checks to adjust key widths and whatnot based on other
values than the label. This makes the label exclusively used for
presentation (i.e. setting up a St.Label).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46
2018-02-15 19:36:41 +01:00