Commit Graph

8536 Commits

Author SHA1 Message Date
Pedro Albuquerque
6f0114aec0 Updated Portuguese translation 2015-10-07 07:17:55 +00:00
Pedro Albuquerque
d967ff163b Updated Portuguese translation 2015-10-07 06:30:22 +00:00
Cédric Valmary
8d3f41c785 Added Occitan translation 2015-05-16 07:18:19 +00:00
Mattias Põldaru
97315beca3 [l10n] Updated Estonian translation 2015-04-08 20:42:15 +03:00
Ryan Lortie
56194ae596 network: properly remove connections from list
Due to a typo we were always removing the first (index 0) connection
from the global list of connections instead of the correct one.

This resulted in some connections remaining in the shell's connection
list long after they were removed.  In particular, this resulted in
multiple copies of a bluetooth connection appearing after suspend/resume
(when the device was readded and the cached connection list was
rescanned).

https://bugzilla.gnome.org/show_bug.cgi?id=740227
(cherry picked from commit 3d4408dce8)
2014-11-21 14:17:00 -06:00
Giovanni Campagna
630ad8fd05 ScreenShield: remove obsolete comment and hack
We don't need to wait to until the stage window is mapped to take
the modal grab, because that code now runs in a startup-prepared
signal handler, which in turn runs some time after the mainloop
has started and well after the stage window is mapped.

https://bugzilla.gnome.org/show_bug.cgi?id=711682
2014-07-31 16:56:48 +02:00
Adel Gadllah
2ed619f5de st-scroll-view-fade: Refuse to work without GLSL
Disable the effect when GLSL is not available otherwise we will
crash later.

https://bugzilla.gnome.org/show_bug.cgi?id=733623
2014-07-24 16:56:39 +02:00
Bastien Nocera
17c9f88d87 system: Fix orientation lock never appearing
Typos meant that the orientation service was never detected as running
and that the orientation lock menu item didn't appear.

https://bugzilla.gnome.org/show_bug.cgi?id=733498
2014-07-21 16:07:08 +02:00
Simon McVittie
c95432f3af Specifically ask for Telepathy 0.x
Telepathy 1.0 will not be compatible, and will probably require
source changes. telepathy-glib 0.12 and telepathy-logger 0.2 are
the 0.x ABIs (they were the first stable-branches to have g-i).

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=721704
Reviewed-by: Giovanni Campagna
2014-03-25 17:19:48 +00:00
Jasper St. Pierre
a3d9946803 shell-global: Only set the scale factor if get_setting succeeded
If gdk_screen_get_setting fails, like if it's running without XSettings,
then the GValue will have a value of 0. A lot of code tries to divide by
the scale factor. This produces NaN, and combined with the fact that NaN
is "leaky", we very quickly end up spinning out of control.
2014-03-13 13:37:29 +01:00
Ville-Pekka Vainio
a745c1fe32 Finnish translation update by Jiri Grönroos 2014-03-02 10:51:48 +02:00
Adel Gadllah
45041b4215 perf: Restore shell after runs
Currently running the perf tool results into no wm running
afterwards making it hard for the user to get the results from a terminal
and generally does not make it easy for users to run it to gather numbers.

So restore the shell after the test has completed.

https://bugzilla.gnome.org/show_bug.cgi?id=724870
2014-02-28 21:41:49 +01:00
Florian Müllner
0dab133fe5 windowManager: Activate new workspace before removing the current one
When removing the current workspace, the active workspace is changed
to the preceding one automatically before we change explicitly to the
last workspace. There is no good reason to change workspaces twice in
this case, we can avoid the first one just by changing to the new
workspace before removing any workspaces.

https://bugzilla.gnome.org/show_bug.cgi?id=709064
2014-02-19 21:17:33 +01:00
Florian Müllner
4a9ffb5e2f Bump version to 3.10.4
Update NEWS.
2014-02-19 20:09:53 +01:00
Florian Müllner
4d72af73c8 window-tracker: Be more cautious when setting focus app
Since we started tracking non-interesting windows, we can no longer
assume that if we manage to find an app associated with the focus window,
it should appear focused - we now can find apps for docks, the DESKTOP
window etc.
To restore the old behavior, make sure that the focus window or one of
its parents is "interesting".

https://bugzilla.gnome.org/show_bug.cgi?id=722928
2014-02-19 02:15:39 +01:00
Adel Gadllah
cd40011e36 shell_global: Use correct agruments for in update_scale_factor
Otherwise we crash ...

