From 6fd2173818c14d03429a1020e8029f59bc698568 Mon Sep 17 00:00:00 2001 From: carlosg Date: Wed, 8 Oct 2003 00:06:09 +0000 Subject: 2003-10-08 Carlos Garnacho Parro * backends/xml.pl.in: (gst_xml_read_stdin) improved xml reading * backends/general.pl.in: use autoflush for both STDERR and STDOUT, changed textdomain * src/common/gst-tool.[ch]: (gst_tool_read_from_backend) (gst_tool_write_to_backend) (gst_tool_write_xml_to_backend): new functions for non-blocking IO with the backend * src/common/gst-tool.[ch], gst-dialog.c: now all the communication is done via the new functions --- general.pl.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'general.pl.in') diff --git a/general.pl.in b/general.pl.in index f4f13a3..88cef1c 100644 --- a/general.pl.in +++ b/general.pl.in @@ -304,8 +304,9 @@ sub gst_init print "\n"; # Set the output autoflush. - $| = 1; - + $old_fh = select (STDOUT); $| = 1; select ($old_fh); + $old_fh = select (STDERR); $| = 1; select ($old_fh); + $tool{"is_tool"} = 1; # Set backend descriptors. @@ -315,7 +316,7 @@ sub gst_init $tool{"description"} = $description; $tool{"directives"} = $directives; - &textdomain ("ximian-setup-tools"); + &textdomain ("gnome-system-tools"); &gst_merge_std_directives (\%tool); # Parse arguments. -- cgit v1.2.3