[chronojump] Fixed correctly fold of check_menu_session on load session at start
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed correctly fold of check_menu_session on load session at start
- Date: Mon, 2 Aug 2021 08:57:36 +0000 (UTC)
commit 6967e6551dbc491041ff669e22440f5ac6f14c81
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Aug 2 10:56:55 2021 +0200
Fixed correctly fold of check_menu_session on load session at start
glade/app1.glade | 32 +++++++++++++++++++-------------
src/gui/app1/chronojump.cs | 3 ++-
2 files changed, 21 insertions(+), 14 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 324130c00..03931f553 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -511,7 +511,6 @@
<property name="can_focus">False</property>
<child>
<widget class="GtkArrow"
id="arrow_menu_show_session_up">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="arrow_type">up</property>
</widget>
@@ -523,6 +522,7 @@
</child>
<child>
<widget class="GtkArrow"
id="arrow_menu_show_session_down">
+ <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="arrow_type">down</property>
</widget>
@@ -25871,6 +25871,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -32182,18 +32185,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>
@@ -32230,6 +32221,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>
@@ -41485,6 +41488,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 a81f665eb..850d99320 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -3039,7 +3039,8 @@ public partial class ChronoJumpWindow
definedSession = true;
//fold menu session
- check_menu_session.Click();
+ if(check_menu_session.Active)
+ check_menu_session.Click();
hbox_persons_bottom_photo.Sensitive = false;
vbox_persons_bottom_no_photo.Sensitive = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]