lib/alexandria/ui/dialogs/acquire_dialog.rb in alexandria-book-collection-manager-0.6.9.pre1 vs lib/alexandria/ui/dialogs/acquire_dialog.rb in alexandria-book-collection-manager-0.6.9
- old
+ new
@@ -1,8 +1,8 @@
# Copyright (C) 2004-2006 Laurent Sansonetti
# Copyright (C) 2007 Cathal Mc Ginley
-# Modifications Copyright (C) 2011 Matijs van Zuijlen
+# Copyright (C) 2011 Matijs van Zuijlen
#
# Alexandria is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
@@ -172,11 +172,10 @@
end
row_iters.each do |iter|
log.debug { "removing iter #{iter[0]}" }
model.remove(iter)
end
-
end
else
model.freeze_notify do
# capture isbns
row_iters = []
@@ -551,11 +550,11 @@
end
def play_sound(effect)
# HACK, do some thread waiting, if possible
puts "scanning sound : #{@prefs.play_scanning_sound}"
- puts "scan sound: #{ @prefs.play_scan_sound}"
+ puts "scan sound: #{@prefs.play_scan_sound}"
if effect == 'scanning'
puts effect
return unless @prefs.play_scanning_sound
Gtk.idle_add do
@sound_players['scanning'].play('scanning')
@@ -618,10 +617,9 @@
pixbuf = pixbuf.scale(new_width, max_height)
end
cell.pixbuf = pixbuf
end
-
end
@barcodes_treeview.append_column(col)
# Add column using the second renderer