support gimp 2.6 doesn't have gimp-remote anymore, and a few related improvements...
[booh] / bin / booh-classifier
index b6d442198827492f1e4f7f27a6c34c860f582fea..64ed74f4d7ab3cd24144ed1224eed279682dae56 100755 (executable)
@@ -161,13 +161,7 @@ Problem was: '%s' is not an executable file.
 Hint: don't forget to specify the full path to the executable,
 e.g. '/usr/bin/mplayer' is correct but 'mplayer' only is not.") % viewer_binary), { :pos_centered => true, :not_transient => true })
     end
-    browser_binary = $config['browser'].split.first
-    if browser_binary && ! File.executable?(browser_binary)
-        show_popup($main_window, utf8(_("The configured browser seems to be unavailable.
-You should fix this in Edit/Preferences so that you can open URLs.
-
-Problem was: '%s' is not an executable file.") % browser_binary), { :pos_centered => true, :not_transient => true })
-    end
+    check_browser
 end
 
 def write_config