[cheese/wip-cancellable: 1/5] do add a relief on the take an action button in fullscreen mode



commit e72ec86940f092bccc1e6c618c3780af3c00c67a
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Sun Aug 8 22:32:09 2010 +0200

    do add a relief on the take an action button in fullscreen mode

 src/cheese-window.vala |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 1e09c49..9a1e3a8 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -480,7 +480,8 @@ public class Cheese.MainWindow : Gtk.Window
       /* Make all buttons look 'flat' */
       foreach (Gtk.Button b in buttons)
       {
-        b.relief = Gtk.ReliefStyle.NONE;
+        if (b.get_name() != "take_action_button")
+          b.relief = Gtk.ReliefStyle.NONE;
       }
       this.fullscreen ();
       viewport_widget.motion_notify_event.connect (fullscreen_motion_notify_callback);
@@ -502,7 +503,8 @@ public class Cheese.MainWindow : Gtk.Window
       /* Make all buttons look, uhm, Normal */
       foreach (Gtk.Button b in buttons)
       {
-        b.relief = Gtk.ReliefStyle.NORMAL;
+        if (b.get_name() != "take_action_button")
+          b.relief = Gtk.ReliefStyle.NORMAL;
       }
 
       /* Show the buttons area anyway - it might've been hidden in fullscreen mode */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]