Commit Graph

10997 Commits

Author SHA1 Message Date
Florian Müllner
047376dd1d st-theme-node: Fix lookup of time values
We have a time when the content type is seconds *or* milliseconds,
not seconds *and* milliseconds. Whoops ...

https://bugzilla.gnome.org/show_bug.cgi?id=778145
2017-02-06 14:32:29 +01:00
Mandy Wang
8f7a1df7e7 Update zh_CN translation 2017-02-05 17:58:41 +08:00
Rui Matos
c8cb84b533 Make all our window clones use the MetaWindowActor as source
Using a MetaWindowActor's shaped texture as the source for window
clones means that if there are further MetaSurfaceActor children
(e.g. a wayland client using sub-surfaces) they don't get cloned.

This obviously wasn't an issue until wayland clients introduced the
possibility of having multiple MetaSurfaceActors under a
MetaWindowActor but there's no fundamental reason we can't clone the
toplevel actor.

WorkspaceThumbnail.WindowClone is the one class that was already using
the MetaWindowActor instead of the texture although it seems to have
been an unintended change in commit
8b99617513.

https://bugzilla.gnome.org/show_bug.cgi?id=756715
2017-02-02 14:28:28 +01:00
Adrian Perez de Castro
722bef3d0c Properly detect changes in .desktop files
This fixes the shell not picking updates to the contents of the underlying
.desktop files for application launchers, or when a .desktop file is
overriden by a user-installed one under ~/.local/share/applications

https://bugzilla.gnome.org/show_bug.cgi?id=773636
2017-01-23 17:26:33 -06:00
Alexandre Franke
3c6c51125c Update French translation 2017-01-22 18:13:02 +00:00
Aurimas Černius
a8b008c5cd Updated Lithuanian translation 2017-01-07 15:12:18 +02:00
Michael Catanzaro
b30a528225 network: Avoid JS error when activating VPN connection
If the call to settings.get_connection_by_path in
ensureActiveConnectionProps returns null, we'll hit a JS error here.
Seems to happen always when activating a VPN connection. Avoid that.

Giovanni says:

"I believe this is papering over an existing bug, but it's possible for
settings.get_connection_by_path() to legitimately return null (if the
connection is owned by a different user and invisible to the current
one), so the fix is correct anyway."

https://bugzilla.gnome.org/show_bug.cgi?id=759793
2016-12-27 12:15:28 -06:00
Jonas Ådahl
a6878855e9 gtk-embed: Don't try to compare with unrealized window
After having embedded a Gtk window, we start to listen for the
corresponding MetaWindow to know when it has been mapped by the
compositor. If the embedder does not realize the window immediately,
and some other window is created and mapped before the embedder
realizes the window, we would prior to this patch try to dereference
the not created GdkWindow. Fix this by NULL checking the GdkWindow
before dereferencing. We will never miss the needed MetaWindow creation
since it can not have been mapped have it not yet been realized.

https://bugzilla.gnome.org/show_bug.cgi?id=776130
2016-12-15 21:19:11 +08:00
Florian Müllner
df7727a82b notificationDaemon: Keep source alive when replacing notification
When a GNotification has the same ID as a previous one, it should
be shown as a new notification after withdrawing the old one.
However for this to work, we must not destroy the corresponding
source if withdrawing the old notification lets the notification
count drop to zero, so make sure the source is kept alive until
the replace operation has completed.

https://bugzilla.gnome.org/show_bug.cgi?id=775149
2016-12-12 15:54:37 +01:00
Gianvito Cavasoli
473158db8e Update Italian translation 2016-12-09 10:35:12 +00:00
Niels De Graef
4fa8af925f appFavorites: add Geary in rename list
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=775507
2016-12-07 14:48:30 +01:00
Anders Jonsson
ba35e19e3b Update Swedish translation 2016-11-28 14:00:25 +00:00
Florian Müllner
516568a226 texture-cache: Warn when loading sliced image fails
Sliced images are loaded into a group actor with one child actor
per slice. In case loading the image fails, we currently quietly
return the empty group actor, which makes diagnosing problems
unnecessarily hard - just be a bit more verbose on failure.

