Kaydet (Commit) 3f099e64 authored tarafından Caolán McNamara's avatar Caolán McNamara

Set requested name on .ui page, and use sizegroups

rather than making super-wide buttons, set them to not expand
and use sizegroups to give them equal width of the largest

Change-Id: Ic915ea42ec26b6dd4a32696957bc98e02fa3e282
üst 0adb958c
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="2.24"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkVBox" id="vbox1">
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkVBox" id="PersonalizationTabPage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
......@@ -23,7 +22,6 @@
<child>
<object class="GtkRadioButton" id="no_background">
<property name="label" translatable="yes">Plain look, do not use background images</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......@@ -40,7 +38,6 @@
<child>
<object class="GtkRadioButton" id="default_background">
<property name="label" translatable="yes">Pre-installed background image (if available)</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......@@ -62,7 +59,6 @@
<child>
<object class="GtkRadioButton" id="own_background">
<property name="label" translatable="yes">Own image</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......@@ -79,14 +75,13 @@
<child>
<object class="GtkButton" id="select_background">
<property name="label" translatable="yes">Select Background Image</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
......@@ -137,7 +132,6 @@
<child>
<object class="GtkRadioButton" id="no_persona">
<property name="label" translatable="yes">Plain look, do not use Personas</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......@@ -154,7 +148,6 @@
<child>
<object class="GtkRadioButton" id="default_persona">
<property name="label" translatable="yes">Pre-installed Persona (if available)</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......@@ -176,7 +169,6 @@
<child>
<object class="GtkRadioButton" id="own_persona">
<property name="label" translatable="yes">Own Persona</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......@@ -193,14 +185,13 @@
<child>
<object class="GtkButton" id="select_persona">
<property name="label" translatable="yes">Select Persona</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
......@@ -237,4 +228,10 @@
<placeholder/>
</child>
</object>
<object class="GtkSizeGroup" id="sizegroup1">
<widgets>
<widget name="select_background"/>
<widget name="select_persona"/>
</widgets>
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment