[chronojump] socialNetwork poll: questions unsensitive after send



commit f3ce3a53828bc83104f934616c57bb749ecb2171
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jun 8 16:56:51 2021 +0200

    socialNetwork poll: questions unsensitive after send

 glade/app1.glade          | 2 +-
 src/gui/sendLogAndPoll.cs | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 544bcf0b9..47b0966cc 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -48636,7 +48636,7 @@ then click this button.</property>
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
                                                         <child>
-                                                          <widget class="GtkVBox" id="vbox153">
+                                                          <widget class="GtkVBox" 
id="vbox_social_network_poll_answers">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">10</property>
diff --git a/src/gui/sendLogAndPoll.cs b/src/gui/sendLogAndPoll.cs
index 214d4c514..bae935458 100644
--- a/src/gui/sendLogAndPoll.cs
+++ b/src/gui/sendLogAndPoll.cs
@@ -45,6 +45,7 @@ public partial class ChronoJumpWindow
        //--- send poll ----
 
        [Widget] Gtk.Label label_social_network_poll_question;
+       [Widget] Gtk.VBox vbox_social_network_poll_answers;
        [Widget] Gtk.RadioButton radio_social_network_poll_nsnc;
        [Widget] Gtk.RadioButton radio_social_network_poll_facebook;
        [Widget] Gtk.RadioButton radio_social_network_poll_instagram;
@@ -210,6 +211,8 @@ public partial class ChronoJumpWindow
 
                notebook_social_network_poll_send_result.CurrentPage = 1;
                button_social_network_poll_send.Sensitive = false;
+               vbox_social_network_poll_answers.Sensitive = false;
+
                if(success) {
                        image_social_network_poll_send_yes.Show();
                        image_social_network_poll_send_no.Hide();


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