[sound-juicer] Add album composer entry to UI



commit cf6de60d33c84b924505f877a2847257061ead25
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Tue Oct 11 11:12:13 2011 +0100

    Add album composer entry to UI
    
    To avoid cluttering the UI with unnecessary fields the composer label
    and entry are hidden by default and will only shown for classical
    albums.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661646

 data/sound-juicer.ui |   52 ++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 42 insertions(+), 10 deletions(-)
---
diff --git a/data/sound-juicer.ui b/data/sound-juicer.ui
index a074931..13bf15d 100644
--- a/data/sound-juicer.ui
+++ b/data/sound-juicer.ui
@@ -30,9 +30,9 @@
             <property name="orientation">vertical</property>
             <property name="spacing">8</property>
             <child>
-              <object class="GtkTable" id="table1">
+              <object class="GtkTable" id="entry_table">
                 <property name="visible">True</property>
-                <property name="n_rows">4</property>
+                <property name="n_rows">5</property>
                 <property name="n_columns">2</property>
                 <property name="column_spacing">12</property>
                 <property name="row_spacing">6</property>
@@ -126,8 +126,8 @@
                   <packing>
                     <property name="left_attach">1</property>
                     <property name="right_attach">2</property>
-                    <property name="top_attach">2</property>
-                    <property name="bottom_attach">3</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
                     <property name="x_options">GTK_SHRINK | GTK_FILL</property>
                     <property name="y_options">GTK_SHRINK | GTK_FILL</property>
                   </packing>
@@ -193,6 +193,38 @@
                   </packing>
                 </child>
                 <child>
+                  <object class="GtkLabel" id="composer_label">
+                    <property name="visible">False</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes">_Composer:</property>
+                    <property name="use_underline">True</property>
+                    <property name="mnemonic_widget">composer_entry</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
+                  <packing>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEntry" id="composer_entry">
+                    <property name="visible">False</property>
+                    <property name="can_focus">True</property>
+                    <signal name="changed" handler="on_person_edit_changed" after="yes"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
                   <object class="GtkLabel" id="label31">
                     <property name="visible">True</property>
                     <property name="xalign">0</property>
@@ -204,8 +236,8 @@
                     </attributes>
                   </object>
                   <packing>
-                    <property name="top_attach">2</property>
-                    <property name="bottom_attach">3</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
                     <property name="x_options">GTK_FILL</property>
                     <property name="y_options"></property>
                   </packing>
@@ -223,8 +255,8 @@
                     </attributes>
                   </object>
                   <packing>
-                    <property name="top_attach">3</property>
-                    <property name="bottom_attach">4</property>
+                    <property name="top_attach">4</property>
+                    <property name="bottom_attach">5</property>
                     <property name="x_options">GTK_FILL</property>
                     <property name="y_options"></property>
                   </packing>
@@ -243,8 +275,8 @@
                   <packing>
                     <property name="left_attach">1</property>
                     <property name="right_attach">2</property>
-                    <property name="top_attach">3</property>
-                    <property name="bottom_attach">4</property>
+                    <property name="top_attach">4</property>
+                    <property name="bottom_attach">5</property>
                     <property name="x_options">GTK_FILL</property>
                     <property name="y_options"></property>
                   </packing>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]