• Christian Persch's avatar
    client: legacy: Improve --tab behaviour to open a new tab in an existing window · 4f2d2a39
    Christian Persch authored
    An often-requested feature has been for "gnome-terminal --tab" to open a
    new tab in an existing window, see the discussion in bug 83203. While
    in general, when called from an external source, it's often unclear
    which window to choose, we can at least provide this when called from
    within gnome-terminal.
    
    For this, introduce some environment variables GNOME_TERMINAL_SERVICE
    that is the D-Bus unique name of the gnome-terminal-server instance for
    the terminal, and GNOME_TERMINAL_SCREEN that is the D-Bus object path
    for the D-Bus controller for that terminal.
    
    On the server side, these variables will be set for each terminal
    created in the environment of the child process.
    
    On the client side, these variables will be used to define which
    window the "--tab" option refers to. Also, optionally, when using
    the new "--print-environment" option, the client will print the
    corresponding variables for the *newly created* terminal.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=83203
    4f2d2a39
Name
Last commit
Last update
help Loading commit data...
po Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.README Loading commit data...
ChangeLog.pre-2-23 Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
git.mk Loading commit data...
gnome-terminal.doap Loading commit data...
org.gnome.Terminal.Nautilus.metainfo.xml.in Loading commit data...
org.gnome.Terminal.appdata.xml.in Loading commit data...
org.gnome.Terminal.desktop.in.in Loading commit data...