https://bugzilla.gnome.org/show_bug.cgi?id=705410
2014-02-18 23:39:33 +01:00
Adel Gadllah
9e05e87b5c hdpi: Revert hacks
Revert the hacks that where added in response to a bug caused by
commit ba459f4d20

https://bugzilla.gnome.org/show_bug.cgi?id=705410
2014-02-18 23:39:33 +01:00
Adel Gadllah
03b46a5510 layout: Don't query the monitor size twice 2014-02-17 13:43:25 +01:00
Adel Gadllah
e5c982351f layout: Protect against broken monitor size reports
VNC / XRDP reports nonsensial (i.e 0) monitor dimensions causing us to
end up with a dpi of "Infinity" and thus scale even though we shouldn't.

https://bugzilla.redhat.com/show_bug.cgi?id=1065788
2014-02-17 13:43:13 +01:00
Adel Gadllah
470889f1c3 layout: Set high dpi scaling factor
Set the scaling factor when the dpi is above the hidpi threshold.

https://bugzilla.gnome.org/show_bug.cgi?id=705410
2014-02-15 13:17:40 +01:00
Adel Gadllah
a6fb49b1e2 st: Add high dpi support
Add a scale_factor property to StThemeContext that can
be used to enable (integer) scaling of pixel values.

https://bugzilla.gnome.org/show_bug.cgi?id=705410
2014-02-15 13:17:23 +01:00
Giovanni Campagna
1e40de3779 Don't send all debug messages to Telepathy
The log handler can be invoked at bad times, and in particular
it can be invoked from gsignal with the signal lock taken.
At that time, calling into arbitrary high-level APIs can
cause a dead-lock.
Instead, only send to telepathy the tp-glib debug messages.
Everything else is in the journal anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=724256
2014-02-13 13:06:17 +01:00
Jasper St. Pierre
a5370ce3bd shell-app: Don't crash when trying to dispose
If we dispose a ShellApp that has windows left, then we'll crash
when we remove the last window, as that frees and NULLs out
app->running_state.

