[gtranslator] Rename all files to use a gtr- prefix.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtranslator] Rename all files to use a gtr- prefix.
- Date: Thu, 4 Feb 2010 12:50:33 +0000 (UTC)
commit ef5033ad18064d5d4ae9310aa04e5c550159494b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Feb 4 13:17:03 2010 +0100
Rename all files to use a gtr- prefix.
plugins/alternate-language/Makefile.am | 10 +-
...uage-panel.c => gtr-alternate-language-panel.c} | 14 +-
...uage-panel.h => gtr-alternate-language-panel.h} | 0
...ge-plugin.c => gtr-alternate-language-plugin.c} | 8 +-
...ge-plugin.h => gtr-alternate-language-plugin.h} | 2 +-
...ternate-language.gtranslator-plugin.desktop.in} | 0
plugins/charmap/Makefile.am | 10 +-
.../{charmap-panel.c => gtr-charmap-panel.c} | 4 +-
.../{charmap-panel.h => gtr-charmap-panel.h} | 0
.../{charmap-plugin.c => gtr-charmap-plugin.c} | 14 +-
.../{charmap-plugin.h => gtr-charmap-plugin.h} | 2 +-
...n => gtr-charmap.gtranslator-plugin.desktop.in} | 0
plugins/charmap/update-from-gedit.sh | 41 -------
plugins/dictionary/Makefile.am | 14 +-
.../dictionary/{dict-panel.c => gtr-dict-panel.c} | 12 +-
.../dictionary/{dict-panel.h => gtr-dict-panel.h} | 2 +-
...p.in => gtr-dict.gtranslator-plugin.desktop.in} | 0
...dictionary-plugin.c => gtr-dictionary-plugin.c} | 8 +-
...dictionary-plugin.h => gtr-dictionary-plugin.h} | 2 +-
.../{gdict-sidebar.c => gtr-gdict-sidebar.c} | 2 +-
.../{gdict-sidebar.h => gtr-gdict-sidebar.h} | 0
plugins/fullscreen/Makefile.am | 6 +-
...fullscreen-plugin.c => gtr-fullscreen-plugin.c} | 4 +-
...fullscreen-plugin.h => gtr-fullscreen-plugin.h} | 2 +-
...> gtr-fullscreen.gtranslator-plugin.desktop.in} | 0
plugins/insert-params/Makefile.am | 6 +-
...-params-plugin.c => gtr-insert-params-plugin.c} | 8 +-
...-params-plugin.h => gtr-insert-params-plugin.h} | 2 +-
...tr-insert-params.gtranslator-plugin.desktop.in} | 0
plugins/insert-tags/Makefile.am | 6 +-
...sert-tags-plugin.c => gtr-insert-tags-plugin.c} | 8 +-
...sert-tags-plugin.h => gtr-insert-tags-plugin.h} | 2 +-
... gtr-insert-tags.gtranslator-plugin.desktop.in} | 0
plugins/open-tran/Makefile.am | 12 +-
...open-tran-dialog.ui => gtr-open-tran-dialog.ui} | 0
.../{open-tran-panel.c => gtr-open-tran-panel.c} | 10 +-
.../{open-tran-panel.h => gtr-open-tran-panel.h} | 2 +-
.../{open-tran-plugin.c => gtr-open-tran-plugin.c} | 11 +-
.../{open-tran-plugin.h => gtr-open-tran-plugin.h} | 2 +-
...=> gtr-open-tran.gtranslator-plugin.desktop.in} | 0
plugins/source-code-view/Makefile.am | 14 +-
...ew-dialog.ui => gtr-source-code-view-dialog.ui} | 0
...view-plugin.c => gtr-source-code-view-plugin.c} | 10 +-
...view-plugin.h => gtr-source-code-view-plugin.h} | 2 +-
...source-code-view.gtranslator-plugin.desktop.in} | 0
.../source-code-view/{viewer.c => gtr-viewer.c} | 6 +-
.../source-code-view/{viewer.h => gtr-viewer.h} | 4 +-
.../source-code-view/{viewer.ui => gtr-viewer.ui} | 0
src/Makefile.am | 126 ++++++++++----------
src/dialogs/Makefile.am | 48 ++++----
src/dialogs/{assistant.c => gtr-assistant.c} | 12 +-
src/dialogs/{assistant.h => gtr-assistant.h} | 3 +-
...on-dialog.c => gtr-close-confirmation-dialog.c} | 10 +-
...on-dialog.h => gtr-close-confirmation-dialog.h} | 2 +-
.../{comment-dialog.c => gtr-comment-dialog.c} | 12 +-
.../{comment-dialog.h => gtr-comment-dialog.h} | 5 +-
.../{comment-dialog.ui => gtr-comment-dialog.ui} | 0
src/dialogs/{file-dialogs.c => gtr-file-dialogs.c} | 8 +-
src/dialogs/{file-dialogs.h => gtr-file-dialogs.h} | 3 +-
.../{header-dialog.c => gtr-header-dialog.c} | 12 +-
.../{header-dialog.h => gtr-header-dialog.h} | 3 +-
.../{header-dialog.ui => gtr-header-dialog.ui} | 0
src/dialogs/{jump-dialog.c => gtr-jump-dialog.c} | 10 +-
src/dialogs/{jump-dialog.h => gtr-jump-dialog.h} | 3 +-
src/dialogs/{jump-dialog.ui => gtr-jump-dialog.ui} | 0
...eferences-dialog.c => gtr-preferences-dialog.c} | 22 ++--
...eferences-dialog.h => gtr-preferences-dialog.h} | 5 +-
...erences-dialog.ui => gtr-preferences-dialog.ui} | 0
.../{profile-dialog.c => gtr-profile-dialog.c} | 12 +-
.../{profile-dialog.h => gtr-profile-dialog.h} | 6 +-
.../{profile-dialog.ui => gtr-profile-dialog.ui} | 0
.../{search-dialog.c => gtr-search-dialog.c} | 12 +-
.../{search-dialog.h => gtr-search-dialog.h} | 0
.../{search-dialog.ui => gtr-search-dialog.ui} | 0
...actions-documents.c => gtr-actions-documents.c} | 2 +-
src/{actions-edit.c => gtr-actions-edit.c} | 14 +-
src/{actions-file.c => gtr-actions-file.c} | 24 ++--
src/{actions-go.c => gtr-actions-go.c} | 10 +-
src/{actions-help.c => gtr-actions-help.c} | 4 +-
src/{actions-search.c => gtr-actions-search.c} | 14 +-
src/{actions-view.c => gtr-actions-view.c} | 2 +-
src/{actions.h => gtr-actions.h} | 3 +-
src/{application.c => gtr-application.c} | 14 +-
src/{application.h => gtr-application.h} | 4 +-
src/{context.c => gtr-context.c} | 4 +-
src/{context.h => gtr-context.h} | 0
src/{debug.h => gtr-debug.h} | 0
src/{dirs.c => gtr-dirs.c} | 2 +-
src/{dirs.h => gtr-dirs.h} | 0
...-types.c.template => gtr-enum-types.c.template} | 2 +-
...-types.h.template => gtr-enum-types.h.template} | 0
src/{header.c => gtr-header.c} | 10 +-
src/{header.h => gtr-header.h} | 2 +-
src/{history-entry.c => gtr-history-entry.c} | 2 +-
src/{history-entry.h => gtr-history-entry.h} | 0
...io-error-info-bar.c => gtr-io-error-info-bar.c} | 2 +-
...io-error-info-bar.h => gtr-io-error-info-bar.h} | 0
src/{gtranslator-marshal.list => gtr-marshal.list} | 0
...age-table-model.c => gtr-message-table-model.c} | 4 +-
...age-table-model.h => gtr-message-table-model.h} | 3 +-
src/{message-table.c => gtr-message-table.c} | 10 +-
src/{message-table.h => gtr-message-table.h} | 2 +-
src/{msg.c => gtr-msg.c} | 2 +-
src/{msg.h => gtr-msg.h} | 0
src/{notebook.c => gtr-notebook.c} | 4 +-
src/{notebook.h => gtr-notebook.h} | 2 +-
src/{po.c => gtr-po.c} | 18 ++--
src/{po.h => gtr-po.h} | 2 +-
...prefs-manager-app.c => gtr-prefs-manager-app.c} | 16 ++--
...prefs-manager-app.h => gtr-prefs-manager-app.h} | 3 +-
...nager-private.h => gtr-prefs-manager-private.h} | 0
src/{prefs-manager.c => gtr-prefs-manager.c} | 4 +-
src/{prefs-manager.h => gtr-prefs-manager.h} | 0
src/{profile.c => gtr-profile.c} | 8 +-
src/{profile.h => gtr-profile.h} | 0
src/{statusbar.c => gtr-statusbar.c} | 2 +-
src/{statusbar.h => gtr-statusbar.h} | 0
src/{tab.c => gtr-tab.c} | 24 ++--
src/{tab.h => gtr-tab.h} | 8 +-
src/{utils.c => gtr-utils.c} | 4 +-
src/{utils.h => gtr-utils.h} | 0
src/{view.c => gtr-view.c} | 8 +-
src/{view.h => gtr-view.h} | 0
src/{window.c => gtr-window.c} | 24 ++--
src/{window.h => gtr-window.h} | 8 +-
src/main.c | 12 +-
src/plugin-system/Makefile.am | 22 ++--
src/plugin-system/{module.c => gtr-module.c} | 4 +-
src/plugin-system/{module.h => gtr-module.h} | 0
.../{plugin-info-priv.h => gtr-plugin-info-priv.h} | 4 +-
.../{plugin-info.c => gtr-plugin-info.c} | 8 +-
.../{plugin-info.h => gtr-plugin-info.h} | 3 +-
.../{plugin-manager.c => gtr-plugin-manager.c} | 10 +-
.../{plugin-manager.h => gtr-plugin-manager.h} | 0
src/plugin-system/{plugin.c => gtr-plugin.c} | 2 +-
src/plugin-system/{plugin.h => gtr-plugin.h} | 4 +-
.../{plugins-engine.c => gtr-plugins-engine.c} | 14 +-
.../{plugins-engine.h => gtr-plugins-engine.h} | 6 +-
src/plugin-system/update-from-gedit.sh | 68 -----------
src/translation-memory/Makefile.am | 8 +-
src/translation-memory/berkeley/Makefile.am | 24 ++--
.../berkeley/{berkeley.c => gtr-berkeley.c} | 12 +-
.../berkeley/{berkeley.h => gtr-berkeley.h} | 0
.../berkeley/{db-base.c => gtr-db-base.c} | 6 +-
.../berkeley/{db-base.h => gtr-db-base.h} | 0
.../berkeley/{db-keys.c => gtr-db-keys.c} | 2 +-
.../berkeley/{db-keys.h => gtr-db-keys.h} | 0
.../berkeley/{db-orig.c => gtr-db-orig.c} | 2 +-
.../berkeley/{db-orig.h => gtr-db-orig.h} | 2 +-
.../berkeley/{db-trans.c => gtr-db-trans.c} | 2 +-
.../berkeley/{db-trans.h => gtr-db-trans.h} | 2 +-
.../berkeley/{db-words.c => gtr-db-words.c} | 4 +-
.../berkeley/{db-words.h => gtr-db-words.h} | 4 +-
...ion-memory-ui.c => gtr-translation-memory-ui.c} | 14 +-
...ion-memory-ui.h => gtr-translation-memory-ui.h} | 0
...anslation-memory.c => gtr-translation-memory.c} | 2 +-
...anslation-memory.h => gtr-translation-memory.h} | 0
157 files changed, 494 insertions(+), 594 deletions(-)
---
diff --git a/plugins/alternate-language/Makefile.am b/plugins/alternate-language/Makefile.am
index a9fbc73..6e0ca97 100644
--- a/plugins/alternate-language/Makefile.am
+++ b/plugins/alternate-language/Makefile.am
@@ -15,10 +15,10 @@ plugin_LTLIBRARIES = \
libalternatelang.la
libalternatelang_la_SOURCES = \
- alternate-language-panel.h \
- alternate-language-panel.c \
- alternate-language-plugin.c \
- alternate-language-plugin.h
+ gtr-alternate-language-panel.h \
+ gtr-alternate-language-panel.c \
+ gtr-alternate-language-plugin.c \
+ gtr-alternate-language-plugin.h
libalternatelang_la_LDFLAGS = \
@@ -27,7 +27,7 @@ libalternatelang_la_LDFLAGS = \
# Plugin Info
-plugin_in_files = alternate-language.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-alternate-language.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/alternate-language/alternate-language-panel.c b/plugins/alternate-language/gtr-alternate-language-panel.c
similarity index 98%
rename from plugins/alternate-language/alternate-language-panel.c
rename to plugins/alternate-language/gtr-alternate-language-panel.c
index ffb2e80..960b9c6 100644
--- a/plugins/alternate-language/alternate-language-panel.c
+++ b/plugins/alternate-language/gtr-alternate-language-panel.c
@@ -19,13 +19,13 @@
#include <config.h>
#endif
-#include "alternate-language-panel.h"
-#include "file-dialogs.h"
-#include "msg.h"
-#include "plugin.h"
-#include "po.h"
-#include "tab.h"
-#include "view.h"
+#include "gtr-alternate-language-panel.h"
+#include "gtr-file-dialogs.h"
+#include "gtr-msg.h"
+#include "gtr-plugin.h"
+#include "gtr-po.h"
+#include "gtr-tab.h"
+#include "gtr-view.h"
#include <string.h>
#include <glib.h>
diff --git a/plugins/alternate-language/alternate-language-panel.h b/plugins/alternate-language/gtr-alternate-language-panel.h
similarity index 100%
rename from plugins/alternate-language/alternate-language-panel.h
rename to plugins/alternate-language/gtr-alternate-language-panel.h
diff --git a/plugins/alternate-language/alternate-language-plugin.c b/plugins/alternate-language/gtr-alternate-language-plugin.c
similarity index 97%
rename from plugins/alternate-language/alternate-language-plugin.c
rename to plugins/alternate-language/gtr-alternate-language-plugin.c
index c3af84c..fb55708 100644
--- a/plugins/alternate-language/alternate-language-plugin.c
+++ b/plugins/alternate-language/gtr-alternate-language-plugin.c
@@ -20,10 +20,10 @@
#include <config.h>
#endif
-#include "alternate-language-plugin.h"
-#include "alternate-language-panel.h"
-#include "notebook.h"
-#include "window.h"
+#include "gtr-alternate-language-plugin.h"
+#include "gtr-alternate-language-panel.h"
+#include "gtr-notebook.h"
+#include "gtr-window.h"
#include <glib/gi18n-lib.h>
diff --git a/plugins/alternate-language/alternate-language-plugin.h b/plugins/alternate-language/gtr-alternate-language-plugin.h
similarity index 99%
rename from plugins/alternate-language/alternate-language-plugin.h
rename to plugins/alternate-language/gtr-alternate-language-plugin.h
index 016b2a6..1c5714c 100644
--- a/plugins/alternate-language/alternate-language-plugin.h
+++ b/plugins/alternate-language/gtr-alternate-language-plugin.h
@@ -23,7 +23,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "plugin.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/alternate-language/alternate-language.gtranslator-plugin.desktop.in b/plugins/alternate-language/gtr-alternate-language.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/alternate-language/alternate-language.gtranslator-plugin.desktop.in
rename to plugins/alternate-language/gtr-alternate-language.gtranslator-plugin.desktop.in
diff --git a/plugins/charmap/Makefile.am b/plugins/charmap/Makefile.am
index 9a1b609..cd55176 100644
--- a/plugins/charmap/Makefile.am
+++ b/plugins/charmap/Makefile.am
@@ -15,10 +15,10 @@ INCLUDES = \
plugin_LTLIBRARIES = libcharmap.la
libcharmap_la_SOURCES = \
- charmap-plugin.h \
- charmap-plugin.c \
- charmap-panel.h \
- charmap-panel.c
+ gtr-charmap-plugin.h \
+ gtr-charmap-plugin.c \
+ gtr-charmap-panel.h \
+ gtr-charmap-panel.c
libcharmap_la_LDFLAGS = \
$(PLUGIN_LIBTOOL_FLAGS) \
@@ -31,7 +31,7 @@ pixmaps__DATA = \
# Plugin Info
-plugin_in_files = charmap.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-charmap.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/charmap/charmap-panel.c b/plugins/charmap/gtr-charmap-panel.c
similarity index 99%
rename from plugins/charmap/charmap-panel.c
rename to plugins/charmap/gtr-charmap-panel.c
index 5a64e43..396e0a6 100644
--- a/plugins/charmap/charmap-panel.c
+++ b/plugins/charmap/gtr-charmap-panel.c
@@ -22,8 +22,8 @@
#include <config.h>
#endif
-#include "plugin.h"
-#include "charmap-panel.h"
+#include "gtr-plugin.h"
+#include "gtr-charmap-panel.h"
#ifdef HAVE_GUCHARMAP_2
#include <gucharmap/gucharmap.h>
diff --git a/plugins/charmap/charmap-panel.h b/plugins/charmap/gtr-charmap-panel.h
similarity index 100%
rename from plugins/charmap/charmap-panel.h
rename to plugins/charmap/gtr-charmap-panel.h
diff --git a/plugins/charmap/charmap-plugin.c b/plugins/charmap/gtr-charmap-plugin.c
similarity index 98%
rename from plugins/charmap/charmap-plugin.c
rename to plugins/charmap/gtr-charmap-plugin.c
index e2af84e..1d6be5e 100644
--- a/plugins/charmap/charmap-plugin.c
+++ b/plugins/charmap/gtr-charmap-plugin.c
@@ -22,14 +22,14 @@
#include <config.h>
#endif
-#include "charmap-plugin.h"
-#include "charmap-panel.h"
-
#include <glib/gi18n-lib.h>
-#include "debug.h"
-#include "application.h"
-#include "statusbar.h"
-#include "window.h"
+
+#include "gtr-charmap-plugin.h"
+#include "gtr-charmap-panel.h"
+#include "gtr-debug.h"
+#include "gtr-application.h"
+#include "gtr-statusbar.h"
+#include "gtr-window.h"
#ifdef HAVE_GUCHARMAP_2
#include <gucharmap/gucharmap.h>
diff --git a/plugins/charmap/charmap-plugin.h b/plugins/charmap/gtr-charmap-plugin.h
similarity index 99%
rename from plugins/charmap/charmap-plugin.h
rename to plugins/charmap/gtr-charmap-plugin.h
index aab9d1d..e78225a 100644
--- a/plugins/charmap/charmap-plugin.h
+++ b/plugins/charmap/gtr-charmap-plugin.h
@@ -25,7 +25,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "plugin.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/charmap/charmap.gtranslator-plugin.desktop.in b/plugins/charmap/gtr-charmap.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/charmap/charmap.gtranslator-plugin.desktop.in
rename to plugins/charmap/gtr-charmap.gtranslator-plugin.desktop.in
diff --git a/plugins/dictionary/Makefile.am b/plugins/dictionary/Makefile.am
index a795242..9aacfb6 100644
--- a/plugins/dictionary/Makefile.am
+++ b/plugins/dictionary/Makefile.am
@@ -15,12 +15,12 @@ INCLUDES = \
plugin_LTLIBRARIES = libdict.la
libdict_la_SOURCES = \
- dict-panel.h \
- dict-panel.c \
- gdict-sidebar.c \
- gdict-sidebar.h \
- dictionary-plugin.h \
- dictionary-plugin.c
+ gtr-dict-panel.h \
+ gtr-dict-panel.c \
+ gtr-gdict-sidebar.c \
+ gtr-gdict-sidebar.h \
+ gtr-dictionary-plugin.h \
+ gtr-dictionary-plugin.c
libdict_la_LDFLAGS = \
@@ -35,7 +35,7 @@ pixmaps__DATA = \
# Plugin Info
-plugin_in_files = dict.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-dict.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/dictionary/dict-panel.c b/plugins/dictionary/gtr-dict-panel.c
similarity index 99%
rename from plugins/dictionary/dict-panel.c
rename to plugins/dictionary/gtr-dict-panel.c
index b7a616c..81cec15 100644
--- a/plugins/dictionary/dict-panel.c
+++ b/plugins/dictionary/gtr-dict-panel.c
@@ -19,12 +19,12 @@
#include <config.h>
#endif
-#include "dict-panel.h"
-#include "gdict-sidebar.h"
-#include "plugin.h"
-#include "window.h"
-#include "statusbar.h"
-#include "utils.h"
+#include "gtr-dict-panel.h"
+#include "gtr-gdict-sidebar.h"
+#include "gtr-plugin.h"
+#include "gtr-window.h"
+#include "gtr-statusbar.h"
+#include "gtr-utils.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/plugins/dictionary/dict-panel.h b/plugins/dictionary/gtr-dict-panel.h
similarity index 99%
rename from plugins/dictionary/dict-panel.h
rename to plugins/dictionary/gtr-dict-panel.h
index 17b0a3a..ef3bd0d 100644
--- a/plugins/dictionary/dict-panel.h
+++ b/plugins/dictionary/gtr-dict-panel.h
@@ -22,7 +22,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
+#include "gtr-window.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/dictionary/dict.gtranslator-plugin.desktop.in b/plugins/dictionary/gtr-dict.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/dictionary/dict.gtranslator-plugin.desktop.in
rename to plugins/dictionary/gtr-dict.gtranslator-plugin.desktop.in
diff --git a/plugins/dictionary/dictionary-plugin.c b/plugins/dictionary/gtr-dictionary-plugin.c
similarity index 96%
rename from plugins/dictionary/dictionary-plugin.c
rename to plugins/dictionary/gtr-dictionary-plugin.c
index fc2f57d..94fb88f 100644
--- a/plugins/dictionary/dictionary-plugin.c
+++ b/plugins/dictionary/gtr-dictionary-plugin.c
@@ -19,10 +19,10 @@
#include <config.h>
#endif
-#include "application.h"
-#include "dictionary-plugin.h"
-#include "dict-panel.h"
-#include "window.h"
+#include "gtr-application.h"
+#include "gtr-dictionary-plugin.h"
+#include "gtr-dict-panel.h"
+#include "gtr-window.h"
#include <glib/gi18n-lib.h>
diff --git a/plugins/dictionary/dictionary-plugin.h b/plugins/dictionary/gtr-dictionary-plugin.h
similarity index 98%
rename from plugins/dictionary/dictionary-plugin.h
rename to plugins/dictionary/gtr-dictionary-plugin.h
index 2934261..52c4320 100644
--- a/plugins/dictionary/dictionary-plugin.h
+++ b/plugins/dictionary/gtr-dictionary-plugin.h
@@ -18,7 +18,7 @@
#ifndef __GTR_Dict_PLUGIN_H__
#define __GTR_Dict_PLUGIN_H__
-#include "plugin.h"
+#include "gtr-plugin.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/plugins/dictionary/gdict-sidebar.c b/plugins/dictionary/gtr-gdict-sidebar.c
similarity index 99%
rename from plugins/dictionary/gdict-sidebar.c
rename to plugins/dictionary/gtr-gdict-sidebar.c
index e933bb7..48e169a 100644
--- a/plugins/dictionary/gdict-sidebar.c
+++ b/plugins/dictionary/gtr-gdict-sidebar.c
@@ -35,7 +35,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include "gdict-sidebar.h"
+#include "gtr-gdict-sidebar.h"
typedef struct
{
diff --git a/plugins/dictionary/gdict-sidebar.h b/plugins/dictionary/gtr-gdict-sidebar.h
similarity index 100%
rename from plugins/dictionary/gdict-sidebar.h
rename to plugins/dictionary/gtr-gdict-sidebar.h
diff --git a/plugins/fullscreen/Makefile.am b/plugins/fullscreen/Makefile.am
index 0bbdf13..07664c2 100644
--- a/plugins/fullscreen/Makefile.am
+++ b/plugins/fullscreen/Makefile.am
@@ -15,8 +15,8 @@ plugin_LTLIBRARIES = \
libfullscreen.la
libfullscreen_la_SOURCES = \
- fullscreen-plugin.c \
- fullscreen-plugin.h
+ gtr-fullscreen-plugin.c \
+ gtr-fullscreen-plugin.h
libfullscreen_la_LDFLAGS = \
@@ -25,7 +25,7 @@ libfullscreen_la_LDFLAGS = \
# Plugin Info
-plugin_in_files = fullscreen.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-fullscreen.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/fullscreen/fullscreen-plugin.c b/plugins/fullscreen/gtr-fullscreen-plugin.c
similarity index 98%
rename from plugins/fullscreen/fullscreen-plugin.c
rename to plugins/fullscreen/gtr-fullscreen-plugin.c
index 328b2f8..b2fa5d8 100644
--- a/plugins/fullscreen/fullscreen-plugin.c
+++ b/plugins/fullscreen/gtr-fullscreen-plugin.c
@@ -20,8 +20,8 @@
#include <config.h>
#endif
-#include "fullscreen-plugin.h"
-#include "window.h"
+#include "gtr-fullscreen-plugin.h"
+#include "gtr-window.h"
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
diff --git a/plugins/fullscreen/fullscreen-plugin.h b/plugins/fullscreen/gtr-fullscreen-plugin.h
similarity index 99%
rename from plugins/fullscreen/fullscreen-plugin.h
rename to plugins/fullscreen/gtr-fullscreen-plugin.h
index bba80e6..7b6e2f2 100644
--- a/plugins/fullscreen/fullscreen-plugin.h
+++ b/plugins/fullscreen/gtr-fullscreen-plugin.h
@@ -22,7 +22,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "plugin.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/fullscreen/fullscreen.gtranslator-plugin.desktop.in b/plugins/fullscreen/gtr-fullscreen.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/fullscreen/fullscreen.gtranslator-plugin.desktop.in
rename to plugins/fullscreen/gtr-fullscreen.gtranslator-plugin.desktop.in
diff --git a/plugins/insert-params/Makefile.am b/plugins/insert-params/Makefile.am
index f697797..c608c6a 100644
--- a/plugins/insert-params/Makefile.am
+++ b/plugins/insert-params/Makefile.am
@@ -15,8 +15,8 @@ plugin_LTLIBRARIES = \
libinsertparams.la
libinsertparams_la_SOURCES = \
- insert-params-plugin.c \
- insert-params-plugin.h
+ gtr-insert-params-plugin.c \
+ gtr-insert-params-plugin.h
libinsertparams_la_LDFLAGS = \
@@ -25,7 +25,7 @@ libinsertparams_la_LDFLAGS = \
# Plugin Info
-plugin_in_files = insert-params.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-insert-params.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/insert-params/insert-params-plugin.c b/plugins/insert-params/gtr-insert-params-plugin.c
similarity index 98%
rename from plugins/insert-params/insert-params-plugin.c
rename to plugins/insert-params/gtr-insert-params-plugin.c
index f045ad2..0949e01 100644
--- a/plugins/insert-params/insert-params-plugin.c
+++ b/plugins/insert-params/gtr-insert-params-plugin.c
@@ -20,10 +20,10 @@
#include <config.h>
#endif
-#include "insert-params-plugin.h"
-#include "msg.h"
-#include "notebook.h"
-#include "window.h"
+#include "gtr-insert-params-plugin.h"
+#include "gtr-msg.h"
+#include "gtr-notebook.h"
+#include "gtr-window.h"
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
diff --git a/plugins/insert-params/insert-params-plugin.h b/plugins/insert-params/gtr-insert-params-plugin.h
similarity index 99%
rename from plugins/insert-params/insert-params-plugin.h
rename to plugins/insert-params/gtr-insert-params-plugin.h
index bda2c14..4ab9902 100644
--- a/plugins/insert-params/insert-params-plugin.h
+++ b/plugins/insert-params/gtr-insert-params-plugin.h
@@ -22,7 +22,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "plugin.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/insert-params/insert-params.gtranslator-plugin.desktop.in b/plugins/insert-params/gtr-insert-params.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/insert-params/insert-params.gtranslator-plugin.desktop.in
rename to plugins/insert-params/gtr-insert-params.gtranslator-plugin.desktop.in
diff --git a/plugins/insert-tags/Makefile.am b/plugins/insert-tags/Makefile.am
index 94ad50c..daddb9a 100644
--- a/plugins/insert-tags/Makefile.am
+++ b/plugins/insert-tags/Makefile.am
@@ -15,8 +15,8 @@ plugin_LTLIBRARIES = \
libinserttags.la
libinserttags_la_SOURCES = \
- insert-tags-plugin.c \
- insert-tags-plugin.h
+ gtr-insert-tags-plugin.c \
+ gtr-insert-tags-plugin.h
libinserttags_la_LDFLAGS = \
@@ -25,7 +25,7 @@ libinserttags_la_LDFLAGS = \
# Plugin Info
-plugin_in_files = insert-tags.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-insert-tags.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/insert-tags/insert-tags-plugin.c b/plugins/insert-tags/gtr-insert-tags-plugin.c
similarity index 98%
rename from plugins/insert-tags/insert-tags-plugin.c
rename to plugins/insert-tags/gtr-insert-tags-plugin.c
index 40c3702..5b9e38f 100644
--- a/plugins/insert-tags/insert-tags-plugin.c
+++ b/plugins/insert-tags/gtr-insert-tags-plugin.c
@@ -20,10 +20,10 @@
#include <config.h>
#endif
-#include "insert-tags-plugin.h"
-#include "msg.h"
-#include "notebook.h"
-#include "window.h"
+#include "gtr-insert-tags-plugin.h"
+#include "gtr-msg.h"
+#include "gtr-notebook.h"
+#include "gtr-window.h"
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
diff --git a/plugins/insert-tags/insert-tags-plugin.h b/plugins/insert-tags/gtr-insert-tags-plugin.h
similarity index 99%
rename from plugins/insert-tags/insert-tags-plugin.h
rename to plugins/insert-tags/gtr-insert-tags-plugin.h
index 1ffbdd1..67ac3bc 100644
--- a/plugins/insert-tags/insert-tags-plugin.h
+++ b/plugins/insert-tags/gtr-insert-tags-plugin.h
@@ -22,7 +22,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "plugin.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/insert-tags/insert-tags.gtranslator-plugin.desktop.in b/plugins/insert-tags/gtr-insert-tags.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/insert-tags/insert-tags.gtranslator-plugin.desktop.in
rename to plugins/insert-tags/gtr-insert-tags.gtranslator-plugin.desktop.in
diff --git a/plugins/open-tran/Makefile.am b/plugins/open-tran/Makefile.am
index 4c19a06..16df769 100644
--- a/plugins/open-tran/Makefile.am
+++ b/plugins/open-tran/Makefile.am
@@ -17,10 +17,10 @@ INCLUDES = \
plugin_LTLIBRARIES = libopentran.la
libopentran_la_SOURCES = \
- open-tran-panel.c \
- open-tran-panel.h\
- open-tran-plugin.c \
- open-tran-plugin.h
+ gtr-open-tran-panel.c \
+ gtr-open-tran-panel.h\
+ gtr-open-tran-plugin.c \
+ gtr-open-tran-plugin.h
libopentran_la_LDFLAGS = \
$(PLUGIN_LIBTOOL_FLAGS) \
@@ -30,7 +30,7 @@ libopentran_la_LDFLAGS = \
uidir = $(pkgdatadir)
ui_DATA = \
- open-tran-dialog.ui
+ gtr-open-tran-dialog.ui
pixmaps_dir = $(datadir)/pixmaps/gtranslator
pixmaps__DATA = \
@@ -47,7 +47,7 @@ pixmaps__DATA = \
# Plugin Info
-plugin_in_files = open-tran.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-open-tran.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/open-tran/open-tran-dialog.ui b/plugins/open-tran/gtr-open-tran-dialog.ui
similarity index 100%
rename from plugins/open-tran/open-tran-dialog.ui
rename to plugins/open-tran/gtr-open-tran-dialog.ui
diff --git a/plugins/open-tran/open-tran-panel.c b/plugins/open-tran/gtr-open-tran-panel.c
similarity index 98%
rename from plugins/open-tran/open-tran-panel.c
rename to plugins/open-tran/gtr-open-tran-panel.c
index 3c104d6..6729572 100644
--- a/plugins/open-tran/open-tran-panel.c
+++ b/plugins/open-tran/gtr-open-tran-panel.c
@@ -19,11 +19,11 @@
#include <config.h>
#endif
-#include "open-tran-panel.h"
-#include "application.h"
-#include "window.h"
-#include "header.h"
-#include "plugin.h"
+#include "gtr-open-tran-panel.h"
+#include "gtr-application.h"
+#include "gtr-window.h"
+#include "gtr-header.h"
+#include "gtr-plugin.h"
#include <string.h>
diff --git a/plugins/open-tran/open-tran-panel.h b/plugins/open-tran/gtr-open-tran-panel.h
similarity index 99%
rename from plugins/open-tran/open-tran-panel.h
rename to plugins/open-tran/gtr-open-tran-panel.h
index a839351..fba077f 100644
--- a/plugins/open-tran/open-tran-panel.h
+++ b/plugins/open-tran/gtr-open-tran-panel.h
@@ -23,7 +23,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
+#include "gtr-window.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/open-tran/open-tran-plugin.c b/plugins/open-tran/gtr-open-tran-plugin.c
similarity index 97%
rename from plugins/open-tran/open-tran-plugin.c
rename to plugins/open-tran/gtr-open-tran-plugin.c
index 701562f..7bc2f98 100644
--- a/plugins/open-tran/open-tran-plugin.c
+++ b/plugins/open-tran/gtr-open-tran-plugin.c
@@ -21,17 +21,16 @@
#include <config.h>
#endif
-#include "open-tran-plugin.h"
-#include "open-tran-panel.h"
+#include "gtr-open-tran-plugin.h"
+#include "gtr-open-tran-panel.h"
+#include "gtr-application.h"
+#include "gtr-window.h"
+#include "gtr-utils.h"
#include <glib/gi18n-lib.h>
#include <gconf/gconf-client.h>
#include <gtk/gtk.h>
-#include "application.h"
-#include "window.h"
-#include "utils.h"
-
#define OPEN_TRAN_PLUGIN_ICON "open-tran.png"
#define WINDOW_DATA_KEY "GtranslatorOpenTranPluginWindowData"
#define UI_FILE DATADIR"/open-tran-dialog.ui"
diff --git a/plugins/open-tran/open-tran-plugin.h b/plugins/open-tran/gtr-open-tran-plugin.h
similarity index 99%
rename from plugins/open-tran/open-tran-plugin.h
rename to plugins/open-tran/gtr-open-tran-plugin.h
index ff26af2..17cdffd 100644
--- a/plugins/open-tran/open-tran-plugin.h
+++ b/plugins/open-tran/gtr-open-tran-plugin.h
@@ -22,7 +22,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "plugin.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/open-tran/open-tran.gtranslator-plugin.desktop.in b/plugins/open-tran/gtr-open-tran.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/open-tran/open-tran.gtranslator-plugin.desktop.in
rename to plugins/open-tran/gtr-open-tran.gtranslator-plugin.desktop.in
diff --git a/plugins/source-code-view/Makefile.am b/plugins/source-code-view/Makefile.am
index 20d6f26..26c1aa4 100644
--- a/plugins/source-code-view/Makefile.am
+++ b/plugins/source-code-view/Makefile.am
@@ -15,10 +15,10 @@ plugin_LTLIBRARIES = \
libsourcecodeview.la
libsourcecodeview_la_SOURCES = \
- source-code-view-plugin.c \
- source-code-view-plugin.h \
- viewer.c \
- viewer.h
+ gtr-source-code-view-plugin.c \
+ gtr-source-code-view-plugin.h \
+ gtr-viewer.c \
+ gtr-viewer.h
libsourcecodeview_la_LDFLAGS = \
$(PLUGIN_LIBTOOL_FLAGS) \
@@ -27,12 +27,12 @@ libsourcecodeview_la_LDFLAGS = \
uidir = $(pkgdatadir)
ui_DATA = \
- viewer.ui \
- source-code-view-dialog.ui
+ gtr-viewer.ui \
+ gtr-source-code-view-dialog.ui
# Plugin Info
-plugin_in_files = source-code-view.gtranslator-plugin.desktop.in
+plugin_in_files = gtr-source-code-view.gtranslator-plugin.desktop.in
%.gtranslator.plugin: %.gtranslator-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/plugins/source-code-view/source-code-view-dialog.ui b/plugins/source-code-view/gtr-source-code-view-dialog.ui
similarity index 100%
rename from plugins/source-code-view/source-code-view-dialog.ui
rename to plugins/source-code-view/gtr-source-code-view-dialog.ui
diff --git a/plugins/source-code-view/source-code-view-plugin.c b/plugins/source-code-view/gtr-source-code-view-plugin.c
similarity index 99%
rename from plugins/source-code-view/source-code-view-plugin.c
rename to plugins/source-code-view/gtr-source-code-view-plugin.c
index 57d154a..4fc16c5 100644
--- a/plugins/source-code-view/source-code-view-plugin.c
+++ b/plugins/source-code-view/gtr-source-code-view-plugin.c
@@ -20,11 +20,11 @@
#include <config.h>
#endif
-#include "source-code-view-plugin.h"
-#include "context.h"
-#include "utils.h"
-#include "viewer.h"
-#include "window.h"
+#include "gtr-source-code-view-plugin.h"
+#include "gtr-context.h"
+#include "gtr-utils.h"
+#include "gtr-viewer.h"
+#include "gtr-window.h"
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
diff --git a/plugins/source-code-view/source-code-view-plugin.h b/plugins/source-code-view/gtr-source-code-view-plugin.h
similarity index 99%
rename from plugins/source-code-view/source-code-view-plugin.h
rename to plugins/source-code-view/gtr-source-code-view-plugin.h
index 5e46a50..f2b5c7d 100644
--- a/plugins/source-code-view/source-code-view-plugin.h
+++ b/plugins/source-code-view/gtr-source-code-view-plugin.h
@@ -22,7 +22,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "plugin.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/source-code-view/source-code-view.gtranslator-plugin.desktop.in b/plugins/source-code-view/gtr-source-code-view.gtranslator-plugin.desktop.in
similarity index 100%
rename from plugins/source-code-view/source-code-view.gtranslator-plugin.desktop.in
rename to plugins/source-code-view/gtr-source-code-view.gtranslator-plugin.desktop.in
diff --git a/plugins/source-code-view/viewer.c b/plugins/source-code-view/gtr-viewer.c
similarity index 99%
rename from plugins/source-code-view/viewer.c
rename to plugins/source-code-view/gtr-viewer.c
index bd8e810..086bf56 100644
--- a/plugins/source-code-view/viewer.c
+++ b/plugins/source-code-view/gtr-viewer.c
@@ -20,9 +20,9 @@
#include <config.h>
#endif
-#include "utils.h"
-#include "viewer.h"
-#include "window.h"
+#include "gtr-utils.h"
+#include "gtr-viewer.h"
+#include "gtr-window.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/plugins/source-code-view/viewer.h b/plugins/source-code-view/gtr-viewer.h
similarity index 98%
rename from plugins/source-code-view/viewer.h
rename to plugins/source-code-view/gtr-viewer.h
index 4841903..ab45513 100644
--- a/plugins/source-code-view/viewer.h
+++ b/plugins/source-code-view/gtr-viewer.h
@@ -22,8 +22,8 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
-#include "msg.h"
+#include "gtr-window.h"
+#include "gtr-msg.h"
G_BEGIN_DECLS
/*
diff --git a/plugins/source-code-view/viewer.ui b/plugins/source-code-view/gtr-viewer.ui
similarity index 100%
rename from plugins/source-code-view/viewer.ui
rename to plugins/source-code-view/gtr-viewer.ui
diff --git a/src/Makefile.am b/src/Makefile.am
index 668ded6..d12b203 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -52,10 +52,10 @@ endif
libgtranslator_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
BUILT_SOURCES = \
- gtranslator-marshal.h \
- gtranslator-marshal.c \
- gtranslator-enum-types.h \
- gtranslator-enum-types.c
+ gtr-marshal.h \
+ gtr-marshal.c \
+ gtr-enum-types.h \
+ gtr-enum-types.c
if PLATFORM_WIN32
gtranslator-res.o: gtranslator.rc
@@ -65,21 +65,21 @@ gtranslator_LDADD += gtranslator-res.o
endif
INST_H_FILES = \
- application.h \
- context.h \
- debug.h \
- header.h \
- io-error-info-bar.h \
- message-table.h \
- msg.h \
- notebook.h \
- po.h \
- profile.h \
- statusbar.h \
- tab.h \
- utils.h \
- view.h \
- window.h
+ gtr-application.h \
+ gtr-context.h \
+ gtr-debug.h \
+ gtr-header.h \
+ gtr-io-error-info-bar.h \
+ gtr-message-table.h \
+ gtr-msg.h \
+ gtr-notebook.h \
+ gtr-po.h \
+ gtr-profile.h \
+ gtr-statusbar.h \
+ gtr-tab.h \
+ gtr-utils.h \
+ gtr-view.h \
+ gtr-window.h
headerdir = $(prefix)/include/gtranslator- GTR_API_VERSION@/gtranslator
@@ -88,39 +88,39 @@ header_DATA = \
libgtranslator_la_SOURCES = \
$(BUILT_SOURCES) \
- application.c \
- dirs.h \
- dirs.c \
- message-table.c \
- message-table-model.c \
- message-table-model.h \
- notebook.c \
- tab.c \
- view.c \
- window.c \
- po.c \
- profile.c \
- utils.c \
- msg.c \
- actions.h \
- actions-documents.c \
- actions-file.c \
- actions-go.c \
- actions-edit.c \
- actions-view.c \
- actions-help.c \
- io-error-info-bar.c \
- prefs-manager.c \
- prefs-manager.h \
- prefs-manager-private.h \
- prefs-manager-app.c \
- prefs-manager-app.h \
- history-entry.c \
- history-entry.h \
- actions-search.c \
- header.c \
- statusbar.c \
- context.c \
+ gtr-application.c \
+ gtr-dirs.h \
+ gtr-dirs.c \
+ gtr-message-table.c \
+ gtr-message-table-model.c \
+ gtr-message-table-model.h \
+ gtr-notebook.c \
+ gtr-tab.c \
+ gtr-view.c \
+ gtr-window.c \
+ gtr-po.c \
+ gtr-profile.c \
+ gtr-utils.c \
+ gtr-msg.c \
+ gtr-actions.h \
+ gtr-actions-documents.c \
+ gtr-actions-file.c \
+ gtr-actions-go.c \
+ gtr-actions-edit.c \
+ gtr-actions-view.c \
+ gtr-actions-help.c \
+ gtr-io-error-info-bar.c \
+ gtr-prefs-manager.c \
+ gtr-prefs-manager.h \
+ gtr-prefs-manager-private.h \
+ gtr-prefs-manager-app.c \
+ gtr-prefs-manager-app.h \
+ gtr-history-entry.c \
+ gtr-history-entry.h \
+ gtr-actions-search.c \
+ gtr-header.c \
+ gtr-statusbar.c \
+ gtr-context.c \
$(INST_H_FILES)
libgtranslator_la_LIBADD = \
@@ -140,22 +140,22 @@ libgtranslator_la_LIBADD = \
# export-learn-buffer.c
#
-gtranslator-enum-types.h: gtranslator-enum-types.h.template $(INST_H_FILES) $(GLIB_MKENUMS)
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gtranslator-enum-types.h.template $(INST_H_FILES)) > $@
+gtr-enum-types.h: gtr-enum-types.h.template $(INST_H_FILES) $(GLIB_MKENUMS)
+ $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gtr-enum-types.h.template $(INST_H_FILES)) > $@
-gtranslator-enum-types.c: gtranslator-enum-types.c.template $(INST_H_FILES) $(GLIB_MKENUMS)
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gtranslator-enum-types.c.template $(INST_H_FILES)) > $@
+gtr-enum-types.c: gtr-enum-types.c.template $(INST_H_FILES) $(GLIB_MKENUMS)
+ $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gtr-enum-types.c.template $(INST_H_FILES)) > $@
-gtranslator-marshal.h: gtranslator-marshal.list $(GLIB_GENMARSHAL)
- $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gtranslator_marshal > $@
+gtr-marshal.h: gtr-marshal.list $(GLIB_GENMARSHAL)
+ $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gtr_marshal > $@
-gtranslator-marshal.c: gtranslator-marshal.list $(GLIB_GENMARSHAL)
- $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --body --header --prefix=gtranslator_marshal > $@
+gtr-marshal.c: gtr-marshal.list $(GLIB_GENMARSHAL)
+ $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --body --header --prefix=gtr_marshal > $@
EXTRA_DIST = \
- gtranslator-marshal.list \
- gtranslator-enum-types.h.template \
- gtranslator-enum-types.c.template
+ gtr-marshal.list \
+ gtr-enum-types.h.template \
+ gtr-enum-types.c.template
CLEANFILES = $(BUILT_SOURCES)
diff --git a/src/dialogs/Makefile.am b/src/dialogs/Makefile.am
index 3e39132..9a05865 100644
--- a/src/dialogs/Makefile.am
+++ b/src/dialogs/Makefile.am
@@ -14,33 +14,33 @@ noinst_LTLIBRARIES = \
libdialogs.la
libdialogs_la_SOURCES = \
- close-confirmation-dialog.c \
- close-confirmation-dialog.h \
- file-dialogs.c \
- file-dialogs.h \
- preferences-dialog.c \
- preferences-dialog.h \
- search-dialog.c \
- search-dialog.h \
- header-dialog.c \
- header-dialog.h \
- comment-dialog.c \
- comment-dialog.h \
- profile-dialog.c \
- profile-dialog.h \
- assistant.c \
- assistant.h \
- jump-dialog.c \
- jump-dialog.h
+ gtr-close-confirmation-dialog.c \
+ gtr-close-confirmation-dialog.h \
+ gtr-file-dialogs.c \
+ gtr-file-dialogs.h \
+ gtr-preferences-dialog.c \
+ gtr-preferences-dialog.h \
+ gtr-search-dialog.c \
+ gtr-search-dialog.h \
+ gtr-header-dialog.c \
+ gtr-header-dialog.h \
+ gtr-comment-dialog.c \
+ gtr-comment-dialog.h \
+ gtr-profile-dialog.c \
+ gtr-profile-dialog.h \
+ gtr-assistant.c \
+ gtr-assistant.h \
+ gtr-jump-dialog.c \
+ gtr-jump-dialog.h
uidir = $(pkgdatadir)/ui
ui_DATA = \
- preferences-dialog.ui \
- search-dialog.ui \
- header-dialog.ui \
- comment-dialog.ui \
- profile-dialog.ui \
- jump-dialog.ui
+ gtr-preferences-dialog.ui \
+ gtr-search-dialog.ui \
+ gtr-header-dialog.ui \
+ gtr-comment-dialog.ui \
+ gtr-profile-dialog.ui \
+ gtr-jump-dialog.ui
EXTRA_DIST = \
$(ui_DATA)
diff --git a/src/dialogs/assistant.c b/src/dialogs/gtr-assistant.c
similarity index 99%
rename from src/dialogs/assistant.c
rename to src/dialogs/gtr-assistant.c
index 526a266..d8b901e 100644
--- a/src/dialogs/assistant.c
+++ b/src/dialogs/gtr-assistant.c
@@ -24,12 +24,12 @@
#include <config.h>
#endif
-#include "application.h"
-#include "assistant.h"
-#include "profile.h"
-#include "../translation-memory/translation-memory.h"
-#include "utils.h"
-#include "window.h"
+#include "../translation-memory/gtr-translation-memory.h"
+#include "gtr-application.h"
+#include "gtr-assistant.h"
+#include "gtr-profile.h"
+#include "gtr-utils.h"
+#include "gtr-window.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/dialogs/assistant.h b/src/dialogs/gtr-assistant.h
similarity index 98%
rename from src/dialogs/assistant.h
rename to src/dialogs/gtr-assistant.h
index 7d97d79..64cdc0a 100644
--- a/src/dialogs/assistant.h
+++ b/src/dialogs/gtr-assistant.h
@@ -22,7 +22,8 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
+
+#include "gtr-window.h"
G_BEGIN_DECLS
/*
diff --git a/src/dialogs/close-confirmation-dialog.c b/src/dialogs/gtr-close-confirmation-dialog.c
similarity index 99%
rename from src/dialogs/close-confirmation-dialog.c
rename to src/dialogs/gtr-close-confirmation-dialog.c
index 8dd9e4a..0934e2f 100644
--- a/src/dialogs/close-confirmation-dialog.c
+++ b/src/dialogs/gtr-close-confirmation-dialog.c
@@ -27,11 +27,11 @@
#include <glib/gi18n.h>
-#include "close-confirmation-dialog.h"
-#include "application.h"
-#include "utils.h"
-#include "window.h"
-#include "po.h"
+#include "gtr-close-confirmation-dialog.h"
+#include "gtr-application.h"
+#include "gtr-utils.h"
+#include "gtr-window.h"
+#include "gtr-po.h"
/* Properties */
diff --git a/src/dialogs/close-confirmation-dialog.h b/src/dialogs/gtr-close-confirmation-dialog.h
similarity index 99%
rename from src/dialogs/close-confirmation-dialog.h
rename to src/dialogs/gtr-close-confirmation-dialog.h
index b755a28..07c70e7 100644
--- a/src/dialogs/close-confirmation-dialog.h
+++ b/src/dialogs/gtr-close-confirmation-dialog.h
@@ -32,7 +32,7 @@
#include <glib.h>
#include <gtk/gtk.h>
-#include "po.h"
+#include "gtr-po.h"
#define GTR_TYPE_CLOSE_CONFIRMATION_DIALOG (gtranslator_close_confirmation_dialog_get_type ())
#define GTR_CLOSE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTR_TYPE_CLOSE_CONFIRMATION_DIALOG, GtranslatorCloseConfirmationDialog))
diff --git a/src/dialogs/comment-dialog.c b/src/dialogs/gtr-comment-dialog.c
similarity index 97%
rename from src/dialogs/comment-dialog.c
rename to src/dialogs/gtr-comment-dialog.c
index 74c54fc..a9024ec 100644
--- a/src/dialogs/comment-dialog.c
+++ b/src/dialogs/gtr-comment-dialog.c
@@ -20,12 +20,12 @@
#include <config.h>
#endif
-#include "dirs.h"
-#include "po.h"
-#include "comment-dialog.h"
-#include "tab.h"
-#include "utils.h"
-#include "window.h"
+#include "gtr-dirs.h"
+#include "gtr-po.h"
+#include "gtr-comment-dialog.h"
+#include "gtr-tab.h"
+#include "gtr-utils.h"
+#include "gtr-window.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/dialogs/comment-dialog.h b/src/dialogs/gtr-comment-dialog.h
similarity index 98%
rename from src/dialogs/comment-dialog.h
rename to src/dialogs/gtr-comment-dialog.h
index 8e86c3f..3a52083 100644
--- a/src/dialogs/comment-dialog.h
+++ b/src/dialogs/gtr-comment-dialog.h
@@ -22,8 +22,9 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
-#include "msg.h"
+
+#include "gtr-window.h"
+#include "gtr-msg.h"
G_BEGIN_DECLS
/*
diff --git a/src/dialogs/comment-dialog.ui b/src/dialogs/gtr-comment-dialog.ui
similarity index 100%
rename from src/dialogs/comment-dialog.ui
rename to src/dialogs/gtr-comment-dialog.ui
diff --git a/src/dialogs/file-dialogs.c b/src/dialogs/gtr-file-dialogs.c
similarity index 96%
rename from src/dialogs/file-dialogs.c
rename to src/dialogs/gtr-file-dialogs.c
index e04875b..06b0375 100644
--- a/src/dialogs/file-dialogs.c
+++ b/src/dialogs/gtr-file-dialogs.c
@@ -20,10 +20,10 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include "file-dialogs.h"
-#include "tab.h"
-#include "po.h"
-#include "window.h"
+#include "gtr-file-dialogs.h"
+#include "gtr-tab.h"
+#include "gtr-po.h"
+#include "gtr-window.h"
/*
* File chooser dialog
diff --git a/src/dialogs/file-dialogs.h b/src/dialogs/gtr-file-dialogs.h
similarity index 97%
rename from src/dialogs/file-dialogs.h
rename to src/dialogs/gtr-file-dialogs.h
index 99d5e74..0390f2e 100644
--- a/src/dialogs/file-dialogs.h
+++ b/src/dialogs/gtr-file-dialogs.h
@@ -20,7 +20,8 @@
#define __FILE_DIALOGS_H__
#include <gtk/gtk.h>
-#include "window.h"
+
+#include "gtr-window.h"
typedef enum
{
diff --git a/src/dialogs/header-dialog.c b/src/dialogs/gtr-header-dialog.c
similarity index 98%
rename from src/dialogs/header-dialog.c
rename to src/dialogs/gtr-header-dialog.c
index 846e9c5..4bc58a6 100644
--- a/src/dialogs/header-dialog.c
+++ b/src/dialogs/gtr-header-dialog.c
@@ -27,12 +27,12 @@
#include <gtk/gtk.h>
#include <string.h>
-#include "application.h"
-#include "dirs.h"
-#include "header-dialog.h"
-#include "utils.h"
-#include "prefs-manager.h"
-#include "po.h"
+#include "gtr-application.h"
+#include "gtr-dirs.h"
+#include "gtr-header-dialog.h"
+#include "gtr-utils.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-po.h"
#define GTR_HEADER_DIALOG_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ( \
(object), \
diff --git a/src/dialogs/header-dialog.h b/src/dialogs/gtr-header-dialog.h
similarity index 98%
rename from src/dialogs/header-dialog.h
rename to src/dialogs/gtr-header-dialog.h
index dcc1f6e..606f9a3 100644
--- a/src/dialogs/header-dialog.h
+++ b/src/dialogs/gtr-header-dialog.h
@@ -22,7 +22,8 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
+
+#include "gtr-window.h"
/*
diff --git a/src/dialogs/header-dialog.ui b/src/dialogs/gtr-header-dialog.ui
similarity index 100%
rename from src/dialogs/header-dialog.ui
rename to src/dialogs/gtr-header-dialog.ui
diff --git a/src/dialogs/jump-dialog.c b/src/dialogs/gtr-jump-dialog.c
similarity index 97%
rename from src/dialogs/jump-dialog.c
rename to src/dialogs/gtr-jump-dialog.c
index d6307e4..f149066 100644
--- a/src/dialogs/jump-dialog.c
+++ b/src/dialogs/gtr-jump-dialog.c
@@ -20,11 +20,11 @@
#include <config.h>
#endif
-#include "dirs.h"
-#include "jump-dialog.h"
-#include "tab.h"
-#include "utils.h"
-#include "window.h"
+#include "gtr-dirs.h"
+#include "gtr-jump-dialog.h"
+#include "gtr-tab.h"
+#include "gtr-utils.h"
+#include "gtr-window.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/dialogs/jump-dialog.h b/src/dialogs/gtr-jump-dialog.h
similarity index 98%
rename from src/dialogs/jump-dialog.h
rename to src/dialogs/gtr-jump-dialog.h
index 29a2a79..f88b2f2 100644
--- a/src/dialogs/jump-dialog.h
+++ b/src/dialogs/gtr-jump-dialog.h
@@ -22,7 +22,8 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
+
+#include "gtr-window.h"
G_BEGIN_DECLS
/*
diff --git a/src/dialogs/jump-dialog.ui b/src/dialogs/gtr-jump-dialog.ui
similarity index 100%
rename from src/dialogs/jump-dialog.ui
rename to src/dialogs/gtr-jump-dialog.ui
diff --git a/src/dialogs/preferences-dialog.c b/src/dialogs/gtr-preferences-dialog.c
similarity index 99%
rename from src/dialogs/preferences-dialog.c
rename to src/dialogs/gtr-preferences-dialog.c
index 5464031..5efea27 100644
--- a/src/dialogs/preferences-dialog.c
+++ b/src/dialogs/gtr-preferences-dialog.c
@@ -25,17 +25,17 @@
#include <config.h>
#endif
-#include "application.h"
-#include "dirs.h"
-#include "preferences-dialog.h"
-#include "prefs-manager.h"
-#include "profile.h"
-#include "utils.h"
-#include "plugin-manager.h"
-#include "profile-dialog.h"
-#include "po.h"
-#include "utils.h"
-#include "../translation-memory/translation-memory.h"
+#include "gtr-application.h"
+#include "gtr-dirs.h"
+#include "gtr-preferences-dialog.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-profile.h"
+#include "gtr-utils.h"
+#include "gtr-plugin-manager.h"
+#include "gtr-profile-dialog.h"
+#include "gtr-po.h"
+#include "gtr-utils.h"
+#include "../translation-memory/gtr-translation-memory.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/dialogs/preferences-dialog.h b/src/dialogs/gtr-preferences-dialog.h
similarity index 98%
rename from src/dialogs/preferences-dialog.h
rename to src/dialogs/gtr-preferences-dialog.h
index cf2af2e..4981da8 100644
--- a/src/dialogs/preferences-dialog.h
+++ b/src/dialogs/gtr-preferences-dialog.h
@@ -19,11 +19,12 @@
#ifndef __PREFERENCES_DIALOG_H__
#define __PREFERENCES_DIALOG_H__
-#include "application.h"
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "window.h"
+
+#include "gtr-application.h"
+#include "gtr-window.h"
enum
{
diff --git a/src/dialogs/preferences-dialog.ui b/src/dialogs/gtr-preferences-dialog.ui
similarity index 100%
rename from src/dialogs/preferences-dialog.ui
rename to src/dialogs/gtr-preferences-dialog.ui
diff --git a/src/dialogs/profile-dialog.c b/src/dialogs/gtr-profile-dialog.c
similarity index 99%
rename from src/dialogs/profile-dialog.c
rename to src/dialogs/gtr-profile-dialog.c
index 29e36cd..0dced29 100644
--- a/src/dialogs/profile-dialog.c
+++ b/src/dialogs/gtr-profile-dialog.c
@@ -23,12 +23,12 @@
#include <config.h>
#endif
-#include "application.h"
-#include "dirs.h"
-#include "profile-dialog.h"
-#include "preferences-dialog.h"
-#include "profile.h"
-#include "utils.h"
+#include "gtr-application.h"
+#include "gtr-dirs.h"
+#include "gtr-profile-dialog.h"
+#include "gtr-preferences-dialog.h"
+#include "gtr-profile.h"
+#include "gtr-utils.h"
#include <string.h>
#include <glib.h>
diff --git a/src/dialogs/profile-dialog.h b/src/dialogs/gtr-profile-dialog.h
similarity index 96%
rename from src/dialogs/profile-dialog.h
rename to src/dialogs/gtr-profile-dialog.h
index d75e0d2..6e07929 100644
--- a/src/dialogs/profile-dialog.h
+++ b/src/dialogs/gtr-profile-dialog.h
@@ -26,9 +26,9 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "profile.h"
-#include "window.h"
-#include "preferences-dialog.h"
+#include "gtr-profile.h"
+#include "gtr-window.h"
+#include "gtr-preferences-dialog.h"
enum
{
diff --git a/src/dialogs/profile-dialog.ui b/src/dialogs/gtr-profile-dialog.ui
similarity index 100%
rename from src/dialogs/profile-dialog.ui
rename to src/dialogs/gtr-profile-dialog.ui
diff --git a/src/dialogs/search-dialog.c b/src/dialogs/gtr-search-dialog.c
similarity index 99%
rename from src/dialogs/search-dialog.c
rename to src/dialogs/gtr-search-dialog.c
index fecaf4a..0b520c8 100644
--- a/src/dialogs/search-dialog.c
+++ b/src/dialogs/gtr-search-dialog.c
@@ -37,11 +37,11 @@
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include "dirs.h"
-#include "search-dialog.h"
-#include "history-entry.h"
-#include "utils.h"
-#include "gtranslator-marshal.h"
+#include "gtr-dirs.h"
+#include "gtr-search-dialog.h"
+#include "gtr-history-entry.h"
+#include "gtr-utils.h"
+#include "gtr-marshal.h"
#define GTR_SEARCH_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \
GTR_TYPE_SEARCH_DIALOG, \
@@ -153,7 +153,7 @@ gtranslator_search_dialog_class_init (GtranslatorSearchDialogClass * klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtranslatorSearchDialogClass,
show_replace), NULL, NULL,
- gtranslator_marshal_BOOLEAN__NONE, G_TYPE_BOOLEAN, 0);
+ gtr_marshal_BOOLEAN__NONE, G_TYPE_BOOLEAN, 0);
g_object_class_install_property (object_class, PROP_SHOW_REPLACE,
g_param_spec_boolean ("show-replace",
diff --git a/src/dialogs/search-dialog.h b/src/dialogs/gtr-search-dialog.h
similarity index 100%
rename from src/dialogs/search-dialog.h
rename to src/dialogs/gtr-search-dialog.h
diff --git a/src/dialogs/search-dialog.ui b/src/dialogs/gtr-search-dialog.ui
similarity index 100%
rename from src/dialogs/search-dialog.ui
rename to src/dialogs/gtr-search-dialog.ui
diff --git a/src/actions-documents.c b/src/gtr-actions-documents.c
similarity index 98%
rename from src/actions-documents.c
rename to src/gtr-actions-documents.c
index 560d71d..0b04ed7 100644
--- a/src/actions-documents.c
+++ b/src/gtr-actions-documents.c
@@ -19,7 +19,7 @@
*
*/
-#include "actions.h"
+#include "gtr-actions.h"
void
gtranslator_actions_documents_next_document (GtkAction * action,
diff --git a/src/actions-edit.c b/src/gtr-actions-edit.c
similarity index 96%
rename from src/actions-edit.c
rename to src/gtr-actions-edit.c
index c05f95d..4e09edb 100644
--- a/src/actions-edit.c
+++ b/src/gtr-actions-edit.c
@@ -24,13 +24,13 @@
#include <glib.h>
#include <glib/gi18n.h>
-#include "actions.h"
-#include "dialogs/header-dialog.h"
-#include "dialogs/comment-dialog.h"
-#include "msg.h"
-#include "po.h"
-#include "tab.h"
-#include "window.h"
+#include "dialogs/gtr-header-dialog.h"
+#include "dialogs/gtr-comment-dialog.h"
+#include "gtr-actions.h"
+#include "gtr-msg.h"
+#include "gtr-po.h"
+#include "gtr-tab.h"
+#include "gtr-window.h"
void
gtranslator_actions_edit_undo (GtkAction * action, GtranslatorWindow * window)
diff --git a/src/actions-file.c b/src/gtr-actions-file.c
similarity index 98%
rename from src/actions-file.c
rename to src/gtr-actions-file.c
index c35d7e4..2e589fb 100644
--- a/src/actions-file.c
+++ b/src/gtr-actions-file.c
@@ -30,18 +30,18 @@
#include <string.h>
#include <gio/gio.h>
-#include "actions.h"
-#include "application.h"
-#include "dialogs/close-confirmation-dialog.h"
-#include "dirs.h"
-#include "file-dialogs.h"
-#include "notebook.h"
-#include "po.h"
-#include "profile.h"
-#include "statusbar.h"
-#include "tab.h"
-#include "utils.h"
-#include "window.h"
+#include "dialogs/gtr-close-confirmation-dialog.h"
+#include "gtr-actions.h"
+#include "gtr-application.h"
+#include "gtr-dirs.h"
+#include "gtr-file-dialogs.h"
+#include "gtr-notebook.h"
+#include "gtr-po.h"
+#include "gtr-profile.h"
+#include "gtr-statusbar.h"
+#include "gtr-tab.h"
+#include "gtr-utils.h"
+#include "gtr-window.h"
#define GTR_TAB_SAVE_AS "gtranslator-tab-save-as"
#define GTR_IS_CLOSING_ALL "gtranslator-is-closing-all"
diff --git a/src/actions-go.c b/src/gtr-actions-go.c
similarity index 97%
rename from src/actions-go.c
rename to src/gtr-actions-go.c
index 0cc3e7f..cda1297 100644
--- a/src/actions-go.c
+++ b/src/gtr-actions-go.c
@@ -24,11 +24,11 @@
#include <glib.h>
#include <glib/gi18n.h>
-#include "actions.h"
-#include "jump-dialog.h"
-#include "po.h"
-#include "tab.h"
-#include "window.h"
+#include "gtr-actions.h"
+#include "gtr-jump-dialog.h"
+#include "gtr-po.h"
+#include "gtr-tab.h"
+#include "gtr-window.h"
void
diff --git a/src/actions-help.c b/src/gtr-actions-help.c
similarity index 99%
rename from src/actions-help.c
rename to src/gtr-actions-help.c
index d99b62e..9278a00 100644
--- a/src/actions-help.c
+++ b/src/gtr-actions-help.c
@@ -23,8 +23,8 @@
#include <config.h>
#endif
-#include "dirs.h"
-#include "window.h"
+#include "gtr-dirs.h"
+#include "gtr-window.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/actions-search.c b/src/gtr-actions-search.c
similarity index 99%
rename from src/actions-search.c
rename to src/gtr-actions-search.c
index 37f8c86..41e2a80 100644
--- a/src/actions-search.c
+++ b/src/gtr-actions-search.c
@@ -32,13 +32,13 @@
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include "actions.h"
-#include "msg.h"
-#include "statusbar.h"
-#include "utils.h"
-#include "view.h"
-#include "window.h"
-#include "dialogs/search-dialog.h"
+#include "gtr-actions.h"
+#include "gtr-msg.h"
+#include "gtr-statusbar.h"
+#include "gtr-utils.h"
+#include "gtr-view.h"
+#include "gtr-window.h"
+#include "dialogs/gtr-search-dialog.h"
#define GTR_SEARCH_DIALOG_KEY "gtranslator-search-dialog-key"
diff --git a/src/actions-view.c b/src/gtr-actions-view.c
similarity index 98%
rename from src/actions-view.c
rename to src/gtr-actions-view.c
index 549835f..265ba5e 100644
--- a/src/actions-view.c
+++ b/src/gtr-actions-view.c
@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "actions.h"
+#include "gtr-actions.h"
void
gtranslator_actions_view_context (GtkAction * action,
diff --git a/src/actions.h b/src/gtr-actions.h
similarity index 99%
rename from src/actions.h
rename to src/gtr-actions.h
index e3b9a48..f361ffe 100644
--- a/src/actions.h
+++ b/src/gtr-actions.h
@@ -21,7 +21,8 @@
#include <gtk/gtk.h>
#include <gio/gio.h>
-#include "window.h"
+
+#include "gtr-window.h"
G_BEGIN_DECLS
/*File*/
diff --git a/src/application.c b/src/gtr-application.c
similarity index 98%
rename from src/application.c
rename to src/gtr-application.c
index f9800f7..aba21ef 100644
--- a/src/application.c
+++ b/src/gtr-application.c
@@ -24,14 +24,14 @@
#include <config.h>
#endif
-#include "application.h"
-#include "dirs.h"
-#include "utils.h"
-#include "window.h"
+#include "dialogs/gtr-assistant.h"
+#include "gtr-application.h"
+#include "gtr-dirs.h"
+#include "gtr-utils.h"
+#include "gtr-window.h"
#include "egg-toolbars-model.h"
-#include "dialogs/assistant.h"
-#include "./translation-memory/translation-memory.h"
-#include "./translation-memory/berkeley/berkeley.h"
+#include "./translation-memory/gtr-translation-memory.h"
+#include "./translation-memory/berkeley/gtr-berkeley.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/src/application.h b/src/gtr-application.h
similarity index 98%
rename from src/application.h
rename to src/gtr-application.h
index 519045a..814da95 100644
--- a/src/application.h
+++ b/src/gtr-application.h
@@ -27,8 +27,8 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "profile.h"
-#include "window.h"
+#include "gtr-profile.h"
+#include "gtr-window.h"
G_BEGIN_DECLS
/*
diff --git a/src/context.c b/src/gtr-context.c
similarity index 99%
rename from src/context.c
rename to src/gtr-context.c
index b78323d..0c0cbfb 100644
--- a/src/context.c
+++ b/src/gtr-context.c
@@ -19,8 +19,8 @@
#include <config.h>
#endif
-#include "context.h"
-#include "tab.h"
+#include "gtr-context.h"
+#include "gtr-tab.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/context.h b/src/gtr-context.h
similarity index 100%
rename from src/context.h
rename to src/gtr-context.h
diff --git a/src/debug.h b/src/gtr-debug.h
similarity index 100%
rename from src/debug.h
rename to src/gtr-debug.h
diff --git a/src/dirs.c b/src/gtr-dirs.c
similarity index 99%
rename from src/dirs.c
rename to src/gtr-dirs.c
index e107a13..4b51b6b 100644
--- a/src/dirs.c
+++ b/src/gtr-dirs.c
@@ -24,7 +24,7 @@
#include <config.h>
#endif
-#include "dirs.h"
+#include "gtr-dirs.h"
gchar *
gtranslator_dirs_get_user_config_dir (void)
diff --git a/src/dirs.h b/src/gtr-dirs.h
similarity index 100%
rename from src/dirs.h
rename to src/gtr-dirs.h
diff --git a/src/gtranslator-enum-types.c.template b/src/gtr-enum-types.c.template
similarity index 95%
rename from src/gtranslator-enum-types.c.template
rename to src/gtr-enum-types.c.template
index f755bca..9ff046d 100644
--- a/src/gtranslator-enum-types.c.template
+++ b/src/gtr-enum-types.c.template
@@ -1,5 +1,5 @@
/*** BEGIN file-header ***/
-#include "gtranslator-enum-types.h"
+#include "gtr-enum-types.h"
/*** END file-header ***/
diff --git a/src/gtranslator-enum-types.h.template b/src/gtr-enum-types.h.template
similarity index 100%
rename from src/gtranslator-enum-types.h.template
rename to src/gtr-enum-types.h.template
diff --git a/src/header.c b/src/gtr-header.c
similarity index 99%
rename from src/header.c
rename to src/gtr-header.c
index 0d7420e..e238bb7 100644
--- a/src/header.c
+++ b/src/gtr-header.c
@@ -22,11 +22,11 @@
* Ignacio Casal Quinteiro <nacho resa gmail com>
*/
-#include "application.h"
-#include "header.h"
-#include "prefs-manager.h"
-#include "profile.h"
-#include "utils.h"
+#include "gtr-application.h"
+#include "gtr-header.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-profile.h"
+#include "gtr-utils.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/src/header.h b/src/gtr-header.h
similarity index 99%
rename from src/header.h
rename to src/gtr-header.h
index 06a0ff6..1009168 100644
--- a/src/header.h
+++ b/src/gtr-header.h
@@ -27,7 +27,7 @@
#include <glib.h>
#include <glib-object.h>
-#include "msg.h"
+#include "gtr-msg.h"
/*
* Utility Macros
diff --git a/src/history-entry.c b/src/gtr-history-entry.c
similarity index 99%
rename from src/history-entry.c
rename to src/gtr-history-entry.c
index 53b1dc5..de17994 100644
--- a/src/history-entry.c
+++ b/src/gtr-history-entry.c
@@ -37,7 +37,7 @@
#include <gtk/gtk.h>
#include <gconf/gconf-client.h>
-#include "history-entry.h"
+#include "gtr-history-entry.h"
enum {
PROP_0,
diff --git a/src/history-entry.h b/src/gtr-history-entry.h
similarity index 100%
rename from src/history-entry.h
rename to src/gtr-history-entry.h
diff --git a/src/io-error-info-bar.c b/src/gtr-io-error-info-bar.c
similarity index 99%
rename from src/io-error-info-bar.c
rename to src/gtr-io-error-info-bar.c
index 8c3257d..4367d7c 100644
--- a/src/io-error-info-bar.c
+++ b/src/gtr-io-error-info-bar.c
@@ -17,7 +17,7 @@
*
*/
-#include "io-error-info-bar.h"
+#include "gtr-io-error-info-bar.h"
#include <glib.h>
#include <gtk/gtk.h>
diff --git a/src/io-error-info-bar.h b/src/gtr-io-error-info-bar.h
similarity index 100%
rename from src/io-error-info-bar.h
rename to src/gtr-io-error-info-bar.h
diff --git a/src/gtranslator-marshal.list b/src/gtr-marshal.list
similarity index 100%
rename from src/gtranslator-marshal.list
rename to src/gtr-marshal.list
diff --git a/src/message-table-model.c b/src/gtr-message-table-model.c
similarity index 99%
rename from src/message-table-model.c
rename to src/gtr-message-table-model.c
index e0ba986..1e0ef05 100644
--- a/src/message-table-model.c
+++ b/src/gtr-message-table-model.c
@@ -20,8 +20,8 @@
#include <config.h>
#endif
-#include "message-table-model.h"
-#include "msg.h"
+#include "gtr-message-table-model.h"
+#include "gtr-msg.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/src/message-table-model.h b/src/gtr-message-table-model.h
similarity index 99%
rename from src/message-table-model.h
rename to src/gtr-message-table-model.h
index bc6b05f..bb181cd 100644
--- a/src/message-table-model.h
+++ b/src/gtr-message-table-model.h
@@ -23,7 +23,8 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "msg.h"
+
+#include "gtr-msg.h"
G_BEGIN_DECLS
/*
diff --git a/src/message-table.c b/src/gtr-message-table.c
similarity index 99%
rename from src/message-table.c
rename to src/gtr-message-table.c
index 71c7c96..121fa24 100644
--- a/src/message-table.c
+++ b/src/gtr-message-table.c
@@ -25,11 +25,11 @@
#include <config.h>
#endif
-#include "message-table.h"
-#include "message-table-model.h"
-#include "msg.h"
-#include "po.h"
-#include "tab.h"
+#include "gtr-message-table.h"
+#include "gtr-message-table-model.h"
+#include "gtr-msg.h"
+#include "gtr-po.h"
+#include "gtr-tab.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/message-table.h b/src/gtr-message-table.h
similarity index 99%
rename from src/message-table.h
rename to src/gtr-message-table.h
index 8da486b..f8f3716 100644
--- a/src/message-table.h
+++ b/src/gtr-message-table.h
@@ -22,7 +22,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "msg.h"
+#include "gtr-msg.h"
G_BEGIN_DECLS
/*
diff --git a/src/msg.c b/src/gtr-msg.c
similarity index 99%
rename from src/msg.c
rename to src/gtr-msg.c
index 9862668..79d76ae 100644
--- a/src/msg.c
+++ b/src/gtr-msg.c
@@ -24,7 +24,7 @@
#include <config.h>
#endif
-#include "msg.h"
+#include "gtr-msg.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/src/msg.h b/src/gtr-msg.h
similarity index 100%
rename from src/msg.h
rename to src/gtr-msg.h
diff --git a/src/notebook.c b/src/gtr-notebook.c
similarity index 99%
rename from src/notebook.c
rename to src/gtr-notebook.c
index 4fadd30..073965e 100644
--- a/src/notebook.c
+++ b/src/gtr-notebook.c
@@ -20,8 +20,8 @@
#include <config.h>
#endif
-#include "notebook.h"
-#include "tab.h"
+#include "gtr-notebook.h"
+#include "gtr-tab.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/src/notebook.h b/src/gtr-notebook.h
similarity index 99%
rename from src/notebook.h
rename to src/gtr-notebook.h
index fdcc51a..3719b54 100644
--- a/src/notebook.h
+++ b/src/gtr-notebook.h
@@ -23,7 +23,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "tab.h"
+#include "gtr-tab.h"
G_BEGIN_DECLS
/*
diff --git a/src/po.c b/src/gtr-po.c
similarity index 99%
rename from src/po.c
rename to src/gtr-po.c
index 2dbfe08..039d4b2 100644
--- a/src/po.c
+++ b/src/gtr-po.c
@@ -31,15 +31,15 @@
#include <config.h>
#endif
-#include "application.h"
-#include "debug.h"
-#include "file-dialogs.h"
-#include "po.h"
-#include "msg.h"
-#include "gtranslator-enum-types.h"
-#include "prefs-manager.h"
-#include "profile.h"
-#include "utils.h"
+#include "gtr-application.h"
+#include "gtr-debug.h"
+#include "gtr-file-dialogs.h"
+#include "gtr-po.h"
+#include "gtr-msg.h"
+#include "gtr-enum-types.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-profile.h"
+#include "gtr-utils.h"
#include <string.h>
#include <errno.h>
diff --git a/src/po.h b/src/gtr-po.h
similarity index 99%
rename from src/po.h
rename to src/gtr-po.h
index ee127f0..120f200 100644
--- a/src/po.h
+++ b/src/gtr-po.h
@@ -30,7 +30,7 @@
#include <gettext-po.h>
#include <gio/gio.h>
-#include "header.h"
+#include "gtr-header.h"
G_BEGIN_DECLS
/*
diff --git a/src/prefs-manager-app.c b/src/gtr-prefs-manager-app.c
similarity index 98%
rename from src/prefs-manager-app.c
rename to src/gtr-prefs-manager-app.c
index 88af9d7..65ead30 100644
--- a/src/prefs-manager-app.c
+++ b/src/gtr-prefs-manager-app.c
@@ -34,14 +34,14 @@
#include <gdl/gdl.h>
#endif
-#include "dirs.h"
-#include "prefs-manager.h"
-#include "prefs-manager-private.h"
-#include "prefs-manager-app.h"
-#include "application.h"
-#include "utils.h"
-#include "view.h"
-#include "window.h"
+#include "gtr-dirs.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-prefs-manager-private.h"
+#include "gtr-prefs-manager-app.h"
+#include "gtr-application.h"
+#include "gtr-utils.h"
+#include "gtr-view.h"
+#include "gtr-window.h"
static void gtranslator_prefs_manager_editor_font_changed (GConfClient *
client,
diff --git a/src/prefs-manager-app.h b/src/gtr-prefs-manager-app.h
similarity index 98%
rename from src/prefs-manager-app.h
rename to src/gtr-prefs-manager-app.h
index dc84708..1e9c598 100644
--- a/src/prefs-manager-app.h
+++ b/src/gtr-prefs-manager-app.h
@@ -25,7 +25,8 @@
#define __GTR_PREFS_MANAGER_APP_H__
#include <glib.h>
-#include "prefs-manager.h"
+
+#include "gtr-prefs-manager.h"
/** LIFE CYCLE MANAGEMENT FUNCTIONS **/
diff --git a/src/prefs-manager-private.h b/src/gtr-prefs-manager-private.h
similarity index 100%
rename from src/prefs-manager-private.h
rename to src/gtr-prefs-manager-private.h
diff --git a/src/prefs-manager.c b/src/gtr-prefs-manager.c
similarity index 99%
rename from src/prefs-manager.c
rename to src/gtr-prefs-manager.c
index 61507c4..1623d5b 100644
--- a/src/prefs-manager.c
+++ b/src/gtr-prefs-manager.c
@@ -40,8 +40,8 @@
#include <gtk/gtk.h>
-#include "prefs-manager.h"
-#include "prefs-manager-private.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-prefs-manager-private.h"
#define DEFINE_BOOL_PREF(name, key) gboolean \
gtranslator_prefs_manager_get_ ## name (void) \
diff --git a/src/prefs-manager.h b/src/gtr-prefs-manager.h
similarity index 100%
rename from src/prefs-manager.h
rename to src/gtr-prefs-manager.h
diff --git a/src/profile.c b/src/gtr-profile.c
similarity index 98%
rename from src/profile.c
rename to src/gtr-profile.c
index 9f922a8..a93454f 100644
--- a/src/profile.c
+++ b/src/gtr-profile.c
@@ -20,10 +20,10 @@
* Pablo Sanxiao <psanxiao gmail com>
*/
-#include "application.h"
-#include "profile.h"
-#include "preferences-dialog.h"
-#include "utils.h"
+#include "gtr-application.h"
+#include "gtr-profile.h"
+#include "gtr-preferences-dialog.h"
+#include "gtr-utils.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/src/profile.h b/src/gtr-profile.h
similarity index 100%
rename from src/profile.h
rename to src/gtr-profile.h
diff --git a/src/statusbar.c b/src/gtr-statusbar.c
similarity index 99%
rename from src/statusbar.c
rename to src/gtr-statusbar.c
index 616bb33..770d261 100644
--- a/src/statusbar.c
+++ b/src/gtr-statusbar.c
@@ -27,7 +27,7 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include "statusbar.h"
+#include "gtr-statusbar.h"
#define GTR_STATUSBAR_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object),\
GTR_TYPE_STATUSBAR, GtranslatorStatusbarPrivate))
diff --git a/src/statusbar.h b/src/gtr-statusbar.h
similarity index 100%
rename from src/statusbar.h
rename to src/gtr-statusbar.h
diff --git a/src/tab.c b/src/gtr-tab.c
similarity index 99%
rename from src/tab.c
rename to src/gtr-tab.c
index 0ad151c..004847f 100644
--- a/src/tab.c
+++ b/src/gtr-tab.c
@@ -32,18 +32,18 @@
#include <config.h>
#endif
-#include "application.h"
-#include "context.h"
-#include "io-error-info-bar.h"
-#include "message-table.h"
-#include "msg.h"
-#include "tab.h"
-#include "po.h"
-#include "prefs-manager.h"
-#include "view.h"
-#include "translation-memory.h"
-#include "translation-memory-ui.h"
-#include "window.h"
+#include "gtr-application.h"
+#include "gtr-context.h"
+#include "gtr-io-error-info-bar.h"
+#include "gtr-message-table.h"
+#include "gtr-msg.h"
+#include "gtr-tab.h"
+#include "gtr-po.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-view.h"
+#include "gtr-translation-memory.h"
+#include "gtr-translation-memory-ui.h"
+#include "gtr-window.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/src/tab.h b/src/gtr-tab.h
similarity index 98%
rename from src/tab.h
rename to src/gtr-tab.h
index 90979a3..ff996e7 100644
--- a/src/tab.h
+++ b/src/gtr-tab.h
@@ -27,10 +27,10 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "context.h"
-#include "msg.h"
-#include "po.h"
-#include "view.h"
+#include "gtr-context.h"
+#include "gtr-msg.h"
+#include "gtr-po.h"
+#include "gtr-view.h"
G_BEGIN_DECLS
/*
diff --git a/src/utils.c b/src/gtr-utils.c
similarity index 99%
rename from src/utils.c
rename to src/gtr-utils.c
index 73b2f04..95ded94 100644
--- a/src/utils.c
+++ b/src/gtr-utils.c
@@ -28,8 +28,8 @@
*
*/
-#include "utils.h"
-#include "dirs.h"
+#include "gtr-utils.h"
+#include "gtr-dirs.h"
#include <string.h>
diff --git a/src/utils.h b/src/gtr-utils.h
similarity index 100%
rename from src/utils.h
rename to src/gtr-utils.h
diff --git a/src/view.c b/src/gtr-view.c
similarity index 99%
rename from src/view.c
rename to src/gtr-view.c
index 0e0c725..f5101ab 100644
--- a/src/view.c
+++ b/src/gtr-view.c
@@ -27,10 +27,10 @@
#include <string.h>
-#include "dirs.h"
-#include "prefs-manager.h"
-#include "utils.h"
-#include "view.h"
+#include "gtr-dirs.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-utils.h"
+#include "gtr-view.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/view.h b/src/gtr-view.h
similarity index 100%
rename from src/view.h
rename to src/gtr-view.h
diff --git a/src/window.c b/src/gtr-window.c
similarity index 99%
rename from src/window.c
rename to src/gtr-window.c
index ecb1282..9345172 100644
--- a/src/window.c
+++ b/src/gtr-window.c
@@ -24,18 +24,18 @@
#include <config.h>
#endif
-#include "actions.h"
-#include "application.h"
-#include "dirs.h"
-#include "header.h"
-#include "msg.h"
-#include "notebook.h"
-#include "tab.h"
-#include "plugins-engine.h"
-#include "po.h"
-#include "statusbar.h"
-#include "utils.h"
-#include "window.h"
+#include "gtr-actions.h"
+#include "gtr-application.h"
+#include "gtr-dirs.h"
+#include "gtr-header.h"
+#include "gtr-msg.h"
+#include "gtr-notebook.h"
+#include "gtr-tab.h"
+#include "gtr-plugins-engine.h"
+#include "gtr-po.h"
+#include "gtr-statusbar.h"
+#include "gtr-utils.h"
+#include "gtr-window.h"
#include "egg-toolbars-model.h"
#include "egg-toolbar-editor.h"
diff --git a/src/window.h b/src/gtr-window.h
similarity index 97%
rename from src/window.h
rename to src/gtr-window.h
index d449d52..cef1032 100644
--- a/src/window.h
+++ b/src/gtr-window.h
@@ -27,10 +27,10 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "header.h"
-#include "notebook.h"
-#include "tab.h"
-#include "view.h"
+#include "gtr-header.h"
+#include "gtr-notebook.h"
+#include "gtr-tab.h"
+#include "gtr-view.h"
G_BEGIN_DECLS
/*
diff --git a/src/main.c b/src/main.c
index 2ffef7c..5db9c47 100644
--- a/src/main.c
+++ b/src/main.c
@@ -25,12 +25,12 @@
#include <config.h>
#endif
-#include "actions.h"
-#include "application.h"
-#include "prefs-manager-app.h"
-#include "plugins-engine.h"
-#include "utils.h"
-#include "dirs.h"
+#include "gtr-actions.h"
+#include "gtr-application.h"
+#include "gtr-prefs-manager-app.h"
+#include "gtr-plugins-engine.h"
+#include "gtr-utils.h"
+#include "gtr-dirs.h"
#include <locale.h>
#include <glib.h>
diff --git a/src/plugin-system/Makefile.am b/src/plugin-system/Makefile.am
index fa9801c..f1cb65e 100644
--- a/src/plugin-system/Makefile.am
+++ b/src/plugin-system/Makefile.am
@@ -15,7 +15,7 @@ noinst_LTLIBRARIES = \
libpluginsystem.la
INST_H_FILES = \
- plugin.h
+ gtr-plugin.h
headerdir = $(prefix)/include/gtranslator- GTR_API_VERSION@/gtranslator
@@ -24,16 +24,16 @@ header_DATA = \
libpluginsystem_la_SOURCES = \
$(INST_H_FILES) \
- module.h \
- module.c \
- plugin-info-priv.h \
- plugin-info.c \
- plugin-info.h \
- plugin.c \
- plugin-manager.c \
- plugin-manager.h \
- plugins-engine.c \
- plugins-engine.h
+ gtr-module.h \
+ gtr-module.c \
+ gtr-plugin-info-priv.h \
+ gtr-plugin-info.c \
+ gtr-plugin-info.h \
+ gtr-plugin.c \
+ gtr-plugin-manager.c \
+ gtr-plugin-manager.h \
+ gtr-plugins-engine.c \
+ gtr-plugins-engine.h
libpluginsystem_la_CFLAGS = \
$(GTRANSLATOR_CFLAGS) \
diff --git a/src/plugin-system/module.c b/src/plugin-system/gtr-module.c
similarity index 99%
rename from src/plugin-system/module.c
rename to src/plugin-system/gtr-module.c
index ef70bbd..9f1b51c 100644
--- a/src/plugin-system/module.c
+++ b/src/plugin-system/gtr-module.c
@@ -38,8 +38,8 @@
#include "config.h"
-#include "module.h"
-#include "debug.h"
+#include "gtr-module.h"
+#include "gtr-debug.h"
typedef GType (*GtranslatorModuleRegisterFunc) (GTypeModule *);
diff --git a/src/plugin-system/module.h b/src/plugin-system/gtr-module.h
similarity index 100%
rename from src/plugin-system/module.h
rename to src/plugin-system/gtr-module.h
diff --git a/src/plugin-system/plugin-info-priv.h b/src/plugin-system/gtr-plugin-info-priv.h
similarity index 97%
rename from src/plugin-system/plugin-info-priv.h
rename to src/plugin-system/gtr-plugin-info-priv.h
index 4be1b7a..482fe59 100644
--- a/src/plugin-system/plugin-info-priv.h
+++ b/src/plugin-system/gtr-plugin-info-priv.h
@@ -32,8 +32,8 @@
#ifndef __GTR_PLUGIN_INFO_PRIV_H__
#define __GTR_PLUGIN_INFO_PRIV_H__
-#include "plugin-info.h"
-#include "plugin.h"
+#include "gtr-plugin-info.h"
+#include "gtr-plugin.h"
struct _GtranslatorPluginInfo
{
diff --git a/src/plugin-system/plugin-info.c b/src/plugin-system/gtr-plugin-info.c
similarity index 98%
rename from src/plugin-system/plugin-info.c
rename to src/plugin-system/gtr-plugin-info.c
index cd1aa0d..37d71b6 100644
--- a/src/plugin-system/plugin-info.c
+++ b/src/plugin-system/gtr-plugin-info.c
@@ -37,10 +37,10 @@
#include <glib/gi18n.h>
#include <glib.h>
-#include "plugin-info.h"
-#include "plugin-info-priv.h"
-#include "debug.h"
-#include "plugin.h"
+#include "gtr-plugin-info.h"
+#include "gtr-plugin-info-priv.h"
+#include "gtr-debug.h"
+#include "gtr-plugin.h"
#ifdef ENABLE_PYTHON
#include "gtranslator-python-module.h"
diff --git a/src/plugin-system/plugin-info.h b/src/plugin-system/gtr-plugin-info.h
similarity index 98%
rename from src/plugin-system/plugin-info.h
rename to src/plugin-system/gtr-plugin-info.h
index c7015dc..85f983d 100644
--- a/src/plugin-system/plugin-info.h
+++ b/src/plugin-system/gtr-plugin-info.h
@@ -33,7 +33,8 @@
#define __GTR_PLUGIN_INFO_H__
#include <glib-object.h>
-#include "module.h"
+
+#include "gtr-module.h"
G_BEGIN_DECLS
#define GTR_TYPE_PLUGIN_INFO (gtranslator_plugin_info_get_type ())
diff --git a/src/plugin-system/plugin-manager.c b/src/plugin-system/gtr-plugin-manager.c
similarity index 99%
rename from src/plugin-system/plugin-manager.c
rename to src/plugin-system/gtr-plugin-manager.c
index 635022f..ff2bc9f 100644
--- a/src/plugin-system/plugin-manager.c
+++ b/src/plugin-system/gtr-plugin-manager.c
@@ -37,11 +37,11 @@
#include <glib/gi18n.h>
-#include "plugin-manager.h"
-#include "utils.h"
-#include "plugins-engine.h"
-#include "plugin.h"
-#include "debug.h"
+#include "gtr-plugin-manager.h"
+#include "gtr-utils.h"
+#include "gtr-plugins-engine.h"
+#include "gtr-plugin.h"
+#include "gtr-debug.h"
enum
{
diff --git a/src/plugin-system/plugin-manager.h b/src/plugin-system/gtr-plugin-manager.h
similarity index 100%
rename from src/plugin-system/plugin-manager.h
rename to src/plugin-system/gtr-plugin-manager.h
diff --git a/src/plugin-system/plugin.c b/src/plugin-system/gtr-plugin.c
similarity index 99%
rename from src/plugin-system/plugin.c
rename to src/plugin-system/gtr-plugin.c
index 2cdb570..60c47ef 100644
--- a/src/plugin-system/plugin.c
+++ b/src/plugin-system/gtr-plugin.c
@@ -32,7 +32,7 @@
#include <config.h>
#endif
-#include "plugin.h"
+#include "gtr-plugin.h"
G_DEFINE_TYPE (GtranslatorPlugin, gtranslator_plugin, G_TYPE_OBJECT)
static void
diff --git a/src/plugin-system/plugin.h b/src/plugin-system/gtr-plugin.h
similarity index 99%
rename from src/plugin-system/plugin.h
rename to src/plugin-system/gtr-plugin.h
index 2405f8b..e4a344c 100644
--- a/src/plugin-system/plugin.h
+++ b/src/plugin-system/gtr-plugin.h
@@ -33,8 +33,8 @@
#include <glib-object.h>
-#include "window.h"
-#include "debug.h"
+#include "gtr-window.h"
+#include "gtr-debug.h"
/* TODO: add a .h file that includes all the .h files normally needed to
* develop a plugin */
diff --git a/src/plugin-system/plugins-engine.c b/src/plugin-system/gtr-plugins-engine.c
similarity index 98%
rename from src/plugin-system/plugins-engine.c
rename to src/plugin-system/gtr-plugins-engine.c
index f25752c..1a2ada3 100644
--- a/src/plugin-system/plugins-engine.c
+++ b/src/plugin-system/gtr-plugins-engine.c
@@ -37,14 +37,14 @@
#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
-#include "plugins-engine.h"
-#include "plugin-info-priv.h"
-#include "plugin.h"
-#include "debug.h"
-#include "application.h"
-#include "utils.h"
-
-#include "module.h"
+#include "gtr-plugins-engine.h"
+#include "gtr-plugin-info-priv.h"
+#include "gtr-plugin.h"
+#include "gtr-debug.h"
+#include "gtr-application.h"
+#include "gtr-utils.h"
+
+#include "gtr-module.h"
#ifdef ENABLE_PYTHON
#include "gtranslator-python-module.h"
#endif
diff --git a/src/plugin-system/plugins-engine.h b/src/plugin-system/gtr-plugins-engine.h
similarity index 98%
rename from src/plugin-system/plugins-engine.h
rename to src/plugin-system/gtr-plugins-engine.h
index a18da8b..8abb972 100644
--- a/src/plugin-system/plugins-engine.h
+++ b/src/plugin-system/gtr-plugins-engine.h
@@ -32,9 +32,9 @@
#define __GTR_PLUGINS_ENGINE_H__
#include <glib.h>
-#include "window.h"
-#include "plugin-info.h"
-#include "plugin.h"
+#include "gtr-window.h"
+#include "gtr-plugin-info.h"
+#include "gtr-plugin.h"
G_BEGIN_DECLS
#define GTR_TYPE_PLUGINS_ENGINE (gtranslator_plugins_engine_get_type ())
diff --git a/src/translation-memory/Makefile.am b/src/translation-memory/Makefile.am
index b46d2b4..41b31be 100644
--- a/src/translation-memory/Makefile.am
+++ b/src/translation-memory/Makefile.am
@@ -15,8 +15,8 @@ noinst_LTLIBRARIES = \
libtranslationmemory.la
INST_H_FILES = \
- translation-memory.h \
- translation-memory-ui.h
+ gtr-translation-memory.h \
+ gtr-translation-memory-ui.h
headerdir = $(prefix)/include/gtranslator- GTR_API_VERSION@/gtranslator
@@ -25,8 +25,8 @@ header_DATA = \
libtranslationmemory_la_SOURCES = \
$(INST_H_FILES) \
- translation-memory.c \
- translation-memory-ui.c
+ gtr-translation-memory.c \
+ gtr-translation-memory-ui.c
libtranslationmemory_la_CFLAGS = \
$(GTRANSLATOR_CFLAGS) \
diff --git a/src/translation-memory/berkeley/Makefile.am b/src/translation-memory/berkeley/Makefile.am
index 75235b3..2964244 100644
--- a/src/translation-memory/berkeley/Makefile.am
+++ b/src/translation-memory/berkeley/Makefile.am
@@ -14,18 +14,18 @@ noinst_LTLIBRARIES = \
libberkeley.la
libberkeley_la_SOURCES = \
- berkeley.c \
- berkeley.h \
- db-base.h \
- db-base.c \
- db-trans.h \
- db-trans.c \
- db-orig.h \
- db-orig.c \
- db-words.h \
- db-words.c \
- db-keys.h \
- db-keys.c
+ gtr-berkeley.c \
+ gtr-berkeley.h \
+ gtr-db-base.h \
+ gtr-db-base.c \
+ gtr-db-trans.h \
+ gtr-db-trans.c \
+ gtr-db-orig.h \
+ gtr-db-orig.c \
+ gtr-db-words.h \
+ gtr-db-words.c \
+ gtr-db-keys.h \
+ gtr-db-keys.c
libberkeley_la_CFLAGS = \
$(GTRANSLATOR_CFLAGS) \
diff --git a/src/translation-memory/berkeley/berkeley.c b/src/translation-memory/berkeley/gtr-berkeley.c
similarity index 98%
rename from src/translation-memory/berkeley/berkeley.c
rename to src/translation-memory/berkeley/gtr-berkeley.c
index f4d9abe..d37073c 100644
--- a/src/translation-memory/berkeley/berkeley.c
+++ b/src/translation-memory/berkeley/gtr-berkeley.c
@@ -22,13 +22,13 @@
#include <config.h>
#endif
-#include "berkeley.h"
-#include "translation-memory.h"
#include DB_HEADER //This can be something like <db.h>
-#include "db-trans.h"
-#include "db-orig.h"
-#include "db-words.h"
-#include "utils.h"
+#include "gtr-berkeley.h"
+#include "gtr-translation-memory.h"
+#include "gtr-db-trans.h"
+#include "gtr-db-orig.h"
+#include "gtr-db-words.h"
+#include "gtr-utils.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/translation-memory/berkeley/berkeley.h b/src/translation-memory/berkeley/gtr-berkeley.h
similarity index 100%
rename from src/translation-memory/berkeley/berkeley.h
rename to src/translation-memory/berkeley/gtr-berkeley.h
diff --git a/src/translation-memory/berkeley/db-base.c b/src/translation-memory/berkeley/gtr-db-base.c
similarity index 98%
rename from src/translation-memory/berkeley/db-base.c
rename to src/translation-memory/berkeley/gtr-db-base.c
index 4f664b7..0334209 100644
--- a/src/translation-memory/berkeley/db-base.c
+++ b/src/translation-memory/berkeley/gtr-db-base.c
@@ -22,9 +22,9 @@
#include <config.h>
#endif
-#include "dirs.h"
-#include "utils.h"
-#include "db-base.h"
+#include "gtr-dirs.h"
+#include "gtr-utils.h"
+#include "gtr-db-base.h"
#include DB_HEADER
#include <glib.h>
diff --git a/src/translation-memory/berkeley/db-base.h b/src/translation-memory/berkeley/gtr-db-base.h
similarity index 100%
rename from src/translation-memory/berkeley/db-base.h
rename to src/translation-memory/berkeley/gtr-db-base.h
diff --git a/src/translation-memory/berkeley/db-keys.c b/src/translation-memory/berkeley/gtr-db-keys.c
similarity index 99%
rename from src/translation-memory/berkeley/db-keys.c
rename to src/translation-memory/berkeley/gtr-db-keys.c
index 817d916..27864c2 100644
--- a/src/translation-memory/berkeley/db-keys.c
+++ b/src/translation-memory/berkeley/gtr-db-keys.c
@@ -22,7 +22,7 @@
#include <config.h>
#endif
-#include "db-keys.h"
+#include "gtr-db-keys.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/translation-memory/berkeley/db-keys.h b/src/translation-memory/berkeley/gtr-db-keys.h
similarity index 100%
rename from src/translation-memory/berkeley/db-keys.h
rename to src/translation-memory/berkeley/gtr-db-keys.h
diff --git a/src/translation-memory/berkeley/db-orig.c b/src/translation-memory/berkeley/gtr-db-orig.c
similarity index 99%
rename from src/translation-memory/berkeley/db-orig.c
rename to src/translation-memory/berkeley/gtr-db-orig.c
index 86e4097..3d93abf 100644
--- a/src/translation-memory/berkeley/db-orig.c
+++ b/src/translation-memory/berkeley/gtr-db-orig.c
@@ -22,7 +22,7 @@
#include <config.h>
#endif
-#include "db-orig.h"
+#include "gtr-db-orig.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/translation-memory/berkeley/db-orig.h b/src/translation-memory/berkeley/gtr-db-orig.h
similarity index 98%
rename from src/translation-memory/berkeley/db-orig.h
rename to src/translation-memory/berkeley/gtr-db-orig.h
index 4ba7118..bf06d24 100644
--- a/src/translation-memory/berkeley/db-orig.h
+++ b/src/translation-memory/berkeley/gtr-db-orig.h
@@ -21,7 +21,7 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "db-base.h"
+#include "gtr-db-base.h"
G_BEGIN_DECLS
/*
diff --git a/src/translation-memory/berkeley/db-trans.c b/src/translation-memory/berkeley/gtr-db-trans.c
similarity index 99%
rename from src/translation-memory/berkeley/db-trans.c
rename to src/translation-memory/berkeley/gtr-db-trans.c
index 7bf542e..30f9129 100644
--- a/src/translation-memory/berkeley/db-trans.c
+++ b/src/translation-memory/berkeley/gtr-db-trans.c
@@ -22,7 +22,7 @@
#include <config.h>
#endif
-#include "db-trans.h"
+#include "gtr-db-trans.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/translation-memory/berkeley/db-trans.h b/src/translation-memory/berkeley/gtr-db-trans.h
similarity index 99%
rename from src/translation-memory/berkeley/db-trans.h
rename to src/translation-memory/berkeley/gtr-db-trans.h
index c9bbdc7..76b262c 100644
--- a/src/translation-memory/berkeley/db-trans.h
+++ b/src/translation-memory/berkeley/gtr-db-trans.h
@@ -21,7 +21,7 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "db-base.h"
+#include "gtr-db-base.h"
G_BEGIN_DECLS
/*
diff --git a/src/translation-memory/berkeley/db-words.c b/src/translation-memory/berkeley/gtr-db-words.c
similarity index 99%
rename from src/translation-memory/berkeley/db-words.c
rename to src/translation-memory/berkeley/gtr-db-words.c
index c8696dd..c43e5a8 100644
--- a/src/translation-memory/berkeley/db-words.c
+++ b/src/translation-memory/berkeley/gtr-db-words.c
@@ -22,8 +22,8 @@
#include <config.h>
#endif
-#include "db-words.h"
-#include "db-keys.h"
+#include "gtr-db-words.h"
+#include "gtr-db-keys.h"
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/src/translation-memory/berkeley/db-words.h b/src/translation-memory/berkeley/gtr-db-words.h
similarity index 98%
rename from src/translation-memory/berkeley/db-words.h
rename to src/translation-memory/berkeley/gtr-db-words.h
index 259da30..008e0fd 100644
--- a/src/translation-memory/berkeley/db-words.h
+++ b/src/translation-memory/berkeley/gtr-db-words.h
@@ -21,8 +21,8 @@
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "db-base.h"
-#include "db-keys.h"
+#include "gtr-db-base.h"
+#include "gtr-db-keys.h"
G_BEGIN_DECLS
/*
diff --git a/src/translation-memory/translation-memory-ui.c b/src/translation-memory/gtr-translation-memory-ui.c
similarity index 98%
rename from src/translation-memory/translation-memory-ui.c
rename to src/translation-memory/gtr-translation-memory-ui.c
index d9560b4..82876dc 100644
--- a/src/translation-memory/translation-memory-ui.c
+++ b/src/translation-memory/gtr-translation-memory-ui.c
@@ -22,13 +22,13 @@
#include <config.h>
#endif
-#include "application.h"
-#include "po.h"
-#include "prefs-manager.h"
-#include "translation-memory.h"
-#include "translation-memory-ui.h"
-#include "tab.h"
-#include "window.h"
+#include "gtr-application.h"
+#include "gtr-po.h"
+#include "gtr-prefs-manager.h"
+#include "gtr-translation-memory.h"
+#include "gtr-translation-memory-ui.h"
+#include "gtr-tab.h"
+#include "gtr-window.h"
#include <string.h>
#include <glib.h>
diff --git a/src/translation-memory/translation-memory-ui.h b/src/translation-memory/gtr-translation-memory-ui.h
similarity index 100%
rename from src/translation-memory/translation-memory-ui.h
rename to src/translation-memory/gtr-translation-memory-ui.h
diff --git a/src/translation-memory/translation-memory.c b/src/translation-memory/gtr-translation-memory.c
similarity index 99%
rename from src/translation-memory/translation-memory.c
rename to src/translation-memory/gtr-translation-memory.c
index 149790a..98a6880 100644
--- a/src/translation-memory/translation-memory.c
+++ b/src/translation-memory/gtr-translation-memory.c
@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "translation-memory.h"
+#include "gtr-translation-memory.h"
/**
* gtranslator_translation_memory_store:
diff --git a/src/translation-memory/translation-memory.h b/src/translation-memory/gtr-translation-memory.h
similarity index 100%
rename from src/translation-memory/translation-memory.h
rename to src/translation-memory/gtr-translation-memory.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]