https://bugzilla.gnome.org/show_bug.cgi?id=774805
2016-11-28 11:58:48 +01:00
Florian Müllner
92630f67c6 animations: Guard against empty animations
Our animation code not only relies on the animation being loaded
(which we handle), but also on having at least one frame - otherwise
the computation of the next frame index will turn up NaN through
division by zero. Guard against this case by treating empty animations
as not loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=774805
2016-11-28 11:58:48 +01:00
Christian Kirbach
a829784c03 Update German translation 2016-11-26 10:13:16 +00:00
Stas Solovey
f395d3892c Update Russian translation 2016-11-23 21:08:29 +00:00
Debarshi Ray
25f3ce8c14 portalHelper: Address intermittent TLS failures
Users are currently experiencing intermittent (and hard to debug) TLS
errors when loading the portal authentication page. This could be
caused by using http://www.gnome.org/ for our connectivity checks
because it redirects to HTTPS.

We can completely remove TLS from the equation by not using HTTPS.
http://nmcheck.gnome.org/ is a good choice because it doesn't redirect
to HTTPS and was created for NetworkManager's connectivity check.

https://bugzilla.gnome.org/show_bug.cgi?id=769940
2016-11-23 21:37:19 +01:00
Balázs Meskó
8b523d36b8 Update Hungarian translation 2016-11-22 13:39:25 +00:00
Dušan Kazik
bf84939eef Update Slovak translation 2016-11-20 18:25:21 +00:00
Jiri Grönroos
d0e811214b Update Finnish translation 2016-11-19 17:11:32 +00:00
Baurzhan Muftakhidinov
52bbee80a0 Update Kazakh translation 2016-11-19 12:05:30 +00:00
Rafael Fontenelle
7098d6930f Update Brazilian Portuguese translation 2016-11-18 23:41:34 +00:00
Мирослав Николић
df4f2869f0 Updated Serbian translation 2016-11-18 09:08:47 +01:00
Marek Černocký
8fad615f4e Updated Czech translation 2016-11-18 00:43:34 +01:00
Piotr Drąg
b98df643d4 Update Polish translation 2016-11-18 00:05:25 +01:00
Florian Müllner
84649c8276 runDialog: Mark error message as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=774643
2016-11-18 00:00:15 +01:00
Florian Müllner
803406d601 Bump version to 3.22.2
Update NEWS.
2016-11-10 14:52:38 +01:00
Florian Müllner
1bccc9a2d6 network: Always show primary icon when connected
The top bar's network menu only supports a subset of device types
supported by NetworkManager. While not having lesser used options
in the menu itself is perfectly reasonable, not showing any network
icon at all in the top bar when the system is fully connected is
weird.

https://bugzilla.gnome.org/show_bug.cgi?id=773890
2016-11-10 14:42:33 +01:00
Florian Müllner
cf6b44b4bd networkAgent: Invalidate VPN plugin cache on changes
Currently the cache is built once when the first VPN request is
handled, so plugins that are installed or uninstalled after that
aren't picked up. Fix this by invalidating the cache on changes
to the plugin directory.

https://bugzilla.gnome.org/show_bug.cgi?id=773893
2016-11-10 14:42:22 +01:00
Stas Solovey
5858b2266a Update Russian translation 2016-11-08 18:24:45 +00:00
Ray Strode
1878c84eef popupMenu: don't handle key presses directly if there are modifiers
commit 1d58ea25ab changed the
popupMenu code to handle key presses on source actors directly.

This fixed keynav into the session gear menu at the login screen.

Unfortunately, it also causes spurious pop ups if a modifier happens
to be held down.

This commit checks for modifiers and short circuits the up front
key handling if any are found.

https://bugzilla.gnome.org/show_bug.cgi?id=740043
2016-11-07 14:02:22 -05:00
Florian Müllner
931d364079 screenShield: Raise lightbox on blank
The lightboxes used for screen blanking are created during initialization
and shown each time the screen should blank. During the (potentially long)
time where the lightbox is hidden, any actor could be raised above the
lightbox - in particular any popup menu raises itself to the top when
opened. To not exclude those elements from screen blanking, raise the
lightbox every time it is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=773875
2016-11-03 21:16:46 +01:00
Dan Williams
3fd65055f9 network: request periodic scans while the WiFi list is open
NM upstream would like to reduce periodic scanning, and that means
that clients should request scans themselves while their WiFi list
is open.  Similar to the Windows and macOS WiFi dialogs/lists.

