restrict-applications-dialog: Remove the Save button
Add a close button instead, as the dialogue is instant-apply. See https://developer.gnome.org/hig/stable/dialogs.html.en#instant-and-explicit-apply Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #11
This commit is contained in:
parent
8bde311b9c
commit
1d46f55be4
|
@ -10,7 +10,7 @@
|
||||||
<child internal-child="headerbar">
|
<child internal-child="headerbar">
|
||||||
<object class="GtkHeaderBar">
|
<object class="GtkHeaderBar">
|
||||||
<property name="title" translatable="yes">Restrict Applications</property>
|
<property name="title" translatable="yes">Restrict Applications</property>
|
||||||
<property name="show-close-button">False</property>
|
<property name="show-close-button">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child internal-child="vbox">
|
<child internal-child="vbox">
|
||||||
|
@ -46,16 +46,5 @@
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="action">
|
|
||||||
<object class="GtkButton" id="button_save">
|
|
||||||
<property name="can-default">True</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">_Save</property>
|
|
||||||
<property name="use-underline">True</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<action-widgets>
|
|
||||||
<action-widget response="apply" default="true">button_save</action-widget>
|
|
||||||
</action-widgets>
|
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
Loading…
Reference in New Issue