[cheese/wip-cancel: 3/5] 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/wip-cancel: 3/5] do add a relief on the take an action button in fullscreen mode
- Date: Wed, 11 Aug 2010 20:02:46 +0000 (UTC)
commit 417be57934e32b7e0a9c6fab61c45b19a6838093
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 2064938..227e233 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]