Add "precision" to boxpointer alignment

Allows the boxpointer arrow to be at a fixed percentage of the bubble

https://bugzilla.gnome.org/show_bug.cgi?id=642031
This commit is contained in:
Sardem FF7
2011-02-09 18:27:00 +01:00
committed by Dan Winship
parent 140022aaf2
commit 8f3376ce62
7 changed files with 12 additions and 30 deletions

View File

@ -68,7 +68,7 @@ SystemStatusButton.prototype = {
__proto__: Button.prototype,
_init: function(iconName,tooltipText) {
Button.prototype._init.call(this, St.Align.START);
Button.prototype._init.call(this, 0.0);
this._iconActor = new St.Icon({ icon_name: iconName,
icon_type: St.IconType.SYMBOLIC,
style_class: 'system-status-icon' });