After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108356 - Grouping bug
Grouping bug
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2003-03-14 03:12 UTC by Jacob Elder
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jacob Elder 2003-03-14 03:12:28 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)."
Comment 1 Havoc Pennington 2003-03-14 03:44:41 UTC
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);