alexandria-book-collection-manager 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.hound.yml +2 -0
  4. data/.rubocop.yml +4 -4
  5. data/.rubocop_todo.yml +55 -82
  6. data/CHANGELOG.md +17 -0
  7. data/INSTALL.md +3 -3
  8. data/README.md +1 -2
  9. data/Rakefile +14 -33
  10. data/TODO.md +9 -1
  11. data/alexandria-book-collection-manager.gemspec +4 -3
  12. data/bin/alexandria +21 -34
  13. data/doc/FAQ +2 -5
  14. data/lib/alexandria.rb +4 -16
  15. data/lib/alexandria/book_providers.rb +5 -7
  16. data/lib/alexandria/book_providers/adlibris.rb +5 -3
  17. data/lib/alexandria/book_providers/amazon_aws.rb +3 -1
  18. data/lib/alexandria/book_providers/amazon_ecs_util.rb +8 -0
  19. data/lib/alexandria/book_providers/barnes_and_noble.rb +7 -4
  20. data/lib/alexandria/book_providers/douban.rb +1 -1
  21. data/lib/alexandria/book_providers/proxis.rb +11 -27
  22. data/lib/alexandria/book_providers/renaud.rb +9 -3
  23. data/lib/alexandria/book_providers/siciliano.rb +7 -4
  24. data/lib/alexandria/book_providers/thalia.rb +5 -3
  25. data/lib/alexandria/book_providers/web.rb +11 -29
  26. data/lib/alexandria/book_providers/worldcat.rb +7 -5
  27. data/lib/alexandria/book_providers/z3950.rb +10 -7
  28. data/lib/alexandria/console.rb +5 -18
  29. data/lib/alexandria/execution_queue.rb +2 -1
  30. data/lib/alexandria/export_format.rb +47 -0
  31. data/lib/alexandria/export_library.rb +72 -180
  32. data/lib/alexandria/import_library.rb +14 -23
  33. data/lib/alexandria/import_library_csv.rb +3 -6
  34. data/lib/alexandria/library_collection.rb +78 -0
  35. data/lib/alexandria/library_sort_order.rb +43 -0
  36. data/lib/alexandria/library_store.rb +222 -0
  37. data/lib/alexandria/logging.rb +2 -0
  38. data/lib/alexandria/models/book.rb +8 -16
  39. data/lib/alexandria/models/library.rb +26 -308
  40. data/lib/alexandria/preferences.rb +7 -24
  41. data/lib/alexandria/scanners/cuecat.rb +3 -1
  42. data/lib/alexandria/smart_library.rb +32 -67
  43. data/lib/alexandria/ui/builder_base.rb +6 -26
  44. data/lib/alexandria/ui/callbacks.rb +8 -34
  45. data/lib/alexandria/ui/completion_models.rb +2 -1
  46. data/lib/alexandria/ui/dialogs/about_dialog.rb +35 -47
  47. data/lib/alexandria/ui/dialogs/acquire_dialog.rb +14 -30
  48. data/lib/alexandria/ui/dialogs/alert_dialog.rb +8 -17
  49. data/lib/alexandria/ui/dialogs/bad_isbns_dialog.rb +10 -24
  50. data/lib/alexandria/ui/dialogs/book_properties_dialog.rb +17 -18
  51. data/lib/alexandria/ui/dialogs/book_properties_dialog_base.rb +25 -41
  52. data/lib/alexandria/ui/dialogs/export_dialog.rb +48 -56
  53. data/lib/alexandria/ui/dialogs/import_dialog.rb +31 -51
  54. data/lib/alexandria/ui/dialogs/keep_bad_isbn_dialog.rb +33 -0
  55. data/lib/alexandria/ui/dialogs/misc_dialogs.rb +12 -25
  56. data/lib/alexandria/ui/dialogs/new_book_dialog.rb +57 -94
  57. data/lib/alexandria/ui/dialogs/new_book_dialog_manual.rb +24 -42
  58. data/lib/alexandria/ui/dialogs/new_smart_library_dialog.rb +9 -21
  59. data/lib/alexandria/ui/dialogs/preferences_dialog.rb +27 -32
  60. data/lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb +5 -3
  61. data/lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb +15 -12
  62. data/lib/alexandria/ui/icons.rb +11 -22
  63. data/lib/alexandria/ui/init.rb +3 -3
  64. data/lib/alexandria/ui/libraries_combo.rb +1 -0
  65. data/lib/alexandria/ui/listview.rb +5 -21
  66. data/lib/alexandria/ui/multi_drag_treeview.rb +20 -32
  67. data/lib/alexandria/ui/sidepane.rb +9 -24
  68. data/lib/alexandria/ui/ui_manager.rb +36 -60
  69. data/lib/alexandria/undo_manager.rb +1 -0
  70. data/lib/alexandria/version.rb +2 -2
  71. data/lib/alexandria/web_themes.rb +1 -0
  72. data/po/cs.po +0 -4
  73. data/po/cy.po +0 -4
  74. data/po/de.po +0 -4
  75. data/po/el.po +0 -4
  76. data/po/es.po +0 -4
  77. data/po/fr.po +0 -4
  78. data/po/ga.po +0 -4
  79. data/po/gl.po +0 -4
  80. data/po/it.po +0 -4
  81. data/po/ja.po +0 -4
  82. data/po/mk.po +0 -4
  83. data/po/nb.po +0 -4
  84. data/po/nl.po +0 -4
  85. data/po/pl.po +0 -4
  86. data/po/pt.po +0 -4
  87. data/po/pt_BR.po +0 -4
  88. data/po/ru.po +0 -4
  89. data/po/sk.po +0 -4
  90. data/po/sv.po +0 -4
  91. data/po/uk.po +0 -4
  92. data/po/zh_TW.po +0 -4
  93. data/schemas/alexandria.schemas +1 -1
  94. data/share/alexandria/glade/acquire_dialog__builder.glade +14 -11
  95. data/share/alexandria/glade/book_properties_dialog__builder.glade +170 -298
  96. data/share/alexandria/glade/main_app__builder.glade +22 -16
  97. data/share/alexandria/glade/new_book_dialog__builder.glade +26 -58
  98. data/share/alexandria/glade/preferences_dialog__builder.glade +249 -289
  99. data/share/gnome/help/alexandria/C/introduction.xml +0 -4
  100. data/share/gnome/help/alexandria/ja/introduction.xml +0 -4
  101. data/spec/alexandria/book_providers_spec.rb +1 -20
  102. data/spec/alexandria/console_spec.rb +32 -0
  103. data/spec/alexandria/export_library_spec.rb +141 -0
  104. data/spec/alexandria/library_spec.rb +24 -80
  105. data/spec/alexandria/library_store_spec.rb +37 -0
  106. data/spec/alexandria/smart_library_spec.rb +27 -22
  107. data/spec/alexandria/ui/dialogs/new_book_dialog_spec.rb +22 -0
  108. data/spec/alexandria/ui/dialogs_spec.rb +104 -38
  109. data/spec/end_to_end/basic_run_spec.rb +69 -0
  110. data/spec/spec_helper.rb +13 -25
  111. data/tasks/spec.rake +15 -2
  112. data/util/rake/fileinstall.rb +1 -0
  113. metadata +38 -16
  114. data/lib/alexandria/book_providers/deastore.rb +0 -265
  115. data/lib/alexandria/book_providers/mcu.rb +0 -182
