[longomatch] Panel header buttons should not focus on click.



commit 6a524aba676d79e60222db1cc8d243a775b85239
Author: Julien Moutte <julien fluendo com>
Date:   Sun Mar 15 11:03:36 2015 +0100

    Panel header buttons should not focus on click.
    
    Otherwise shortcuts like space bar would trigger validation of the project instead of pausing playback in 
the video periods sync widget.

 .../gtk-gui/LongoMatch.Gui.Panel.PanelHeader.cs    |    1 +
 LongoMatch.GUI/gtk-gui/gui.stetic                  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.PanelHeader.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.PanelHeader.cs
index 202480a..0c87ff7 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.PanelHeader.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.PanelHeader.cs
@@ -76,6 +76,7 @@ namespace LongoMatch.Gui.Panel
                        this.backrectbutton.HeightRequest = 40;
                        this.backrectbutton.CanFocus = true;
                        this.backrectbutton.Name = "backrectbutton";
+                       this.backrectbutton.FocusOnClick = false;
                        this.backrectbutton.BorderWidth = ((uint)(10));
                        // Container child backrectbutton.Gtk.Container+ContainerChild
                        this.backrectbuttonimage = new global::Gtk.Image ();
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 88b7862..bed65a1 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -10210,6 +10210,7 @@ You can continue with the current capture, cancel it or save your project.
                 <property name="HeightRequest">40</property>
                 <property name="CanFocus">True</property>
                 <property name="Type">Custom</property>
+                <property name="FocusOnClick">False</property>
                 <property name="BorderWidth">10</property>
                 <child>
                   <widget class="Gtk.Image" id="backrectbuttonimage">


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