[chronojump] Yellow eventbox for buttons edit/delete on load session



commit 1697fc5c35aa484078d58bc2b5b00b73560b7371
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Mar 18 17:48:36 2021 +0100

    Yellow eventbox for buttons edit/delete on load session

 glade/app1.glade             | 12 ++++++++++++
 src/gui/app1/session/main.cs |  4 ++++
 2 files changed, 16 insertions(+)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 3660d50d..b0158651 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -41136,6 +41136,10 @@ then click this button.</property>
                                                             <property name="receives_default">True</property>
                                                             <signal name="clicked" 
handler="on_app1s_button_edit_clicked" swapped="no"/>
                                                             <child>
+                                                            <widget class="GtkEventBox" 
id="app1s_eventbox_button_edit">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
                                                             <widget class="GtkHBox" id="hbox499">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -41166,6 +41170,8 @@ then click this button.</property>
                                                             </child>
                                                             </widget>
                                                             </child>
+                                                            </widget>
+                                                            </child>
                                                           </widget>
                                                           <packing>
                                                             <property name="expand">False</property>
@@ -41181,6 +41187,10 @@ then click this button.</property>
                                                             <property name="receives_default">True</property>
                                                             <signal name="clicked" 
handler="on_app1s_button_delete_clicked" swapped="no"/>
                                                             <child>
+                                                            <widget class="GtkEventBox" 
id="app1s_eventbox_button_delete">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
                                                             <widget class="GtkHBox" id="hbox501">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -41211,6 +41221,8 @@ then click this button.</property>
                                                             </child>
                                                             </widget>
                                                             </child>
+                                                            </widget>
+                                                            </child>
                                                           </widget>
                                                           <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/app1/session/main.cs b/src/gui/app1/session/main.cs
index d4ea3a00..60e54cc0 100644
--- a/src/gui/app1/session/main.cs
+++ b/src/gui/app1/session/main.cs
@@ -67,6 +67,8 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Label app1s_file_path_import;
        [Widget] Gtk.Notebook app1s_notebook_load_button_animation;
        [Widget] Gtk.HButtonBox app1s_hbuttonbox_page2_import;
+       [Widget] Gtk.EventBox app1s_eventbox_button_edit;
+       [Widget] Gtk.EventBox app1s_eventbox_button_delete;
        [Widget] Gtk.EventBox app1s_eventbox_button_cancel;
        [Widget] Gtk.EventBox app1s_eventbox_button_load;
        [Widget] Gtk.EventBox app1s_eventbox_button_back;
@@ -186,6 +188,8 @@ public partial class ChronoJumpWindow
        {
                UtilGtk.EventBoxColorBackgroundActive (app1s_eventbox_button_close0, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
                UtilGtk.EventBoxColorBackgroundActive (app1s_eventbox_button_cancel1, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
+               UtilGtk.EventBoxColorBackgroundActive (app1s_eventbox_button_edit, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
+               UtilGtk.EventBoxColorBackgroundActive (app1s_eventbox_button_delete, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
                UtilGtk.EventBoxColorBackgroundActive (app1s_eventbox_button_cancel, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
                UtilGtk.EventBoxColorBackgroundActive (app1s_eventbox_button_load, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);
                UtilGtk.EventBoxColorBackgroundActive (app1s_eventbox_button_back, UtilGtk.YELLOW, 
UtilGtk.YELLOW_LIGHT);


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