Compare commits

...

4 Commits

Author SHA1 Message Date
Florian Müllner
809c8cbd41 Bump version to 3.17.90
To go along GNOME Shell 3.17.90.
2015-08-20 14:06:54 +02:00
Florian Müllner
31506a342c workspace-indicator: Use consistent workspace numbering
The indicator numbers workspaces starting from 1, while newly added
workspace names in the preference dialog start counting at 0.
Change the latter to be consistent with the indicator.

https://bugzilla.gnome.org/show_bug.cgi?id=753105
2015-07-31 16:47:18 +02:00
Florian Müllner
d1bf592539 apps-menu: Handle non-UTF8 filename encodings more gracefully
Instead of failing completely if any .desktop file uses a filename
encoding other than UTF-8, just filter out the offending apps.

https://bugzilla.gnome.org/show_bug.cgi?id=651503
2015-07-31 16:22:32 +02:00
Florian Müllner
6062284ac4 window-list: Don't consider skip-taskbar windows for app sorting
It is odd to consider windows that are not shown in the window list
for app sorting, in particular when switching between grouped and
ungrouped mode, and when a long-lived window like the DESKTOP is
present.

https://bugzilla.gnome.org/show_bug.cgi?id=753055
2015-07-30 18:24:19 +02:00
5 changed files with 16 additions and 4 deletions

5
NEWS
View File

@@ -1,3 +1,8 @@
3.17.90
=======
* window-list: Improve application ordering
* workspace-indicator: Use consistent workspace numbering
3.17.4
======
* updated translations (fur)

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[3.17.4],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_INIT([gnome-shell-extensions],[3.17.90],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])

View File

@@ -393,7 +393,13 @@ const ApplicationsButton = new Lang.Class({
if (nextType == GMenu.TreeItemType.ENTRY) {
let entry = iter.get_entry();
let appInfo = entry.get_app_info();
let app = appSys.lookup_app(entry.get_desktop_file_id());
let id;
try {
id = appInfo.get_id(); // catch non-UTF8 filenames
} catch(e) {
continue;
}
let app = appSys.lookup_app(id);
if (appInfo.should_show()) {
let menu_id = dir.get_menu_id();
this.applicationsByCategory[categoryId].push(app);

View File

@@ -57,7 +57,8 @@ function _onMenuStateChanged(menu, isOpen) {
}
function _getAppStableSequence(app) {
return app.get_windows().reduce(function(prev, cur) {
let windows = app.get_windows().filter(function(w) { return !w.skip_taskbar; });
return windows.reduce(function(prev, cur) {
return Math.min(prev, cur.get_stable_sequence());
}, Infinity);
}

View File

@@ -195,7 +195,7 @@ const WorkspaceSettingsWidget = new GObject.Class({
let iter = this._store.append();
let index = this._store.get_path(iter).get_indices()[0];
let label = _("Workspace %d").format(index);
let label = _("Workspace %d").format(index + 1);
this._store.set(iter, [this._store.Columns.LABEL], [label]);
},