https://bugzilla.gnome.org/show_bug.cgi?id=723197
2014-02-06 17:41:50 +01:00
A S Alam
312a749920 update translation for 3.10 branch 2014-02-01 17:13:27 -06:00
A S Alam
ae62bfa12d update Punjabi Translation for Branch 2014-02-01 16:56:19 -06:00
Florian Müllner
c5c3dd0997 shell-app: Track changes to MetaWindow:skip-taskbar
So far we have assumed that whether or not a window is interesting
is static. In general this is the case, but as it is legal for the
underlying properties to change at any time, there are of course
offenders that actually do this (flash I'm looking at ya).
While we used the property to determine whether a window should be
tracked or not, the worst case was showing windows that should be
hidden or missing windows that should be shown.
However as we nowadays base an app's running state on the number of
interesting windows, we need to be more careful in order to avoid
ending up with running apps with no windows.

https://bugzilla.gnome.org/show_bug.cgi?id=723308
2014-01-31 14:00:10 +01:00
Florian Müllner
64b31e9770 window-tracker: Use MetaWindow:skip-taskbar
The code from shell_window_tracker_is_window_interesting() is equivalent
of MetaWindow's skip-taskbar property, so use it to avoid code duplication.

https://bugzilla.gnome.org/show_bug.cgi?id=723308
2014-01-31 10:16:00 +01:00
Stas Solovey
75a5f1accb Fixed Russian translation 2014-01-28 22:15:47 +04:00
Florian Müllner
a6d0e89ecb shell-app: Unref running state when window count drops to zero
With the lastest ShellApp changes, an app is considered stopped
when the last "interesting" window is closed. However the app
may still track non-interesting windows, so if we unref the
running state on the state transition, we hit an assertion later-on
when trying to remove the non-interesting window.
Fix this by keeping the running state around until the last window
is closed.

https://bugzilla.gnome.org/show_bug.cgi?id=722840
2014-01-23 12:46:29 -05:00
Nilamdyuti Goswami
a9d6cc921e Assamese translation updated 2014-01-23 19:08:39 +05:30
Florian Müllner
b84822b725 shell-app: Base running state on "interesting" windows
An app should be considered running if it has at least one "interesting"
window, however the code considers an app running if it has at least
one tracked window. This was fine while we were only tracking interesting
windows, but since commit d21aa0d85f this is no longer the case.
So keep track of the number of interesting windows as well and use that
to determine the running state.

https://bugzilla.gnome.org/show_bug.cgi?id=722690
2014-01-22 22:17:44 +01:00
Florian Müllner
b28ea8ac92 altTab: Always filter out items with no windows
When restricting the switcher popup to the current workspace, we
filter out running apps with an empty window list (namely: no open
windows on the current workspace). However we may end up with an
empty window list even when not restricting items to the current
workspace when all windows of a running app are associated with a
different application via the transient_for hint.
To fix this, just filter out items with an empty window list
unconditionally.

https://bugzilla.gnome.org/show_bug.cgi?id=722434
2014-01-22 13:59:25 -05:00
Florian Müllner
6b34937ead window-tracker: Always enable transient_for redirection
It is possible to associate an application's window with a different
application using the transient_for hint. However we currently only
consider the hint in get_window_app() and not when making the original
association, which opens the door to some confusing inconsistencies;
for instance, get_window_app() will not necessarily return the same
value for all windows retrieved via shell_app_get_windows().
Fix this by looking at the transient_for hint when making the original
association, not just in get_window_app().

https://bugzilla.gnome.org/show_bug.cgi?id=722434
2014-01-22 13:59:25 -05:00
Florian Müllner
1118cf1810 switcherPopup: Fix spacing calculation for empty lists
Without special-casing, our current spacing calculation results in
negative size requests for empty lists, which will trigger a Clutter
assert later.
While the list is never supposed to be empty, bugs happen; crashing
users' systems is the least graceful way of handling this, so don't
do it.

https://bugzilla.gnome.org/show_bug.cgi?id=722434
2014-01-22 13:59:25 -05:00
Giovanni Campagna
d981515b08 Notification: don't expand the content on a destroyed notification
If the notification is destroyed between an allocate and the redraw,
the meta_later is invoked on a destroyed object, and fails because
the clutter calls are invalid at that point.

https://bugzilla.gnome.org/show_bug.cgi?id=722547
2014-01-19 16:01:00 +01:00
Giovanni Campagna
e78c59a4a8 ShellTrayIcon: forward key presses too
StWidget::popup-menu is emitted when Menu/<Shift>F10 is pressed,
not released (for consistency with Gtk+), so we need to forward
that. Note that for key press we don't emit the matching key
release, because the app will take a grab and get the event directly
from X when the key is physicall released.

https://bugzilla.gnome.org/show_bug.cgi?id=721267
2014-01-19 15:52:38 +01:00
Florian Müllner
378659e53d Bump version to 3.10.3
Update NEWS.
2014-01-15 23:07:49 +01:00
Мирослав Николић
c86688dd7d Updated Serbian translation 2014-01-13 09:53:35 +01:00
Мирослав Николић
f54376e2fb Updated Serbian translation 2014-01-13 09:25:18 +01:00
Giovanni Campagna
07ad56b376 ShellWindowTracker: remove gtk-doc marks from private functions
static internal functions should be documented with /*, not /**

https://bugzilla.gnome.org/show_bug.cgi?id=721439
2014-01-04 17:35:37 +01:00
Giovanni Campagna
7c199e0b10 ShellWindowTracker: fix reference counting of ShellApp
All get_app_from_*() helpers are transfer full, but
get_app_from_gapplication_id() was directly returning the result
of lookup_app(), which is transfer none.

https://bugzilla.gnome.org/show_bug.cgi?id=721439
2014-01-04 17:35:36 +01:00
Aurimas Černius
f584e31d77 Updated Lithuanian translation 2014-01-03 23:09:30 +02:00
Christian Kirbach
ba6cf6424c Updated German translation 2014-01-02 14:34:30 +01:00
Adorilson Bezerra
8b291771ab Updated Brazilian Portuguese translation 2014-01-02 04:14:12 -02:00
Matej Urbančič
35a9024ec3 Updated Slovenian translation 2014-01-01 20:06:44 +01:00
Tong Hui
db3c2b07b0 Update Chinese simplified translation 2014-01-01 17:09:44 +08:00
Andika Triwidada
4879e6bee1 Updated Indonesian translation 2013-12-30 13:41:27 +07:00
Marek Černocký
ae050173c4 Updated Czech translation 2013-12-30 00:06:39 +01:00
Marek Černocký
e506458c42 Updated Czech translation 2013-12-29 23:55:01 +01:00
Andika Triwidada
262247a7fd Updated Indonesian translation 2013-12-27 09:39:29 +07:00