[the-board] [ui] Set background id from created background instance id
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Set background id from created background instance id
- Date: Tue, 18 Jan 2011 23:47:51 +0000 (UTC)
commit a0cce6c1ac3030dc12e0c6852d3e73a72cc7146c
Author: Lucas Rocha <lucasr gnome org>
Date: Tue Jan 18 23:45:44 2011 +0000
[ui] Set background id from created background instance id
This ensures that a new page model will always have a defined background
id when first saved.
https://bugzilla.gnome.org/show_bug.cgi?id=637703
src/js/ui/page.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/page.js b/src/js/ui/page.js
index d3300c8..a2430da 100644
--- a/src/js/ui/page.js
+++ b/src/js/ui/page.js
@@ -651,7 +651,7 @@ Page.prototype = {
Tb.BoxAlignment.FILL,
Tb.BoxAlignment.FILL);
- this._model.setBackground(backgroundId);
+ this._model.setBackground(this._background.id);
if (oldBackground) {
this._background.actor.raise(oldBackground.actor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]