[sushi] audio: fix OSD toolbar positioning
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] audio: fix OSD toolbar positioning
- Date: Fri, 10 Aug 2012 13:38:58 +0000 (UTC)
commit 2557bd87ade4995f4060a48421d72aae87bda458
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Aug 10 15:37:08 2012 +0200
audio: fix OSD toolbar positioning
It wasn't properly expanding anymore in the allocated width.
src/js/viewers/audio.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/js/viewers/audio.js b/src/js/viewers/audio.js
index c73a0f0..a6ccca4 100644
--- a/src/js/viewers/audio.js
+++ b/src/js/viewers/audio.js
@@ -260,11 +260,8 @@ AudioRenderer.prototype = {
this._mainToolbar.show();
this._toolbarActor = new GtkClutter.Actor({ contents: this._mainToolbar,
- opacity: 0});
- this._toolbarActor.add_constraint(
- new Clutter.BindConstraint({ source: this._actor,
- coordinate: Clutter.BindCoordinate.WIDTH,
- offset: -50 }));
+ opacity: 0,
+ x_expand: true });
this._toolbarPlay = new Gtk.ToolButton({ icon_name: 'media-playback-pause-symbolic' });
this._toolbarPlay.show();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]