Comment 24 for bug 1003185

Revision history for this message
MarkJ (marker) wrote :

I had the same problem, "Error while adding the file monitor" shows up as a dialog when shutter boots up, when running shutter 0.89 rev.1219 on ubuntu 13.04 running from a usb drive.

The 2013-06-20 comment on the duplicate issue, says to comment out calls to fct_add_file_monitor:
    https://bugs.launchpad.net/bugs/1003185

I ended up having to do a similar thing, I commented out
    $sd->dlg_error_message( Gnome2::VFS->result_to_string($result), $d->get("Error while adding the file monitor.") );

Mario, can't we just change the error message to print to STDERR as a warning? ie:
   print "Warning! Unable to adding the file monitor."; instead of dlg_error_message()?

That way, people like https://bugs.launchpad.net/ubuntu/+source/shutter/+bug/1043118/comments/7
  can still do a command line screenshot without getting a dialog every time?