[chronojump] Better labels for socialNetwork poll
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Better labels for socialNetwork poll
- Date: Tue, 8 Jun 2021 14:48:30 +0000 (UTC)
commit 319c8c7a3e9049b8bf16e98e1c7a81251b56e88b
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jun 8 16:48:04 2021 +0200
Better labels for socialNetwork poll
glade/app1.glade | 31 ++++++++++++++++++++++++++++---
src/json/json.cs | 4 ++--
2 files changed, 30 insertions(+), 5 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index e4286eed1..3c14c722a 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -48594,11 +48594,36 @@ then click this button.</property>
<property name="border_width">20</property>
<property name="spacing">16</property>
<child>
- <widget class="GtkLabel" id="label645">
+ <widget class="GtkVBox" id="vbox261">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">What
social network do you use to watch videos?</property>
+ <property name="spacing">8</property>
+ <child>
+ <widget class="GtkLabel" id="label648">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label"
translatable="yes">Please, help us to provide videos on the most suitable platforms.</property>
+ </widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label645">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">What
social network do you use to watch videos?</property>
+ </widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/json/json.cs b/src/json/json.cs
index ca5355d81..a93cc3b28 100644
--- a/src/json/json.cs
+++ b/src/json/json.cs
@@ -473,7 +473,7 @@ public class Json
// Writes the json object into the request dataStream
Stream dataStream;
- if(! getWebRequestStream (request, out dataStream, "Could not send socialNetwork (A)."))
+ if(! getWebRequestStream (request, out dataStream, "Could not send poll."))
return false;
dataStream.Write (Encoding.UTF8.GetBytes(js), 0, js.Length);
@@ -482,7 +482,7 @@ public class Json
// Get the response.
WebResponse response;
- if(! getWebResponse (request, out response, "Could not send socialNetwork (B)."))
+ if(! getWebResponse (request, out response, "Could not receive poll."))
return false;
// Display the status (will be 201, CREATED)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]