ocarina6.glade: Polish the collection manager tab

- Adjust spacing of the FileChooser
- Rename button from OK -> Add
- Add tooltips to the buttons
- Rename column from Path -> Collection
- Filter out files that aren't directories
This commit is contained in:
Anna Schumaker 2014-06-22 11:03:37 -04:00
parent fdb31916a6
commit 8c7b1a9a27
1 changed files with 12 additions and 5 deletions

View File

@ -7,6 +7,11 @@
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkFileFilter" id="filefilter1">
<mime-types>
<mime-type>inode/directory</mime-type>
</mime-types>
</object>
<object class="GtkImage" id="image12">
<property name="visible">True</property>
<property name="can_focus">False</property>
@ -1070,8 +1075,10 @@ Manager</property>
<property name="can_focus">False</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="action">select-folder</property>
<property name="create_folders">False</property>
<property name="filter">filefilter1</property>
<property name="preview_widget_active">False</property>
<property name="use_preview_label">False</property>
</object>
@ -1097,6 +1104,7 @@ Manager</property>
<property name="hscroll_policy">natural</property>
<property name="vscroll_policy">natural</property>
<property name="model">o_collection_list</property>
<property name="headers_clickable">False</property>
<property name="rules_hint">True</property>
<property name="enable_search">False</property>
<child internal-child="selection">
@ -1127,7 +1135,7 @@ Manager</property>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn32">
<property name="title" translatable="yes">Path</property>
<property name="title" translatable="yes">Collection</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
<attributes>
@ -1157,6 +1165,7 @@ Manager</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Add the selected directory to the collection.</property>
<child>
<object class="GtkBox" id="box11">
<property name="visible">True</property>
@ -1178,7 +1187,7 @@ Manager</property>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">OK</property>
<property name="label" translatable="yes">Add</property>
<property name="justify">center</property>
</object>
<packing>
@ -1202,6 +1211,7 @@ Manager</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Update all collections.</property>
<child>
<object class="GtkBox" id="box13">
<property name="visible">True</property>
@ -1592,8 +1602,6 @@ Manager</property>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
@ -1660,7 +1668,6 @@ Manager</property>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
</object>