Commit Graph

9018 Commits

Author SHA1 Message Date
Jasper St. Pierre
8fe7f923ec appDisplay: Move from instanceof-testing to polymorphic duck typing
Instead of having _compareItems, _getItemId, etc. on the view to
pull out info about items, use the AppIcon / FolderIcon items we
create as a place to track this additional info. We now require
that these items have a '.id' property for deduplication, and a
'.name' property to sort by.

https://bugzilla.gnome.org/show_bug.cgi?id=722117
2014-01-13 17:28:32 -05:00
Jasper St. Pierre
933f38390b background: Don't require passing in a background to _updateBackground()
To make debugging background issues easier.
2014-01-13 17:14:58 -05:00
Giovanni Campagna
a4e019442f AppDisplay: fix isTerminal() check for apps without categories
If there is no Categories line in the .desktop file, get_categories()
returns null, not an empty array.
2014-01-13 23:13:28 +01:00
Jonh Wendell
d1c4e60636 switcherPopup: Always show the arrows if the popup is scrollable
Currently we only show/hide the left and right arrows when
we reach the initial/end position. This patch changes this
behaviour by showing the arrows whenever is a scroll is possible.

https://bugzilla.gnome.org/show_bug.cgi?id=711467
2014-01-13 16:02:35 -02:00
Ray Strode
765d0228c0 loginDialog: move user list loading after actors are constructed
Right now we queue populating the user list in the middle of setting
up the dialog actors. Of course, the actual population happens some time
later after going back to the main loop.

It's more logical to structure the code so the the actors are
instantiated first in one block and then other things after that.

This commit moves the user list population enqueuing operation to the
bottom of the constuctor.

https://bugzilla.gnome.org/show_bug.cgi?id=721868
2014-01-13 12:42:39 -05:00
Ray Strode
2d2020a20d loginDialog: defer loading user list until idle
In some cases we load the user list after going back
to main loop and in other cases we load the user list
right away (depending on if accounts service is ready).

In the case we load the user list right away we cause a
traceback because loading the user list forces a reset,
which then tries to reset actors which aren't instantiated
yet.

This commit ensures the user list is loaded after the constructor
finishes and the event loop runs irregardless of the accountsservice
state.

https://bugzilla.gnome.org/show_bug.cgi?id=721868
2014-01-13 12:42:33 -05:00
Jasper St. Pierre
03ab282f67 appDisplay: Fix style 2014-01-13 11:39:30 -05:00
Fran Diéguez
7f94cb1cad Updated Galician translations 2014-01-13 01:46:07 +01:00
Dimitris Spingos
a2a303bd72 Updated Greek translation 2014-01-12 19:53:24 +02:00
Jasper St. Pierre
d34bf9a14d app-system: Remove unnecessary debugging statement
It's just spam.
2014-01-10 15:19:07 -05:00
Debarshi Ray
68faba6bde appDisplay: Special case terminal launching
One of the most frequent complaints about our launching behaviour is
how we handle terminals. Among all MDI applications, the terminal is
the one that is most likely to have lots of semi-independent windows
opened at the same time, and spawning new windows is much more common.
More so, if it does not support tabs.

Therefore, we special case terminal launchers to always create a new
window. It is an application that most non-technical users will not
use, so chances of them being confused by any special behaviour is
expected to be low.

https://bugzilla.gnome.org/show_bug.cgi?id=695010
2014-01-10 12:08:14 +01:00
Jasper St. Pierre
5c5b9cfd96 Also update gtkaction*
Forgot about this.
2014-01-09 14:59:31 -05:00
Jasper St. Pierre
9d683f4767 gtkmenutracker: Update from GTK+ 2014-01-09 14:47:11 -05:00
Florian Müllner
f2912bad95 fileUtils: Remove listDirAsync()
It's unused since commit da4238ec68, just kill it.

https://bugzilla.gnome.org/show_bug.cgi?id=721629
2014-01-09 13:23:26 -05:00
Yosef Or Boczko
c8adfe0131 Updated Hebrew translation 2014-01-08 17:32:29 +02:00
Daniel Mustieles
8b7e637e74 Updated Spanish translation 2014-01-08 12:43:32 +01:00
Ray Strode
43cffd7c4a main: allow session mode to be specified in the environment
Specifying the session mode on the command-line doesn't play
well with session management (since the saved session desktop
file well either drop the specified session mode, or force it
always, even if the user picked a different mode at the login
screen)

This commit adds support for specifying the session mode via an
enviroment variable. For now, keep the old command line interface
for backward compatibility

