ussd-dialog: Reindent

Done as a separate commit to ease review

Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/761>
This commit is contained in:
Guido Günther
2024-11-10 15:54:54 +01:00
parent 4bd12c1102
commit d275a1cedc

View File

@@ -67,84 +67,84 @@
<property name="follows-content-size">True</property> <property name="follows-content-size">True</property>
<property name="child"> <property name="child">
<object class="AdwToolbarView"> <object class="AdwToolbarView">
<child type="top"> <child type="top">
<object class="AdwHeaderBar"> <object class="AdwHeaderBar">
<property name="show-start-title-buttons">False</property> <property name="show-start-title-buttons">False</property>
<property name="show-end-title-buttons">False</property> <property name="show-end-title-buttons">False</property>
<child type="start"> <child type="start">
<object class="GtkButton" id="ussd_cancel_button"> <object class="GtkButton" id="ussd_cancel_button">
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="focus-on-click">False</property> <property name="focus-on-click">False</property>
<property name="label" translatable="yes">_Cancel</property> <property name="label" translatable="yes">_Cancel</property>
<signal name="clicked" handler="window_ussd_cancel_clicked_cb" swapped="yes"/> <signal name="clicked" handler="window_ussd_cancel_clicked_cb" swapped="yes"/>
</object>
</child>
<child type="start">
<object class="GtkButton" id="ussd_close_button">
<property name="visible" bind-source="ussd_cancel_button" bind-property="visible" bind-flags="sync-create|invert-boolean|bidirectional"/>
<property name="focus-on-click">False</property>
<property name="use-underline">True</property>
<property name="label" translatable="yes">_Close</property>
<signal name="clicked" handler="gtk_widget_hide" object="ussd_dialog" swapped="yes"/>
</object>
</child>
<child type="end">
<object class="GtkButton" id="ussd_reply_button">
<property name="label" translatable="yes">_Send</property>
<property name="focus-on-click">False</property>
<property name="sensitive">False</property>
<property name="use-underline">True</property>
<signal name="clicked" handler="window_ussd_reply_clicked_cb" swapped="yes"/>
<style>
<class name="suggested-action"/>
</style>
</object>
</child>
</object>
</child>
<property name="content">
<object class="GtkBox">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<child>
<object class="GtkStack" id="ussd_stack">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<child>
<object class="GtkBox" id="ussd_content">
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="ussd_label">
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
</child>
<child>
<object class="GtkEntry" id="ussd_entry">
<property name="visible">False</property>
<property name="input-purpose">phone</property>
<signal name="changed" handler="window_ussd_entry_changed_cb" swapped="yes"/>
</object>
</child>
</object> </object>
</child> </child>
<child type="start">
<object class="GtkButton" id="ussd_close_button">
<property name="visible" bind-source="ussd_cancel_button" bind-property="visible" bind-flags="sync-create|invert-boolean|bidirectional"/>
<property name="focus-on-click">False</property>
<property name="use-underline">True</property>
<property name="label" translatable="yes">_Close</property>
<signal name="clicked" handler="gtk_widget_hide" object="ussd_dialog" swapped="yes"/>
</object>
</child>
<child type="end">
<object class="GtkButton" id="ussd_reply_button">
<property name="label" translatable="yes">_Send</property>
<property name="focus-on-click">False</property>
<property name="sensitive">False</property>
<property name="use-underline">True</property>
<signal name="clicked" handler="window_ussd_reply_clicked_cb" swapped="yes"/>
<style>
<class name="suggested-action"/>
</style>
</object>
</child>
</object>
</child>
<property name="content">
<object class="GtkBox">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<child> <child>
<object class="AdwSpinner" id="ussd_spinner"> <object class="GtkStack" id="ussd_stack">
<property name="valign">center</property> <property name="hexpand">True</property>
<property name="vexpand">True</property> <property name="vexpand">True</property>
<property name="width-request">48</property> <property name="halign">center</property>
<property name="height-request">48</property> <property name="valign">center</property>
<child>
<object class="GtkBox" id="ussd_content">
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="ussd_label">
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
</child>
<child>
<object class="GtkEntry" id="ussd_entry">
<property name="visible">False</property>
<property name="input-purpose">phone</property>
<signal name="changed" handler="window_ussd_entry_changed_cb" swapped="yes"/>
</object>
</child>
</object>
</child>
<child>
<object class="AdwSpinner" id="ussd_spinner">
<property name="valign">center</property>
<property name="vexpand">True</property>
<property name="width-request">48</property>
<property name="height-request">48</property>
</object>
</child>
</object> </object>
</child> </child>
</object> </object>
</child> </property>
</object>
</property>
</object> </object>
</property> </property>
</object> </object>
@@ -158,13 +158,13 @@
</section> </section>
<section> <section>
<!--item> <!--item>
<attribute name="label" translatable="yes">_Keyboard shortcuts</attribute> <attribute name="label" translatable="yes">_Keyboard shortcuts</attribute>
<attribute name="action"></attribute> <attribute name="action"></attribute>
</item--> </item-->
<!--item> <!--item>
<attribute name="label" translatable="yes">_Help</attribute> <attribute name="label" translatable="yes">_Help</attribute>
<attribute name="action"></attribute> <attribute name="action"></attribute>
</item--> </item-->
<item> <item>
<attribute name="label" translatable="yes" comments="&quot;Calls&quot; is the application name, do not translate">_About Calls</attribute> <attribute name="label" translatable="yes" comments="&quot;Calls&quot; is the application name, do not translate">_About Calls</attribute>
<attribute name="action">win.about</attribute> <attribute name="action">win.about</attribute>