GNOME Bugzilla – Bug 108356
Grouping bug
Last modified: 2004-12-22 21:47:04 UTC
When the window list applet is grouping windows, the button representing that group seems to be labeled using the class of those windows. This works but is ugly, as the user is suddenly forced to refer to those windows by a new name. Windows should be referred to by a consistent, friendly name. For instance, My Terminal windows frequently get titles like "Mutt (2 new)" or "jake@arrakis: /var/www" or simply Terminal, but the group name is gnome-terminal. This is trivial annoyance to me, but to a newbie this would seem confusing or at least unpolished. If we really wanted to be slick, we would find a way to pluralise the group label like "Terminal Windows (5) or even "Terminals (5)." I don't know X internals that well, so this could simply be a case of gnome-terminal not naming its windows properly. I notice that The Gimp's windows are grouped like "Gimp (5)."
It's an application bug, gnome-terminal needs to call g_set_application_name() (with GTK+ 2.2 or better this will fix the bug). Here is the gnome-terminal patch, I'll check it in shortly. The patch for other apps would be similar, bugs should be filed against specific apps. Index: src/terminal.c =================================================================== RCS file: /cvs/gnome/gnome-terminal/src/terminal.c,v retrieving revision 1.54.2.1 diff -u -p -u -r1.54.2.1 terminal.c --- src/terminal.c 6 Feb 2003 01:23:22 -0000 1.54.2.1 +++ src/terminal.c 14 Mar 2003 03:34:13 -0000 @@ -1380,6 +1380,8 @@ main (int argc, char **argv) bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); + g_set_application_name (_("Terminal")); + argc_copy = argc; /* we leave empty slots, for --startup-id and --display */ argv_copy = g_new0 (char *, argc_copy + 5);