[cheese] Replace GtkBox casts with GtkGrid casts
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Replace GtkBox casts with GtkGrid casts
- Date: Mon, 15 Apr 2013 20:30:33 +0000 (UTC)
commit 3557cf2c9e0c03adc552b589e81309b5589fdac8
Author: David King <amigadave amigadave com>
Date: Mon Apr 15 21:23:32 2013 +0100
Replace GtkBox casts with GtkGrid casts
This manifested as the "Leave Fullscreen" button not being displayed
when switching into fullscreen mode. Fixed bug 691454.
src/cheese-window.vala | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index b7c3ecb..8fde0e8 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -53,7 +53,7 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
private Cheese.ThumbView thumb_view;
private Gtk.Alignment thumbnails_right;
private Gtk.Alignment thumbnails_bottom;
- private Gtk.Box leave_fullscreen_button_container;
+ private Gtk.Grid leave_fullscreen_button_container;
private Gtk.ToggleButton photo_toggle_button;
private Gtk.ToggleButton video_toggle_button;
private Gtk.ToggleButton burst_toggle_button;
@@ -62,7 +62,7 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
private Gtk.Image take_action_button_image;
private Gtk.ToggleButton effects_toggle_button;
private Gtk.Button leave_fullscreen_button;
- private Gtk.Box buttons_area;
+ private Gtk.Grid buttons_area;
private Gtk.Menu thumbnail_popup;
private Clutter.Stage viewport;
@@ -1389,7 +1389,7 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
viewport = viewport_widget.get_stage () as Clutter.Stage;
thumbnails_right = gtk_builder.get_object ("thumbnails_right") as Gtk.Alignment;
thumbnails_bottom = gtk_builder.get_object ("thumbnails_bottom") as Gtk.Alignment;
- leave_fullscreen_button_container = gtk_builder.get_object ("leave_fullscreen_button_bin") as Gtk.Box;
+ leave_fullscreen_button_container = gtk_builder.get_object ("leave_fullscreen_button_bin") as Gtk.Grid;
photo_toggle_button = gtk_builder.get_object ("photo_toggle_button") as Gtk.ToggleButton;
video_toggle_button = gtk_builder.get_object ("video_toggle_button") as Gtk.ToggleButton;
burst_toggle_button = gtk_builder.get_object ("burst_toggle_button") as Gtk.ToggleButton;
@@ -1398,7 +1398,7 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
take_action_button_image = gtk_builder.get_object ("take_action_button_internal_image") as
Gtk.Image;
effects_toggle_button = gtk_builder.get_object ("effects_toggle_button") as Gtk.ToggleButton;
leave_fullscreen_button = gtk_builder.get_object ("leave_fullscreen_button") as Gtk.Button;
- buttons_area = gtk_builder.get_object ("buttons_area") as Gtk.Box;
+ buttons_area = gtk_builder.get_object ("buttons_area") as Gtk.Grid;
thumbnail_popup = gtk_builder.get_object ("thumbnail_popup") as Gtk.Menu;
countdown_action = gtk_builder.get_object ("countdown") as Gtk.Action;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]