X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Fremote.c;h=fc7117e88e9b240ec1f5bc9d85b3bb7edd17e2d2;hp=3d11d227fa000a591764181ccd3a019f8bfb5f53;hb=529b863a529dda3c909878df3265d3246bcf2f3c;hpb=ecbdd1d662bea569244d6822e594ff6cfb185ed8 diff --git a/src/remote.c b/src/remote.c index 3d11d227..fc7117e8 100644 --- a/src/remote.c +++ b/src/remote.c @@ -536,7 +536,10 @@ static void gr_file_tell(const gchar *text, GIOChannel *channel, gpointer data) LayoutWindow *lw = NULL; /* NULL to force layout_valid() to do some magic */ if (!layout_valid(&lw)) return; if (image_get_path(lw->image)) - printf_term("%s %s\n", GQ_APPNAME, image_get_path(lw->image)); + { + g_io_channel_write_chars(channel, image_get_path(lw->image), -1, NULL, NULL); + g_io_channel_write_chars(channel, "\n", -1, NULL, NULL); + } } static void gr_config_load(const gchar *text, GIOChannel *channel, gpointer data)