alexandria-book-collection-manager 0.6.9.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.rubocop.yml +68 -0
  4. data/.rubocop_todo.yml +200 -0
  5. data/CHANGELOG.md +23 -0
  6. data/COPYING +339 -0
  7. data/ChangeLog.0 +3598 -0
  8. data/Gemfile +9 -0
  9. data/INSTALL.rdoc +156 -0
  10. data/PACKAGING +36 -0
  11. data/README.md +88 -0
  12. data/RELEASE_CHECKLIST +18 -0
  13. data/Rakefile +264 -0
  14. data/TODO +24 -0
  15. data/alexandria-book-collection-manager.gemspec +35 -0
  16. data/alexandria.desktop.in +10 -0
  17. data/bin/alexandria +82 -0
  18. data/doc/AUTHORS +60 -0
  19. data/doc/BUGS +31 -0
  20. data/doc/FAQ +369 -0
  21. data/doc/HACKING +19 -0
  22. data/doc/NEWS +341 -0
  23. data/doc/alexandria.1 +120 -0
  24. data/doc/cuecat_support.rdoc +67 -0
  25. data/lib/alexandria.rb +85 -0
  26. data/lib/alexandria/about.rb +82 -0
  27. data/lib/alexandria/book_providers.rb +411 -0
  28. data/lib/alexandria/book_providers/adlibris.rb +235 -0
  29. data/lib/alexandria/book_providers/amazon_aws.rb +261 -0
  30. data/lib/alexandria/book_providers/amazon_ecs_util.rb +405 -0
  31. data/lib/alexandria/book_providers/barnes_and_noble.rb +229 -0
  32. data/lib/alexandria/book_providers/bol_it.rb +162 -0
  33. data/lib/alexandria/book_providers/deastore.rb +277 -0
  34. data/lib/alexandria/book_providers/douban.rb +135 -0
  35. data/lib/alexandria/book_providers/ibs_it.rb +149 -0
  36. data/lib/alexandria/book_providers/mcu.rb +177 -0
  37. data/lib/alexandria/book_providers/proxis.rb +205 -0
  38. data/lib/alexandria/book_providers/pseudomarc.rb +185 -0
  39. data/lib/alexandria/book_providers/renaud.rb +142 -0
  40. data/lib/alexandria/book_providers/siciliano.rb +271 -0
  41. data/lib/alexandria/book_providers/thalia.rb +197 -0
  42. data/lib/alexandria/book_providers/web.rb +59 -0
  43. data/lib/alexandria/book_providers/webster_it.rb +173 -0
  44. data/lib/alexandria/book_providers/worldcat.rb +251 -0
  45. data/lib/alexandria/book_providers/z3950.rb +422 -0
  46. data/lib/alexandria/config.rb +8 -0
  47. data/lib/alexandria/console.rb +31 -0
  48. data/lib/alexandria/execution_queue.rb +96 -0
  49. data/lib/alexandria/export_library.rb +536 -0
  50. data/lib/alexandria/import_library.rb +316 -0
  51. data/lib/alexandria/import_library_csv.rb +270 -0
  52. data/lib/alexandria/logging.rb +159 -0
  53. data/lib/alexandria/models/book.rb +72 -0
  54. data/lib/alexandria/models/library.rb +714 -0
  55. data/lib/alexandria/net.rb +53 -0
  56. data/lib/alexandria/preferences.rb +324 -0
  57. data/lib/alexandria/scanners.rb +42 -0
  58. data/lib/alexandria/scanners/cuecat.rb +118 -0
  59. data/lib/alexandria/scanners/keyboard.rb +57 -0
  60. data/lib/alexandria/smart_library.rb +525 -0
  61. data/lib/alexandria/ui.rb +53 -0
  62. data/lib/alexandria/ui/builder_base.rb +43 -0
  63. data/lib/alexandria/ui/callbacks.rb +389 -0
  64. data/lib/alexandria/ui/completion_models.rb +228 -0
  65. data/lib/alexandria/ui/dialogs/about_dialog.rb +59 -0
  66. data/lib/alexandria/ui/dialogs/acquire_dialog.rb +640 -0
  67. data/lib/alexandria/ui/dialogs/alert_dialog.rb +68 -0
  68. data/lib/alexandria/ui/dialogs/bad_isbns_dialog.rb +43 -0
  69. data/lib/alexandria/ui/dialogs/barcode_animation.rb +159 -0
  70. data/lib/alexandria/ui/dialogs/book_properties_dialog.rb +210 -0
  71. data/lib/alexandria/ui/dialogs/book_properties_dialog_base.rb +432 -0
  72. data/lib/alexandria/ui/dialogs/export_dialog.rb +172 -0
  73. data/lib/alexandria/ui/dialogs/import_dialog.rb +205 -0
  74. data/lib/alexandria/ui/dialogs/misc_dialogs.rb +85 -0
  75. data/lib/alexandria/ui/dialogs/new_book_dialog.rb +639 -0
  76. data/lib/alexandria/ui/dialogs/new_book_dialog_manual.rb +153 -0
  77. data/lib/alexandria/ui/dialogs/new_smart_library_dialog.rb +67 -0
  78. data/lib/alexandria/ui/dialogs/preferences_dialog.rb +587 -0
  79. data/lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb +56 -0
  80. data/lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb +432 -0
  81. data/lib/alexandria/ui/dndable.rb +81 -0
  82. data/lib/alexandria/ui/gtk_thread_help.rb +88 -0
  83. data/lib/alexandria/ui/icons.rb +100 -0
  84. data/lib/alexandria/ui/iconview.rb +91 -0
  85. data/lib/alexandria/ui/iconview_tooltips.rb +162 -0
  86. data/lib/alexandria/ui/init.rb +93 -0
  87. data/lib/alexandria/ui/libraries_combo.rb +75 -0
  88. data/lib/alexandria/ui/listview.rb +310 -0
  89. data/lib/alexandria/ui/main_app.rb +67 -0
  90. data/lib/alexandria/ui/multi_drag_treeview.rb +150 -0
  91. data/lib/alexandria/ui/sidepane.rb +194 -0
  92. data/lib/alexandria/ui/sound.rb +107 -0
  93. data/lib/alexandria/ui/ui_manager.rb +1308 -0
  94. data/lib/alexandria/undo_manager.rb +78 -0
  95. data/lib/alexandria/utils.rb +30 -0
  96. data/lib/alexandria/version.rb +24 -0
  97. data/lib/alexandria/web_themes.rb +75 -0
  98. data/misc/sounds/README +15 -0
  99. data/misc/sounds/bad_scan.csd +62 -0
  100. data/misc/sounds/good_scan.csd +61 -0
  101. data/misc/sounds/scanning.csd +46 -0
  102. data/po/ChangeLog +488 -0
  103. data/po/Makefile +44 -0
  104. data/po/README +29 -0
  105. data/po/commit-po +72 -0
  106. data/po/cs.po +1437 -0
  107. data/po/cy.po +1521 -0
  108. data/po/de.po +1400 -0
  109. data/po/el.po +1379 -0
  110. data/po/es.po +1376 -0
  111. data/po/fr.po +1420 -0
  112. data/po/ga.po +1359 -0
  113. data/po/gl.po +1397 -0
  114. data/po/it.po +1406 -0
  115. data/po/ja.po +1355 -0
  116. data/po/mk.po +1373 -0
  117. data/po/nb.po +1386 -0
  118. data/po/nl.po +1405 -0
  119. data/po/pl.po +1373 -0
  120. data/po/pt.po +1398 -0
  121. data/po/pt_BR.po +1409 -0
  122. data/po/ru.po +1372 -0
  123. data/po/sk.po +1380 -0
  124. data/po/sv.po +1402 -0
  125. data/po/uk.po +1423 -0
  126. data/po/zh_TW.po +1394 -0
  127. data/schemas/alexandria.schemas +300 -0
  128. data/share/alexandria/glade/acquire_dialog__builder.glade +201 -0
  129. data/share/alexandria/glade/book_properties_dialog__builder.glade +910 -0
  130. data/share/alexandria/glade/main_app__builder.glade +229 -0
  131. data/share/alexandria/glade/new_book_dialog__builder.glade +379 -0
  132. data/share/alexandria/glade/preferences_dialog__builder.glade +733 -0
  133. data/share/alexandria/icons/alexandria.png +0 -0
  134. data/share/alexandria/icons/alexandria_small.png +0 -0
  135. data/share/alexandria/icons/book.png +0 -0
  136. data/share/alexandria/icons/book_icon.png +0 -0
  137. data/share/alexandria/icons/book_small.png +0 -0
  138. data/share/alexandria/icons/cuecat.png +0 -0
  139. data/share/alexandria/icons/cuecat_inactive.png +0 -0
  140. data/share/alexandria/icons/favorite_tag.png +0 -0
  141. data/share/alexandria/icons/less.png +0 -0
  142. data/share/alexandria/icons/library.png +0 -0
  143. data/share/alexandria/icons/library_small.png +0 -0
  144. data/share/alexandria/icons/lookup.png +0 -0
  145. data/share/alexandria/icons/more.png +0 -0
  146. data/share/alexandria/icons/no_cover.png +0 -0
  147. data/share/alexandria/icons/smart_library.png +0 -0
  148. data/share/alexandria/icons/smart_library_small.png +0 -0
  149. data/share/alexandria/icons/star_set.png +0 -0
  150. data/share/alexandria/icons/star_unset.png +0 -0
  151. data/share/alexandria/icons/view_as_icons.png +0 -0
  152. data/share/alexandria/icons/view_as_list.png +0 -0
  153. data/share/alexandria/ui/menus.xml +91 -0
  154. data/share/alexandria/ui/popups.xml +91 -0
  155. data/share/alexandria/web-themes/clean/clean.css +85 -0
  156. data/share/alexandria/web-themes/clean/preview.jpg +0 -0
  157. data/share/alexandria/web-themes/list/list.css +105 -0
  158. data/share/alexandria/web-themes/list/preview.jpg +0 -0
  159. data/share/app-icon/16x16/alexandria.png +0 -0
  160. data/share/app-icon/16x16/alexandria.svg +263 -0
  161. data/share/app-icon/22x22/alexandria.png +0 -0
  162. data/share/app-icon/22x22/alexandria.svg +465 -0
  163. data/share/app-icon/24x24/alexandria.png +0 -0
  164. data/share/app-icon/32x32/alexandria.png +0 -0
  165. data/share/app-icon/32x32/alexandria.svg +813 -0
  166. data/share/app-icon/32x32/alexandria.xpm +241 -0
  167. data/share/app-icon/48x48/alexandria.png +0 -0
  168. data/share/app-icon/scalable/alexandria.svg +700 -0
  169. data/share/gnome/help/alexandria/C/about.xml +44 -0
  170. data/share/gnome/help/alexandria/C/adding-books.xml +339 -0
  171. data/share/gnome/help/alexandria/C/alexandria.xml +185 -0
  172. data/share/gnome/help/alexandria/C/bugs.xml +18 -0
  173. data/share/gnome/help/alexandria/C/editing-book-properties.xml +124 -0
  174. data/share/gnome/help/alexandria/C/exporting.xml +81 -0
  175. data/share/gnome/help/alexandria/C/figures/adding_books_acquire_from_scanner_process.png +0 -0
  176. data/share/gnome/help/alexandria/C/figures/adding_books_add_by_isbn.png +0 -0
  177. data/share/gnome/help/alexandria/C/figures/adding_books_isbn_import.png +0 -0
  178. data/share/gnome/help/alexandria/C/figures/adding_books_manual_details.png +0 -0
  179. data/share/gnome/help/alexandria/C/figures/adding_books_rename_library_after_import.png +0 -0
  180. data/share/gnome/help/alexandria/C/figures/adding_books_search_results.png +0 -0
  181. data/share/gnome/help/alexandria/C/figures/editing_book_properties_info.png +0 -0
  182. data/share/gnome/help/alexandria/C/figures/editing_book_properties_loaning.png +0 -0
  183. data/share/gnome/help/alexandria/C/figures/exporting_information_html.png +0 -0
  184. data/share/gnome/help/alexandria/C/figures/getting_started_first_launched.png +0 -0
  185. data/share/gnome/help/alexandria/C/figures/searching_filtering_views_list_view.png +0 -0
  186. data/share/gnome/help/alexandria/C/figures/searching_filtering_views_list_view_search.png +0 -0
  187. data/share/gnome/help/alexandria/C/figures/settings_providers_new_z3950.png +0 -0
  188. data/share/gnome/help/alexandria/C/figures/smart_libraries_new_smart_library.png +0 -0
  189. data/share/gnome/help/alexandria/C/figures/working_with_libraries_library_pane.png +0 -0
  190. data/share/gnome/help/alexandria/C/getting-started.xml +154 -0
  191. data/share/gnome/help/alexandria/C/gnu-fdl-1.2.xml +543 -0
  192. data/share/gnome/help/alexandria/C/introduction.xml +142 -0
  193. data/share/gnome/help/alexandria/C/searching.xml +90 -0
  194. data/share/gnome/help/alexandria/C/settings.xml +140 -0
  195. data/share/gnome/help/alexandria/C/smart-libraries.xml +160 -0
  196. data/share/gnome/help/alexandria/C/working-with-libraries.xml +76 -0
  197. data/share/gnome/help/alexandria/ChangeLog +99 -0
  198. data/share/gnome/help/alexandria/fr/alexandria.xml +2292 -0
  199. data/share/gnome/help/alexandria/fr/figures/alexandria_add_button.png +0 -0
  200. data/share/gnome/help/alexandria/fr/figures/alexandria_add_by_isbn_1.png +0 -0
  201. data/share/gnome/help/alexandria/fr/figures/alexandria_add_by_search_1.png +0 -0
  202. data/share/gnome/help/alexandria/fr/figures/alexandria_add_manually.png +0 -0
  203. data/share/gnome/help/alexandria/fr/figures/alexandria_add_z3950.png +0 -0
  204. data/share/gnome/help/alexandria/fr/figures/alexandria_close_button.png +0 -0
  205. data/share/gnome/help/alexandria/fr/figures/alexandria_edit_info.png +0 -0
  206. data/share/gnome/help/alexandria/fr/figures/alexandria_export_web_page.png +0 -0
  207. data/share/gnome/help/alexandria/fr/figures/alexandria_importing.png +0 -0
  208. data/share/gnome/help/alexandria/fr/figures/alexandria_library_pane.png +0 -0
  209. data/share/gnome/help/alexandria/fr/figures/alexandria_list_view.png +0 -0
  210. data/share/gnome/help/alexandria/fr/figures/alexandria_list_view_search.png +0 -0
  211. data/share/gnome/help/alexandria/fr/figures/alexandria_loaning.png +0 -0
  212. data/share/gnome/help/alexandria/fr/figures/alexandria_main_window.png +0 -0
  213. data/share/gnome/help/alexandria/fr/figures/alexandria_remove_button.png +0 -0
  214. data/share/gnome/help/alexandria/ja/about.xml +33 -0
  215. data/share/gnome/help/alexandria/ja/adding-books.xml +314 -0
  216. data/share/gnome/help/alexandria/ja/alexandria.xml +172 -0
  217. data/share/gnome/help/alexandria/ja/bugs.xml +11 -0
  218. data/share/gnome/help/alexandria/ja/editing-book-properties.xml +100 -0
  219. data/share/gnome/help/alexandria/ja/exporting.xml +98 -0
  220. data/share/gnome/help/alexandria/ja/figures/adding_books_acquire_from_scanner_process.png +0 -0
  221. data/share/gnome/help/alexandria/ja/figures/adding_books_add_by_isbn.png +0 -0
  222. data/share/gnome/help/alexandria/ja/figures/adding_books_isbn_import.png +0 -0
  223. data/share/gnome/help/alexandria/ja/figures/adding_books_manual_details.png +0 -0
  224. data/share/gnome/help/alexandria/ja/figures/adding_books_rename_library_after_import.png +0 -0
  225. data/share/gnome/help/alexandria/ja/figures/adding_books_search_results.png +0 -0
  226. data/share/gnome/help/alexandria/ja/figures/editing_book_properties_info.png +0 -0
  227. data/share/gnome/help/alexandria/ja/figures/editing_book_properties_loaning.png +0 -0
  228. data/share/gnome/help/alexandria/ja/figures/exporting_information_html.png +0 -0
  229. data/share/gnome/help/alexandria/ja/figures/getting_started_first_launched.png +0 -0
  230. data/share/gnome/help/alexandria/ja/figures/searching_filtering_views_list_view.png +0 -0
  231. data/share/gnome/help/alexandria/ja/figures/searching_filtering_views_list_view_search.png +0 -0
  232. data/share/gnome/help/alexandria/ja/figures/settings_providers_new_z3950.png +0 -0
  233. data/share/gnome/help/alexandria/ja/figures/smart_libraries_new_smart_library.png +0 -0
  234. data/share/gnome/help/alexandria/ja/figures/working_with_libraries_library_pane.png +0 -0
  235. data/share/gnome/help/alexandria/ja/getting-started.xml +144 -0
  236. data/share/gnome/help/alexandria/ja/gnu-fdl-1.2.xml +541 -0
  237. data/share/gnome/help/alexandria/ja/introduction.xml +134 -0
  238. data/share/gnome/help/alexandria/ja/searching.xml +104 -0
  239. data/share/gnome/help/alexandria/ja/settings.xml +129 -0
  240. data/share/gnome/help/alexandria/ja/smart-libraries.xml +140 -0
  241. data/share/gnome/help/alexandria/ja/working-with-libraries.xml +88 -0
  242. data/share/menu/alexandria +7 -0
  243. data/share/omf/alexandria/alexandria-C.omf.in +27 -0
  244. data/share/omf/alexandria/alexandria-fr.omf.in +30 -0
  245. data/share/sounds/alexandria/bad_scan.ogg +0 -0
  246. data/share/sounds/alexandria/bad_scan.wav +0 -0
  247. data/share/sounds/alexandria/good_scan.ogg +0 -0
  248. data/share/sounds/alexandria/good_scan.wav +0 -0
  249. data/share/sounds/alexandria/scanning.ogg +0 -0
  250. data/share/sounds/alexandria/scanning.wav +0 -0
  251. data/spec/alexandria/library_spec.rb +205 -0
  252. data/spec/alexandria/preferences_spec.rb +22 -0
  253. data/spec/alexandria/scanners/cuecat_spec.rb +68 -0
  254. data/spec/alexandria/smart_library_spec.rb +22 -0
  255. data/spec/alexandria/ui/dialogs_spec.rb +90 -0
  256. data/spec/alexandria/ui/iconview_spec.rb +27 -0
  257. data/spec/alexandria/ui/listview_spec.rb +28 -0
  258. data/spec/alexandria/ui/main_app_spec.rb +48 -0
  259. data/spec/alexandria/ui/sidepane_spec.rb +27 -0
  260. data/spec/alexandria/ui/ui_manager_spec.rb +26 -0
  261. data/spec/alexandria/ui/ui_utilities_spec.rb +60 -0
  262. data/spec/alexandria/utilities_spec.rb +50 -0
  263. data/spec/data/libraries/0.6.1-noisbn/My Library/0201398257.yaml +10 -0
  264. data/spec/data/libraries/0.6.1-noisbn/My Library/1565920007.yaml +10 -0
  265. data/spec/data/libraries/0.6.1/My Library/0192812173.yaml +9 -0
  266. data/spec/data/libraries/0.6.1/My Library/0201398257.cover +0 -0
  267. data/spec/data/libraries/0.6.1/My Library/0201398257.yaml +10 -0
  268. data/spec/data/libraries/0.6.1/My Library/1565920007.yaml +10 -0
  269. data/spec/data/libraries/0.6.2/My Library/9780140266146.cover +0 -0
  270. data/spec/data/libraries/0.6.2/My Library/9780140266146.yaml +16 -0
  271. data/spec/data/libraries/0.6.2/My Library/9780140278781.cover +0 -0
  272. data/spec/data/libraries/0.6.2/My Library/9780140278781.yaml +21 -0
  273. data/spec/data/libraries/0.6.2/My Library/9780571147168.cover +0 -0
  274. data/spec/data/libraries/0.6.2/My Library/9780571147168.yaml +20 -0
  275. data/spec/data/libraries/0.6.2/My Library/9780575079038.cover +0 -0
  276. data/spec/data/libraries/0.6.2/My Library/9780575079038.yaml +20 -0
  277. data/spec/data/libraries/0.6.2/My Library/9780755322800.cover +0 -0
  278. data/spec/data/libraries/0.6.2/My Library/9780755322800.yaml +20 -0
  279. data/spec/spec_helper.rb +46 -0
  280. data/tasks/rdoc.rake +6 -0
  281. data/tasks/setup.rb +30 -0
  282. data/tasks/spec.rake +29 -0
  283. data/tasks/test.rake +38 -0
  284. data/test/application_test.rb +39 -0
  285. data/test/book_test.rb +34 -0
  286. data/test/data/isbns.txt +3 -0
  287. data/test/isbn_test.rb +68 -0
  288. data/test/providers_test.rb +254 -0
  289. data/test/test_helper.rb +42 -0
  290. data/util/rake/fileinstall.rb +313 -0
  291. data/util/rake/gettextgenerate.rb +158 -0
  292. data/util/rake/omfgenerate.rb +79 -0
  293. metadata +452 -0