@@ -1,13 +1,14 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generated with glade 3.22.0 -->
2
3
  <interface>
3
- <requires lib="gtk+" version="2.22"/>
4
- <!-- interface-naming-policy project-wide -->
4
+ <requires lib="gtk+" version="3.0"/>
5
5
  <object class="GtkWindow" id="main_app">
6
6
  <property name="can_focus">False</property>
7
7
  <child>
8
- <object class="GtkVBox" id="vbox1">
8
+ <object class="GtkBox" id="vbox1">
9
9
  <property name="visible">True</property>
10
10
  <property name="can_focus">False</property>
11
+ <property name="orientation">vertical</property>
11
12
  <child>
12
13
  <placeholder/>
13
14
  </child>
@@ -15,15 +16,16 @@
15
16
  <placeholder/>
16
17
  </child>
17
18
  <child>
18
- <object class="GtkHPaned" id="paned">
19
+ <object class="GtkPaned" id="paned">
19
20
  <property name="visible">True</property>
20
21
  <property name="can_focus">True</property>
21
22
  <property name="position">2</property>
22
23
  <child>
23
- <object class="GtkVBox" id="vbox2">
24
+ <object class="GtkBox" id="vbox2">
24
25
  <property name="width_request">150</property>
25
26
  <property name="visible">True</property>
26
27
  <property name="can_focus">False</property>
28
+ <property name="orientation">vertical</property>
27
29
  <child>
28
30
  <object class="GtkFrame" id="frame1">
29
31
  <property name="visible">True</property>
@@ -31,17 +33,18 @@
31
33
  <property name="label_xalign">0</property>
32
34
  <property name="label_yalign">0</property>
33
35
  <child>
34
- <object class="GtkHBox" id="hbox1">
36
+ <object class="GtkBox" id="hbox1">
35
37
  <property name="visible">True</property>
36
38
  <property name="can_focus">False</property>
37
39
  <child>
38
40
  <object class="GtkLabel" id="label1">
39
41
  <property name="visible">True</property>
40
42
  <property name="can_focus">False</property>
41
- <property name="xalign">0</property>
42
- <property name="xpad">10</property>
43
+ <property name="margin_left">10</property>
44
+ <property name="margin_right">10</property>
43
45
  <property name="label" translatable="yes">_Libraries:</property>
44
46
  <property name="use_underline">True</property>
47
+ <property name="xalign">0</property>
45
48
  </object>
46
49
  <packing>
47
50
  <property name="expand">True</property>
@@ -54,7 +57,6 @@
54
57
  <property name="visible">True</property>
55
58
  <property name="can_focus">True</property>
56
59
  <property name="receives_default">True</property>
57
- <property name="use_action_appearance">False</property>
58
60
  <property name="relief">none</property>
59
61
  <signal name="clicked" handler="on_close_sidepane" swapped="no"/>
60
62
  <child>
@@ -87,14 +89,15 @@
87
89
  <object class="GtkScrolledWindow" id="scrolledwindow3">
88
90
  <property name="visible">True</property>
89
91
  <property name="can_focus">True</property>
90
- <property name="hscrollbar_policy">automatic</property>
91
- <property name="vscrollbar_policy">automatic</property>
92
92
  <child>
93
93
  <object class="GtkTreeView" id="library_listview">
94
94
  <property name="visible">True</property>
95
95
  <property name="can_focus">True</property>
96
96
  <signal name="button-press-event" handler="on_library_button_press_event" swapped="no"/>
97
97
  <signal name="focus-in-event" handler="on_focus" swapped="no"/>
98
+ <child internal-child="selection">
99
+ <object class="GtkTreeSelection"/>
100
+ </child>
98
101
  </object>
99
102
  </child>
100
103
  </object>
@@ -120,12 +123,11 @@
120
123
  <object class="GtkScrolledWindow" id="scrolledwindow5">
121
124
  <property name="visible">True</property>
122
125
  <property name="can_focus">True</property>
123
- <property name="hscrollbar_policy">automatic</property>
124
- <property name="vscrollbar_policy">automatic</property>
125
126
  <child>
126
127
  <object class="GtkIconView" id="iconview">
127
128
  <property name="visible">True</property>
128
129
  <property name="can_focus">True</property>
130
+ <property name="margin">0</property>
129
131
  <signal name="button-press-event" handler="on_books_button_press_event" swapped="no"/>
130
132
  <signal name="focus-in-event" handler="on_focus" swapped="no"/>
131
133
  </object>
@@ -146,14 +148,15 @@
146
148
  <object class="GtkScrolledWindow" id="scrolledwindow4">
147
149
  <property name="visible">True</property>
148
150
  <property name="can_focus">True</property>
149
- <property name="hscrollbar_policy">automatic</property>
150
- <property name="vscrollbar_policy">automatic</property>
151
151
  <child>
152
152
  <object class="GtkTreeView" id="listview">
153
153
  <property name="visible">True</property>
154
154
  <property name="can_focus">True</property>
155
155
  <signal name="button-press-event" handler="on_books_button_press_event" swapped="no"/>
156
156
  <signal name="focus-in-event" handler="on_focus" swapped="no"/>
157
+ <child internal-child="selection">
158
+ <object class="GtkTreeSelection"/>
159
+ </child>
157
160
  </object>
158
161
  </child>
159
162
  </object>
@@ -206,8 +209,8 @@
206
209
  <object class="GtkLabel" id="status_label">
207
210
  <property name="visible">True</property>
208
211
  <property name="can_focus">False</property>
209
- <property name="xalign">0</property>
210
212
  <property name="single_line_mode">True</property>
213
+ <property name="xalign">0</property>
211
214
  </object>
212
215
  <packing>
213
216
  <property name="expand">True</property>
@@ -225,5 +228,8 @@
225
228
  </child>
226
229
  </object>
227
230
  </child>
231
+ <child type="titlebar">
232
+ <placeholder/>
233
+ </child>
228
234
  </object>
229
235
  </interface>
@@ -1,16 +1,16 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generated with glade 3.22.0 -->
2
3
  <interface>
3
- <requires lib="gtk+" version="2.22"/>
4
- <!-- interface-naming-policy toplevel-contextual -->
4
+ <requires lib="gtk+" version="3.0"/>
5
5
  <object class="GtkListStore" id="liststore1">
6
6
  <columns>
7
- <!-- column-name item text -->
7
+ <!-- column-name item -->
8
8
  <column type="gchararray"/>
9
9
  </columns>
10
10
  </object>
11
11
  <object class="GtkListStore" id="liststore2">
12
12
  <columns>
