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 72015 - FR: Décoding ROT13
FR: Décoding ROT13
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.11.2
Other other
: Normal enhancement
: 0.12.0
Assigned To: Charles Kerr
Charles Kerr
Depends on:
Blocks:
 
 
Reported: 2002-02-20 13:10 UTC by jim
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to add this feature - apply with -p1 (2.75 KB, patch)
2002-04-09 22:28 UTC, Colin Leroy
none Details | Review
backport patch to gtk1 (apply with -p1) (2.71 KB, patch)
2002-04-30 00:29 UTC, Colin Leroy
none Details | Review

Description jim 2002-02-20 13:10:39 UTC
To write something with ROT13 is very easy with pan (Edit menu --> Rot13
selected text)

On the other hand, to read an article which have only some words (or a
phrase) in ROT13, require the 'translatation' of all the article by
using "ROT13 article body" in the View Menu.

Is it possible to add in the contextual menu, the ROT13 translation of a
selected part of an article ?
Comment 1 Charles Kerr 2002-02-20 15:21:02 UTC
This is a nice idea.
Comment 2 Colin Leroy 2002-04-09 22:28:35 UTC
Created attachment 7623 [details] [review]
patch to add this feature - apply with -p1
Comment 3 Colin Leroy 2002-04-09 22:33:05 UTC
PS: I added the item to View menu, not contextual, to be coherent with
the "Rot13 Article Body". I don't use a boolean to store rot13 state,
since it could be applied to different parts of the body and does not
stay from one article to another.
Comment 4 Charles Kerr 2002-04-24 20:57:24 UTC
Colin: Actually we can kill two birds with one stone here: usually
it's just a joke punchline or spoiler paragraph that's rot13ed,
not the entire message.  So we can replace the "rot13 article body"
button with "rot13 selected text" and get rid of all the state
settings in text.c. :)

Jim: I've added a keyboard accelerator, rather than context
menu button.

http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=text.c&rev1=1.280&rev2=1.281&root=/cvs/gnome
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=text.h&rev1=1.61&rev2=1.62&root=/cvs/gnome
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=gui.c&rev1=1.465&rev2=1.466&root=/cvs/gnome
Comment 5 Colin Leroy 2002-04-30 00:29:47 UTC
Created attachment 8041 [details] [review]
backport patch to gtk1 (apply with -p1)
Comment 6 Charles Kerr 2002-06-11 16:50:13 UTC
I'm preparing for the release of 0.12.0, which is the first
stable release to contain these changes.  If you'd like to
be in the credits, please add a comment giving the name you'd
like listed.  Thanks!