Commit Graph

8512 Commits

Author SHA1 Message Date
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
Rafael Ferreira
51a153e8cf Updated Brazilian Portuguese translation 2013-12-26 23:33:58 -02:00
Aurimas Černius
3b73f7922d Updated Lithuanian translation 2013-12-22 22:03:17 +02:00
Matej Urbančič
2874d8cca4 Updated Slovenian translation 2013-12-22 19:24:04 +01:00
Benjamin Steinwender
40d30eb6f5 Updated German translation 2013-12-22 19:06:56 +01:00
Wylmer Wang
340c1ff7f3 Update Chinese simplified translation 2013-12-22 22:57:18 +08:00
Dušan Kazik
f6a06e4520 Updated slovak translation 2013-12-22 13:17:41 +01:00
Khaled Hosny
6d57901a11 Update Arabic translation 2013-12-11 06:54:46 +02:00
Debarshi Ray
fa3284232f remoteSearch: Let remote search providers not provide an icon
The documentation indicates that they are optional, so let us make the
code behave accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=719965
2013-12-10 16:59:44 +01:00
A S Alam
a25fc9b14c Update Punjabi Translation by Alam 2013-12-07 19:04:19 -06:00
Florian Müllner
e19faff101 shell-app: Track all application windows
Filtering out "non-interesting" windows beforehand as we currently do
means that we may get properties that should be based on all windows,
like the last time the application was used, wrong.
Just track all windows and filter out non-interesting windows manually
in the one place we actually care about the difference.

https://bugzilla.gnome.org/show_bug.cgi?id=719824
2013-12-07 10:12:38 +01:00
Muhammet Kara
1e6fff30a3 [l10n]Updated Turkish translation 2013-12-07 08:26:02 +02:00
Emin Tufan Çetin
449cb7a36e [l10n]Updated Turkish translation 2013-12-07 08:22:24 +02:00
Jasper St. Pierre
6eb6887a2f messageTray: Only attempt to grab the summary box pointer after showing it
For mysterious reasons I'm not sure of myself, navigate_focus will only focus
mapped actors. So, make sure the widget is showing before navigating to it.

https://bugzilla.gnome.org/show_bug.cgi?id=709853
2013-12-04 13:05:34 -05:00
Sebastien Lafargue
f4f2c91fdf catch more errors on extensions enable() and disable()
https://bugzilla.gnome.org/show_bug.cgi?id=688331
2013-11-28 11:11:01 +00:00
Florian Müllner
621e3d0df8 loginDialog: Implement cancel()
The screen shield expects a cancel() method on the unlockDialog
implementation, but LoginDialog does not provide it currently.

https://bugzilla.gnome.org/show_bug.cgi?id=719378
2013-11-27 14:33:03 +01:00
Ray Strode
4057a87e05 authPrompt: propagate gdm "reset" signal after user switching
After a user types in their password at the login screen, one
of two things can happen

1) a new session is started
2) an existing session is switched to

In the latter case, GDM sends a reset signal to the login screen,
so it knows to go back to the user list and wait to be summoned
again.

Unfortunately, all reset signals are ignored after verification
success.  The reason is because the reset handler was copied from
the unlock dialog as part of a deduplication effort in commit
7e7295f259 and the unlock dialog
handler at the time also emitted a "failed" signal on reset
(which wouldn't make sense to emit after success).

These days "failed" is handled in a different way.

This commit changes the code to let reset signals through after
successful verification.

https://bugzilla.gnome.org/show_bug.cgi?id=710456
2013-11-26 12:48:46 -05:00
Jasper St. Pierre
43f67399a3 messageTray: Prevent reentrancy issues in _updateState
The methods we call in _updateState may not be reentrant, so make
sure that we never get into a situation where _updateState, through
some crazy chain of events, calls itself.

https://bugzilla.gnome.org/show_bug.cgi?id=711694
2013-11-19 17:14:00 +01:00
Florian Müllner
04551850dd Bump version to 3.10.2.1
Update NEWS.
2013-11-15 13:27:09 +00:00
Florian Müllner
2e0312a8ba build: Lower mutter requirement
We don't have a mutter-wayland release for 3.10.2, so lower the
requirement to not end up without wayland support.
2013-11-15 13:25:56 +00:00
Florian Müllner
ac68251a00 Bump version to 3.10.2
Update NEWS.
2013-11-14 12:32:23 +00:00
Shantha kumar
6fd705e009 Updated Tamil Translations 2013-11-11 15:02:33 +05:30
Sphinx Jiang
923a908a2a Update Chinese simplified translation 2013-11-10 11:40:37 +08:00
Florian Müllner
59e868b8f5 popupMenu: Fix removing the active menu from PopupMenuManager
Commit b42af9aa99 changed the parameter list of _closeMenu()
to account for changes in the GrabHelper ungrab mechanism, but
didn't update other callers.

https://bugzilla.gnome.org/show_bug.cgi?id=709806
2013-11-07 00:12:37 +01:00
Florian Müllner
f83144b79a screencast: Validate parameters of ScreencastArea
... just as we do for screenshots.

https://bugzilla.gnome.org/show_bug.cgi?id=699752
2013-11-04 16:59:46 +01:00