]> git.pld-linux.org Git - packages/gnome-terminal.git/blame - gnome-terminal-geometry.patch
- merged from DEVEL and updated to 2.6.0
[packages/gnome-terminal.git] / gnome-terminal-geometry.patch
CommitLineData
c9a90768 1--- gnome-terminal-2.2.0/src/terminal.c.geometry 2003-01-19 23:51:51.000000000 +0100
2+++ gnome-terminal-2.2.0/src/terminal.c 2003-01-21 18:02:51.000000000 +0100
3@@ -1379,8 +1379,19 @@
4 argc_copy = argc;
5 /* we leave empty slots, for --startup-id and --display */
6 argv_copy = g_new0 (char *, argc_copy + 5);
7- for (i = 0; i < argc_copy; i++)
8+ for (i = 0; i < argc_copy; i++) {
9+ /* add support for -geometry and -T from xterm */
10+ /* we are leaking the two options but it is not really a problem */
11+ if (!strcmp (argv [i], "-geometry"))
12+ {
13+ argv[i] = "--geometry";
14+ }
15+ if (!strcmp (argv [i], "-T"))
16+ {
17+ argv[i] = "-t";
18+ }
19 argv_copy [i] = g_strdup (argv [i]);
20+ }
21 argv_copy [i] = NULL;
22
23 results = option_parsing_results_init (&argc, argv);
This page took 0.105447 seconds and 4 git commands to generate.