alexandria-book-collection-manager 0.7.1 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +9 -0
- data/.gitignore +5 -2
- data/.hound.yml +2 -0
- data/.rubocop.yml +113 -45
- data/.rubocop_todo.yml +82 -170
- data/.simplecov +5 -1
- data/.travis.yml +45 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +60 -0
- data/ChangeLog.0 +33 -35
- data/Gemfile +6 -5
- data/INSTALL.md +164 -0
- data/README.md +52 -42
- data/Rakefile +95 -109
- data/TODO.md +9 -1
- data/alexandria-book-collection-manager.gemspec +52 -45
- data/bin/alexandria +31 -53
- data/doc/AUTHORS +61 -0
- data/doc/BUGS +31 -0
- data/doc/FAQ +365 -0
- data/doc/HACKING +19 -0
- data/doc/NEWS +341 -0
- data/doc/alexandria.1 +120 -0
- data/doc/cuecat_support.rdoc +67 -0
- data/doc/dependency_decisions.yml +80 -0
- data/lib/alexandria.rb +29 -37
- data/lib/alexandria/about.rb +52 -51
- data/lib/alexandria/book_providers.rb +94 -101
- data/lib/alexandria/book_providers/adlibris.rb +45 -85
- data/lib/alexandria/book_providers/amazon_aws.rb +105 -113
- data/lib/alexandria/book_providers/amazon_ecs_util.rb +293 -324
- data/lib/alexandria/book_providers/barnes_and_noble.rb +54 -53
- data/lib/alexandria/book_providers/douban.rb +29 -51
- data/lib/alexandria/book_providers/proxis.rb +42 -59
- data/lib/alexandria/book_providers/pseudomarc.rb +79 -99
- data/lib/alexandria/book_providers/siciliano.rb +68 -70
- data/lib/alexandria/book_providers/thalia.rb +46 -45
- data/lib/alexandria/book_providers/web.rb +17 -33
- data/lib/alexandria/book_providers/worldcat.rb +74 -102
- data/lib/alexandria/book_providers/z3950.rb +170 -174
- data/lib/alexandria/config.rb +5 -3
- data/lib/alexandria/console.rb +10 -21
- data/lib/alexandria/default_preferences.rb +37 -0
- data/lib/alexandria/execution_queue.rb +17 -15
- data/lib/alexandria/export_format.rb +47 -0
- data/lib/alexandria/export_library.rb +188 -302
- data/lib/alexandria/import_library.rb +114 -155
- data/lib/alexandria/import_library_csv.rb +46 -96
- data/lib/alexandria/library_collection.rb +79 -0
- data/lib/alexandria/library_sort_order.rb +45 -0
- data/lib/alexandria/library_store.rb +233 -0
- data/lib/alexandria/logging.rb +15 -19
- data/lib/alexandria/models/book.rb +15 -20
- data/lib/alexandria/models/library.rb +81 -363
- data/lib/alexandria/net.rb +7 -6
- data/lib/alexandria/preferences.rb +73 -91
- data/lib/alexandria/scanners.rb +4 -2
- data/lib/alexandria/scanners/{cuecat.rb → cue_cat.rb} +24 -20
- data/lib/alexandria/scanners/keyboard.rb +10 -8
- data/lib/alexandria/smart_library.rb +135 -171
- data/lib/alexandria/ui.rb +17 -15
- data/lib/alexandria/ui/about_dialog.rb +49 -0
- data/lib/alexandria/ui/{dialogs/acquire_dialog.rb → acquire_dialog.rb} +129 -152
- data/lib/alexandria/ui/alert_dialog.rb +64 -0
- data/lib/alexandria/ui/bad_isbns_dialog.rb +41 -0
- data/lib/alexandria/ui/{dialogs/barcode_animation.rb → barcode_animation.rb} +18 -15
- data/lib/alexandria/ui/{dialogs/book_properties_dialog.rb → book_properties_dialog.rb} +44 -61
- data/lib/alexandria/ui/{dialogs/book_properties_dialog_base.rb → book_properties_dialog_base.rb} +84 -89
- data/lib/alexandria/ui/builder_base.rb +9 -27
- data/lib/alexandria/ui/callbacks.rb +188 -186
- data/lib/alexandria/ui/columns.rb +2 -0
- data/lib/alexandria/ui/completion_models.rb +12 -23
- data/lib/alexandria/ui/confirm_erase_dialog.rb +33 -0
- data/lib/alexandria/ui/conflict_while_copying_dialog.rb +34 -0
- data/lib/alexandria/ui/dndable.rb +10 -8
- data/lib/alexandria/ui/error_dialog.rb +25 -0
- data/lib/alexandria/ui/export_dialog.rb +139 -0
- data/lib/alexandria/ui/icons.rb +49 -65
- data/lib/alexandria/ui/iconview.rb +15 -13
- data/lib/alexandria/ui/iconview_tooltips.rb +43 -58
- data/lib/alexandria/ui/import_dialog.rb +157 -0
- data/lib/alexandria/ui/init.rb +23 -33
- data/lib/alexandria/ui/keep_bad_isbn_dialog.rb +36 -0
- data/lib/alexandria/ui/libraries_combo.rb +18 -14
- data/lib/alexandria/ui/listview.rb +77 -88
- data/lib/alexandria/ui/main_app.rb +26 -26
- data/lib/alexandria/ui/misc_dialogs.rb +10 -0
- data/lib/alexandria/ui/multi_drag_treeview.rb +30 -41
- data/lib/alexandria/ui/{dialogs/new_book_dialog.rb → new_book_dialog.rb} +168 -215
- data/lib/alexandria/ui/new_book_dialog_manual.rb +139 -0
- data/lib/alexandria/ui/new_provider_dialog.rb +100 -0
- data/lib/alexandria/ui/new_smart_library_dialog.rb +74 -0
- data/lib/alexandria/ui/preferences_dialog.rb +313 -0
- data/lib/alexandria/ui/provider_preferences_base_dialog.rb +95 -0
- data/lib/alexandria/ui/provider_preferences_dialog.rb +35 -0
- data/lib/alexandria/ui/really_delete_dialog.rb +53 -0
- data/lib/alexandria/ui/{sidepane.rb → sidepane_manager.rb} +62 -72
- data/lib/alexandria/ui/skip_entry_dialog.rb +33 -0
- data/lib/alexandria/ui/smart_library_properties_dialog.rb +60 -0
- data/lib/alexandria/ui/{dialogs/smart_library_properties_dialog_base.rb → smart_library_properties_dialog_base.rb} +96 -172
- data/lib/alexandria/ui/smart_library_rule_box.rb +119 -0
- data/lib/alexandria/ui/sound.rb +13 -13
- data/lib/alexandria/ui/ui_manager.rb +262 -283
- data/lib/alexandria/undo_manager.rb +3 -0
- data/lib/alexandria/version.rb +6 -19
- data/lib/alexandria/web_themes.rb +24 -21
- data/po/Makefile +2 -2
- data/po/cs.po +993 -880
- data/po/cy.po +957 -874
- data/po/de.po +990 -869
- data/po/el.po +989 -869
- data/po/es.po +985 -865
- data/po/fr.po +986 -870
- data/po/ga.po +907 -823
- data/po/gl.po +981 -865
- data/po/it.po +986 -868
- data/po/ja.po +969 -853
- data/po/mk.po +983 -863
- data/po/nb.po +979 -863
- data/po/nl.po +983 -864
- data/po/pl.po +1020 -969
- data/po/pt.po +988 -861
- data/po/pt_BR.po +984 -868
- data/po/ru.po +992 -873
- data/po/sk.po +987 -869
- data/po/sv.po +977 -861
- data/po/uk.po +975 -865
- data/po/zh_TW.po +976 -860
- data/schemas/alexandria.schemas +25 -3
- data/share/alexandria/glade/acquire_dialog__builder.glade +15 -12
- data/share/alexandria/glade/book_properties_dialog__builder.glade +171 -299
- data/share/alexandria/glade/main_app__builder.glade +24 -33
- data/share/alexandria/glade/new_book_dialog__builder.glade +27 -59
- data/share/alexandria/glade/preferences_dialog__builder.glade +250 -290
- data/share/gnome/help/alexandria/C/introduction.xml +0 -8
- data/share/gnome/help/alexandria/C/searching.xml +1 -1
- data/share/gnome/help/alexandria/C/smart-libraries.xml +2 -2
- data/share/gnome/help/alexandria/C/working-with-libraries.xml +1 -1
- data/share/gnome/help/alexandria/fr/alexandria.xml +1 -1
- data/share/gnome/help/alexandria/ja/introduction.xml +0 -8
- data/share/gnome/help/alexandria/ja/smart-libraries.xml +1 -1
- data/spec/alexandria/book_providers/world_cat_provider_spec.rb +160 -0
- data/spec/alexandria/book_providers_spec.rb +77 -210
- data/spec/alexandria/book_spec.rb +16 -12
- data/spec/alexandria/console_spec.rb +27 -0
- data/spec/alexandria/export_library_spec.rb +130 -0
- data/spec/alexandria/library_spec.rb +130 -172
- data/spec/alexandria/library_store_spec.rb +37 -0
- data/spec/alexandria/preferences_spec.rb +46 -17
- data/spec/alexandria/scanners/cue_cat_spec.rb +52 -0
- data/spec/alexandria/smart_library_spec.rb +32 -25
- data/spec/alexandria/ui/about_dialog_spec.rb +14 -0
- data/spec/alexandria/ui/acquire_dialog_spec.rb +14 -0
- data/spec/alexandria/ui/alert_dialog_spec.rb +16 -0
- data/spec/alexandria/ui/bad_isbns_dialog_spec.rb +14 -0
- data/spec/alexandria/ui/book_properties_dialog_spec.rb +17 -0
- data/spec/alexandria/ui/confirm_erase_dialog_spec.rb +14 -0
- data/spec/alexandria/ui/conflict_while_copying_dialog_spec.rb +16 -0
- data/spec/alexandria/ui/error_dialog_spec.rb +14 -0
- data/spec/alexandria/ui/export_dialog_spec.rb +15 -0
- data/spec/alexandria/ui/icons_spec.rb +26 -0
- data/spec/alexandria/ui/iconview_spec.rb +9 -21
- data/spec/alexandria/ui/import_dialog_spec.rb +41 -0
- data/spec/alexandria/ui/keep_bad_isbn_dialog_spec.rb +17 -0
- data/spec/alexandria/ui/main_app_spec.rb +8 -33
- data/spec/alexandria/ui/new_book_dialog_manual_spec.rb +15 -0
- data/spec/alexandria/ui/new_book_dialog_spec.rb +22 -0
- data/spec/alexandria/ui/new_provider_dialog_spec.rb +30 -0
- data/spec/alexandria/ui/new_smart_library_dialog_spec.rb +39 -0
- data/spec/alexandria/ui/preferences_dialog_spec.rb +14 -0
- data/spec/alexandria/ui/provider_preferences_dialog_spec.rb +34 -0
- data/spec/alexandria/ui/really_delete_dialog_spec.rb +16 -0
- data/spec/alexandria/ui/sidepane_manager_spec.rb +15 -0
- data/spec/alexandria/ui/skip_entry_dialog_spec.rb +14 -0
- data/spec/alexandria/ui/smart_library_properties_dialog_spec.rb +32 -0
- data/spec/alexandria/ui/sound_spec.rb +4 -2
- data/spec/alexandria/ui/ui_manager_spec.rb +45 -20
- data/spec/end_to_end/basic_run_spec.rb +57 -0
- data/spec/spec_helper.rb +66 -33
- data/tasks/setup.rb +5 -3
- data/tasks/spec.rake +18 -3
- data/util/rake/fileinstall.rb +38 -40
- data/util/rake/gettextgenerate.rb +15 -70
- data/util/rake/omfgenerate.rb +10 -10
- metadata +176 -60
- data/INSTALL.rdoc +0 -148
- data/dogtail/basic_run_test.py +0 -9
- data/lib/alexandria/book_providers/bol_it.rb +0 -160
- data/lib/alexandria/book_providers/deastore.rb +0 -273
- data/lib/alexandria/book_providers/ibs_it.rb +0 -147
- data/lib/alexandria/book_providers/mcu.rb +0 -169
- data/lib/alexandria/book_providers/renaud.rb +0 -140
- data/lib/alexandria/book_providers/webster_it.rb +0 -167
- data/lib/alexandria/ui/dialogs/about_dialog.rb +0 -59
- data/lib/alexandria/ui/dialogs/alert_dialog.rb +0 -70
- data/lib/alexandria/ui/dialogs/bad_isbns_dialog.rb +0 -43
- data/lib/alexandria/ui/dialogs/export_dialog.rb +0 -171
- data/lib/alexandria/ui/dialogs/import_dialog.rb +0 -196
- data/lib/alexandria/ui/dialogs/misc_dialogs.rb +0 -85
- data/lib/alexandria/ui/dialogs/new_book_dialog_manual.rb +0 -154
- data/lib/alexandria/ui/dialogs/new_smart_library_dialog.rb +0 -74
- data/lib/alexandria/ui/dialogs/preferences_dialog.rb +0 -578
- data/lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb +0 -57
- data/spec/alexandria/scanners/cuecat_spec.rb +0 -65
- data/spec/alexandria/ui/dialogs_spec.rb +0 -94
- data/spec/alexandria/ui/sidepane_spec.rb +0 -27
- data/spec/alexandria/ui/ui_utilities_spec.rb +0 -60
- data/spec/alexandria/utilities_spec.rb +0 -50
- data/tasks/dogtail.rake +0 -4
@@ -1,13 +1,17 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Generated with glade 3.22.2 -->
|
2
3
|
<interface>
|
3
|
-
<requires lib="gtk+" version="
|
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
|
+
<child type="titlebar">
|
8
|
+
<placeholder/>
|
9
|
+
</child>
|
7
10
|
<child>
|
8
|
-
<object class="
|
11
|
+
<object class="GtkBox" id="vbox1">
|
9
12
|
<property name="visible">True</property>
|
10
13
|
<property name="can_focus">False</property>
|
14
|
+
<property name="orientation">vertical</property>
|
11
15
|
<child>
|
12
16
|
<placeholder/>
|
13
17
|
</child>
|
@@ -15,15 +19,16 @@
|
|
15
19
|
<placeholder/>
|
16
20
|
</child>
|
17
21
|
<child>
|
18
|
-
<object class="
|
22
|
+
<object class="GtkPaned" id="paned">
|
19
23
|
<property name="visible">True</property>
|
20
24
|
<property name="can_focus">True</property>
|
21
25
|
<property name="position">2</property>
|
22
26
|
<child>
|
23
|
-
<object class="
|
27
|
+
<object class="GtkBox" id="vbox2">
|
24
28
|
<property name="width_request">150</property>
|
25
29
|
<property name="visible">True</property>
|
26
30
|
<property name="can_focus">False</property>
|
31
|
+
<property name="orientation">vertical</property>
|
27
32
|
<child>
|
28
33
|
<object class="GtkFrame" id="frame1">
|
29
34
|
<property name="visible">True</property>
|
@@ -31,17 +36,18 @@
|
|
31
36
|
<property name="label_xalign">0</property>
|
32
37
|
<property name="label_yalign">0</property>
|
33
38
|
<child>
|
34
|
-
<object class="
|
39
|
+
<object class="GtkBox" id="hbox1">
|
35
40
|
<property name="visible">True</property>
|
36
41
|
<property name="can_focus">False</property>
|
37
42
|
<child>
|
38
43
|
<object class="GtkLabel" id="label1">
|
39
44
|
<property name="visible">True</property>
|
40
45
|
<property name="can_focus">False</property>
|
41
|
-
<property name="
|
42
|
-
<property name="
|
46
|
+
<property name="margin_left">10</property>
|
47
|
+
<property name="margin_right">10</property>
|
43
48
|
<property name="label" translatable="yes">_Libraries:</property>
|
44
49
|
<property name="use_underline">True</property>
|
50
|
+
<property name="xalign">0</property>
|
45
51
|
</object>
|
46
52
|
<packing>
|
47
53
|
<property name="expand">True</property>
|
@@ -54,7 +60,6 @@
|
|
54
60
|
<property name="visible">True</property>
|
55
61
|
<property name="can_focus">True</property>
|
56
62
|
<property name="receives_default">True</property>
|
57
|
-
<property name="use_action_appearance">False</property>
|
58
63
|
<property name="relief">none</property>
|
59
64
|
<signal name="clicked" handler="on_close_sidepane" swapped="no"/>
|
60
65
|
<child>
|
@@ -87,14 +92,15 @@
|
|
87
92
|
<object class="GtkScrolledWindow" id="scrolledwindow3">
|
88
93
|
<property name="visible">True</property>
|
89
94
|
<property name="can_focus">True</property>
|
90
|
-
<property name="hscrollbar_policy">automatic</property>
|
91
|
-
<property name="vscrollbar_policy">automatic</property>
|
92
95
|
<child>
|
93
96
|
<object class="GtkTreeView" id="library_listview">
|
94
97
|
<property name="visible">True</property>
|
95
98
|
<property name="can_focus">True</property>
|
96
99
|
<signal name="button-press-event" handler="on_library_button_press_event" swapped="no"/>
|
97
100
|
<signal name="focus-in-event" handler="on_focus" swapped="no"/>
|
101
|
+
<child internal-child="selection">
|
102
|
+
<object class="GtkTreeSelection"/>
|
103
|
+
</child>
|
98
104
|
</object>
|
99
105
|
</child>
|
100
106
|
</object>
|
@@ -120,12 +126,11 @@
|
|
120
126
|
<object class="GtkScrolledWindow" id="scrolledwindow5">
|
121
127
|
<property name="visible">True</property>
|
122
128
|
<property name="can_focus">True</property>
|
123
|
-
<property name="hscrollbar_policy">automatic</property>
|
124
|
-
<property name="vscrollbar_policy">automatic</property>
|
125
129
|
<child>
|
126
130
|
<object class="GtkIconView" id="iconview">
|
127
131
|
<property name="visible">True</property>
|
128
132
|
<property name="can_focus">True</property>
|
133
|
+
<property name="margin">0</property>
|
129
134
|
<signal name="button-press-event" handler="on_books_button_press_event" swapped="no"/>
|
130
135
|
<signal name="focus-in-event" handler="on_focus" swapped="no"/>
|
131
136
|
</object>
|
@@ -133,27 +138,21 @@
|
|
133
138
|
</object>
|
134
139
|
</child>
|
135
140
|
<child type="tab">
|
136
|
-
<
|
137
|
-
<property name="visible">True</property>
|
138
|
-
<property name="can_focus">False</property>
|
139
|
-
<property name="label" translatable="yes">label</property>
|
140
|
-
</object>
|
141
|
-
<packing>
|
142
|
-
<property name="tab_fill">False</property>
|
143
|
-
</packing>
|
141
|
+
<placeholder/>
|
144
142
|
</child>
|
145
143
|
<child>
|
146
144
|
<object class="GtkScrolledWindow" id="scrolledwindow4">
|
147
145
|
<property name="visible">True</property>
|
148
146
|
<property name="can_focus">True</property>
|
149
|
-
<property name="hscrollbar_policy">automatic</property>
|
150
|
-
<property name="vscrollbar_policy">automatic</property>
|
151
147
|
<child>
|
152
148
|
<object class="GtkTreeView" id="listview">
|
153
149
|
<property name="visible">True</property>
|
154
150
|
<property name="can_focus">True</property>
|
155
151
|
<signal name="button-press-event" handler="on_books_button_press_event" swapped="no"/>
|
156
152
|
<signal name="focus-in-event" handler="on_focus" swapped="no"/>
|
153
|
+
<child internal-child="selection">
|
154
|
+
<object class="GtkTreeSelection"/>
|
155
|
+
</child>
|
157
156
|
</object>
|
158
157
|
</child>
|
159
158
|
</object>
|
@@ -162,15 +161,7 @@
|
|
162
161
|
</packing>
|
163
162
|
</child>
|
164
163
|
<child type="tab">
|
165
|
-
<
|
166
|
-
<property name="visible">True</property>
|
167
|
-
<property name="can_focus">False</property>
|
168
|
-
<property name="label" translatable="yes">label</property>
|
169
|
-
</object>
|
170
|
-
<packing>
|
171
|
-
<property name="position">1</property>
|
172
|
-
<property name="tab_fill">False</property>
|
173
|
-
</packing>
|
164
|
+
<placeholder/>
|
174
165
|
</child>
|
175
166
|
</object>
|
176
167
|
<packing>
|
@@ -206,8 +197,8 @@
|
|
206
197
|
<object class="GtkLabel" id="status_label">
|
207
198
|
<property name="visible">True</property>
|
208
199
|
<property name="can_focus">False</property>
|
209
|
-
<property name="xalign">0</property>
|
210
200
|
<property name="single_line_mode">True</property>
|
201
|
+
<property name="xalign">0</property>
|
211
202
|
</object>
|
212
203
|
<packing>
|
213
204
|
<property name="expand">True</property>
|
@@ -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="
|
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
|
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
|
13
|
+
<!-- column-name item -->
|
14
14
|
<column type="gchararray"/>
|
15
15
|
</columns>
|
16
16
|
<data>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
</data>
|
27
27
|
</object>
|
28
28
|
<object class="GtkDialog" id="new_book_dialog">
|
29
|
-
<property name="visible">
|
29
|
+
<property name="visible">False</property>
|
30
30
|
<property name="can_focus">False</property>
|
31
31
|
<property name="border_width">8</property>
|
32
32
|
<property name="title" translatable="yes">Adding a Book</property>
|
@@ -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="
|
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="
|
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="
|
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="
|
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="
|
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="
|
278
|
+
<property name="left_attach">0</property>
|
309
279
|
<property name="top_attach">2</property>
|
310
|
-
<property name="
|
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="
|
346
|
-
<property name="
|
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="
|
4
|
-
<!-- interface-naming-policy toplevel-contextual -->
|
4
|
+
<requires lib="gtk+" version="3.0"/>
|
5
5
|
<object class="GtkDialog" id="preferences_dialog">
|
6
|
-
<property name="visible">
|
6
|
+
<property name="visible">False</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="
|
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="
|
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="
|
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="
|
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"><b>Visible Columns</b></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"><b>Book Data Providers</b></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="
|
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="
|
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="
|
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="
|
262
|
-
<property name="
|
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="
|
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"><b>Visible Columns</b></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="
|
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"><b>Barcode Scanner Device</b></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="
|
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="
|
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"><b>Sound Effects</b></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="
|
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="
|
666
|
-
<property name="
|
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">
|
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>
|