[gtranslator] Rename source-code-view as codeview



commit 093c5a3c3d398c56a1540cea7c95921752dc49d5
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Oct 7 12:56:39 2010 +0200

    Rename source-code-view as codeview
    
    Autotools is picky with the lenght of the names so I made it shorter.

 configure.ac                                       |    4 ++--
 plugins/Makefile.am                                |    4 ++--
 plugins/{source-code-view => codeview}/Makefile.am |    4 ++--
 .../gtr-source-code-view-dialog.ui                 |    0
 .../gtr-source-code-view-plugin.c                  |    2 +-
 .../gtr-source-code-view-plugin.h                  |    0
 ...-source-code-view.gtranslator-plugin.desktop.in |    0
 .../{source-code-view => codeview}/gtr-viewer.c    |    0
 .../{source-code-view => codeview}/gtr-viewer.h    |    0
 .../{source-code-view => codeview}/gtr-viewer.ui   |    0
 ...gtranslator.plugins.codeview.gschema.xml.in.in} |    2 +-
 po/POTFILES.in                                     |   13 +++++++------
 po/POTFILES.skip                                   |    3 ++-
 13 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b6a5c9d..ef0e93f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -282,8 +282,8 @@ plugins/insert-params/Makefile
 plugins/insert-tags/Makefile
 plugins/open-tran/Makefile
 plugins/open-tran/org.gnome.gtranslator.plugins.open-tran.gschema.xml.in
-plugins/source-code-view/Makefile
-plugins/source-code-view/org.gnome.gtranslator.plugins.source-code-view.gschema.xml.in
+plugins/codeview/Makefile
+plugins/codeview/org.gnome.gtranslator.plugins.codeview.gschema.xml.in
 src/Makefile
 src/dialogs/Makefile
 src/toolbareditor/Makefile
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index edff14b..10beb14 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -1,9 +1,9 @@
 SUBDIRS = 					\
 	alternate-language			\
+	codeview				\
 	fullscreen				\
 	insert-tags				\
-	insert-params				\
-	source-code-view
+	insert-params
 
 if USE_CHARMAP
 SUBDIRS += charmap
diff --git a/plugins/source-code-view/Makefile.am b/plugins/codeview/Makefile.am
similarity index 90%
rename from plugins/source-code-view/Makefile.am
rename to plugins/codeview/Makefile.am
index 73df9b7..1b56cb9 100644
--- a/plugins/source-code-view/Makefile.am
+++ b/plugins/codeview/Makefile.am
@@ -38,7 +38,7 @@ plugin_in_files = gtr-source-code-view.gtranslator-plugin.desktop.in
 
 plugin_DATA = $(plugin_in_files:.gtranslator-plugin.desktop.in=.gtranslator.plugin)
 
-gsettings_SCHEMAS = org.gnome.gtranslator.plugins.source-code-view.gschema.xml
+gsettings_SCHEMAS = org.gnome.gtranslator.plugins.codeview.gschema.xml
 
 @INTLTOOL_XML_NOMERGE_RULE@
 
@@ -47,7 +47,7 @@ gsettings_SCHEMAS = org.gnome.gtranslator.plugins.source-code-view.gschema.xml
 EXTRA_DIST =	\
 	$(plugin_in_files)	\
 	$(ui_DATA)		\
-	org.gnome.gtranslator.plugins.source-code-view.gschema.xml.in.in
+	org.gnome.gtranslator.plugins.codeview.gschema.xml.in.in
 
 CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
diff --git a/plugins/source-code-view/gtr-source-code-view-dialog.ui b/plugins/codeview/gtr-source-code-view-dialog.ui
similarity index 100%
rename from plugins/source-code-view/gtr-source-code-view-dialog.ui
rename to plugins/codeview/gtr-source-code-view-dialog.ui
diff --git a/plugins/source-code-view/gtr-source-code-view-plugin.c b/plugins/codeview/gtr-source-code-view-plugin.c
similarity index 99%
rename from plugins/source-code-view/gtr-source-code-view-plugin.c
rename to plugins/codeview/gtr-source-code-view-plugin.c
index b6df29e..12b81a0 100644
--- a/plugins/source-code-view/gtr-source-code-view-plugin.c
+++ b/plugins/codeview/gtr-source-code-view-plugin.c
@@ -393,7 +393,7 @@ gtr_source_code_view_plugin_init (GtrSourceCodeViewPlugin * plugin)
 {
   plugin->priv = GTR_SOURCE_CODE_VIEW_PLUGIN_GET_PRIVATE (plugin);
 
-  plugin->priv->settings = g_settings_new ("org.gnome.gtranslator.plugins.source-code-view");
+  plugin->priv->settings = g_settings_new ("org.gnome.gtranslator.plugins.codeview");
   plugin->priv->tags = NULL;
 }
 
