GNOME Bugzilla – Bug 321929
Can't set Icon Title from command line
Last modified: 2006-01-05 16:23:25 UTC
Please describe the problem: -t sets window title but this does not set the icon title which is used by gnome window-list applet. See http://bugzilla.gnome.org/show_bug.cgi?id=321915 for screenshots. Steps to reproduce: 1. launch `gnome-terminal -t top -e top` 2. Observe that gnome-terminal's window title correctly shows "top" 3. Observe that window-list button incorrectly displays whatever value is configured in gnome-terminal's "Initial Title" field (Edit/Current Profile/Title and Command) Actual results: gnome-terminal does not set the icon title along with the window title when the -t switch is used. Expected results: gnome-terminal should set the icon title along with the window title when the -t switch is used. Does this happen every time? Yes Other information: After launching a gnome-terminal with a customized window title, the "Dynamically-set Title" field (Edit/Current Profile/Title and Command) updates the icon title to match the window title. This should also be done at startup with the -t switch.
Patch should be pretty easy.
Created attachment 56118 [details] [review] Changes icon title when a title is given at the command line. Indeed a nice bug for beginners... so I fixed it :) Hopfully all is right. Changes: src/terminal.c: terminal_app_new_terminal(): Call terminal_screen_set_dynamic_icon_title() as well if a title is given at the command line.
Patch applied on CVS HEAD. Thanks.