diff options
Diffstat (limited to 'src/gs-review-dialog.ui')
-rw-r--r-- | src/gs-review-dialog.ui | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/src/gs-review-dialog.ui b/src/gs-review-dialog.ui new file mode 100644 index 0000000..c79ee53 --- /dev/null +++ b/src/gs-review-dialog.ui @@ -0,0 +1,211 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.18.3 --> +<interface> + <requires lib="gtk+" version="3.10"/> + <template class="GsReviewDialog" parent="GtkDialog"> + <action-widgets> + <action-widget response="cancel">cancel_button</action-widget> + <action-widget response="ok" default="true">post_button</action-widget> + </action-widgets> + <property name="title" translatable="yes" comments="Translators: Title of the dialog box where the users can write and publish their opinions about the apps.">Post Review</property> + <property name="modal">True</property> + <property name="default_width">600</property> + <property name="default_height">300</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="use_header_bar">1</property> + <child internal-child="headerbar"> + <object class="GtkHeaderBar"> + <property name="show_close_button">False</property> + <child> + <object class="GtkButton" id="cancel_button"> + <property name="label" translatable="yes">_Cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="pack-type">start</property> + </packing> + </child> + <child> + <object class="GtkButton" id="post_button"> + <property name="label" translatable="yes" comments="Translators: A button to publish the user's opinion about the app.">_Post</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + <property name="sensitive">False</property> + </object> + <packing> + <property name="pack-type">end</property> + </packing> + </child> + </object> + </child> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox"> + <property name="margin_start">40</property> + <property name="margin_end">40</property> + <property name="margin_top">25</property> + <property name="margin_bottom">25</property> + <property name="orientation">vertical</property> + <property name="spacing">9</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + </object> + </child> + <child> + <object class="GtkBox" id="box1"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="spacing">20</property> + <property name="vexpand">True</property> + <child> + <object class="GtkBox" id="box4"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label4"> + <property name="visible">True</property> + <property name="label" translatable="yes">Rating</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GsStarWidget" id="star"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="icon-size">32</property> + <property name="interactive">True</property> + </object> + </child> + <child> + <object class="GtkLabel" id="label_rating_desc"> + <property name="height_request">30</property> + <property name="visible">True</property> + <property name="label"></property> + <property name="xalign">0.5</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="GtkBox" id="box2"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="label" translatable="yes">Summary</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="label" translatable="yes">Give a short summary of your review, for example: “Great app, would recommend”.</property> + <property name="wrap">True</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkEntry" id="summary_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkBox" id="box3"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <property name="vexpand">True</property> + <child> + <object class="GtkLabel" id="label3"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="app review" comments="Translators: This is where the users enter their opinions about the apps.">Review</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="label5"> + <property name="visible">True</property> + <property name="label" translatable="yes">What do you think of the app? Try to give reasons for your views.</property> + <property name="wrap">True</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkScrolledWindow" id="text_view_scroll"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hscrollbar_policy">automatic</property> + <property name="vscrollbar_policy">automatic</property> + <property name="shadow_type">in</property> + <property name="vexpand">True</property> + <child> + <object class="GtkTextView" id="text_view"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="height-request">120</property> + <property name="wrap-mode">word-char</property> + <style> + <class name="review-textbox"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="GtkLabel" id="label6"> + <property name="visible">True</property> + <property name="label" translatable="yes">Find what data is sent in our <a href="https://odrs.gnome.org/privacy">privacy policy</a>.</property> + <property name="wrap">True</property> + <property name="xalign">0</property> + <property name="use-markup">True</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </template> + <object class="GtkSizeGroup" id="sizegroup_folder_buttons"> + <property name="ignore-hidden">False</property> + <property name="mode">horizontal</property> + <widgets> + <widget name="cancel_button"/> + <widget name="post_button"/> + </widgets> + </object> +</interface> |