[chronojump] Fixed sensitivity of top radio mode buttons while running processes
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed sensitivity of top radio mode buttons while running processes
- Date: Thu, 1 Apr 2021 17:14:54 +0000 (UTC)
commit 34bbd5deffd48f1703c44ae1f5cd46db0d56b1b2
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 1 19:14:18 2021 +0200
Fixed sensitivity of top radio mode buttons while running processes
glade/app1.glade | 34 ++++++++++++++++++++--------------
src/gui/app1/chronojump.cs | 2 ++
src/gui/app1/menu.cs | 7 +++++--
3 files changed, 27 insertions(+), 16 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 902c176c..9ccd7337 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -24751,6 +24751,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -29071,7 +29074,7 @@ Concentric</property>
<property name="can_focus">False</property>
<property name="right_padding">50</property>
<child>
- <widget class="GtkHBox" id="hbox423">
+ <widget class="GtkHBox" id="hbox_change_modes_encoder">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
@@ -29104,7 +29107,7 @@ Concentric</property>
</packing>
</child>
<child>
- <widget class="GtkHBox"
id="hbox_change_modes_encoder">
+ <widget class="GtkHBox"
id="hbox_change_modes_encoder2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
@@ -30918,6 +30921,18 @@ 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>
@@ -30954,18 +30969,6 @@ 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>
@@ -39382,6 +39385,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/chronojump.cs b/src/gui/app1/chronojump.cs
index 87de0f2d..355ee3c9 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -71,6 +71,8 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Button button_show_modes_contacts;
[Widget] Gtk.Button button_show_modes_encoder;
+ [Widget] Gtk.HBox hbox_change_modes_contacts;
+ [Widget] Gtk.HBox hbox_change_modes_encoder;
[Widget] Gtk.HBox hbox_change_modes_jumps;
[Widget] Gtk.HBox hbox_change_modes_runs;
[Widget] Gtk.RadioButton radio_change_modes_contacts_jumps_simple;
diff --git a/src/gui/app1/menu.cs b/src/gui/app1/menu.cs
index 55b919c3..76b74f6b 100644
--- a/src/gui/app1/menu.cs
+++ b/src/gui/app1/menu.cs
@@ -109,8 +109,11 @@ public partial class ChronoJumpWindow
alignment_buttons_menu_and_persons.Sensitive = sensitive;
viewport_menu.Sensitive = sensitive;
vbox_menu_tiny_menu.Sensitive = sensitive;
- button_show_modes_contacts.Sensitive = sensitive;
- button_show_modes_encoder.Sensitive = sensitive;
+
+ //button_show_modes_contacts.Sensitive = sensitive;
+ hbox_change_modes_contacts.Sensitive = sensitive;
+ //button_show_modes_encoder.Sensitive = sensitive;
+ hbox_change_modes_encoder.Sensitive = sensitive;
}
/* if import started we need to reload at the end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]