13
- <!-- column-name item text -->
13
+ <!-- column-name item -->
14
14
  <column type="gchararray"/>
15
15
  </columns>
16
16
  <data>
@@ -36,12 +36,13 @@
36
36
  <signal name="destroy" handler="on_cancel" swapped="no"/>
37
37
  <signal name="focus-in-event" handler="on_focus" swapped="no"/>
38
38
  <child internal-child="vbox">
39
- <object class="GtkVBox" id="dialog_vbox1">
39
+ <object class="GtkBox" id="dialog_vbox1">
40
40
  <property name="visible">True</property>
41
41
  <property name="can_focus">False</property>
42
+ <property name="orientation">vertical</property>
42
43
  <property name="spacing">12</property>
43
44
  <child internal-child="action_area">
44
- <object class="GtkHButtonBox" id="dialog_action_area1">
45
+ <object class="GtkButtonBox" id="dialog_action_area1">
45
46
  <property name="visible">True</property>
46
47
  <property name="can_focus">False</property>
47
48
  <property name="layout_style">end</property>
@@ -52,7 +53,6 @@
52
53
  <property name="can_focus">True</property>
53
54
  <property name="can_default">True</property>
54
55
  <property name="receives_default">False</property>
55
- <property name="use_action_appearance">False</property>
56
56
  <property name="use_stock">True</property>
57
57
  <signal name="clicked" handler="on_help" swapped="no"/>
58
58
  </object>
@@ -69,7 +69,6 @@
69
69
  <property name="can_focus">True</property>
70
70
  <property name="can_default">True</property>
71
71
  <property name="receives_default">False</property>
72
- <property name="use_action_appearance">False</property>
73
72
  <property name="use_stock">True</property>
74
73
  <signal name="clicked" handler="on_cancel" swapped="no"/>
75
74
  </object>
@@ -87,7 +86,6 @@
87
86
  <property name="can_focus">True</property>
88
87
  <property name="can_default">True</property>
89
88
  <property name="receives_default">False</property>
90
- <property name="use_action_appearance">False</property>
91
89
  <property name="use_stock">True</property>
92
90
  <signal name="clicked" handler="on_add" swapped="no"/>
93
91
  </object>
@@ -106,32 +104,25 @@
106
104
  </packing>
107
105
  </child>
108
106
  <child>
109
- <object class="GtkTable" id="table1">
107
+ <object class="GtkGrid" id="table1">
110
108
  <property name="visible">True</property>
111
109
  <property name="can_focus">False</property>
112
110
  <property name="border_width">6</property>
113
- <property name="n_rows">5</property>
114
- <property name="n_columns">2</property>
115
- <property name="column_spacing">12</property>
116
111
  <property name="row_spacing">6</property>
112
+ <property name="column_spacing">12</property>
117
113
  <child>
118
114
  <object class="GtkCheckButton" id="keep_open">
119
115
  <property name="label" translatable="yes">_Keep Dialog Open after Adding Book</property>
120
116
  <property name="visible">True</property>
121
117
  <property name="can_focus">True</property>
122
118
  <property name="receives_default">False</property>
123
- <property name="use_action_appearance">False</property>
124
119
  <property name="relief">none</property>
125
120
  <property name="use_underline">True</property>
126
- <property name="xalign">0</property>
127
121
  <property name="draw_indicator">True</property>
128
122
  </object>
129
123
  <packing>
130
124
  <property name="left_attach">1</property>
131
- <property name="right_attach">2</property>
132
125
  <property name="top_attach">4</property>
133
- <property name="bottom_attach">5</property>
134
- <property name="x_options">GTK_FILL</property>
135
126
  </packing>
136
127
  </child>
137
128
  <child>
@@ -148,11 +139,7 @@
148
139
  </object>
149
140
  <packing>
150
141
  <property name="left_attach">1</property>
151
- <property name="right_attach">2</property>
152
142
  <property name="top_attach">3</property>
153
- <property name="bottom_attach">4</property>
154
- <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
155
- <property name="y_options"></property>
156
143
  </packing>
157
144
  </child>
158
145
  <child>
@@ -167,40 +154,31 @@
167
154
  <property name="can_focus">True</property>
168
155
  <property name="max_length">70</property>
169
156
  <property name="width_chars">13</property>
170
- <property name="primary_icon_activatable">False</property>
171
- <property name="secondary_icon_activatable">False</property>
172
- <property name="primary_icon_sensitive">True</property>
173
- <property name="secondary_icon_sensitive">True</property>
174
- <signal name="changed" handler="on_changed" swapped="no"/>
175
157
  <signal name="activate" handler="on_add" swapped="no"/>
158
+ <signal name="changed" handler="on_changed" swapped="no"/>
176
159
  </object>
177
160
  </child>
178
161
  </object>
179
162
  <packing>
180
163
  <property name="left_attach">1</property>
181
- <property name="right_attach">2</property>
182
- <property name="x_options">GTK_FILL</property>
183
- <property name="y_options">GTK_FILL</property>
164
+ <property name="top_attach">0</property>
184
165
  </packing>
185
166
  </child>
186
167
  <child>
187
168
  <object class="GtkLabel" id="label3">
188
169
  <property name="visible">True</property>
189
170
  <property name="can_focus">False</property>
190
- <property name="xalign">0</property>
191
171
  <property name="label" translatable="yes">Save _in:</property>
192
172
  <property name="use_underline">True</property>
173
+ <property name="xalign">0</property>
193
174
  </object>
194
175
  <packing>
176
+ <property name="left_attach">0</property>
195
177
  <property name="top_attach">3</property>
196
- <property name="bottom_attach">4</property>
197
- <property name="x_options">GTK_FILL</property>
198
- <property name="y_options"></property>
199
- <property name="y_padding">12</property>
200
178
  </packing>
201
179
  </child>
202
180
  <child>
203
- <object class="GtkHBox" id="hbox2">
181
+ <object class="GtkBox" id="hbox2">
204
182
  <property name="visible">True</property>
205
183
  <property name="can_focus">False</property>
206
184
  <property name="spacing">6</property>
@@ -245,12 +223,8 @@
245
223
  <property name="can_focus">True</property>
246
224
  <property name="events">GDK_EXPOSURE_MASK</property>
247
225
  <property name="width_chars">30</property>
248
- <property name="primary_icon_activatable">False</property>
249
- <property name="secondary_icon_activatable">False</property>
250
- <property name="primary_icon_sensitive">True</property>
251
- <property name="secondary_icon_sensitive">True</property>
252
- <signal name="changed" handler="on_changed" swapped="no"/>
253
226
  <signal name="activate" handler="on_find" swapped="no"/>
227
+ <signal name="changed" handler="on_changed" swapped="no"/>
254
228
  </object>
255
229
  </child>
256
230
  </object>
@@ -267,7 +241,6 @@
267
241
  <property name="sensitive">False</property>
268
242
  <property name="can_focus">True</property>
269
243
  <property name="receives_default">False</property>
270
- <property name="use_action_appearance">False</property>
271
244
  <property name="use_stock">True</property>
