GNOME Bugzilla – Bug 342851
No longer renders cross references as hyperlinks
Last modified: 2006-11-28 11:13:52 UTC
Distribution: Debian 3.1 (sarge) Package: gnome-utils Severity: Normal Version: GNOME2.14.1 2.14.x Gnome-Distributor: Debian Synopsis: No longer renders cross references as hyperlinks Bugzilla-Product: gnome-utils Bugzilla-Component: gdict Bugzilla-Version: 2.14.x Description: Description of Problem: With version 2.14 gdict has again stopped rendering dict style {cross references} as hyperlinks. Instead the plain code, ie. the word in brackets is displayed. Steps to reproduce the problem: 1. Start gnome-dictionary 2. look up a word, the entry of which contains cross references 3. look how they are displayed Actual Resul A cross reference is displayed as {cross references} Expected Results: It should be displayed as hyperlink, so that the cross reference can be followed just by clicking on it. This behaviour was introduced at some point in the GNOME 2 cycle. I cannot understand why it has been removed. ------- Bug created by bug-buddy at 2006-05-24 22:24 -------
the rendering of certain text has been disabled because there's no "standard" that defines it, but it's left to the dictionary itself - like all formatting rules and other style issues (phonetics, classes, etc.). until we can provide a sane and reliable way to highlight certain parts of the text, then all highlighting facilities have been disabled. two ways to replace the "link" would be the "search the selected text" requested in bug #166015 or the "search text in clipboard" requested in bug #332000.
2006-11-28 Emmanuele Bassi <ebassi@cvs.gnome.org> * libgdict/gdict-defbox.c: (gdict_defbox_finalize), (follow_if_is_link), (defbox_event_after_cb), (set_cursor_if_appropriate), (defbox_motion_notify_cb), (defbox_visibility_notify_cb), (gdict_defbox_constructor): Update the cursor when hovering on a text tagged with the "link" or "visited-link" tags; emit the "link-clicked" signal when clicking on a link. (gdict_defbox_class_init): Add "link-clicked" signal definition to GdictDefboxClass. (gdict_defbox_init): Use g_object_ref_sink() in lieu of g_object_ref() + gtk_object_sink(). * libgdict/gdict-defbox.h: Add the GdictDefbox::link-clicked signal class closure. * src/gdict-window.c: (gdict_window_link_clicked), (gdict_window_constructor): Create a new window in LOOKUP mode using the link text.