[sushi] fallback: use constants
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] fallback: use constants
- Date: Tue, 19 Apr 2011 16:52:10 +0000 (UTC)
commit 532c3ed19b0a11bb3227ff8df89a1a66dab5753f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 19 12:51:59 2011 -0400
fallback: use constants
src/js/ui/fallbackRenderer.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/fallbackRenderer.js b/src/js/ui/fallbackRenderer.js
index 7b9404e..68d5969 100644
--- a/src/js/ui/fallbackRenderer.js
+++ b/src/js/ui/fallbackRenderer.js
@@ -1,3 +1,5 @@
+const Constants = imports.util.constants;
+
function FallbackRenderer(args) {
this._init(args);
}
@@ -16,7 +18,7 @@ FallbackRenderer.prototype = {
},
getSizeForAllocation: function(allocation) {
- return [ 400, 400 ];
+ return [ Constants.VIEW_MIN, Constants.VIEW_MIN ];
},
createToolbar: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]