272
245
  <signal name="clicked" handler="on_find" swapped="no"/>
273
246
  </object>
@@ -280,18 +253,12 @@
280
253
  </object>
281
254
  <packing>
282
255
  <property name="left_attach">1</property>
283
- <property name="right_attach">2</property>
284
256
  <property name="top_attach">1</property>
285
- <property name="bottom_attach">2</property>
286
- <property name="x_options">GTK_FILL</property>
287
- <property name="y_options">GTK_FILL</property>
288
257
  </packing>
289
258
  </child>
290
259
  <child>
291
260
  <object class="GtkScrolledWindow" id="scrolledwindow">
292
261
  <property name="can_focus">True</property>
293
- <property name="hscrollbar_policy">automatic</property>
294
- <property name="vscrollbar_policy">automatic</property>
295
262
  <property name="shadow_type">etched-in</property>
296
263
  <child>
297
264
  <object class="GtkTreeView" id="treeview_results">
@@ -301,14 +268,16 @@
301
268
  <property name="headers_visible">False</property>
302
269
  <property name="rules_hint">True</property>
303
270
  <signal name="button-press-event" handler="on_results_button_press_event" swapped="no"/>
271
+ <child internal-child="selection">
272
+ <object class="GtkTreeSelection"/>
273
+ </child>
304
274
  </object>
305
275
  </child>
306
276
  </object>
307
277
  <packing>
308
- <property name="right_attach">2</property>
278
+ <property name="left_attach">0</property>
309
279
  <property name="top_attach">2</property>
310
- <property name="bottom_attach">3</property>
311
- <property name="x_options">GTK_FILL</property>
280
+ <property name="width">2</property>
312
281
  </packing>
313
282
  </child>
314
283
  <child>
@@ -317,17 +286,14 @@
317
286
  <property name="visible">True</property>
318
287
  <property name="can_focus">True</property>
319
288
  <property name="receives_default">False</property>
320
- <property name="use_action_appearance">False</property>
321
289
  <property name="use_underline">True</property>
322
290
  <property name="draw_indicator">True</property>
323
291
  <property name="group">isbn_radiobutton</property>
324
292
  <signal name="toggled" handler="on_criterion_toggled" swapped="no"/>
325
293
  </object>
326
294
  <packing>
295
+ <property name="left_attach">0</property>
327
296
  <property name="top_attach">1</property>
328
- <property name="bottom_attach">2</property>
329
- <property name="x_options">GTK_FILL</property>
330
- <property name="y_options"></property>
331
297
  </packing>
332
298
  </child>
333
299
  <child>
@@ -336,14 +302,13 @@
336
302
  <property name="visible">True</property>
337
303
  <property name="can_focus">True</property>
338
304
  <property name="receives_default">False</property>
339
- <property name="use_action_appearance">False</property>
340
305
  <property name="use_underline">True</property>
341
306
  <property name="draw_indicator">True</property>
342
307
  <signal name="toggled" handler="on_criterion_toggled" swapped="no"/>
343
308
  </object>
344
309
  <packing>
345
- <property name="x_options">GTK_FILL</property>
346
- <property name="y_options"></property>
310
+ <property name="left_attach">0</property>
311
+ <property name="top_attach">0</property>
347
312
  </packing>
348
313
  </child>
349
314
  <child>
@@ -375,5 +340,8 @@
375
340
  <action-widget response="-6">button_cancel</action-widget>
376
341
  <action-widget response="-8">button_add</action-widget>
377
342
  </action-widgets>
343
+ <child>
344
+ <placeholder/>
345
+ </child>
378
346
  </object>
379
347
  </interface>
@@ -1,18 +1,19 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generated with glade 3.22.0 -->
2
3
  <interface>
3
- <requires lib="gtk+" version="2.22"/>
4
- <!-- interface-naming-policy toplevel-contextual -->
4
+ <requires lib="gtk+" version="3.0"/>
5
5
  <object class="GtkDialog" id="preferences_dialog">
6
6
  <property name="visible">True</property>
7
7
  <property name="can_focus">False</property>
8
8
  <property name="title" translatable="yes">Preferences</property>
9
9
  <property name="type_hint">dialog</property>
10
10
  <child internal-child="vbox">
11
- <object class="GtkVBox" id="dialog_vbox1">
11
+ <object class="GtkBox" id="dialog_vbox1">
12
12
  <property name="visible">True</property>
13
13
  <property name="can_focus">False</property>
14
+ <property name="orientation">vertical</property>
14
15
  <child internal-child="action_area">
15
- <object class="GtkHButtonBox" id="dialog_action_area1">
16
+ <object class="GtkButtonBox" id="dialog_action_area1">
16
17
  <property name="visible">True</property>
17
18
  <property name="can_focus">False</property>
18
19
  <property name="layout_style">end</property>
@@ -23,7 +24,6 @@
23
24
  <property name="can_focus">True</property>
24
25
  <property name="can_default">True</property>
25
26
  <property name="receives_default">False</property>
26
- <property name="use_action_appearance">False</property>
27
27
  <property name="use_stock">True</property>
28
28
  <signal name="clicked" handler="on_help" swapped="no"/>
29
29
  </object>
@@ -40,7 +40,6 @@
40
40
  <property name="can_focus">True</property>
41
41
  <property name="can_default">True</property>
42
42
  <property name="receives_default">False</property>
43
- <property name="use_action_appearance">False</property>
44
43
  <property name="use_stock">True</property>
45
44
  <signal name="clicked" handler="on_close" swapped="no"/>
46
45
  </object>
@@ -64,18 +63,233 @@
64
63
  <property name="can_focus">True</property>
65
64
  <property name="border_width">5</property>
66
65
  <child>
67
- <object class="GtkVBox" id="vbox1">
66
+ <object class="GtkBox" id="vbox2">
68
67
  <property name="visible">True</property>
69
68
  <property name="can_focus">False</property>
70
69
  <property name="border_width">12</property>
70
+ <property name="orientation">vertical</property>
71
71
  <property name="spacing">6</property>
72
72
  <child>
73
- <object class="GtkLabel" id="label3">
73
+ <object class="GtkLabel" id="label7">
74
74
  <property name="visible">True</property>
75
75
  <property name="can_focus">False</property>
76
+ <property name="label" translatable="yes">&lt;b&gt;Visible Columns&lt;/b&gt;</property>
77
+ <property name="use_markup">True</property>
76
78
  <property name="xalign">0</property>