diff --git a/plugins/source-code-view/gtr-source-code-view-plugin.h b/plugins/codeview/gtr-source-code-view-plugin.h
similarity index 100%
rename from plugins/source-code-view/gtr-source-code-view-plugin.h
rename to plugins/codeview/gtr-source-code-view-plugin.h
diff --git a/plugins/source-code-view/gtr-source-code-view.gtranslator-plugin.desktop.in b/plugins/codeview/gtr-source-code-view.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/source-code-view/gtr-source-code-view.gtranslator-plugin.desktop.in
rename to plugins/codeview/gtr-source-code-view.gtranslator-plugin.desktop.in
diff --git a/plugins/source-code-view/gtr-viewer.c b/plugins/codeview/gtr-viewer.c
similarity index 100%
rename from plugins/source-code-view/gtr-viewer.c
rename to plugins/codeview/gtr-viewer.c
diff --git a/plugins/source-code-view/gtr-viewer.h b/plugins/codeview/gtr-viewer.h
similarity index 100%
rename from plugins/source-code-view/gtr-viewer.h
rename to plugins/codeview/gtr-viewer.h
diff --git a/plugins/source-code-view/gtr-viewer.ui b/plugins/codeview/gtr-viewer.ui
similarity index 100%
rename from plugins/source-code-view/gtr-viewer.ui
rename to plugins/codeview/gtr-viewer.ui
diff --git a/plugins/source-code-view/org.gnome.gtranslator.plugins.source-code-view.gschema.xml.in.in b/plugins/codeview/org.gnome.gtranslator.plugins.codeview.gschema.xml.in.in
similarity index 89%
rename from plugins/source-code-view/org.gnome.gtranslator.plugins.source-code-view.gschema.xml.in.in
rename to plugins/codeview/org.gnome.gtranslator.plugins.codeview.gschema.xml.in.in
index 66412c7..94dc82d 100644
--- a/plugins/source-code-view/org.gnome.gtranslator.plugins.source-code-view.gschema.xml.in.in
+++ b/plugins/codeview/org.gnome.gtranslator.plugins.codeview.gschema.xml.in.in
@@ -1,5 +1,5 @@
 <schemalist>
-  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gtranslator.plugins.source-code-view" path="/apps/gtranslator/plugins/source-code-view/">
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gtranslator.plugins.codeview" path="/apps/gtranslator/plugins/codeview/">
     <key name="use-editor" type="b">
       <default>false</default>
       <_summary>Use the System Editor</_summary>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e85faa2..c8edffa 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -12,6 +12,7 @@ plugins/charmap/gtr-charmap.gtranslator-plugin.desktop.in
 plugins/dictionary/gtr-dict-panel.c
 plugins/dictionary/gtr-dict.gtranslator-plugin.desktop.in
 plugins/dictionary/gtr-dictionary-plugin.c
+plugins/dictionary/org.gnome.gtranslator.plugins.dictionary.gschema.xml.in.in
 plugins/fullscreen/gtr-fullscreen-plugin.c
 plugins/fullscreen/gtr-fullscreen.gtranslator-plugin.desktop.in
 plugins/insert-params/gtr-insert-params-plugin.c
@@ -23,12 +24,12 @@ plugins/open-tran/gtr-open-tran-panel.c
 plugins/open-tran/gtr-open-tran-plugin.c
 plugins/open-tran/gtr-open-tran.gtranslator-plugin.desktop.in
 plugins/open-tran/org.gnome.gtranslator.plugins.open-tran.gschema.xml.in.in
-[type: gettext/glade]plugins/source-code-view/gtr-source-code-view-dialog.ui
-plugins/source-code-view/gtr-source-code-view-plugin.c
-plugins/source-code-view/gtr-source-code-view.gtranslator-plugin.desktop.in
-plugins/source-code-view/gtr-viewer.c
-[type: gettext/glade]plugins/source-code-view/gtr-viewer.ui
-plugins/source-code-view/org.gnome.gtranslator.plugins.source-code-view.gschema.xml.in.in
+[type: gettext/glade]plugins/codeview/gtr-source-code-view-dialog.ui
+plugins/codeview/gtr-source-code-view-plugin.c
+plugins/codeview/gtr-source-code-view.gtranslator-plugin.desktop.in
+plugins/codeview/gtr-viewer.c
+[type: gettext/glade]plugins/codeview/gtr-viewer.ui
+plugins/codeview/org.gnome.gtranslator.plugins.codeview.gschema.xml.in.in
 src/gtr-actions-file.c
 src/gtr-actions-help.c
 src/gtr-actions-search.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index c6c2ce4..dbe830c 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,4 +1,5 @@
 data/desktop/gtranslator.desktop.in
 data/org.gnome.gtranslator.gschema.xml.in
+plugins/codeview/org.gnome.gtranslator.plugins.codeview.gschema.xml.in
+plugins/dictionary/org.gnome.gtranslator.plugins.dictionary.gschema.xml.in
 plugins/open-tran/org.gnome.gtranslator.plugins.open-tran.gschema.xml.in
-plugins/source-code-view/org.gnome.gtranslator.plugins.source-code-view.gschema.xml.in



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