@@ -0,0 +1,229 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <interface>
3
+ <requires lib="gtk+" version="2.22"/>
4
+ <!-- interface-naming-policy project-wide -->
5
+ <object class="GtkWindow" id="main_app">
6
+ <property name="can_focus">False</property>
7
+ <child>
8
+ <object class="GtkVBox" id="vbox1">
9
+ <property name="visible">True</property>
10
+ <property name="can_focus">False</property>
11
+ <child>
12
+ <placeholder/>
13
+ </child>
14
+ <child>
15
+ <placeholder/>
16
+ </child>
17
+ <child>
18
+ <object class="GtkHPaned" id="paned">
19
+ <property name="visible">True</property>
20
+ <property name="can_focus">True</property>
21
+ <property name="position">2</property>
22
+ <child>
23
+ <object class="GtkVBox" id="vbox2">
24
+ <property name="width_request">150</property>
25
+ <property name="visible">True</property>
26
+ <property name="can_focus">False</property>
27
+ <child>
28
+ <object class="GtkFrame" id="frame1">
29
+ <property name="visible">True</property>
30
+ <property name="can_focus">False</property>
31
+ <property name="label_xalign">0</property>
32
+ <property name="label_yalign">0</property>
33
+ <child>
34
+ <object class="GtkHBox" id="hbox1">
35
+ <property name="visible">True</property>
36
+ <property name="can_focus">False</property>
37
+ <child>
38
+ <object class="GtkLabel" id="label1">
39
+ <property name="visible">True</property>
40
+ <property name="can_focus">False</property>
41
+ <property name="xalign">0</property>
42
+ <property name="xpad">10</property>
43
+ <property name="label" translatable="yes">_Libraries:</property>
44
+ <property name="use_underline">True</property>
45
+ </object>
46
+ <packing>
47
+ <property name="expand">True</property>
48
+ <property name="fill">True</property>
49
+ <property name="position">0</property>
50
+ </packing>
51
+ </child>
52
+ <child>
53
+ <object class="GtkButton" id="button1">
54
+ <property name="visible">True</property>
55
+ <property name="can_focus">True</property>
56
+ <property name="receives_default">True</property>
57
+ <property name="use_action_appearance">False</property>
58
+ <property name="relief">none</property>
59
+ <signal name="clicked" handler="on_close_sidepane" swapped="no"/>
60
+ <child>
61
+ <object class="GtkImage" id="image1">
62
+ <property name="visible">True</property>
63
+ <property name="can_focus">False</property>
64
+ <property name="stock">gtk-close</property>
65
+ </object>
66
+ </child>
67
+ </object>
68
+ <packing>
69
+ <property name="expand">False</property>
70
+ <property name="fill">False</property>
71
+ <property name="position">1</property>
72
+ </packing>
73
+ </child>
74
+ </object>
75
+ </child>
76
+ <child type="label_item">
77
+ <placeholder/>
78
+ </child>
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="GtkScrolledWindow" id="scrolledwindow3">
88
+ <property name="visible">True</property>
89
+ <property name="can_focus">True</property>
90
+ <property name="hscrollbar_policy">automatic</property>
91
+ <property name="vscrollbar_policy">automatic</property>
92
+ <child>
93
+ <object class="GtkTreeView" id="library_listview">
94
+ <property name="visible">True</property>
95
+ <property name="can_focus">True</property>
96
+ <signal name="button-press-event" handler="on_library_button_press_event" swapped="no"/>
97
+ <signal name="focus-in-event" handler="on_focus" swapped="no"/>
98
+ </object>
99
+ </child>
100
+ </object>
101
+ <packing>
102
+ <property name="expand">True</property>
103
+ <property name="fill">True</property>
104
+ <property name="position">1</property>
105
+ </packing>
106
+ </child>
107
+ </object>
108
+ <packing>
109
+ <property name="resize">False</property>
110
+ <property name="shrink">True</property>
111
+ </packing>
112
+ </child>
113
+ <child>
114
+ <object class="GtkNotebook" id="notebook">
115
+ <property name="visible">True</property>
116
+ <property name="can_focus">True</property>
117
+ <property name="show_tabs">False</property>
118
+ <signal name="switch-page" handler="on_switch_page" swapped="no"/>
119
+ <child>
120
+ <object class="GtkScrolledWindow" id="scrolledwindow5">
121
+ <property name="visible">True</property>
122
+ <property name="can_focus">True</property>
123
+ <property name="hscrollbar_policy">automatic</property>
124
+ <property name="vscrollbar_policy">automatic</property>
125
+ <child>
126
+ <object class="GtkIconView" id="iconview">
127
+ <property name="visible">True</property>
128
+ <property name="can_focus">True</property>
129
+ <signal name="button-press-event" handler="on_books_button_press_event" swapped="no"/>
130
+ <signal name="focus-in-event" handler="on_focus" swapped="no"/>
131
+ </object>
132
+ </child>
133
+ </object>
134
+ </child>
135
+ <child type="tab">
136
+ <object class="GtkLabel" id="label2">
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>
144
+ </child>
145
+ <child>
146
+ <object class="GtkScrolledWindow" id="scrolledwindow4">
147
+ <property name="visible">True</property>
148
+ <property name="can_focus">True</property>
149
+ <property name="hscrollbar_policy">automatic</property>
150
+ <property name="vscrollbar_policy">automatic</property>
151
+ <child>
152
+ <object class="GtkTreeView" id="listview">
153
+ <property name="visible">True</property>
154
+ <property name="can_focus">True</property>
155
+ <signal name="button-press-event" handler="on_books_button_press_event" swapped="no"/>
156
+ <signal name="focus-in-event" handler="on_focus" swapped="no"/>
157
+ </object>
158
+ </child>
159
+ </object>
160
+ <packing>
161
+ <property name="position">1</property>
162
+ </packing>
163
+ </child>
164
+ <child type="tab">
165
+ <object class="GtkLabel" id="label3">
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>
174
+ </child>
175
+ </object>
176
+ <packing>
177
+ <property name="resize">True</property>
178
+ <property name="shrink">True</property>
179
+ </packing>
180
+ </child>
181
+ </object>
182
+ <packing>
183
+ <property name="expand">True</property>
184
+ <property name="fill">True</property>
185
+ <property name="position">2</property>
186
+ </packing>
187
+ </child>
188
+ <child>
189
+ <object class="GtkStatusbar" id="appbar">
190
+ <property name="visible">True</property>
191
+ <property name="can_focus">False</property>
192
+ <property name="spacing">4</property>
193
+ <child>
194
+ <object class="GtkProgressBar" id="progressbar">
195
+ <property name="width_request">145</property>
196
+ <property name="visible">True</property>
197
+ <property name="can_focus">False</property>
198
+ </object>
199
+ <packing>
200
+ <property name="expand">False</property>
201
+ <property name="fill">False</property>
202
+ <property name="position">0</property>
203
+ </packing>
204
+ </child>
205
+ <child>
206
+ <object class="GtkLabel" id="status_label">
207
+ <property name="visible">True</property>
208
+ <property name="can_focus">False</property>
209
+ <property name="xalign">0</property>
210
+ <property name="single_line_mode">True</property>
211
+ </object>
212
+ <packing>
213
+ <property name="expand">True</property>
214
+ <property name="fill">True</property>
215
+ <property name="padding">5</property>
216
+ <property name="position">1</property>
217
+ </packing>
218
+ </child>
219
+ </object>
220
+ <packing>
221
+ <property name="expand">False</property>
222
+ <property name="fill">True</property>
223
+ <property name="position">3</property>
224
+ </packing>
225
+ </child>
226
+ </object>
227
+ </child>
228
+ </object>
229
+ </interface>
@@ -0,0 +1,379 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <interface>
3
+ <requires lib="gtk+" version="2.22"/>
4
+ <!-- interface-naming-policy toplevel-contextual -->
5
+ <object class="GtkListStore" id="liststore1">
6
+ <columns>
7
+ <!-- column-name item text -->
8
+ <column type="gchararray"/>
9
+ </columns>
10
+ </object>
11
+ <object class="GtkListStore" id="liststore2">
12
+ <columns>
13
+ <!-- column-name item text -->
14
+ <column type="gchararray"/>
15
+ </columns>
16
+ <data>
17
+ <row>
18
+ <col id="0" translatable="yes">by title</col>
19
+ </row>
20
+ <row>
21
+ <col id="0" translatable="yes">by authors</col>
22
+ </row>
23
+ <row>
24
+ <col id="0" translatable="yes">by keyword</col>
25
+ </row>
26
+ </data>
27
+ </object>
28
+ <object class="GtkDialog" id="new_book_dialog">
29
+ <property name="visible">True</property>
30
+ <property name="can_focus">False</property>
31
+ <property name="border_width">8</property>
32
+ <property name="title" translatable="yes">Adding a Book</property>
33
+ <property name="resizable">False</property>
34
+ <property name="modal">True</property>
35
+ <property name="type_hint">dialog</property>
36
+ <signal name="destroy" handler="on_cancel" swapped="no"/>
37
+ <signal name="focus-in-event" handler="on_focus" swapped="no"/>
38
+ <child internal-child="vbox">
39
+ <object class="GtkVBox" id="dialog_vbox1">
40
+ <property name="visible">True</property>
41
+ <property name="can_focus">False</property>
42
+ <property name="spacing">12</property>
43
+ <child internal-child="action_area">
44
+ <object class="GtkHButtonBox" id="dialog_action_area1">
45
+ <property name="visible">True</property>
46
+ <property name="can_focus">False</property>
47
+ <property name="layout_style">end</property>
48
+ <child>
49
+ <object class="GtkButton" id="button_help">
50
+ <property name="label">gtk-help</property>
51
+ <property name="visible">True</property>
52
+ <property name="can_focus">True</property>
53
+ <property name="can_default">True</property>
54
+ <property name="receives_default">False</property>
55
+ <property name="use_action_appearance">False</property>
56
+ <property name="use_stock">True</property>
57
+ <signal name="clicked" handler="on_help" swapped="no"/>
58
+ </object>
59
+ <packing>
60
+ <property name="expand">False</property>
61
+ <property name="fill">False</property>
62
+ <property name="position">0</property>
63
+ </packing>
64
+ </child>
65
+ <child>
66
+ <object class="GtkButton" id="button_cancel">
67
+ <property name="label">gtk-cancel</property>
68
+ <property name="visible">True</property>
69
+ <property name="can_focus">True</property>
70
+ <property name="can_default">True</property>
71
+ <property name="receives_default">False</property>
72
+ <property name="use_action_appearance">False</property>
73
+ <property name="use_stock">True</property>
74
+ <signal name="clicked" handler="on_cancel" swapped="no"/>
75
+ </object>
76
+ <packing>
77
+ <property name="expand">False</property>
78
+ <property name="fill">False</property>
79
+ <property name="position">1</property>
80
+ </packing>
81
+ </child>
82
+ <child>
83
+ <object class="GtkButton" id="button_add">
84
+ <property name="label">gtk-add</property>
85
+ <property name="visible">True</property>
86
+ <property name="sensitive">False</property>
87
+ <property name="can_focus">True</property>
88
+ <property name="can_default">True</property>
89
+ <property name="receives_default">False</property>
90
+ <property name="use_action_appearance">False</property>
91
+ <property name="use_stock">True</property>
92
+ <signal name="clicked" handler="on_add" swapped="no"/>
93
+ </object>
94
+ <packing>
95
+ <property name="expand">False</property>
96
+ <property name="fill">False</property>
97
+ <property name="position">2</property>
98
+ </packing>
99
+ </child>
100
+ </object>
101
+ <packing>
102
+ <property name="expand">False</property>
103
+ <property name="fill">True</property>
104
+ <property name="pack_type">end</property>
105
+ <property name="position">0</property>
106
+ </packing>
107
+ </child>
108
+ <child>
109
+ <object class="GtkTable" id="table1">
110
+ <property name="visible">True</property>
111
+ <property name="can_focus">False</property>
112
+ <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
+ <property name="row_spacing">6</property>
117
+ <child>
118
+ <object class="GtkCheckButton" id="keep_open">
119
+ <property name="label" translatable="yes">_Keep Dialog Open after Adding Book</property>
120
+ <property name="visible">True</property>
121
+ <property name="can_focus">True</property>
122
+ <property name="receives_default">False</property>
123
+ <property name="use_action_appearance">False</property>
124
+ <property name="relief">none</property>
125
+ <property name="use_underline">True</property>
126
+ <property name="xalign">0</property>
127
+ <property name="draw_indicator">True</property>
128
+ </object>
129
+ <packing>
130
+ <property name="left_attach">1</property>
131
+ <property name="right_attach">2</property>
132
+ <property name="top_attach">4</property>
133
+ <property name="bottom_attach">5</property>
134
+ <property name="x_options">GTK_FILL</property>
135
+ </packing>
136
+ </child>
137
+ <child>
138
+ <object class="GtkComboBox" id="combo_libraries">
139
+ <property name="visible">True</property>
140
+ <property name="can_focus">False</property>
141
+ <property name="model">liststore1</property>
142
+ <child>
143
+ <object class="GtkCellRendererText" id="cellrenderertext1"/>
144
+ <attributes>
145
+ <attribute name="text">0</attribute>
146
+ </attributes>
147
+ </child>
148
+ </object>
149
+ <packing>
150
+ <property name="left_attach">1</property>
151
+ <property name="right_attach">2</property>
152
+ <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
+ </packing>
157
+ </child>
158
+ <child>
159
+ <object class="GtkEventBox" id="eventbox_entry_isbn">
160
+ <property name="visible">True</property>
161
+ <property name="can_focus">False</property>
162
+ <property name="visible_window">False</property>
163
+ <signal name="button-press-event" handler="on_clicked" swapped="no"/>
164
+ <child>
165
+ <object class="GtkEntry" id="entry_isbn">
166
+ <property name="visible">True</property>
167
+ <property name="can_focus">True</property>
168
+ <property name="max_length">70</property>
169
+ <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
+ <signal name="activate" handler="on_add" swapped="no"/>
176
+ </object>
177
+ </child>
178
+ </object>
179
+ <packing>
180
+ <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>
184
+ </packing>
185
+ </child>
186
+ <child>
187
+ <object class="GtkLabel" id="label3">
188
+ <property name="visible">True</property>
189
+ <property name="can_focus">False</property>
190
+ <property name="xalign">0</property>
191
+ <property name="label" translatable="yes">Save _in:</property>
192
+ <property name="use_underline">True</property>
193
+ </object>
194
+ <packing>
195
+ <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
+ </packing>
201
+ </child>
202
+ <child>
203
+ <object class="GtkHBox" id="hbox2">
204
+ <property name="visible">True</property>
205
+ <property name="can_focus">False</property>
206
+ <property name="spacing">6</property>
207
+ <child>
208
+ <object class="GtkEventBox" id="eventbox_combo_search">
209
+ <property name="visible">True</property>
210
+ <property name="can_focus">False</property>
211
+ <property name="visible_window">False</property>
212
+ <property name="above_child">True</property>
213
+ <signal name="button-press-event" handler="on_clicked" swapped="no"/>
214
+ <child>
215
+ <object class="GtkComboBox" id="combo_search">
216
+ <property name="visible">True</property>
217
+ <property name="can_focus">False</property>
218
+ <property name="model">liststore2</property>
219
+ <child>
220
+ <object class="GtkCellRendererText" id="cellrenderertext2"/>
221
+ <attributes>
222
+ <attribute name="text">0</attribute>
223
+ </attributes>
224
+ </child>
225
+ </object>
226
+ </child>
227
+ </object>
228
+ <packing>
229
+ <property name="expand">False</property>
230
+ <property name="fill">False</property>
231
+ <property name="position">0</property>
232
+ </packing>
233
+ </child>
234
+ <child>
235
+ <object class="GtkEventBox" id="eventbox_entry_search">
236
+ <property name="visible">True</property>
237
+ <property name="can_focus">False</property>
238
+ <property name="visible_window">False</property>
239
+ <property name="above_child">True</property>
240
+ <signal name="button-press-event" handler="on_clicked" swapped="no"/>
241
+ <child>
242
+ <object class="GtkEntry" id="entry_search">
243
+ <property name="visible">True</property>
244
+ <property name="sensitive">False</property>
245
+ <property name="can_focus">True</property>
246
+ <property name="events">GDK_EXPOSURE_MASK</property>
247
+ <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
+ <signal name="activate" handler="on_find" swapped="no"/>
254
+ </object>
255
+ </child>
256
+ </object>
257
+ <packing>
258
+ <property name="expand">True</property>
259
+ <property name="fill">True</property>
260
+ <property name="position">1</property>
261
+ </packing>
262
+ </child>
263
+ <child>
264
+ <object class="GtkButton" id="button_find">
265
+ <property name="label">gtk-find</property>
266
+ <property name="visible">True</property>
267
+ <property name="sensitive">False</property>
268
+ <property name="can_focus">True</property>
269
+ <property name="receives_default">False</property>
270
+ <property name="use_action_appearance">False</property>
271
+ <property name="use_stock">True</property>
272
+ <signal name="clicked" handler="on_find" swapped="no"/>
273
+ </object>
274
+ <packing>
275
+ <property name="expand">False</property>
276
+ <property name="fill">False</property>
277
+ <property name="position">2</property>
278
+ </packing>
279
+ </child>
280
+ </object>
281
+ <packing>
282
+ <property name="left_attach">1</property>
283
+ <property name="right_attach">2</property>
284
+ <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
+ </packing>
289
+ </child>
290
+ <child>
291
+ <object class="GtkScrolledWindow" id="scrolledwindow">
292
+ <property name="can_focus">True</property>
293
+ <property name="hscrollbar_policy">automatic</property>
294
+ <property name="vscrollbar_policy">automatic</property>
295
+ <property name="shadow_type">etched-in</property>
296
+ <child>
297
+ <object class="GtkTreeView" id="treeview_results">
298
+ <property name="height_request">190</property>
299
+ <property name="visible">True</property>
300
+ <property name="can_focus">True</property>
301
+ <property name="headers_visible">False</property>
302
+ <property name="rules_hint">True</property>
303
+ <signal name="button-press-event" handler="on_results_button_press_event" swapped="no"/>
304
+ </object>
305
+ </child>
306
+ </object>
307
+ <packing>
308
+ <property name="right_attach">2</property>
309
+ <property name="top_attach">2</property>
310
+ <property name="bottom_attach">3</property>
311
+ <property name="x_options">GTK_FILL</property>
312
+ </packing>
313
+ </child>
314
+ <child>
315
+ <object class="GtkRadioButton" id="title_radiobutton">
316
+ <property name="label" translatable="yes">_Search:</property>
317
+ <property name="visible">True</property>
318
+ <property name="can_focus">True</property>
319
+ <property name="receives_default">False</property>
320
+ <property name="use_action_appearance">False</property>
321
+ <property name="use_underline">True</property>
322
+ <property name="draw_indicator">True</property>
323
+ <property name="group">isbn_radiobutton</property>
324
+ <signal name="toggled" handler="on_criterion_toggled" swapped="no"/>
325
+ </object>
326
+ <packing>
327
+ <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
+ </packing>
332
+ </child>
333
+ <child>
334
+ <object class="GtkRadioButton" id="isbn_radiobutton">
335
+ <property name="label" translatable="yes">_ISBN:</property>
336
+ <property name="visible">True</property>
337
+ <property name="can_focus">True</property>
338
+ <property name="receives_default">False</property>
339
+ <property name="use_action_appearance">False</property>
340
+ <property name="use_underline">True</property>
341
+ <property name="draw_indicator">True</property>
342
+ <signal name="toggled" handler="on_criterion_toggled" swapped="no"/>
343
+ </object>
344
+ <packing>
345
+ <property name="x_options">GTK_FILL</property>
346
+ <property name="y_options"></property>
347
+ </packing>
348
+ </child>
349
+ <child>
350
+ <placeholder/>
351
+ </child>
352
+ </object>
353
+ <packing>
354
+ <property name="expand">True</property>
355
+ <property name="fill">True</property>
356
+ <property name="position">1</property>
357
+ </packing>
358
+ </child>
359
+ <child>
360
+ <object class="GtkProgressBar" id="progressbar">
361
+ <property name="visible">True</property>
362
+ <property name="can_focus">False</property>
363
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
364
+ </object>
365
+ <packing>
366
+ <property name="expand">True</property>
367
+ <property name="fill">True</property>
368
+ <property name="position">2</property>
369
+ </packing>
370
+ </child>
371
+ </object>
372
+ </child>
373
+ <action-widgets>
374
+ <action-widget response="-11">button_help</action-widget>
375
+ <action-widget response="-6">button_cancel</action-widget>
376
+ <action-widget response="-8">button_add</action-widget>
377
+ </action-widgets>
378
+ </object>
379
+ </interface>