[gnome-shell] dash: Use the correct theme node for spacing/padding
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dash: Use the correct theme node for spacing/padding
- Date: Tue, 24 Jan 2012 22:07:27 +0000 (UTC)
commit c6e9f9742b7d8e63c45c2e485e255b70be1177f8
Author: Florian MÃllner <fmuellner gnome org>
Date: Wed Oct 19 18:27:24 2011 +0200
dash: Use the correct theme node for spacing/padding
We consider spacing and padding in _adjustIconSize, but as we use
the theme node from an actor which is not exposed to the CSS, we
miss the "real" values - correct this.
https://bugzilla.gnome.org/show_bug.cgi?id=662213
js/ui/dash.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 86b7e75..5835bc4 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -501,7 +501,7 @@ const Dash = new Lang.Class({
return;
- let themeNode = this.actor.get_theme_node();
+ let themeNode = this._box.get_theme_node();
let maxAllocation = new Clutter.ActorBox({ x1: 0, y1: 0,
x2: 42 /* whatever */,
y2: this._maxHeight });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]