summaryrefslogtreecommitdiff
path: root/mate-dictionary/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
committerStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
commitef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch)
tree09d541636a16cb38448fe6183289ebdc3080c1bf /mate-dictionary/data
downloadmate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.bz2
mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.xz
Moved from Mate-Extra repository
Diffstat (limited to 'mate-dictionary/data')
-rw-r--r--mate-dictionary/data/MATE_DictionaryApplet.server.in.in55
-rw-r--r--mate-dictionary/data/MATE_DictionaryApplet.xml15
-rw-r--r--mate-dictionary/data/Makefile.am84
-rw-r--r--mate-dictionary/data/default.desktop.in6
-rw-r--r--mate-dictionary/data/mate-dictionary-preferences.ui230
-rw-r--r--mate-dictionary/data/mate-dictionary-source.ui332
-rw-r--r--mate-dictionary/data/mate-dictionary-ui.xml48
-rw-r--r--mate-dictionary/data/mate-dictionary.161
-rw-r--r--mate-dictionary/data/mate-dictionary.desktop.in.in15
-rw-r--r--mate-dictionary/data/mate-dictionary.schemas.in201
-rw-r--r--mate-dictionary/data/spanish.desktop.in6
-rw-r--r--mate-dictionary/data/thai.desktop.in6
12 files changed, 1059 insertions, 0 deletions
diff --git a/mate-dictionary/data/MATE_DictionaryApplet.server.in.in b/mate-dictionary/data/MATE_DictionaryApplet.server.in.in
new file mode 100644
index 00000000..3c69076e
--- /dev/null
+++ b/mate-dictionary/data/MATE_DictionaryApplet.server.in.in
@@ -0,0 +1,55 @@
+<oaf_info>
+
+ <oaf_server iid="OAFIID:MATE_DictionaryApplet_Factory"
+ type="exe"
+ location="@LIBEXECDIR@/mate-dictionary-applet">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:MateComponent/GenericFactory:1.0"/>
+ <item value="IDL:MateComponent/Unknown:1.0"/>
+ </oaf_attribute>
+ <oaf_attribute name="name" type="string" value="GDict Applet Factory"/>
+ <oaf_attribute name="description" type="string" value="GDict Applet Factory"/>
+
+ </oaf_server>
+
+ <oaf_server iid="OAFIID:MATE_DictionaryApplet"
+ type="factory"
+ location="OAFIID:MATE_DictionaryApplet_Factory">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:MATE/Vertigo/MatePanelAppletShell:1.0"/>
+ <item value="IDL:MateComponent/Control:1.0"/>
+ <item value="IDL:MateComponent/Unknown:1.0"/>
+ </oaf_attribute>
+ <oaf_attribute name="name" type="string" _value="Dictionary Look up"/>
+ <oaf_attribute name="description" type="string" _value="Look up words in a dictionary"/>
+ <oaf_attribute name="panel:category" type="string" value="Accessories"/>
+ <oaf_attribute name="panel:icon" type="string" value="accessories-dictionary.png"/>
+ <oaf_attribute name="bugzilla:bugzilla" type="string" value="MATE"/>
+ <oaf_attribute name="bugzilla:product" type="string" value="mate-utils"/>
+ <oaf_attribute name="bugzilla:component" type="string" value="gdict-applet"/>
+ <oaf_attribute name="bugzilla:version" type="string" value="@VERSION@"/>
+ <oaf_attribute name="bugzilla:other_binaries" type="string" value="mate-dictionary-applet"/>
+
+ </oaf_server>
+
+ <oaf_server iid="OAFIID:MATE_GDictApplet"
+ type="factory"
+ location="OAFIID:MATE_DictionaryApplet_Factory">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:MATE/Vertigo/MatePanelAppletShell:1.0"/>
+ <item value="IDL:MateComponent/Control:1.0"/>
+ <item value="IDL:MateComponent/Unknown:1.0"/>
+ </oaf_attribute>
+ <oaf_attribute name="name" type="string" _value="Dictionary Look up"/>
+ <oaf_attribute name="description" type="string" _value="Look up words in a dictionary"/>
+ <oaf_attribute name="bugzilla:bugzilla" type="string" value="MATE"/>
+ <oaf_attribute name="bugzilla:product" type="string" value="mate-utils"/>
+ <oaf_attribute name="bugzilla:component" type="string" value="gdict-applet"/>
+ <oaf_attribute name="bugzilla:version" type="string" value="@VERSION@"/>
+ <oaf_attribute name="bugzilla:other_binaries" type="string" value="mate-dictionary-applet"/>
+ </oaf_server>
+
+</oaf_info>
diff --git a/mate-dictionary/data/MATE_DictionaryApplet.xml b/mate-dictionary/data/MATE_DictionaryApplet.xml
new file mode 100644
index 00000000..3e975cc1
--- /dev/null
+++ b/mate-dictionary/data/MATE_DictionaryApplet.xml
@@ -0,0 +1,15 @@
+<Root>
+ <popups>
+ <popup name="button3">
+ <menuitem name="LookUpItem" verb="LookUp" _label="_Look Up Selected Text" pixtype="stock" pixname="gtk-find"/>
+ <separator/>
+ <menuitem name="ClearItem" verb="Clear" _label="Cl_ear" pixtype="stock" pixname="gtk-clear"/>
+ <menuitem name="PrintItem" verb="Print" _label="_Print" pixtype="stock" pixname="gtk-print"/>
+ <menuitem name="SaveItem" verb="Save" _label="_Save" pixtype="stock" pixname="gtk-save-as"/>
+ <separator/>
+ <menuitem name="PreferencesItem" verb="Preferences" _label="_Preferences" pixtype="stock" pixname="gtk-properties"/>
+ <menuitem name="HelpItem" verb="Help" _label="_Help" pixtype="stock" pixname="gtk-help"/>
+ <menuitem name="AboutItem" verb="About" _label="_About" pixtype="stock" pixname="gtk-about"/>
+ </popup>
+ </popups>
+</Root>
diff --git a/mate-dictionary/data/Makefile.am b/mate-dictionary/data/Makefile.am
new file mode 100644
index 00000000..2e38a96c
--- /dev/null
+++ b/mate-dictionary/data/Makefile.am
@@ -0,0 +1,84 @@
+NULL =
+
+man_MANS = mate-dictionary.1
+
+gdictappdir = $(datadir)/applications
+gdictapp_in_files = mate-dictionary.desktop.in
+gdictapp_DATA = $(gdictapp_in_files:.desktop.in=.desktop)
+
+$(gdictapp_in_files): $(gdictapp_in_files:.desktop.in=.desktop.in.in)
+ @sed -e "s|\@VERSION\@|@VERSION@|" $< > $@
+
+@INTLTOOL_DESKTOP_RULE@
+
+# dictionary sources definitions
+dictsourcedir = $(datadir)/mate-dict/sources
+dictsource_in_files = \
+ default.desktop.in \
+ spanish.desktop.in \
+ thai.desktop.in \
+ $(NULL)
+dictsource_DATA = $(dictsource_in_files:.desktop.in=.desktop)
+@INTLTOOL_DESKTOP_RULE@
+
+builderdir = $(datadir)/mate-dictionary
+builder_DATA = mate-dictionary-preferences.ui \
+ mate-dictionary-source.ui
+
+uidir = $(datadir)/mate-dictionary
+ui_DATA = mate-dictionary-ui.xml
+
+if BUILD_GDICT_APPLET
+
+# applet menu definition
+appletuidir = $(datadir)/mate-2.0/ui
+appletui_DATA = MATE_DictionaryApplet.xml
+
+serverdir = $(libdir)/matecomponent/servers
+server_in_files = MATE_DictionaryApplet.server.in
+server_DATA = $(server_in_files:.server.in=.server)
+
+$(server_in_files): $(server_in_files:.server.in=.server.in.in)
+ @sed \
+ -e "s|\@VERSION\@|@VERSION@|" \
+ -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ $< > $@
+
+
+@INTLTOOL_SERVER_RULE@
+
+endif # BUILD_GDICT_APPLET
+
+schemadir = $(MATECONF_SCHEMA_FILE_DIR)
+schemas_in_file = mate-dictionary.schemas.in
+schema_DATA = $(schemas_in_file:.schemas.in=.schemas)
+@INTLTOOL_SCHEMAS_RULE@
+
+EXTRA_DIST = \
+ MATE_DictionaryApplet.server.in.in \
+ mate-dictionary.desktop.in.in \
+ $(dictsource_in_files) \
+ $(man_MANS) \
+ $(schemas_in_file) \
+ $(builder_DATA) \
+ $(ui_DATA) \
+ $(appletui_DATA) \
+ $(NULL)
+
+CLEANFILES = \
+ $(dictsource_DATA) \
+ $(server_in_files) \
+ $(server_DATA) \
+ $(gdictapp_in_files) \
+ $(gdictapp_DATA) \
+ $(schema_DATA) \
+ $(NULL)
+
+if MATECONF_SCHEMAS_INSTALL
+install-data-local:
+ if test -z "$(DESTDIR)" ; then \
+ MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(schema_DATA) ; \
+ fi
+else
+install-data-local:
+endif
diff --git a/mate-dictionary/data/default.desktop.in b/mate-dictionary/data/default.desktop.in
new file mode 100644
index 00000000..395433e8
--- /dev/null
+++ b/mate-dictionary/data/default.desktop.in
@@ -0,0 +1,6 @@
+[Dictionary Source]
+Name=Default
+_Description=Default Dictionary Server
+Transport=dictd
+Hostname=dict.org
+Port=2628
diff --git a/mate-dictionary/data/mate-dictionary-preferences.ui b/mate-dictionary/data/mate-dictionary-preferences.ui
new file mode 100644
index 00000000..1f04df8f
--- /dev/null
+++ b/mate-dictionary/data/mate-dictionary-preferences.ui
@@ -0,0 +1,230 @@
+<?xml version="1.0"?>
+<!--*- mode: xml -*-->
+<interface>
+ <object class="GtkVBox" id="preferences_root">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">18</property>
+ <child>
+ <object class="GtkNotebook" id="preferences_notebook">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_tabs">True</property>
+ <property name="show_border">True</property>
+ <property name="tab_pos">GTK_POS_TOP</property>
+ <property name="scrollable">False</property>
+ <property name="enable_popup">False</property>
+ <child>
+ <object class="GtkVBox" id="vbox2">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Select a dictionary source for looking up words:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="mnemonic_widget">sources_treeview</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="height_request">100</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+ <child>
+ <object class="GtkTreeView" id="sources_treeview">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">True</property>
+ <property name="rules_hint">False</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">True</property>
+ <property name="fixed_height_mode">False</property>
+ <property name="hover_selection">False</property>
+ <property name="hover_expand">False</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHButtonBox" id="hbuttonbox6">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkButton" id="add_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-add</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="remove_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-remove</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label15">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Source</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox3">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="label17">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Print font:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="mnemonic_widget">print_font_button</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFontButton" id="print_font_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_style">True</property>
+ <property name="show_size">True</property>
+ <property name="use_font">True</property>
+ <property name="use_size">False</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label16">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Print</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+</interface>
+
diff --git a/mate-dictionary/data/mate-dictionary-source.ui b/mate-dictionary/data/mate-dictionary-source.ui
new file mode 100644
index 00000000..4ba2b6b5
--- /dev/null
+++ b/mate-dictionary/data/mate-dictionary-source.ui
@@ -0,0 +1,332 @@
+<?xml version="1.0"?>
+<!--*- mode: xml -*-->
+<interface>
+ <object class="GtkListStore" id="model1">
+ <columns>
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0">Dictionary Server</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkVBox" id="source_root">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkNotebook" id="notebook1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_tabs">True</property>
+ <property name="show_border">True</property>
+ <property name="tab_pos">GTK_POS_TOP</property>
+ <property name="scrollable">False</property>
+ <property name="enable_popup">False</property>
+ <child>
+ <object class="GtkTable" id="table2">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="n_rows">4</property>
+ <property name="n_columns">2</property>
+ <property name="homogeneous">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="description_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Description:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="mnemonic_widget">description_entry</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="transport_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Transport:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="mnemonic_widget">transport_combo</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="hostname_label">
+ <property name="label" translatable="yes">H_ostname:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="mnemonic_widget">hostname_entry</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="port_label">
+ <property name="label" translatable="yes">_Port:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="mnemonic_widget">port_entry</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="description_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">Source Name</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char">*</property>
+ <property name="activates_default">False</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="hostname_entry">
+ <property name="can_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text">dict.org</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char">*</property>
+ <property name="activates_default">False</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="port_entry">
+ <property name="can_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text">2628</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char">*</property>
+ <property name="activates_default">False</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="transport_combo">
+ <property name="visible">True</property>
+ <property name="add_tearoffs">False</property>
+ <property name="focus_on_click">True</property>
+ <property name="model">model1</property>
+ <child>
+ <object class="GtkCellRendererText" id="renderer1"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options">fill</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label18">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Source</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkVBox" id="db-vbox">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label19">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Dictionaries</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkVBox" id="strat-vbox">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label20">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Strategies</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+</interface>
+
diff --git a/mate-dictionary/data/mate-dictionary-ui.xml b/mate-dictionary/data/mate-dictionary-ui.xml
new file mode 100644
index 00000000..81e756d6
--- /dev/null
+++ b/mate-dictionary/data/mate-dictionary-ui.xml
@@ -0,0 +1,48 @@
+<ui>
+ <menubar name="MainMenu">
+ <menu name="FileMenu" action="File">
+ <menuitem name="NewMenu" action="FileNew"/>
+ <menuitem name="SaveAsMenu" action="FileSaveAs"/>
+ <separator/>
+ <menuitem name="FilePreviewMenu" action="FilePreview"/>
+ <menuitem name="FilePrintMenu" action="FilePrint"/>
+ <separator/>
+ <menuitem name="FileCloseWindowMenu" action="FileCloseWindow"/>
+ </menu>
+ <menu name="EditMenu" action="Edit">
+ <menuitem name="EditCopyMenu" action="EditCopy"/>
+ <separator/>
+ <menuitem name="EditSelectAllMenu" action="EditSelectAll"/>
+ <separator/>
+ <menuitem name="EditFindMenu" action="EditFind"/>
+ <menuitem name="EditFindNextMenu" action="EditFindNext"/>
+ <menuitem name="EditFindPreviousMenu" action="EditFindPrevious"/>
+ <separator/>
+ <menuitem name="EditPreferencesMenu" action="EditPreferences"/>
+ </menu>
+ <menu name="ViewMenu" action="View">
+ <menuitem name="ViewSidebarMenu" action="ViewSidebar"/>
+ <menuitem name="ViewStatusbarMenu" action="ViewStatusbar"/>
+ <separator/>
+ <menuitem name="ViewSpellerMenu" action="ViewSpeller"/>
+ <menuitem name="ViewSourceMenu" action="ViewSource"/>
+ <menuitem name="ViewDBMenu" action="ViewDB"/>
+ <menuitem name="ViewStratMenu" action="ViewStrat"/>
+ </menu>
+ <menu name="GoMenu" action="Go">
+ <menuitem name="GoPreviousDefMenu" action="GoPreviousDef"/>
+ <menuitem name="GoNextDefMenu" action="GoNextDef"/>
+ <separator/>
+ <menuitem name="GoFirstDefMenu" action="GoFirstDef"/>
+ <menuitem name="GoLastDefMenu" action="GoLastDef"/>
+ </menu>
+ <menu name="HelpMenu" action="Help">
+ <menuitem name="HelpContentsMenu" action="HelpContents"/>
+ <menuitem name="HelpAboutMenu" action="HelpAbout"/>
+ </menu>
+ </menubar>
+
+ <accelerator name="LookupAccel" action="Lookup"/>
+ <accelerator name="EscapeAccel" action="Escape"/>
+ <accelerator name="SlashAccel" action="Slash"/>
+</ui>
diff --git a/mate-dictionary/data/mate-dictionary.1 b/mate-dictionary/data/mate-dictionary.1
new file mode 100644
index 00000000..ceabc30a
--- /dev/null
+++ b/mate-dictionary/data/mate-dictionary.1
@@ -0,0 +1,61 @@
+.\" mate-dictionary.1 - a online dictionary client
+.\" Copyright 2005 Emmanuele Bassi
+.\" Copyright 2001 Jochen Voss
+.TH mate-dictionary 1 "Jan 2 2005" "mate-utils 2.13.4"
+.SH NAME
+mate-dictionary \- Look up words on dictionaries
+.SH SYNOPSIS
+.nf
+.BI mate-dictionary
+.br
+.BI mate-dictionary " [options]"
+.fi
+.sp
+or select
+.B Dictionary
+from the
+.B Accessories
+submenu of the Applications menu.
+.SH DESCRIPTION
+.B MATE Dictionary
+provides dictionary definitions of words, using a dictionary source.
+
+For full documentation see the
+.B MATE Dictionary
+online help.
+
+.SH OPTIONS
+.TP
+.BI \-\-look\-up " word"
+Looks up the specified word using the pre-defined dictionary source.
+.TP
+.BI \-s " source\fR or " \-\-source " source"
+Uses the specified source for looking up words. This does not affect the
+global settings.
+.TP
+.BR \-l " or " \-\-list\-sources
+Lists all the sources available.
+.TP
+.BR \-n " or " \-\-no\-window
+Using this switch with the \-\-look\-up will print the definitions found
+on the console without launching the GUI.
+.TP
+.B \-\-help
+Display help information.
+.SH CONFIGURATION
+All the configuration is handled using MateConf.
+.SH AUTHOR
+.B MATE Dictionary
+was originally written by Spiros Papadimitriou (<[email protected]>), Mike
+Hughes (<[email protected]>) and Bradford Hovinen (<[email protected]>).
+
+Emmanuele Bassi (<[email protected]>) rewrote it from scratch.
+
+This manual page was originally written by Jochen Voss
+
+.SH SEE ALSO
+.BR dict (1),
+.BR dictd (8),
+.BR http://www.dict.org/ ,
+.B RFC 2229
diff --git a/mate-dictionary/data/mate-dictionary.desktop.in.in b/mate-dictionary/data/mate-dictionary.desktop.in.in
new file mode 100644
index 00000000..c3718204
--- /dev/null
+++ b/mate-dictionary/data/mate-dictionary.desktop.in.in
@@ -0,0 +1,15 @@
+[Desktop Entry]
+_Name=Dictionary
+_Comment=Check word definitions and spellings in an online dictionary
+Exec=mate-dictionary
+Terminal=false
+Type=Application
+Icon=accessories-dictionary
+StartupNotify=true
+Categories=MATE;GTK;Office;Dictionary;
+OnlyShowIn=MATE;
+X-MATE-DocPath=mate-dictionary/mate-dictionary.xml
+X-MATE-Bugzilla-Bugzilla=MATE
+X-MATE-Bugzilla-Product=mate-utils
+X-MATE-Bugzilla-Component=gdict
+X-MATE-Bugzilla-Version=@VERSION@
diff --git a/mate-dictionary/data/mate-dictionary.schemas.in b/mate-dictionary/data/mate-dictionary.schemas.in
new file mode 100644
index 00000000..0d204ecd
--- /dev/null
+++ b/mate-dictionary/data/mate-dictionary.schemas.in
@@ -0,0 +1,201 @@
+<mateconfschemafile>
+ <schemalist>
+ <schema>
+ <key>/schemas/apps/mate-dictionary/server</key>
+ <applyto>/apps/mate-dictionary/server</applyto>
+ <owner>mate-dictionary</owner>
+ <type>string</type>
+ <default>dict.org</default>
+ <locale name="C">
+ <short>Dictionary server (Deprecated)</short>
+ <long>The dictionary server to connect to. The default server is
+ dict.org. See http://www.dict.org for details on other servers.
+ This key is deprecated and no longer in use.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/port</key>
+ <applyto>/apps/mate-dictionary/port</applyto>
+ <owner>mate-dictionary</owner>
+ <type>int</type>
+ <default>2628</default>
+ <locale name="C">
+ <short>Port used to connect to server (Deprecated)</short>
+ <long>The port number to connect to. The default port is 2628.
+ This key is deprecated and no longer in use.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/smart</key>
+ <applyto>/apps/mate-dictionary/smart</applyto>
+ <owner>mate-dictionary</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Use smart lookup (Deprecated)</short>
+ <long>Specify whether to use smart lookup. This key is dependant
+ on whether the dictionary server supports this option. The default
+ is TRUE. This key is deprecated and no longer in use.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/database</key>
+ <applyto>/apps/mate-dictionary/database</applyto>
+ <owner>mate-dictionary</owner>
+ <type>string</type>
+ <default>!</default>
+ <locale name="C">
+ <short>The default database to use</short>
+ <long>The name of the default individual database or meta-database to
+ use on a dictionary source. An exclamation mark ("!") means that all
+ the databases present in a dictionary source should be searched</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/strategy</key>
+ <applyto>/apps/mate-dictionary/strategy</applyto>
+ <owner>mate-dictionary</owner>
+ <type>string</type>
+ <default>exact</default>
+ <locale name="C">
+ <short>The default search strategy to use</short>
+ <long>The name of the default search strategy to use on a dictionary
+ source, if available. The default strategy is 'exact', that is match
+ exact words.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/print-font</key>
+ <applyto>/apps/mate-dictionary/print-font</applyto>
+ <owner>mate-dictionary</owner>
+ <type>string</type>
+ <default>Serif 12</default>
+ <locale name="C">
+ <short>The font to be used when printing</short>
+ <long>The font to be used when printing a definition.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/source-name</key>
+ <applyto>/apps/mate-dictionary/source-name</applyto>
+ <owner>mate-dictionary</owner>
+ <type>string</type>
+ <default>Default</default>
+ <locale name="C">
+ <short>The name of the dictionary source used</short>
+ <long>The name of the dictionary source used to retrieve the
+ definitions of words.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/default-window-width</key>
+ <applyto>/apps/mate-dictionary/default-window-width</applyto>
+ <owner>mate-dictionary</owner>
+ <type>int</type>
+ <default>-1</default>
+ <locale name="C">
+ <short>The default width of the application window</short>
+ <long>This key defines the window width and it's used to remember
+ the size of the dictionary window across sessions. Setting it
+ to -1 will make the dictionary window use a width based on the
+ font size.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/default-window-height</key>
+ <applyto>/apps/mate-dictionary/default-window-height</applyto>
+ <owner>mate-dictionary</owner>
+ <type>int</type>
+ <default>-1</default>
+ <locale name="C">
+ <short>The default height of the application window</short>
+ <long>This key defines the window height and it's used to remember
+ the size of the dictionary window across sessions. Setting it
+ to -1 will make the dictionary window use a height based on the
+ font size.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/window-is-maximized</key>
+ <applyto>/apps/mate-dictionary/window-is-maximized</applyto>
+ <owner>mate-dictionary</owner>
+ <type>bool</type>
+ <default>FALSE</default>
+ <locale name="C">
+ <short>Whether the application window should be maximized</short>
+ <long>This key defines whether the window should be maximized and it's
+ used to remember the state of the dictionary window across sessions.
+ Setting it to TRUE will make the window always appear as
+ maximized.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/sidebar-visible</key>
+ <applyto>/apps/mate-dictionary/sidebar-visible</applyto>
+ <owner>mate-dictionary</owner>
+ <type>bool</type>
+ <default>FALSE</default>
+ <locale name="C">
+ <short>Whether the sidebar should be visible</short>
+ <long>This key defines whether the sidebar should be visible
+ and it's used to remember the state of the sidebar across
+ sessions. Setting it to TRUE will make the sidebar always
+ be displayed.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/statusbar-visible</key>
+ <applyto>/apps/mate-dictionary/statusbar-visible</applyto>
+ <owner>mate-dictionary</owner>
+ <type>bool</type>
+ <default>FALSE</default>
+ <locale name="C">
+ <short>Whether the statusbar should be visible</short>
+ <long>This key defines whether the statusbar should be visible
+ and it's used to remember the state of the statusbar across
+ sessions. Setting it to TRUE will make the statusbar always
+ be displayed.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/sidebar-page</key>
+ <applyto>/apps/mate-dictionary/sidebar-page</applyto>
+ <owner>mate-dictionary</owner>
+ <type>string</type>
+ <default>speller</default>
+ <locale name="C">
+ <short>The page of the sidebar to show</short>
+ <long>This key defines which page of the sidebar should be
+ displayed and it's used to remember the setting across
+ sessions.. It can be "speller" or "databases".</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-dictionary/sidebar-width</key>
+ <applyto>/apps/mate-dictionary/sidebar-width</applyto>
+ <owner>mate-dictionary</owner>
+ <type>int</type>
+ <default>-1</default>
+ <locale name="C">
+ <short>The width of the sidebar</short>
+ <long>This key defines the width of the sidebar and it's
+ used to remember the setting across sessions.</long>
+ </locale>
+ </schema>
+
+ </schemalist>
+
+</mateconfschemafile>
diff --git a/mate-dictionary/data/spanish.desktop.in b/mate-dictionary/data/spanish.desktop.in
new file mode 100644
index 00000000..3ec0f18a
--- /dev/null
+++ b/mate-dictionary/data/spanish.desktop.in
@@ -0,0 +1,6 @@
+[Dictionary Source]
+Name=spanish
+_Description=Spanish Dictionaries
+Transport=dictd
+Hostname=es.dict.org
+Port=2628
diff --git a/mate-dictionary/data/thai.desktop.in b/mate-dictionary/data/thai.desktop.in
new file mode 100644
index 00000000..1922f280
--- /dev/null
+++ b/mate-dictionary/data/thai.desktop.in
@@ -0,0 +1,6 @@
+[Dictionary Source]
+Name=Thai
+_Description=Longdo Thai-English Dictionaries
+Transport=dictd
+Hostname=dict.longdo.com
+Port=2628