79
+ </object>
80
+ <packing>
81
+ <property name="expand">False</property>
82
+ <property name="fill">False</property>
83
+ <property name="position">0</property>
84
+ </packing>
85
+ </child>
86
+ <child>
87
+ <object class="GtkGrid" id="listview_table">
88
+ <property name="visible">True</property>
89
+ <property name="can_focus">False</property>
90
+ <property name="border_width">6</property>
91
+ <property name="row_spacing">6</property>
92
+ <property name="column_spacing">12</property>
93
+ <child>
94
+ <object class="GtkCheckButton" id="checkbutton_col_authors">
95
+ <property name="label" translatable="yes">_Authors</property>
96
+ <property name="visible">True</property>
97
+ <property name="can_focus">True</property>
98
+ <property name="receives_default">False</property>
99
+ <property name="use_underline">True</property>
100
+ <property name="draw_indicator">True</property>
101
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
102
+ </object>
103
+ <packing>
104
+ <property name="left_attach">0</property>
105
+ <property name="top_attach">0</property>
106
+ </packing>
107
+ </child>
108
+ <child>
109
+ <object class="GtkCheckButton" id="checkbutton_col_isbn">
110
+ <property name="label" translatable="yes">_ISBN</property>
111
+ <property name="visible">True</property>
112
+ <property name="can_focus">True</property>
113
+ <property name="receives_default">False</property>
114
+ <property name="use_underline">True</property>
115
+ <property name="draw_indicator">True</property>
116
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
117
+ </object>
118
+ <packing>
119
+ <property name="left_attach">0</property>
120
+ <property name="top_attach">1</property>
121
+ </packing>
122
+ </child>
123
+ <child>
124
+ <object class="GtkCheckButton" id="checkbutton_col_publisher">
125
+ <property name="label" translatable="yes">_Publisher</property>
126
+ <property name="visible">True</property>
127
+ <property name="can_focus">True</property>
128
+ <property name="receives_default">False</property>
129
+ <property name="use_underline">True</property>
130
+ <property name="draw_indicator">True</property>
131
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
132
+ </object>
133
+ <packing>
134
+ <property name="left_attach">0</property>
135
+ <property name="top_attach">2</property>
136
+ </packing>
137
+ </child>
138
+ <child>
139
+ <object class="GtkCheckButton" id="checkbutton_col_rating">
140
+ <property name="label" translatable="yes">_Rating</property>
141
+ <property name="visible">True</property>
142
+ <property name="can_focus">True</property>
143
+ <property name="receives_default">False</property>
144
+ <property name="use_underline">True</property>
145
+ <property name="draw_indicator">True</property>
146
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
147
+ </object>
148
+ <packing>
149
+ <property name="left_attach">0</property>
150
+ <property name="top_attach">8</property>
151
+ </packing>
152
+ </child>
153
+ <child>
154
+ <object class="GtkCheckButton" id="checkbutton_col_edition">
155
+ <property name="label" translatable="yes">_Binding</property>
156
+ <property name="visible">True</property>
157
+ <property name="can_focus">True</property>
158
+ <property name="receives_default">False</property>
159
+ <property name="use_underline">True</property>
160
+ <property name="draw_indicator">True</property>
161
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
162
+ </object>
163
+ <packing>
164
+ <property name="left_attach">0</property>
165
+ <property name="top_attach">4</property>
166
+ </packing>
167
+ </child>
168
+ <child>
169
+ <object class="GtkCheckButton" id="checkbutton_col_publish_date">
170
+ <property name="label" translatable="yes">Publish _year</property>
171
+ <property name="visible">True</property>
172
+ <property name="can_focus">True</property>
173
+ <property name="receives_default">False</property>
174
+ <property name="use_underline">True</property>
175
+ <property name="draw_indicator">True</property>
176
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
177
+ </object>
178
+ <packing>
179
+ <property name="left_attach">0</property>
180
+ <property name="top_attach">3</property>
181
+ </packing>
182
+ </child>
183
+ <child>
184
+ <object class="GtkCheckButton" id="checkbutton_col_redd">
185
+ <property name="label" translatable="yes">Read?</property>
186
+ <property name="visible">True</property>
187
+ <property name="can_focus">True</property>
188
+ <property name="receives_default">False</property>
189
+ <property name="use_underline">True</property>
190
+ <property name="draw_indicator">True</property>
191
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
192
+ </object>
193
+ <packing>
194
+ <property name="left_attach">0</property>
195
+ <property name="top_attach">5</property>
196
+ </packing>
197
+ </child>
198
+ <child>
199
+ <object class="GtkCheckButton" id="checkbutton_col_own">
200
+ <property name="label" translatable="yes">Own?</property>
201
+ <property name="visible">True</property>
202
+ <property name="can_focus">True</property>
203
+ <property name="receives_default">False</property>
204
+ <property name="use_underline">True</property>
205
+ <property name="draw_indicator">True</property>
206
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
207
+ </object>
208
+ <packing>
209
+ <property name="left_attach">0</property>
210
+ <property name="top_attach">6</property>
211
+ </packing>
212
+ </child>
213
+ <child>
214
+ <object class="GtkCheckButton" id="checkbutton_col_want">
215
+ <property name="label" translatable="yes">Want?</property>
216
+ <property name="visible">True</property>
217
+ <property name="can_focus">True</property>
218
+ <property name="receives_default">False</property>
219
+ <property name="use_underline">True</property>
220
+ <property name="draw_indicator">True</property>
221
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
222
+ </object>
223
+ <packing>
224
+ <property name="left_attach">0</property>
225
+ <property name="top_attach">7</property>
226
+ </packing>
227
+ </child>
228
+ <child>
229
+ <object class="GtkCheckButton" id="checkbutton_col_tags">
230
+ <property name="label" translatable="yes">Tags</property>
231
+ <property name="visible">True</property>
232
+ <property name="can_focus">True</property>
233
+ <property name="receives_default">False</property>
234
+ <property name="use_underline">True</property>
235
+ <property name="draw_indicator">True</property>
236
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
237
+ </object>
238
+ <packing>
239
+ <property name="left_attach">0</property>
240
+ <property name="top_attach">9</property>
241
+ </packing>
242
+ </child>
243
+ <child>
244
+ <object class="GtkCheckButton" id="checkbutton_col_loaned_to">
245
+ <property name="label" translatable="yes">Loaned to</property>
246
+ <property name="visible">True</property>
247
+ <property name="can_focus">True</property>
248
+ <property name="receives_default">False</property>
249
+ <property name="use_underline">True</property>
250
+ <property name="draw_indicator">True</property>
251
+ <signal name="toggled" handler="on_column_toggled" swapped="no"/>
252
+ </object>
253
+ <packing>
254
+ <property name="left_attach">0</property>
255
+ <property name="top_attach">10</property>
256
+ </packing>
257
+ </child>
258
+ </object>
259
+ <packing>
260
+ <property name="expand">True</property>
261
+ <property name="fill">True</property>
262
+ <property name="position">1</property>
263
+ </packing>
264
+ </child>
265
+ </object>
266
+ </child>
267
+ <child type="tab">
268
+ <object class="GtkLabel" id="label6">
269
+ <property name="visible">True</property>
270
+ <property name="can_focus">False</property>
271
+ <property name="label" translatable="yes">_List View</property>
272
+ <property name="use_underline">True</property>
273
+ <property name="mnemonic_widget">listview_table</property>
274
+ </object>
275
+ <packing>
276
+ <property name="tab_fill">False</property>
277
+ </packing>
278
+ </child>
279
+ <child>
280
+ <object class="GtkBox" id="vbox1">
281
+ <property name="visible">True</property>
282
+ <property name="can_focus">False</property>
283
+ <property name="border_width">12</property>
284
+ <property name="orientation">vertical</property>
285
+ <property name="spacing">6</property>
286
+ <child>
287
+ <object class="GtkLabel" id="label3">
288
+ <property name="visible">True</property>
289
+ <property name="can_focus">False</property>
77
290
  <property name="label" translatable="yes">&lt;b&gt;Book Data Providers&lt;/b&gt;</property>
