[chronojump] Menu subuttons with YELLOW_LIGHT
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Menu subuttons with YELLOW_LIGHT
- Date: Thu, 26 Mar 2020 01:09:11 +0000 (UTC)
commit 5a1de1cfdd3fcc0e8e5a136c6baed85663427172
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Mar 26 01:55:44 2020 +0100
Menu subuttons with YELLOW_LIGHT
glade/app1.glade | 42 ++++++++++++++++++++++++++++++++++++++++++
src/gui/app1/menu.cs | 15 +++++++++++++++
2 files changed, 57 insertions(+)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index a849666b..3d363aff 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1500,6 +1500,10 @@
<property name="relief">half</property>
<signal name="clicked" handler="on_new_activate"
swapped="no"/>
<child>
+ <widget class="GtkEventBox"
id="eventbox_button_menu_session_new">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<widget class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1531,6 +1535,8 @@
</widget>
</child>
</widget>
+ </child>
+ </widget>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
@@ -1548,6 +1554,10 @@
<property name="relief">half</property>
<signal name="clicked"
handler="on_open_activate" swapped="no"/>
<child>
+ <widget class="GtkEventBox"
id="eventbox_button_menu_session_load">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<widget class="GtkHBox" id="hbox372">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1579,6 +1589,8 @@
</widget>
</child>
</widget>
+ </child>
+ </widget>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
@@ -1597,6 +1609,10 @@
<property name="relief">half</property>
<signal name="clicked"
handler="on_edit_session_activate" swapped="no"/>
<child>
+ <widget class="GtkEventBox"
id="eventbox_button_menu_session_edit">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<widget class="GtkHBox" id="hbox373">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1628,6 +1644,8 @@
</widget>
</child>
</widget>
+ </child>
+ </widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
@@ -1646,6 +1664,10 @@
<property name="relief">half</property>
<signal name="clicked"
handler="on_delete_session_activate" swapped="no"/>
<child>
+ <widget class="GtkEventBox"
id="eventbox_button_menu_session_delete">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<widget class="GtkHBox" id="hbox374">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1677,6 +1699,8 @@
</widget>
</child>
</widget>
+ </child>
+ </widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
@@ -2051,6 +2075,10 @@
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_menuitem_manual_activate" swapped="no"/>
<child>
+ <widget class="GtkEventBox"
id="eventbox_button_menu_help_documents">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<widget class="GtkHBox" id="hbox378">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -2081,6 +2109,8 @@
</widget>
</child>
</widget>
+ </child>
+ </widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
@@ -2094,6 +2124,10 @@
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_menuitem_accelerators_activate" swapped="no"/>
<child>
+ <widget class="GtkEventBox"
id="eventbox_button_menu_help_accelerators">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<widget class="GtkHBox" id="hbox376">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -2124,6 +2158,8 @@
</widget>
</child>
</widget>
+ </child>
+ </widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
@@ -2137,6 +2173,10 @@
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_about1_activate" swapped="no"/>
<child>
+ <widget class="GtkEventBox"
id="eventbox_button_menu_help_about">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<widget class="GtkHBox" id="hbox377">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -2167,6 +2207,8 @@
</widget>
</child>
</widget>
+ </child>
+ </widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
diff --git a/src/gui/app1/menu.cs b/src/gui/app1/menu.cs
index bef1dd19..c3a01534 100644
--- a/src/gui/app1/menu.cs
+++ b/src/gui/app1/menu.cs
@@ -48,9 +48,16 @@ public partial class ChronoJumpWindow
[Widget] Gtk.EventBox eventbox_radio_show_persons;
[Widget] Gtk.EventBox eventbox_button_show_modes;
[Widget] Gtk.EventBox eventbox_check_menu_session;
+ [Widget] Gtk.EventBox eventbox_button_menu_session_new;
+ [Widget] Gtk.EventBox eventbox_button_menu_session_load;
+ [Widget] Gtk.EventBox eventbox_button_menu_session_edit;
+ [Widget] Gtk.EventBox eventbox_button_menu_session_delete;
[Widget] Gtk.EventBox eventbox_button_menu_preferences;
[Widget] Gtk.EventBox eventbox_check_menu_encoder;
[Widget] Gtk.EventBox eventbox_check_menu_help;
+ [Widget] Gtk.EventBox eventbox_button_menu_help_documents;
+ [Widget] Gtk.EventBox eventbox_button_menu_help_accelerators;
+ [Widget] Gtk.EventBox eventbox_button_menu_help_about;
[Widget] Gtk.EventBox eventbox_button_menu_exit;
[Widget] Gtk.CheckButton check_menu_session;
[Widget] Gtk.CheckButton check_menu_encoder;
@@ -199,6 +206,14 @@ public partial class ChronoJumpWindow
UtilGtk.EventBoxColorBackgroundActive (eventbox_check_menu_encoder, UtilGtk.YELLOW);
UtilGtk.EventBoxColorBackgroundActive (eventbox_check_menu_help, UtilGtk.YELLOW);
UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_exit, UtilGtk.YELLOW);
+
+ UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_session_new,
UtilGtk.YELLOW_LIGHT);
+ UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_session_load,
UtilGtk.YELLOW_LIGHT);
+ UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_session_edit,
UtilGtk.YELLOW_LIGHT);
+ UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_session_delete,
UtilGtk.YELLOW_LIGHT);
+ UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_help_documents,
UtilGtk.YELLOW_LIGHT);
+ UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_help_accelerators,
UtilGtk.YELLOW_LIGHT);
+ UtilGtk.EventBoxColorBackgroundActive (eventbox_button_menu_help_about, UtilGtk.YELLOW_LIGHT);
}
private void menuShowVerticalArrow (bool selected, Gtk.Arrow a_up, Gtk.Arrow a_down)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]