[gtranslator] Minor fixes in dictionary plugin



commit 304ca28b3fc4b8ebbbfbdb51ffe18f4887a8415e
Author: Fran Diéguez <fran dieguez mabishu com>
Date:   Sun Sep 19 00:52:42 2010 +0200

    Minor fixes in dictionary plugin

 plugins/dictionary/gtr-dict-panel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/dictionary/gtr-dict-panel.c b/plugins/dictionary/gtr-dict-panel.c
index 8347d81..97c5bba 100644
--- a/plugins/dictionary/gtr-dict-panel.c
+++ b/plugins/dictionary/gtr-dict-panel.c
@@ -38,6 +38,8 @@
 						 GTR_TYPE_DICT_PANEL,     \
 						 GtrDictPanelPrivate))
 
+#define DICTIONARY_DEFAULT_SOURCE_NAME "Default"
+
 #define DICTIONARY_SETTINGS_DATABASE_KEY         "database"
 #define DICTIONARY_SETTINGS_STRATEGY_KEY         "strategy"
 #define DICTIONARY_SETTINGS_SOURCE_KEY           "source-name"
@@ -630,7 +632,7 @@ gtr_dict_panel_dispose (GObject * object)
       panel->priv->settings = NULL;
     }
 
-  G_OBJECT_CLASS (gtr_dict_panel_parent_class)->dipose (object);
+  G_OBJECT_CLASS (gtr_dict_panel_parent_class)->dispose (object);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]