https://bugzilla.gnome.org/show_bug.cgi?id=767918
2016-10-30 23:01:54 +01:00
Carlos Garcia Campos
6ed0c16dd0 browser-plugin: The NPObject returned by NPP_GetValue should be retained
The Mozilla documentation says: "And as always when working with
reference counted NPObjects, the caller is responsible for calling
NPN_ReleaseObject on the NPObject to drop the reference."

Browsers assume that the plugin does the right thing and always call
NPN_ReleaseObject. At some point the object is released and deallocated
and both the plugin and browser still have references to the object
thinking that it's still alive. That's why the crash is sometimes in the
plugin when it tries to use the np object, and sometimes in the browser.

https://bugzilla.gnome.org/post_bug.cgi
2016-10-29 09:13:11 +02:00
Piotr Drąg
dd250ec994 Update Polish translation 2016-10-22 16:09:09 +02:00
YunQiang Su
5f13468b35 zh_CN: fix translation of airplane mode 2016-10-18 17:35:21 +08:00
Philip Chimento
054ab6a1ed Update zh_CN translation 2016-10-18 17:30:44 +08:00
Fabio Tomat
0b8ae22aa3 Update Friulian translation 2016-10-17 10:24:34 +00:00
Fabio Tomat
25e1b2548c Update Friulian translation 2016-10-17 10:14:52 +00:00
Kjartan Maraas
5b21bca4f4 Updated Norwegian bokmål translation from Kjartan Maraas. 2016-10-16 19:41:59 +02:00
Cosimo Cecchi
5a08886ed6 osdWindow: always round-up sizes when updating allocation
This fixes the OSD window flickering horizontally at certain
resolutions.

https://bugzilla.gnome.org/show_bug.cgi?id=772287
2016-10-10 17:25:48 -07:00
Cosimo Cecchi
3679a8cdc4 osdWindow: relayout when scale factor changes
We currently rely on the "monitors-changed" signal of LayoutManager to
relayout the OSD window. That is not enough, since the scale factor also
changes the way the OSD window is sized, and that can be updated after
"monitors-changed" has been received.
The visual effect is that under some circumstances, the OSD window will
have the wrong size under HiDpi.

This commit fixes the issue by triggering another relayout when the
scale factor changes.

https://bugzilla.gnome.org/show_bug.cgi?id=772723
2016-10-10 17:25:47 -07:00
Florian Müllner
6ebabd50c6 Bump version to 3.22.1
Update NEWS.
2016-10-11 00:57:38 +02:00
Florian Müllner
0c22a21a24 window-tracker: Consider Flatpak ID for window matching
Our window matching currently fails frequently with Flatpak
applications, as one of the primary hints used to link windows
with .desktop files - the WM_CLASS - no longer matches when
flatpak renames the exported .desktop file. Worse, as Flatpak
applications are run in their own PID namespace, different
apps frequently share a common _NET_WM_PID, resulting in
unrelated apps being grouped together by one of the fallback
paths. To match Flatpak applications reliably, take the newly
exported Flatpak ID into account.

https://bugzilla.gnome.org/show_bug.cgi?id=772615
2016-10-10 23:40:39 +02:00
gogo
70a0c4211c Update Croatian translation 2016-10-10 18:16:38 +00:00
gogo
a21af541c4 Add Croatian translation 2016-10-09 19:23:52 +00:00
Cheng-Chia Tseng
e07ba91486 Update Chinese (Taiwan) translation 2016-10-09 14:14:46 +00:00
Carlos Garnacho
a22e9ce9cd st: Ignore filtered selection events not meant to our clipboard window
Other windows like the mutter Xwayland selection bridges might deal with
the clipboard, which would result in events visible on st-clipboard event
filters.

In order to avoid unintended results, ignore events that are not meant for
the clipboard window.

https://bugzilla.gnome.org/show_bug.cgi?id=760745
2016-10-09 10:57:47 +02:00
Florian Müllner
d4ce51b1b7 altTab: Consider attached modals for window order
Similar to bug 667552 for the app switcher, attached modal dialogs
can result in an unexpected window order in the window switcher:
Selecting a window with an attached dialog will focus the dialog
instead, but as the dialog itself is ignored in the window list,
its last-used timestamp is not taken into account for the position
in the MRU list. Fix this by fetching the list of all NORMAL windows
and filter out skip-taskbar windows ourselves, while making sure that
windows appear in the position of their attached modal dialog where
appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=747153
2016-10-07 14:51:15 +02:00
Milo Casagrande
830005069c Updated Italian translation 2016-10-06 11:48:53 +00:00