diff options
author | Emmanuele Bassi <ebassi@src.gnome.org> | 2005-12-16 17:08:16 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@src.gnome.org> | 2005-12-16 17:08:16 +0000 |
commit | 5a2913fcb21c116ced66545afbc9eb2e48896888 (patch) | |
tree | 4dd99f2e0121a9183b30cedc3b0ccbc08300ea0e | |
download | gnome-dictionary-5a2913fcb21c116ced66545afbc9eb2e48896888.tar.gz |
Add gnome-dictionary/data
-rw-r--r-- | data/GNOME_DictionaryApplet.server.in.in | 36 | ||||
-rw-r--r-- | data/GNOME_DictionaryApplet.xml | 14 | ||||
-rw-r--r-- | data/Makefile.am | 68 | ||||
-rw-r--r-- | data/default.desktop.in | 6 | ||||
-rw-r--r-- | data/gnome-dictionary-preferences.glade | 1083 | ||||
-rw-r--r-- | data/gnome-dictionary-ui.xml | 38 | ||||
-rw-r--r-- | data/gnome-dictionary.1 | 36 | ||||
-rw-r--r-- | data/gnome-dictionary.desktop.in | 14 | ||||
-rw-r--r-- | data/gnome-dictionary.schemas.in | 99 |
9 files changed, 1394 insertions, 0 deletions
diff --git a/data/GNOME_DictionaryApplet.server.in.in b/data/GNOME_DictionaryApplet.server.in.in new file mode 100644 index 0000000..95ef217 --- /dev/null +++ b/data/GNOME_DictionaryApplet.server.in.in @@ -0,0 +1,36 @@ +<oaf_info> + + <oaf_server iid="OAFIID:GNOME_DictionaryApplet_Factory" + type="exe" + location="@LIBEXECDIR@/gnome-dictionary-applet"> + + <oaf_attribute name="repo_ids" type="stringv"> + <item value="IDL:Bonobo/GenericFactory:1.0"/> + <item value="IDL:Bonobo/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:GNOME_DictionaryApplet" + type="factory" + location="OAFIID:GNOME_DictionaryApplet_Factory"> + + <oaf_attribute name="repo_ids" type="stringv"> + <item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/> + <item value="IDL:Bonobo/Control:1.0"/> + <item value="IDL:Bonobo/Unknown:1.0"/> + </oaf_attribute> + <oaf_attribute name="name" type="string" _value="Dictionary Lookup"/> + <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="gdict"/> + <oaf_attribute name="bugzilla:bugzilla" type="string" value="GNOME"/> + <oaf_attribute name="bugzilla:product" type="string" value="gnome-utils"/> + <oaf_attribute name="bugzilla:component" type="string" value="gdict"/> + <oaf_attribute name="bugzilla:other_binaries" type="string" value="gnome-dictionary-applet"/> + + </oaf_server> + +</oaf_info> diff --git a/data/GNOME_DictionaryApplet.xml b/data/GNOME_DictionaryApplet.xml new file mode 100644 index 0000000..1a32710 --- /dev/null +++ b/data/GNOME_DictionaryApplet.xml @@ -0,0 +1,14 @@ +<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="_Clear" pixtype="stock" pixname="gtk-clear"/> + <menuitem name="PrintItem" verb="Print" _label="_Print" pixtype="stock" pixname="gtk-print"/> + <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="gnome-stock-about"/> + </popup> + </popups> +</Root> diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..b02c46a --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,68 @@ +NULL = + +man_MANS = gnome-dictionary.1 + +gdictappdir = $(datadir)/applications +gdictapp_in_files = gnome-dictionary.desktop.in +gdictapp_DATA = $(gdictapp_in_files:.desktop.in=.desktop) +@INTLTOOL_DESKTOP_RULE@ + +# dictionary sources definitions +dictsourcedir = $(datadir)/gdict-1.0/sources +dictsource_in_files = default.desktop.in +dictsource_DATA = $(dictsource_in_files:.desktop.in=.desktop) +@INTLTOOL_DESKTOP_RULE@ + +gladedir = $(datadir)/gnome-dictionary +glade_DATA = gnome-dictionary-preferences.glade + +uidir = $(datadir)/gnome-dictionary +ui_DATA = gnome-dictionary-ui.xml + +# applet menu definition +appletuidir = $(datadir)/gnome-2.0/ui +appletui_DATA = GNOME_DictionaryApplet.xml + +serverdir = $(libdir)/bonobo/servers +server_in_files = GNOME_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|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ + +@INTLTOOL_SERVER_RULE@ + +schemadir = $(GCONF_SCHEMA_FILE_DIR) +schemas_in_file = gnome-dictionary.schemas.in +schema_DATA = $(schemas_in_file:.schemas.in=.schemas) +@INTLTOOL_SCHEMAS_RULE@ + +EXTRA_DIST = \ + GNOME_DictionaryApplet.server.in.in \ + $(dictsource_in_files) \ + $(gdictapp_in_files) \ + $(gdictapp_DATA) \ + $(man_MANS) \ + $(schemas_in_file) \ + $(schema_DATA) \ + $(glade_DATA) \ + $(ui_DATA) \ + $(appletui_DATA) \ + $(NULL) + +CLEANFILES = \ + $(dictsource_DATA) \ + $(server_in_files) \ + $(server_DATA) \ + $(gdictapp_DATA) \ + gnome-dictionary.schemas \ + $(NULL) + +if GCONF_SCHEMAS_INSTALL +install-data-local: + if test -z "$(DESTDIR)" ; then \ + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA) ; \ + fi +else +install-data-local: +endif diff --git a/data/default.desktop.in b/data/default.desktop.in new file mode 100644 index 0000000..395433e --- /dev/null +++ b/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/data/gnome-dictionary-preferences.glade b/data/gnome-dictionary-preferences.glade new file mode 100644 index 0000000..1a2c115 --- /dev/null +++ b/data/gnome-dictionary-preferences.glade @@ -0,0 +1,1083 @@ +<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> +<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> + +<glade-interface> + +<widget class="GtkWindow" id="preferences"> + <property name="visible">True</property> + <property name="title" translatable="yes">window1</property> + <property name="type">GTK_WINDOW_TOPLEVEL</property> + <property name="window_position">GTK_WIN_POS_NONE</property> + <property name="modal">False</property> + <property name="resizable">True</property> + <property name="destroy_with_parent">False</property> + <property name="decorated">True</property> + <property name="skip_taskbar_hint">False</property> + <property name="skip_pager_hint">False</property> + <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> + <property name="focus_on_map">True</property> + <property name="urgency_hint">False</property> + + <child> + <widget class="GtkVBox" id="preferences_root"> + <property name="border_width">6</property> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">18</property> + + <child> + <widget class="GtkNotebook" id="preferences_notebook"> + <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> + <widget class="GtkVBox" id="vbox2"> + <property name="border_width">6</property> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">12</property> + + <child> + <widget class="GtkLabel" id="label15"> + <property name="visible">True</property> + <property name="label" translatable="yes">Select a dictionary source for looking up words</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</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> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkScrolledWindow" id="scrolledwindow1"> + <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> + <widget 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> + </widget> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHButtonBox" id="hbuttonbox6"> + <property name="visible">True</property> + <property name="layout_style">GTK_BUTTONBOX_END</property> + <property name="spacing">6</property> + + <child> + <widget 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> + </widget> + </child> + + <child> + <widget 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> + </widget> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="tab_expand">False</property> + <property name="tab_fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label15"> + <property name="visible">True</property> + <property name="label" translatable="yes">Sources</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> + </widget> + <packing> + <property name="type">tab</property> + </packing> + </child> + + <child> + <widget class="GtkVBox" id="vbox3"> + <property name="border_width">12</property> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">12</property> + + <child> + <widget class="GtkHBox" id="hbox1"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkLabel" id="label17"> + <property name="visible">True</property> + <property name="label" translatable="yes">Print font:</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> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget 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">False</property> + <property name="use_size">False</property> + <property name="focus_on_click">True</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="tab_expand">False</property> + <property name="tab_fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label16"> + <property name="visible">True</property> + <property name="label" translatable="yes">Printing</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> + </widget> + <packing> + <property name="type">tab</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + </child> +</widget> + +<widget class="GtkWindow" id="source_info"> + <property name="visible">True</property> + <property name="title" translatable="yes">window1</property> + <property name="type">GTK_WINDOW_TOPLEVEL</property> + <property name="window_position">GTK_WIN_POS_NONE</property> + <property name="modal">False</property> + <property name="resizable">True</property> + <property name="destroy_with_parent">False</property> + <property name="decorated">True</property> + <property name="skip_taskbar_hint">False</property> + <property name="skip_pager_hint">False</property> + <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> + <property name="focus_on_map">True</property> + <property name="urgency_hint">False</property> + + <child> + <widget class="GtkVBox" id="source_info_root"> + <property name="border_width">12</property> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">12</property> + + <child> + <widget class="GtkTable" id="table1"> + <property name="visible">True</property> + <property name="n_rows">7</property> + <property name="n_columns">2</property> + <property name="homogeneous">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> + + <child> + <widget class="GtkLabel" id="name_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Name:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="name_display"> + <property name="visible">True</property> + <property name="label" translatable="yes">name</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</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> + </widget> + <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="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="description_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Description:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="description_display"> + <property name="visible">True</property> + <property name="label" translatable="yes">description</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</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="transport_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Transport:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="transport_display"> + <property name="visible">True</property> + <property name="label" translatable="yes">transport</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</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> + </widget> + <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="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="database_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Database:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="database_display"> + <property name="visible">True</property> + <property name="label" translatable="yes">database</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</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> + </widget> + <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="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="strategy_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Strategy:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <packing> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="strategy_display"> + <property name="visible">True</property> + <property name="label" translatable="yes">strategy</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</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> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="hostname_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Hostname:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <packing> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="hostname_display"> + <property name="visible">True</property> + <property name="label" translatable="yes">hostname</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</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> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="port_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Port:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <packing> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">6</property> + <property name="bottom_attach">7</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="port_display"> + <property name="visible">True</property> + <property name="label" translatable="yes">port</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</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> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">6</property> + <property name="bottom_attach">7</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + </child> +</widget> + +<widget class="GtkWindow" id="source_add"> + <property name="visible">True</property> + <property name="title" translatable="yes">window2</property> + <property name="type">GTK_WINDOW_TOPLEVEL</property> + <property name="window_position">GTK_WIN_POS_NONE</property> + <property name="modal">False</property> + <property name="resizable">True</property> + <property name="destroy_with_parent">False</property> + <property name="decorated">True</property> + <property name="skip_taskbar_hint">False</property> + <property name="skip_pager_hint">False</property> + <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> + <property name="focus_on_map">True</property> + <property name="urgency_hint">False</property> + + <child> + <widget class="GtkVBox" id="source_add_root"> + <property name="border_width">12</property> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">12</property> + + <child> + <widget class="GtkTable" id="table2"> + <property name="visible">True</property> + <property name="n_rows">7</property> + <property name="n_columns">2</property> + <property name="homogeneous">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> + + <child> + <widget class="GtkLabel" id="name_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Name:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="description_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Description:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="transport_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Transport:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="database_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Database:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="strategy_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Strategy:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <packing> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="hostname_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Hostname:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <packing> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="port_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><b>Port:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">1</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> + </widget> + <packing> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">6</property> + <property name="bottom_attach">7</property> + <property name="x_options">fill</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="name_entry"> + <property name="visible">True</property> + <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" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">*</property> + <property name="activates_default">False</property> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="description_entry"> + <property name="visible">True</property> + <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" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">*</property> + <property name="activates_default">False</property> + </widget> + <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="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="database_entry"> + <property name="visible">True</property> + <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" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">*</property> + <property name="activates_default">False</property> + </widget> + <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"></property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="strategy_entry"> + <property name="visible">True</property> + <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" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">*</property> + <property name="activates_default">False</property> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="hostname_entry"> + <property name="visible">True</property> + <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" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">*</property> + <property name="activates_default">False</property> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="port_entry"> + <property name="visible">True</property> + <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" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">*</property> + <property name="activates_default">False</property> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">6</property> + <property name="bottom_attach">7</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkComboBoxEntry" id="transport_combo"> + <property name="visible">True</property> + <property name="add_tearoffs">False</property> + <property name="has_frame">True</property> + <property name="focus_on_click">True</property> + </widget> + <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="x_options">fill</property> + <property name="y_options">fill</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + </child> +</widget> + +</glade-interface> diff --git a/data/gnome-dictionary-ui.xml b/data/gnome-dictionary-ui.xml new file mode 100644 index 0000000..bd753e7 --- /dev/null +++ b/data/gnome-dictionary-ui.xml @@ -0,0 +1,38 @@ +<ui> + <menubar name="MainMenu"> + <menu name="FileMenu" action="File"> + <menuitem name="NewMenu" action="FileNew"/> + <menuitem name="SaveAsMenu" action="FileSaveAs"/> + <separator/> + <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="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/data/gnome-dictionary.1 b/data/gnome-dictionary.1 new file mode 100644 index 0000000..5bbf623 --- /dev/null +++ b/data/gnome-dictionary.1 @@ -0,0 +1,36 @@ +.\" gnome-dictionary.1 - a online dictionary client +.\" Copyright 2001 Jochen Voss +.TH gnome-dictionary 1 "Aug 8 2002" "gnome-utils 2.0.0" +.SH NAME +gnome-dictionary \- GNOME client for MIT dictionary server +.SH SYNOPSIS +.B gnome-dictionary +.sp +or select +.B Dictionary +from the +.B Accessories +submenu of the Applications menu. +.SH DESCRIPTION +.B GNOME Dictionary +provides dictionary definitions of words, using any server that +supports the dict protocol, an Internet standard for client/server +dictionary applications. + +For full documentation see the +.B GNOME Dictionary +online help. + +.SH AUTHOR +.B GNOME Dictionary +was written by Spiros Papadimitriou (<spapadim+@cs.cmu.edu>), Mike +Hughes (<mfh@psilord.com>) and Bradford Hovinen (<hovinen@udel.edu>). + +This manual page was written by Jochen Voss +<voss@mathematik.uni-kl.de>. + +.SH SEE ALSO +.BR dict (1), +.BR dictd (8), +.BR http://www.dict.org/ , +.B RFC 2229 diff --git a/data/gnome-dictionary.desktop.in b/data/gnome-dictionary.desktop.in new file mode 100644 index 0000000..de45989 --- /dev/null +++ b/data/gnome-dictionary.desktop.in @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +_Name=Dictionary +_Comment=Look up words in an online dictionary +Exec=gnome-dictionary +Terminal=false +Type=Application +Icon=gdict +StartupNotify=true +Categories=GNOME;Application;Utility; +X-GNOME-DocPath=gnome-dictionary/gnome-dictionary.xml +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gnome-utils +X-GNOME-Bugzilla-Component=gdict diff --git a/data/gnome-dictionary.schemas.in b/data/gnome-dictionary.schemas.in new file mode 100644 index 0000000..cd90994 --- /dev/null +++ b/data/gnome-dictionary.schemas.in @@ -0,0 +1,99 @@ +<gconfschemafile> + <schemalist> + <schema> + <key>/schemas/apps/gnome-dictionary/server</key> + <applyto>/apps/gnome-dictionary/server</applyto> + <owner>gnome-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/gnome-dictionary/port</key> + <applyto>/apps/gnome-dictionary/port</applyto> + <owner>gnome-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/gnome-dictionary/smart</key> + <applyto>/apps/gnome-dictionary/smart</applyto> + <owner>gnome-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/gnome-dictionary/database</key> + <applyto>/apps/gnome-dictionary/database</applyto> + <owner>gnome-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 database present on a source should be searched</long> + </locale> + </schema> + + <schema> + <key>/schemas/apps/gnome-dictionary/strategy</key> + <applyto>/apps/gnome-dictionary/strategy</applyto> + <owner>gnome-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/gnome-dictionary/print-font</key> + <applyto>/apps/gnome-dictionary/print-font</applyto> + <owner>gnome-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/gnome-dictionary/source-name</key> + <applyto>/apps/gnome-dictionary/source-name</applyto> + <owner>gnome-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> + + </schemalist> + +</gconfschemafile> |