[gnome-boxes] Fix issues with last commit
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Fix issues with last commit
- Date: Thu, 17 Nov 2011 22:48:20 +0000 (UTC)
commit 7d52b59bab4688f4b93ec4abcba335919ab10518
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Nov 18 00:47:05 2011 +0200
Fix issues with last commit
Yes, I broke the build by last commit (76d5ac6) and here is the fix.
src/machine.vala | 10 +++++-----
src/selectionbar.vala | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index 26262e6..8c0b7f6 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -43,7 +43,7 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IProperties {
show_id = _display.show.connect ((id) => {
app.ui_state = Boxes.UIState.DISPLAY;
- Timeout.add (Boxes.App.duration, () => {
+ Timeout.add (app.duration, () => {
try {
var widget = display.get_display (0);
app.display_page.show_display (this, widget);
@@ -349,16 +349,16 @@ private class Boxes.MachineActor: Boxes.UI {
if (previous_ui_state == UIState.CREDS) {
password_entry.hide ();
label.hide ();
- screenshot.animate (Clutter.AnimationMode.LINEAR, Boxes.App.duration,
+ screenshot.animate (Clutter.AnimationMode.LINEAR, machine.app.duration,
"width", (float) width,
"height", (float) height);
- actor.animate (Clutter.AnimationMode.LINEAR, Boxes.App.duration,
+ actor.animate (Clutter.AnimationMode.LINEAR, machine.app.duration,
"x", 0.0f,
"y", 0.0f);
} else {
if (display != null) {
// zoom in, back from properties
- var anim = display.animate (Clutter.AnimationMode.LINEAR, Boxes.App.duration,
+ var anim = display.animate (Clutter.AnimationMode.LINEAR, machine.app.duration,
"x", 0.0f,
"y", 0.0f,
"width", (float) width,
@@ -395,7 +395,7 @@ private class Boxes.MachineActor: Boxes.UI {
actor_add (display, machine.app.stage);
display.add_constraint (yconstraint);
- display.animate (Clutter.AnimationMode.LINEAR, Boxes.App.duration,
+ display.animate (Clutter.AnimationMode.LINEAR, machine.app.duration,
"x", 10.0f,
"y", height - 200.0f,
"width", 180.0f,
diff --git a/src/selectionbar.vala b/src/selectionbar.vala
index 1551a73..0597d5d 100644
--- a/src/selectionbar.vala
+++ b/src/selectionbar.vala
@@ -78,12 +78,12 @@ private class Boxes.Selectionbar: GLib.Object {
private void show () {
actor.show ();
actor.queue_redraw ();
- actor.animate (Clutter.AnimationMode.LINEAR, Boxes.App.duration,
+ actor.animate (Clutter.AnimationMode.LINEAR, app.duration,
"opacity", 255);
}
private void hide () {
- var anim = actor.animate (Clutter.AnimationMode.LINEAR, Boxes.App.duration,
+ var anim = actor.animate (Clutter.AnimationMode.LINEAR, app.duration,
"opacity", 0);
anim.completed.connect (() => {
actor.hide ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]