lib/grumblr/ui.rb in grumblr-2.3.3 vs lib/grumblr/ui.rb in grumblr-2.3.4
- old
+ new
@@ -212,9 +212,10 @@
active_blog = $cfg.get(:active_blog) || nil
active_blog_idx = nil
$api.blogs.each_with_index do |blog, idx|
iter = model.append
+ blog.avatar_url ||= Ppds::Tumblr::DEFAULT_AVATAR
iter[0] = pixbuffer_from_url(blog.avatar_url)
iter[1] = blog.title
active_blog_idx = idx if blog.name.eql?(active_blog)
active_blog_idx = idx if active_blog_idx.nil? and blog.is_primary == "yes"
end