Compare commits

..

6 Commits

Author SHA1 Message Date
Florian Müllner
00c1e37d77 Bump version to 3.14.3
To go along GNOME Shell 3.14.3
2014-12-19 15:26:07 +01:00
Maxime Henrion
3771d49149 Skip over XDG directories that cannot be found.
This fixes loading the places menu gnome-shell extension when the XDG
directories have not been configured.

https://bugzilla.gnome.org/show_bug.cgi?id=741033
2014-12-02 19:01:27 +01:00
Sylvain Pasche
2f49d77931 window-list: _pointerInTray was renamed to _pointerInNotification in bug 695800
https://bugzilla.gnome.org/show_bug.cgi?id=737486
2014-11-26 20:05:44 +01:00
Sylvain Pasche
046c603872 window-list: Disconnect drag and drop handlers
https://bugzilla.gnome.org/show_bug.cgi?id=737486
2014-11-26 20:05:44 +01:00
Florian Müllner
79f263d1ed apps-menu: Center app labels
Currently labels are not vertically centered, unlike icons.
Fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=740724
2014-11-26 19:07:29 +01:00
Florian Müllner
a0a28be128 apps-menu: Update menu arrow to use an icon
gnome-shell no longer uses labels with UTF8 arrows, so the currently
used arrow is no longer consistent with other menus; fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=740725
2014-11-26 18:56:38 +01:00
5 changed files with 17 additions and 9 deletions

6
NEWS
View File

@@ -1,3 +1,9 @@
3.14.3
======
* apps-menu: Fix some visual glitches
* places-menu: Fix error when XDG user directories are not set up
* window-list: Update for gnome-shell changes
3.14.2
======
* drive-menu: Update for nautilus/gnome-shell changes

View File

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

View File

@@ -58,7 +58,8 @@ const ApplicationMenuItem = new Lang.Class({
this._iconBin = new St.Bin();
this.actor.add_child(this._iconBin);
let appLabel = new St.Label({ text: app.get_name() });
let appLabel = new St.Label({ text: app.get_name(), y_expand: true,
y_align: Clutter.ActorAlign.CENTER });
this.actor.add_child(appLabel, { expand: true });
this.actor.label_actor = appLabel;
@@ -283,9 +284,7 @@ const ApplicationsButton = new Lang.Class({
y_expand: true,
y_align: Clutter.ActorAlign.CENTER });
hbox.add_child(this._label);
hbox.add_child(new St.Label({ text: '\u25BE',
y_expand: true,
y_align: Clutter.ActorAlign.CENTER }));
hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
this.actor.add_actor(hbox);
this.actor.name = 'panelApplications';

View File

@@ -202,7 +202,7 @@ const PlacesManager = new Lang.Class({
let specials = [];
for (let i = 0; i < DEFAULT_DIRECTORIES.length; i++) {
let specialPath = GLib.get_user_special_dir(DEFAULT_DIRECTORIES[i]);
if (specialPath == homePath)
if (specialPath == null || specialPath == homePath)
continue;
let file = Gio.File.new_for_path(specialPath), info;

View File

@@ -782,8 +782,8 @@ const WindowList = new Lang.Class({
}));
this._windowList.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
let indicatorsBox = new St.BoxLayout({ x_align: Clutter.ActorAlign.END });
box.add(indicatorsBox);
let indicatorsBox = new St.BoxLayout({ x_align: Clutter.ActorAlign.END });
box.add(indicatorsBox);
this._workspaceIndicator = new WorkspaceIndicator();
indicatorsBox.add(this._workspaceIndicator.container, { expand: false, y_fill: true });
@@ -1165,6 +1165,9 @@ const WindowList = new Lang.Class({
global.screen.disconnect(this._fullscreenChangedId);
Main.xdndHandler.disconnect(this._dragBeginId);
Main.xdndHandler.disconnect(this._dragEndId);
this._settings.disconnect(this._groupingModeChangedId);
let windows = global.get_window_actors();
@@ -1185,7 +1188,7 @@ function enable() {
windowList.actor.connect('notify::hover', Lang.bind(Main.messageTray,
function() {
this._pointerInTray = windowList.actor.hover;
this._pointerInNotification = windowList.actor.hover;
this._updateState();
}));