src/movie_box.rb in gimdb-0.0.1 vs src/movie_box.rb in gimdb-0.0.2
- old
+ new
@@ -15,10 +15,10 @@
private
def setting_up
- img = Gtk::Image.new((@movie.image_path.nil? || !File.exists?(@movie.image_path)) ? 'data/icons/no_poster.png' : @movie.image_path)
+ img = Gtk::Image.new((@movie.image_path.nil? || !File.exists?(@movie.image_path)) ? "#{$GIMDB_PATH}/data/icons/no_poster.png" : @movie.image_path)
img.set_tooltip_text("Code: #{@movie.code}")
self.pack_start(img, false)
vbox = Gtk::VBox.new
vbox.spacing = 10