Show commands as they are received over the FIFO.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 6 Apr 2008 19:26:59 +0000 (19:26 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 6 Apr 2008 19:26:59 +0000 (19:26 +0000)
git-svn-id: http://svn.voria.com/code@1967 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/ipc.cpp

index b7be6ec..4d1db56 100644 (file)
@@ -237,7 +237,6 @@ IPC::fifo_activity(Glib::IOCondition cond)
                        synfig::error("IPC::fifo_activity(): IO_NVAL");
                return false;
        }
-       synfig::info(__FILE__":%d: fifo activity",__LINE__);
 
        String command;
        {
@@ -250,6 +249,7 @@ IPC::fifo_activity(Glib::IOCondition cond)
                } while(tmp!='\n');
        }
 
+       synfig::info("%s:%d: fifo activity: '%s'", __FILE__, __LINE__, command.c_str());
        process_command(command);
        return true;
 }