[cheese] align the effects in the center, regardless of window size
- From: Daniel G. Siegel <dgsiegel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] align the effects in the center, regardless of window size
- Date: Sun, 5 Dec 2010 02:08:34 +0000 (UTC)
commit 5cb749b73a4008393382ff3043c5d31716c4b7d6
Author: daniel g. siegel <dgsiegel gnome org>
Date: Sun Dec 5 03:00:46 2010 +0100
align the effects in the center, regardless of window size
src/cheese-window.vala | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 321da18..e1e7bf8 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -574,8 +574,6 @@ public class Cheese.MainWindow : Gtk.Window
{
this.viewport_layout.set_size (viewport.width, viewport.height);
this.background_layer.set_size (viewport.width, viewport.height);
- if (this.current_effects_grid != null)
- this.current_effects_grid.set_size (viewport.width, viewport.height);
}
[CCode (instance_pos = -1)]
@@ -785,7 +783,6 @@ public class Cheese.MainWindow : Gtk.Window
}
current_effects_grid = effects_grids[number];
viewport_layout.add ((Clutter.Actor) current_effects_grid);
- this.current_effects_grid.set_size (viewport.width, viewport.height);
for (int i = 0; i < effects_manager.effects.size; i++)
{
@@ -1066,7 +1063,6 @@ public class Cheese.MainWindow : Gtk.Window
viewport_layout.set_layout_manager (viewport_layout_manager);
viewport.add_actor (viewport_layout);
- viewport_layout_manager.set_alignment (viewport_layout, Clutter.BinAlignment.CENTER, Clutter.BinAlignment.CENTER);
viewport.allocation_changed.connect (on_stage_resize);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]