https://bugzilla.gnome.org/show_bug.cgi?id=720894
2014-01-07 16:36:26 -05:00
Andika Triwidada
f3dad3765e Changed obsolete FSF postal address.
https://bugzilla.gnome.org/show_bug.cgi?id=721507
2014-01-08 04:35:14 +07:00
Victor Ibragimov
70c25141fc Tajik translation updated 2014-01-07 23:32:30 +05:00
Piotr Drąg
b1b81a2672 Improve some strings in gschema file 2014-01-07 18:55:25 +01:00
Victor Ibragimov
46197bf262 Tajik translation updated 2014-01-07 13:49:47 +05:00
Milo Casagrande
58ec409e7f [l10n] Updated Italian translation. 2014-01-06 09:42:06 +01:00
Baurzhan Muftakhidinov
c2d68599de Update Kazakh translation 2014-01-05 20:31:42 +06:00
Giovanni Campagna
65f00f3af2 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:34:29 +01:00
Giovanni Campagna
6544326ffd 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:34:10 +01:00
Andika Triwidada
a23c206ccb Updated Indonesian translation 2014-01-04 10:25:11 +07:00
Giovanni Campagna
1b152e6bd0 WorkspacesView: fix removal of workspaces that are not at the end
Workspaces can removed from any index, and in particular they
will be removed by the WorkspaceTracker if they stop containing
windows at some point. Make sure WorkspacesView is not confused
and destroyes the right Workspace objects.

https://bugzilla.gnome.org/show_bug.cgi?id=721417
2014-01-03 22:46:45 +01:00
Aurimas Černius
d9624d9882 Updated Lithuanian translation 2014-01-03 23:13:04 +02:00
Jasper St. Pierre
178b8471cc shell-global: Remove an explicit js-version set
gjs's default js-version is already 1.8, and we're planning on removing
this API in the future, in accordance with upstream.
2014-01-02 13:41:14 -05:00
Christian Kirbach
719d2092a7 Updated German translation 2014-01-02 14:43:18 +01:00
Adorilson Bezerra
2f3a4675da Updated Brazilian Portuguese translation 2014-01-02 04:16:35 -02:00
Matej Urbančič
9513be664b Updated Slovenian translation 2014-01-01 20:06:54 +01:00
Tong Hui
64d8b7853a Update Chinese simplified translation 2014-01-01 17:02:30 +08:00
Daniel Mustieles
4174e57c13 Updated Spanish translation 2013-12-30 11:55:56 +01:00
Marek Černocký
88b395599a Updated Czech translation 2013-12-30 00:10:17 +01:00
Marek Černocký
b6d682c92c Updated Czech translation 2013-12-29 23:55:23 +01:00
Rafael Ferreira
3b02894341 Updated Brazilian Portuguese translation 2013-12-26 23:45:28 -02:00
Giovanni Campagna
f3feb13dfe ShellAppSystem: own the memory for the startup wm class and app id
The hash table must keep a copy of the IDs, because the GAppInfos
are unreferenced (and thus freed) at the end of the function.
This was possibly not a problem if the GAppInfos were referencing
the memory-mapped cache, but it becomes one for regularly parsed
desktop files in ~/.local.

https://bugzilla.gnome.org/show_bug.cgi?id=721039
2013-12-26 23:44:54 +01:00
Milo Casagrande
114d8d0aba [l10n] Updated Italian translation. 2013-12-24 10:27:16 +01:00
Kjartan Maraas
503a843bb3 Updated Norwegian bokmål translation 2013-12-23 10:25:28 +01:00
Jorge Pérez Pérez
c4d91aff40 Updated Aragonese translation 2013-12-22 21:16:13 +01:00
Matej Urbančič
2ffe5faf6e Updated Slovenian translation 2013-12-22 19:24:13 +01:00
Benjamin Steinwender
5d2a03aa82 Updated German translation 2013-12-22 18:59:27 +01:00
Tong Hui
f4c83d1221 Update Chinese simplified translation 2013-12-22 22:54:09 +08:00
Dušan Kazik
100e91714b Updated slovak translation 2013-12-22 13:14:30 +01:00
Florian Müllner
dafb7b5259 Bump version to 3.11.3
Update NEWS.
2013-12-19 21:54:37 +01:00
Daniel Mustieles
92906e217c Updated Spanish translation 2013-12-19 14:36:46 +01:00
Victor Ibragimov
5c7b721879 Tajik translation updated 2013-12-19 14:13:33 +05:00
Fran Diéguez
c27dcb0414 Updated Galician translations 2013-12-19 01:53:09 +01:00
Jasper St. Pierre
7fcae1e974 Remove use of superfluous MetaWindowActor APIs 2013-12-16 12:48:53 -05:00