78
291
  <property name="use_markup">True</property>
292
+ <property name="xalign">0</property>
79
293
  </object>
80
294
  <packing>
81
295
  <property name="expand">False</property>
@@ -84,7 +298,7 @@
84
298
  </packing>
85
299
  </child>
86
300
  <child>
87
- <object class="GtkHBox" id="hbox1">
301
+ <object class="GtkBox" id="hbox1">
88
302
  <property name="visible">True</property>
89
303
  <property name="can_focus">False</property>
90
304
  <property name="border_width">6</property>
@@ -93,8 +307,6 @@
93
307
  <object class="GtkScrolledWindow" id="scrolledwindow1">
94
308
  <property name="visible">True</property>
95
309
  <property name="can_focus">True</property>
96
- <property name="hscrollbar_policy">automatic</property>
97
- <property name="vscrollbar_policy">automatic</property>
98
310
  <property name="shadow_type">in</property>
99
311
  <child>
100
312
  <object class="GtkTreeView" id="treeview_providers">
@@ -104,6 +316,9 @@
104
316
  <property name="reorderable">True</property>
105
317
  <property name="rules_hint">True</property>
106
318
  <signal name="button-press-event" handler="on_providers_button_press_event" swapped="no"/>
319
+ <child internal-child="selection">
320
+ <object class="GtkTreeSelection"/>
321
+ </child>
107
322
  </object>
108
323
  </child>
109
324
  </object>
@@ -114,9 +329,10 @@
114
329
  </packing>
115
330
  </child>
116
331
  <child>
117
- <object class="GtkVButtonBox" id="buttonbox_prov">
332
+ <object class="GtkButtonBox" id="buttonbox_prov">
118
333
  <property name="visible">True</property>
119
334
  <property name="can_focus">False</property>
335
+ <property name="orientation">vertical</property>
120
336
  <property name="spacing">6</property>
121
337
  <property name="layout_style">start</property>
122
338
  <child>
@@ -125,7 +341,6 @@
125
341
  <property name="can_focus">True</property>
126
342
  <property name="can_default">True</property>
127
343
  <property name="receives_default">False</property>
128
- <property name="use_action_appearance">False</property>
129
344
  <signal name="clicked" handler="on_provider_setup" swapped="no"/>
130
345
  <child>
131
346
  <object class="GtkAlignment" id="alignment1">
@@ -134,7 +349,7 @@
134
349
  <property name="xscale">0</property>
135
350
  <property name="yscale">0</property>
136
351
  <child>
137
- <object class="GtkHBox" id="hbox2">
352
+ <object class="GtkBox" id="hbox2">
138
353
  <property name="visible">True</property>
139
354
  <property name="can_focus">False</property>
140
355
  <property name="spacing">2</property>
@@ -181,7 +396,6 @@
181
396
  <property name="can_focus">True</property>
182
397
  <property name="can_default">True</property>
183
398
  <property name="receives_default">False</property>
184
- <property name="use_action_appearance">False</property>
185
399
  <property name="use_stock">True</property>
186
400
  <signal name="clicked" handler="on_provider_up" swapped="no"/>
187
401
  </object>
@@ -198,7 +412,6 @@
198
412
  <property name="can_focus">True</property>
199
413
  <property name="can_default">True</property>
200
414
  <property name="receives_default">False</property>
201
- <property name="use_action_appearance">False</property>
202
415
  <property name="use_stock">True</property>
203
416
  <signal name="clicked" handler="on_provider_down" swapped="no"/>
204
417
  </object>
@@ -214,7 +427,6 @@
214
427
  <property name="can_focus">True</property>
215
428
  <property name="can_default">True</property>
216
429
  <property name="receives_default">False</property>
217
- <property name="use_action_appearance">False</property>
218
430
  <property name="use_stock">True</property>
219
431
  <signal name="clicked" handler="on_provider_add" swapped="no"/>
220
432
  </object>
@@ -230,7 +442,6 @@
230
442
  <property name="can_focus">True</property>
231
443
  <property name="can_default">True</property>
232
444
  <property name="receives_default">False</property>
233
- <property name="use_action_appearance">False</property>
234
445
  <property name="use_stock">True</property>
235
446
  <signal name="clicked" handler="on_provider_remove" swapped="no"/>
236
447
  </object>
@@ -258,10 +469,11 @@
258
469
  <object class="GtkLabel" id="label5">
259
470
  <property name="visible">True</property>
260
471
  <property name="can_focus">False</property>
261
- <property name="xalign">0</property>
262
- <property name="xpad">6</property>
472
+ <property name="margin_left">6</property>
473
+ <property name="margin_right">6</property>
263
474
  <property name="label" translatable="yes">Providers are libraries that supply information about books. Some of them can be configured to get better results. You can also customize the order in which they are queried.</property>
264
475
  <property name="wrap">True</property>
476
+ <property name="xalign">0</property>
265
477
  </object>
266
478
  <packing>
267
479
  <property name="expand">False</property>
@@ -277,9 +489,7 @@
277
489
  <property name="receives_default">False</property>
278
490
  <property name="tooltip_text" translatable="yes">Add and remove your own Z39.50 providers.
279
491
  Requires the Ruby/ZOOM software library.</property>
280
- <property name="use_action_appearance">False</property>
281
492
  <property name="use_underline">True</property>
282
- <property name="yalign">0.51999998092651367</property>
283
493
  <property name="draw_indicator">True</property>
284
494
  <signal name="toggled" handler="on_provider_advanced_toggled" swapped="no"/>
285
495
  </object>
@@ -308,272 +518,25 @@ Requires the Ruby/ZOOM software library.</property>
308
518
  </packing>
309
519
  </child>
310
520
  <child>
