[gnome-documents] Set stacks as homogeneous
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] Set stacks as homogeneous
- Date: Tue, 12 Feb 2013 20:27:06 +0000 (UTC)
commit a2ea4fa10448205f6efca44b70389952f82691ab
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Feb 12 15:25:44 2013 -0500
Set stacks as homogeneous
src/embed.js | 3 ++-
src/places.js | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 458825a..159e31d 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -216,7 +216,8 @@ const Embed = new Lang.Class({
this._stackOverlay = new Gtk.Overlay({ visible: true });
this.widget.pack_end(this._stackOverlay, true, true, 0);
- this._stack = new Gd.Stack({ visible: true });
+ this._stack = new Gd.Stack({ visible: true,
+ homogeneous: true });
this._stackOverlay.add(this._stack);
// create the OSD toolbar for selected items, it's hidden by default
diff --git a/src/places.js b/src/places.js
index 3b89f11..e431912 100644
--- a/src/places.js
+++ b/src/places.js
@@ -69,7 +69,9 @@ const PlacesDialog = new Lang.Class({
box.pack_start(this._toolbar, false, false, 0);
- this._stack = new Gd.Stack({ border_width: 5 });
+ this._stack = new Gd.Stack({ border_width: 5,
+ homogeneous: true,
+ duration: 0 });
box.pack_start(this._stack, true, true, 0);
this._linksPage = new GdPrivate.PlacesLinks();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]