[cheese] do add a relief on the take an action button in fullscreen mode
- From: Yuvaraj Pandian <yuvipanda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] do add a relief on the take an action button in fullscreen mode
- Date: Fri, 20 Aug 2010 16:24:01 +0000 (UTC)
commit f09ceec0e45b8c925b35bfee876a5d24a0539376
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]