summaryrefslogtreecommitdiff
path: root/general.pl.in
diff options
context:
space:
mode:
authorcarlosg <carlosg>2003-10-08 00:06:09 +0000
committercarlosg <carlosg>2003-10-08 00:06:09 +0000
commit6fd2173818c14d03429a1020e8029f59bc698568 (patch)
tree480f0c5395417c65f64e3e66e4906fe0c27c9679 /general.pl.in
parente09f11e04e7839ba6a8cfd0ee9f1eaaf4323d957 (diff)
2003-10-08 Carlos Garnacho Parro <garnacho@tuxerver.net>
* 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
Diffstat (limited to 'general.pl.in')
-rw-r--r--general.pl.in7
1 files changed, 4 insertions, 3 deletions
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.