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 119575 - Underscores in news server names breaks server list
Underscores in news server names breaks server list
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.13.3
Other Linux
: Normal major
: 0.14.1
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2003-08-10 18:05 UTC by warren
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description warren 2003-08-10 18:05:24 UTC
I add a news server using Tools -> News Servers -> Add then use a name that
includes an '_' underscore character.  Once added, I can see the server and
select it using Server -> <server name>.  I add another news server using
Tools -> News Servers -> Add.  Once added, I CANNOT see the server when I
go to Server menu.  Fixing this requires me to remove the underscore
character from the first server name.
Comment 1 Charles Kerr 2003-08-11 15:29:47 UTC
Not confirmed yet.
Comment 2 Charles Kerr 2003-08-11 17:09:03 UTC
Fixed in CVS:

http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ChangeLog&rev1=1.1959&rev2=1.1960&root=/cvs/gnome
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=server-menu-ui.c&rev1=1.6&rev2=1.7&root=/cvs/gnome

gtk/pan tried to use the underscores for accelerators in the
menu (i.e., in the menus "E_xit" is drawn as Exit with a line under
the x), which caused confusion in looking up widgets and servers
by their proper name.

A simple workaround: keep the underscores in the server names, so that
the tools, the titlebar, etc. will show it, but strip them out of the
menu.