[gnome-shell/user-status-update] status-menu: fixes
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/user-status-update] status-menu: fixes
- Date: Mon, 22 Aug 2011 20:57:56 +0000 (UTC)
commit cdf256210ad786caff925735ca2829bdca6d0b7f
Author: Dan Winship <danw gnome org>
Date: Mon Aug 22 13:48:12 2011 -0400
status-menu: fixes
js/ui/popupMenu.js | 2 +-
js/ui/statusMenu.js | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index ed9feb9..23e91b8 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -1465,7 +1465,7 @@ PopupComboBoxMenuItem.prototype = {
this.addActor(expander, { align: St.Align.END });
this._menu = new PopupComboMenu(this.actor);
- Main.chrome.addActor(this._menu.actor, { affectsStruts: false });
+ Main.layoutManager.addChrome(this._menu.actor, { affectsStruts: false });
this._menu.actor.hide();
if (params.style_class)
diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js
index 8c9b41f..9a745d5 100644
--- a/js/ui/statusMenu.js
+++ b/js/ui/statusMenu.js
@@ -22,6 +22,8 @@ const DISABLE_USER_SWITCH_KEY = 'disable-user-switching';
const DISABLE_LOCK_SCREEN_KEY = 'disable-lock-screen';
const DISABLE_LOG_OUT_KEY = 'disable-log-out';
+const _DIALOG_ICON_SIZE = 32;
+
const WRAP_WIDTH = 150;
const IMStatus = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]