diff options
author | Emmanuele Bassi <ebassi@cvs.gnome.org> | 2006-11-27 00:13:01 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@src.gnome.org> | 2006-11-27 00:13:01 +0000 |
commit | d771988614957f09c3c405f44fc59c6ecdb467c9 (patch) | |
tree | 9386dfdc2572e172457b044b730e32e02bf2c76c /data | |
parent | 0723ec3f0994d031b0fa97b86617d361bef2b36b (diff) | |
download | gnome-dictionary-d771988614957f09c3c405f44fc59c6ecdb467c9.tar.gz |
Add syntax highlighting to the definition body using what look like the
2006-11-26 Emmanuele Bassi <ebassi@cvs.gnome.org>
* libgdict/gdict-defbox.c:
(gdict_defbox_init_tags), (escape_link), (escape_phonetic),
(gdict_defbox_insert_body): Add syntax highlighting to the
definition body using what look like the only stable markers,
i.e. links ({}) and phonetics (\\). Still missing the button
press event spawining a new window.
* libgdict/Makefile.am:
* libgdict/gdict-strategy-chooser.h:
* libgdict/gdict-strategy-chooser.c: Finally, add the
GdictStrategyChooser widget to the build.
* src/gdict-window.c: Use symbolic names for the sidebar
pages ids.
* src/gdict-window.h:
* src/gdict-window.c:
(gdict_window_cmd_view_strategies): Add support for the
GdictStrategyChooser widget; use toggle actions for the
View menu items of the sidebar and the statusbar.
* data/gnome-dictionary-ui.xml: Add new action for the
strategy chooser item.
* src/gdict-window.c:
(lookup_word), (entry_activate_cb),
(gdict_window_constructor): Use a button with no relief
instead of the 'Look up' label.
Diffstat (limited to 'data')
-rw-r--r-- | data/gnome-dictionary-ui.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/gnome-dictionary-ui.xml b/data/gnome-dictionary-ui.xml index e96d867..43ae1fa 100644 --- a/data/gnome-dictionary-ui.xml +++ b/data/gnome-dictionary-ui.xml @@ -25,6 +25,7 @@ <separator/> <menuitem name="ViewSpellerMenu" action="ViewSpeller"/> <menuitem name="ViewDBMenu" action="ViewDB"/> + <menuitem name="ViewStratMenu" action="ViewStrat"/> </menu> <menu name="GoMenu" action="Go"> <menuitem name="GoPreviousDefMenu" action="GoPreviousDef"/> |