[chronojump] personsAtTop button change with yellow_prelight



commit 2f7d0b6743f434e1c955e2881df979630c74f709
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Apr 17 22:46:20 2020 +0200

    personsAtTop button change with yellow_prelight

 glade/app1.glade          | 46 ++++++++++++++++++++++++++++++++--------------
 src/gui/app1/menu_tiny.cs |  5 +++++
 2 files changed, 37 insertions(+), 14 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 80737edc..548a58ef 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -6571,10 +6571,16 @@ EncoderInertialCapture</property>
                                                         <property name="tooltip" 
translatable="yes">Person</property>
                                                         <signal name="clicked" 
handler="on_button_top_person_clicked" swapped="no"/>
                                                         <child>
-                                                          <widget class="GtkImage" id="image_person1">
+                                                          <widget class="GtkEventBox" 
id="eventbox_button_contacts_person_change">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
+                                                            <widget class="GtkImage" id="image_person1">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property 
name="stock">gtk-missing-image</property>
+                                                            </widget>
+                                                            </child>
                                                           </widget>
                                                         </child>
                                                       </widget>
@@ -24940,6 +24946,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -25710,10 +25719,16 @@ Concentric</property>
                                                         <property name="tooltip" 
translatable="yes">Person</property>
                                                         <signal name="clicked" 
handler="on_button_top_person_clicked" swapped="no"/>
                                                         <child>
-                                                          <widget class="GtkImage" id="image_person">
+                                                          <widget class="GtkEventBox" 
id="eventbox_button_encoder_person_change">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
+                                                            <widget class="GtkImage" id="image_person">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property 
name="stock">gtk-missing-image</property>
+                                                            </widget>
+                                                            </child>
                                                           </widget>
                                                         </child>
                                                       </widget>
@@ -27232,18 +27247,6 @@ Concentric</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
-                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="pack_type">end</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_capturing">
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">4</property>
@@ -27280,6 +27283,18 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
+                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="pack_type">end</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_no_capturing">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -35049,6 +35064,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/app1/menu_tiny.cs b/src/gui/app1/menu_tiny.cs
index c8f4502e..e5784ed6 100644
--- a/src/gui/app1/menu_tiny.cs
+++ b/src/gui/app1/menu_tiny.cs
@@ -44,6 +44,8 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.EventBox eventbox_button_menu_help_accelerators1;
        [Widget] Gtk.EventBox eventbox_button_menu_help_about1;
        [Widget] Gtk.EventBox eventbox_button_menu_exit1;
+       [Widget] Gtk.EventBox eventbox_button_contacts_person_change;
+       [Widget] Gtk.EventBox eventbox_button_encoder_person_change;
        [Widget] Gtk.CheckButton check_menu_session1;
        [Widget] Gtk.CheckButton check_menu_help1;
        [Widget] Gtk.VBox vbox_menu_session1;
@@ -123,6 +125,9 @@ public partial class ChronoJumpWindow
                UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_help_documents1, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
                UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_help_accelerators1, 
UtilGtk.YELLOW, UtilGtk.YELLOW_LIGHT);
                UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_help_about1, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
+
+               UtilGtk.EventBoxColorBackgroundActive (eventbox_button_contacts_person_change, 
UtilGtk.YELLOW, UtilGtk.YELLOW_LIGHT);
+               UtilGtk.EventBoxColorBackgroundActive (eventbox_button_encoder_person_change, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
        }
 
 


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