Bug#315945: gnome-terminal.wrapper patch

Vincent Ho loki at internode.on.net
Sun Apr 30 09:07:47 UTC 2006


tags 315945 + patch
thanks

Hi,

Here is a small patch which modifies gnome-terminal.wrapper to convert
-name foo to --window-with-profile=foo, and no longer passes an extra -t
argument (responsible for the "Two --title options given for one tab"
error).  In addition we accept -n but suggest using -name foo instead.
This allows people to create a 'Seyon' profile for use with seyon.

Trivial patch is attached.  I'm not able to test it since x11-common
conflicts with the current version of seyon on amd64 due to the xorg 7.0
transition.


   Vince

-- 
    Vincent Ho
loki /at/ internode.on.net

"If we hit that bullseye, the rest of the dominos will fall like a
house of cards. Checkmate."

-------------- next part --------------
--- gnome-terminal.wrapper	2006-04-30 17:49:10.000000000 +1000
+++ gnome-terminal.wrapper.NEW	2006-04-30 18:45:51.000000000 +1000
@@ -11,11 +11,12 @@
     elsif ($opt eq '-name')
     {
 	$arg = shift(@ARGV);
-	push(@args, "--tclass=$arg", '-t', $arg);
+	push(@args, "--window-with-profile=$arg");
     }
     elsif ($opt eq '-n')
     {
-	push(@args, '--icon', shift(@ARGV));
+	# Accept but ignore
+	print STDERR "$0: to set an icon, please use -name <profile> and set a profile icon\n"
     }
     elsif ($opt eq '-T' || $opt eq '-title')
     {


More information about the Pkg-gnome-maintainers mailing list