311
- <object class="GtkVBox" id="vbox2">
312
- <property name="visible">True</property>
313
- <property name="can_focus">False</property>
314
- <property name="border_width">12</property>
315
- <property name="spacing">6</property>
316
- <child>
317
- <object class="GtkLabel" id="label7">
318
- <property name="visible">True</property>
319
- <property name="can_focus">False</property>
320
- <property name="xalign">0</property>
321
- <property name="label" translatable="yes">&lt;b&gt;Visible Columns&lt;/b&gt;</property>
322
- <property name="use_markup">True</property>
323
- </object>
324
- <packing>
325
- <property name="expand">False</property>
326
- <property name="fill">False</property>
327
- <property name="position">0</property>
328
- </packing>
329
- </child>
330
- <child>
331
- <object class="GtkTable" id="listview_table">
332
- <property name="visible">True</property>
333
- <property name="can_focus">False</property>
334
- <property name="border_width">6</property>
335
- <property name="n_rows">9</property>
336
- <property name="column_spacing">12</property>
337
- <property name="row_spacing">6</property>
338
- <child>
339
- <object class="GtkCheckButton" id="checkbutton_col_authors">
340
- <property name="label" translatable="yes">_Authors</property>
341
- <property name="visible">True</property>
342
- <property name="can_focus">True</property>
343
- <property name="receives_default">False</property>
344
- <property name="use_action_appearance">False</property>
345
- <property name="use_underline">True</property>
346
- <property name="draw_indicator">True</property>
347
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
348
- </object>
349
- <packing>
350
- <property name="x_options">GTK_FILL</property>
351
- <property name="y_options"></property>
352
- </packing>
353
- </child>
354
- <child>
355
- <object class="GtkCheckButton" id="checkbutton_col_isbn">
356
- <property name="label" translatable="yes">_ISBN</property>
357
- <property name="visible">True</property>
358
- <property name="can_focus">True</property>
359
- <property name="receives_default">False</property>
360
- <property name="use_action_appearance">False</property>
361
- <property name="use_underline">True</property>
362
- <property name="draw_indicator">True</property>
363
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
364
- </object>
365
- <packing>
366
- <property name="top_attach">1</property>
367
- <property name="bottom_attach">2</property>
368
- <property name="x_options">GTK_FILL</property>
369
- <property name="y_options"></property>
370
- </packing>
371
- </child>
372
- <child>
373
- <object class="GtkCheckButton" id="checkbutton_col_publisher">
374
- <property name="label" translatable="yes">_Publisher</property>
375
- <property name="visible">True</property>
376
- <property name="can_focus">True</property>
377
- <property name="receives_default">False</property>
378
- <property name="use_action_appearance">False</property>
379
- <property name="use_underline">True</property>
380
- <property name="draw_indicator">True</property>
381
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
382
- </object>
383
- <packing>
384
- <property name="top_attach">2</property>
385
- <property name="bottom_attach">3</property>
386
- <property name="x_options">GTK_FILL</property>
387
- <property name="y_options"></property>
388
- </packing>
389
- </child>
390
- <child>
391
- <object class="GtkCheckButton" id="checkbutton_col_rating">
392
- <property name="label" translatable="yes">_Rating</property>
393
- <property name="visible">True</property>
394
- <property name="can_focus">True</property>
395
- <property name="receives_default">False</property>
396
- <property name="use_action_appearance">False</property>
397
- <property name="use_underline">True</property>
398
- <property name="draw_indicator">True</property>
399
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
400
- </object>
401
- <packing>
402
- <property name="top_attach">8</property>
403
- <property name="bottom_attach">9</property>
404
- <property name="x_options">GTK_FILL</property>
405
- <property name="y_options"></property>
406
- </packing>
407
- </child>
408
- <child>
409
- <object class="GtkCheckButton" id="checkbutton_col_edition">
410
- <property name="label" translatable="yes">_Binding</property>
411
- <property name="visible">True</property>
412
- <property name="can_focus">True</property>
413
- <property name="receives_default">False</property>
414
- <property name="use_action_appearance">False</property>
415
- <property name="use_underline">True</property>
416
- <property name="draw_indicator">True</property>
417
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
418
- </object>
419
- <packing>
420
- <property name="top_attach">4</property>
421
- <property name="bottom_attach">5</property>
422
- <property name="x_options">GTK_FILL</property>
423
- <property name="y_options"></property>
424
- </packing>
425
- </child>
426
- <child>
427
- <object class="GtkCheckButton" id="checkbutton_col_publish_date">
428
- <property name="label" translatable="yes">Publish _year</property>
429
- <property name="visible">True</property>
430
- <property name="can_focus">True</property>
431
- <property name="receives_default">False</property>
432
- <property name="use_action_appearance">False</property>
433
- <property name="use_underline">True</property>
434
- <property name="draw_indicator">True</property>
435
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
436
- </object>
437
- <packing>
438
- <property name="top_attach">3</property>
439
- <property name="bottom_attach">4</property>
440
- <property name="x_options">GTK_FILL</property>
441
- <property name="y_options"></property>
442
- </packing>
443
- </child>
444
- <child>
445
- <object class="GtkCheckButton" id="checkbutton_col_redd">
446
- <property name="label" translatable="yes">Read?</property>
447
- <property name="visible">True</property>
448
- <property name="can_focus">True</property>
449
- <property name="receives_default">False</property>
450
- <property name="use_action_appearance">False</property>
451
- <property name="use_underline">True</property>
452
- <property name="draw_indicator">True</property>
453
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
454
- </object>
455
- <packing>
456
- <property name="top_attach">5</property>
457
- <property name="bottom_attach">6</property>
458
- <property name="x_options">GTK_FILL</property>
459
- <property name="y_options"></property>
460
- </packing>
461
- </child>
462
- <child>
463
- <object class="GtkCheckButton" id="checkbutton_col_own">
464
- <property name="label" translatable="yes">Own?</property>
465
- <property name="visible">True</property>
466
- <property name="can_focus">True</property>
467
- <property name="receives_default">False</property>
468
- <property name="use_action_appearance">False</property>
469
- <property name="use_underline">True</property>
470
- <property name="draw_indicator">True</property>
471
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
472
- </object>
473
- <packing>
474
- <property name="top_attach">6</property>
475
- <property name="bottom_attach">7</property>
476
- <property name="x_options">GTK_FILL</property>
477
- <property name="y_options"></property>
478
- </packing>
479
- </child>
480
- <child>
481
- <object class="GtkCheckButton" id="checkbutton_col_want">
482
- <property name="label" translatable="yes">Want?</property>
483
- <property name="visible">True</property>
484
- <property name="can_focus">True</property>
485
- <property name="receives_default">False</property>
486
- <property name="use_action_appearance">False</property>
487
- <property name="use_underline">True</property>
488
- <property name="draw_indicator">True</property>
489
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
490
- </object>
491
- <packing>
492
- <property name="top_attach">7</property>
493
- <property name="bottom_attach">8</property>
494
- <property name="x_options">GTK_FILL</property>
495
- <property name="y_options"></property>
496
- </packing>
497
- </child>
498
- <child>
499
- <object class="GtkCheckButton" id="checkbutton_col_tags">
500
- <property name="label" translatable="yes">Tags</property>
501
- <property name="visible">True</property>
502
- <property name="can_focus">True</property>
503
- <property name="receives_default">False</property>
504
- <property name="use_action_appearance">False</property>
505
- <property name="use_underline">True</property>
506
- <property name="draw_indicator">True</property>
507
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
508
- </object>
509
- <packing>
510
- <property name="top_attach">9</property>
511
- <property name="bottom_attach">10</property>
512
- <property name="x_options">GTK_FILL</property>
513
- <property name="y_options"></property>
514
- </packing>
515
- </child>
516
- <child>
517
- <object class="GtkCheckButton" id="checkbutton_col_loaned_to">
518
- <property name="label" translatable="yes">Loaned to</property>
519
- <property name="visible">True</property>
520
- <property name="can_focus">True</property>
521
- <property name="receives_default">False</property>
522
- <property name="use_action_appearance">False</property>
523
- <property name="use_underline">True</property>
524
- <property name="draw_indicator">True</property>
525
- <signal name="toggled" handler="on_column_toggled" swapped="no"/>
526
- </object>
527
- <packing>
528
- <property name="top_attach">10</property>
529
- <property name="bottom_attach">11</property>
530
- <property name="x_options">GTK_FILL</property>
531
- <property name="y_options"></property>
532
- </packing>
533
- </child>
534
- </object>
535
- <packing>
536
- <property name="expand">True</property>
537
- <property name="fill">True</property>
538
- <property name="position">1</property>
539
- </packing>
540
- </child>
541
- </object>
542
- <packing>
543
- <property name="position">1</property>
544
- </packing>
545
- </child>
546
- <child type="tab">
547
- <object class="GtkLabel" id="label6">
548
- <property name="visible">True</property>
549
- <property name="can_focus">False</property>
550
- <property name="label" translatable="yes">_List View</property>
551
- <property name="use_underline">True</property>
552
- <property name="mnemonic_widget">listview_table</property>
553
- </object>
554
- <packing>
555
- <property name="position">1</property>
556
- <property name="tab_fill">False</property>
557
- </packing>
558
- </child>
559
- <child>
560
- <object class="GtkVBox" id="barcode_scanner_panel">
521
+ <object class="GtkBox" id="barcode_scanner_panel">
561
522
  <property name="visible">True</property>
