[gnome-shell/wip/aggregate-menu: 7/58] userWidget: Rename the default style class of the user widget
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 7/58] userWidget: Rename the default style class of the user widget
- Date: Wed, 17 Jul 2013 18:56:50 +0000 (UTC)
commit 7afe46828fd8fcc882141458d583a76071085ff5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jun 11 15:00:35 2013 -0400
userWidget: Rename the default style class of the user widget
As the status chooser is going away, it doesn't make sense to
keep this around.
https://bugzilla.gnome.org/show_bug.cgi?id=704368
data/theme/gnome-shell.css | 24 ++++++++++++------------
js/ui/userWidget.js | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 504792e..3c5aa49 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -620,18 +620,6 @@ StScrollBar StButton#vhandle:active {
padding: .4em;
}
-.status-chooser-user-icon {
- border: 2px solid #8b8b8b;
- border-radius: 5px;
- width: 48pt;
- height: 48pt;
- background-size: contain;
-}
-
-.status-chooser-user-icon:hover {
- border: 2px solid #bbbbbb;
-}
-
.status-chooser-user-name {
font-weight: bold;
font-size: 1.3em;
@@ -2207,6 +2195,18 @@ StScrollBar StButton#vhandle:active {
/* Login Dialog */
+.framed-user-icon {
+ border: 2px solid #8b8b8b;
+ border-radius: 5px;
+ width: 48pt;
+ height: 48pt;
+ background-size: contain;
+}
+
+.framed-user-icon:hover {
+ border: 2px solid #bbbbbb;
+}
+
.login-dialog-banner {
font-size: 10pt;
font-weight: bold;
diff --git a/js/ui/userWidget.js b/js/ui/userWidget.js
index 276b86b..47c28aa 100644
--- a/js/ui/userWidget.js
+++ b/js/ui/userWidget.js
@@ -24,7 +24,7 @@ const Avatar = new Lang.Class({
this._user = user;
params = Params.parse(params, { reactive: false,
iconSize: AVATAR_ICON_SIZE,
- styleClass: 'status-chooser-user-icon' });
+ styleClass: 'framed-user-icon' });
this._iconSize = params.iconSize;
this.actor = new St.Bin({ style_class: params.styleClass,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]