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 336456 - Window titles and string order
Window titles and string order
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.10.x
Other Linux
: Normal normal
: ---
Assigned To: Wouter Bolsterlee (uws)
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-29 09:30 UTC by Wouter Bolsterlee (uws)
Modified: 2006-04-03 09:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to simplify window titles. (9.67 KB, patch)
2006-04-02 16:06 UTC, Brian Pepple
none Details | Review
Correct patch for windows title (9.70 KB, patch)
2006-04-02 16:13 UTC, Brian Pepple
committed Details | Review

Description Wouter Bolsterlee (uws) 2006-03-29 09:30:18 UTC
The window titles currently look like this:  "Chat - John Doe". It would be better to show "John Doe - Chat" or "John Doe (Chat)" or even just "John Doe". This makes the windows a lot easier to find in the gnome-panel window list.

Note that Epiphany, Gedit and others show the "document" name at the start of the window title string. Epiphany doesn't even show the application name or purpose, just the current page's title (or URL).

Let me know what you think. I can cook up a patch that changes all relevant strings, so you don't have to do it yourself :)
Comment 1 Richard Hult 2006-03-29 15:51:49 UTC
Sounds very good to me, I would be fine with having just the name. A patch would be appreciated :)

I have noticed also that we have "Gossip - ..." in (almost?) all window titles. Shouldn't it be enough to use the gossip icon as default icon and then have just the actual title as title? Maybe the HIG says something about this.
Comment 2 Martyn Russell 2006-03-29 16:12:13 UTC
Yea, you can blame me for this. I did it because it was more obvious which windows were Gossip windows when looking at the Window list.

It does use valuable space though for small windows. Most of the changes should be quick and easy in glade.
Comment 3 Wouter Bolsterlee (uws) 2006-03-30 07:49:55 UTC
I'll cook up a patch when I find the time...
Comment 4 Brian Pepple 2006-04-02 16:06:48 UTC
Created attachment 62611 [details] [review]
Patch to simplify window titles.

Here's a simple patch that implements your suggestions.
Comment 5 Brian Pepple 2006-04-02 16:13:06 UTC
Created attachment 62613 [details] [review]
Correct patch for windows title

Whoops, wrong patch.  Here's the correct patch.
Comment 6 Richard Hult 2006-04-03 06:42:01 UTC
I think the space between the * and the name should be removed, otherwise the title will have a space before the name most of the time:

I.e.

+	title = g_strdup_printf (("%s %s"),

should be:

+	title = g_strdup_printf ("%s%s",

Comment 7 Wouter Bolsterlee (uws) 2006-04-03 07:49:42 UTC
Richard, what about using a custom character like → (U+2192 RIGHTWARDS ARROW) or ★ (U+2606 WHITE STAR)? :)
Comment 8 Richard Hult 2006-04-03 08:03:38 UTC
Heh, nice :) I'm not sure it's a good idea though, since not everyone has a font that contains those symbols.
Comment 9 Martyn Russell 2006-04-03 09:08:00 UTC
Committed, thanks Brian and Wouter.