562
523
  <property name="can_focus">False</property>
524
+ <property name="orientation">vertical</property>
563
525
  <property name="spacing">6</property>
564
526
  <child>
565
- <object class="GtkVBox" id="vbox4">
527
+ <object class="GtkBox" id="vbox4">
566
528
  <property name="visible">True</property>
567
529
  <property name="can_focus">False</property>
568
530
  <property name="border_width">12</property>
531
+ <property name="orientation">vertical</property>
569
532
  <property name="spacing">6</property>
570
533
  <child>
571
534
  <object class="GtkLabel" id="label2">
572
535
  <property name="visible">True</property>
573
536
  <property name="can_focus">False</property>
574
- <property name="xalign">0</property>
575
537
  <property name="label" translatable="yes">&lt;b&gt;Barcode Scanner Device&lt;/b&gt;</property>
576
538
  <property name="use_markup">True</property>
539
+ <property name="xalign">0</property>
577
540
  </object>
578
541
  <packing>
579
542
  <property name="expand">False</property>
@@ -582,7 +545,7 @@ Requires the Ruby/ZOOM software library.</property>
582
545
  </packing>
583
546
  </child>
584
547
  <child>
585
- <object class="GtkHBox" id="hbox3">
548
+ <object class="GtkBox" id="hbox3">
586
549
  <property name="visible">True</property>
587
550
  <property name="can_focus">False</property>
588
551
  <property name="spacing">6</property>
@@ -626,18 +589,19 @@ Requires the Ruby/ZOOM software library.</property>
626
589
  </packing>
627
590
  </child>
628
591
  <child>
629
- <object class="GtkVBox" id="vbox3">
592
+ <object class="GtkBox" id="vbox3">
630
593
  <property name="visible">True</property>
631
594
  <property name="can_focus">False</property>
632
595
  <property name="border_width">12</property>
596
+ <property name="orientation">vertical</property>
633
597
  <property name="spacing">6</property>
634
598
  <child>
635
599
  <object class="GtkLabel" id="label9">
636
600
  <property name="visible">True</property>
637
601
  <property name="can_focus">False</property>
638
- <property name="xalign">0</property>
639
602
  <property name="label" translatable="yes">&lt;b&gt;Sound Effects&lt;/b&gt;</property>
640
603
  <property name="use_markup">True</property>
604
+ <property name="xalign">0</property>
641
605
  </object>
642
606
  <packing>
643
607
  <property name="expand">False</property>
@@ -646,24 +610,21 @@ Requires the Ruby/ZOOM software library.</property>
646
610
  </packing>
647
611
  </child>
648
612
  <child>
649
- <object class="GtkTable" id="table1">
613
+ <object class="GtkGrid" id="table1">
650
614
  <property name="visible">True</property>
651
615
  <property name="can_focus">False</property>
652
- <property name="n_rows">2</property>
653
616
  <child>
654
617
  <object class="GtkCheckButton" id="use_scanning_sound">
655
618
  <property name="label" translatable="yes">Scanning</property>
656
619
  <property name="visible">True</property>
657
620
  <property name="can_focus">True</property>
658
621
  <property name="receives_default">False</property>
659
- <property name="use_action_appearance">False</property>
660
- <property name="xalign">0</property>
661
622
  <property name="draw_indicator">True</property>
662
623
  <signal name="toggled" handler="on_use_scanning_sound" swapped="no"/>
663
624
  </object>
664
625
  <packing>
665
- <property name="x_options">GTK_FILL</property>
666
- <property name="y_options"></property>
626
+ <property name="left_attach">0</property>
627
+ <property name="top_attach">0</property>
667
628
  </packing>
668
629
  </child>
669
630
  <child>
@@ -672,16 +633,12 @@ Requires the Ruby/ZOOM software library.</property>
672
633
  <property name="visible">True</property>
673
634
  <property name="can_focus">True</property>
674
635
  <property name="receives_default">False</property>
675
- <property name="use_action_appearance">False</property>
676
- <property name="xalign">0</property>
677
636
  <property name="draw_indicator">True</property>
678
637
  <signal name="toggled" handler="on_use_scan_sound" swapped="no"/>
679
638
  </object>
680
639
  <packing>
640
+ <property name="left_attach">0</property>
681
641
  <property name="top_attach">1</property>
682
- <property name="bottom_attach">2</property>
683
- <property name="x_options">GTK_FILL</property>
684
- <property name="y_options"></property>
685
642
  </packing>
686
643
  </child>
687
644
  </object>
@@ -712,7 +669,7 @@ Requires the Ruby/ZOOM software library.</property>
712
669
  <property name="mnemonic_widget">barcode_scanner_panel</property>
713
670
  </object>
714
671
  <packing>
715
- <property name="position">1</property>
672
+ <property name="position">2</property>
716
673
  <property name="tab_fill">False</property>
717
674
  </packing>
718
675
  </child>
@@ -729,5 +686,8 @@ Requires the Ruby/ZOOM software library.</property>
729
686
  <action-widget response="-11">button1</action-widget>
730
687
  <action-widget response="-7">button2</action-widget>
731
688
  </action-widgets>
689
+ <child>
690
+ <placeholder/>
691
+ </child>
732
692
  </object>
733
693
  </interface>