[rhythmbox] sync: replace the sync state GtkTable with a grid
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] sync: replace the sync state GtkTable with a grid
- Date: Mon, 29 Jun 2015 11:17:36 +0000 (UTC)
commit e02d268de555a528218328878d57b23820a88c6a
Author: Jonathan Matthew <jonathan d14n org>
Date: Mon Jun 29 21:15:56 2015 +1000
sync: replace the sync state GtkTable with a grid
This seems to resize better.
data/ui/sync-state.ui | 33 ++++++++++++++++-----------------
1 files changed, 16 insertions(+), 17 deletions(-)
---
diff --git a/data/ui/sync-state.ui b/data/ui/sync-state.ui
index 0c71da5..31d9ff6 100644
--- a/data/ui/sync-state.ui
+++ b/data/ui/sync-state.ui
@@ -5,6 +5,7 @@
<object class="GtkBox" id="sync-state-ui">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="valign">start</property>
<property name="border_width">6</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
@@ -12,8 +13,8 @@
<object class="GtkLabel" id="sync-before-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes">Current contents</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -41,8 +42,8 @@
<object class="GtkLabel" id="sync-after-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes">Contents after sync</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -67,45 +68,43 @@
</packing>
</child>
<child>
- <object class="GtkTable" id="table1">
+ <object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="n_columns">4</property>
- <property name="column_spacing">6</property>
- <property name="row_spacing">12</property>
+ <property name="column_homogeneous">True</property>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes">Added files:</property>
+ <property name="xalign">0</property>
</object>
<packing>
- <property name="x_options">GTK_FILL</property>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="added-tracks">
+ <object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label" translatable="yes">Removed files:</property>
<property name="xalign">0</property>
</object>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
+ <property name="left_attach">2</property>
+ <property name="top_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="label3">
+ <object class="GtkLabel" id="added-tracks">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Removed files:</property>
</object>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="x_options">GTK_FILL</property>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
</packing>
</child>
<child>
@@ -116,7 +115,7 @@
</object>
<packing>
<property name="left_attach">3</property>
- <property name="right_attach">4</property>
+ <property name="top_attach">0</property>
</packing>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]