[gtranslator] Fix prefix and look for Gtranslator Plugin instead of Gtr Plugin.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtranslator] Fix prefix and look for Gtranslator Plugin instead of Gtr Plugin.
- Date: Thu, 4 Feb 2010 18:39:25 +0000 (UTC)
commit 35fd1a6b4e15f51a824e16f38c7bd24b3e3f3ec9
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Feb 4 19:38:57 2010 +0100
Fix prefix and look for Gtranslator Plugin instead of Gtr Plugin.
src/dialogs/gtr-comment-dialog.c | 2 +-
src/dialogs/gtr-header-dialog.c | 2 +-
src/dialogs/gtr-jump-dialog.c | 2 +-
src/dialogs/gtr-preferences-dialog.c | 2 +-
src/dialogs/gtr-profile-dialog.c | 2 +-
src/dialogs/gtr-search-dialog.c | 2 +-
src/plugin-system/gtr-plugin-info.c | 24 ++++++++++++------------
7 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/src/dialogs/gtr-comment-dialog.c b/src/dialogs/gtr-comment-dialog.c
index 4060ef1..4782744 100644
--- a/src/dialogs/gtr-comment-dialog.c
+++ b/src/dialogs/gtr-comment-dialog.c
@@ -110,7 +110,7 @@ gtranslator_comment_dialog_init (GtrCommentDialog * dlg)
"response", G_CALLBACK (dialog_response_handler), NULL);
/*Glade */
- path = gtranslator_dirs_get_ui_file ("comment-dialog.ui");
+ path = gtranslator_dirs_get_ui_file ("gtr-comment-dialog.ui");
ret = gtranslator_utils_get_ui_objects (path,
root_objects,
&error_widget,
diff --git a/src/dialogs/gtr-header-dialog.c b/src/dialogs/gtr-header-dialog.c
index c54edb1..a9dfd9e 100644
--- a/src/dialogs/gtr-header-dialog.c
+++ b/src/dialogs/gtr-header-dialog.c
@@ -265,7 +265,7 @@ gtranslator_header_dialog_init (GtrHeaderDialog * dlg)
g_signal_connect (dlg, "response", G_CALLBACK (gtk_widget_destroy), NULL);
- path = gtranslator_dirs_get_ui_file ("header-dialog.ui");
+ path = gtranslator_dirs_get_ui_file ("gtr-header-dialog.ui");
ret = gtranslator_utils_get_ui_objects (path,
root_objects,
&error_widget,
diff --git a/src/dialogs/gtr-jump-dialog.c b/src/dialogs/gtr-jump-dialog.c
index 22623e0..ea18bfe 100644
--- a/src/dialogs/gtr-jump-dialog.c
+++ b/src/dialogs/gtr-jump-dialog.c
@@ -110,7 +110,7 @@ gtranslator_jump_dialog_init (GtrJumpDialog * dlg)
"response", G_CALLBACK (dialog_response_handler), NULL);
/*Glade */
- path = gtranslator_dirs_get_ui_file ("jump-dialog.ui");
+ path = gtranslator_dirs_get_ui_file ("gtr-jump-dialog.ui");
ret = gtranslator_utils_get_ui_objects (path,
root_objects,
&error_widget,
diff --git a/src/dialogs/gtr-preferences-dialog.c b/src/dialogs/gtr-preferences-dialog.c
index 4f7adc3..6f22591 100644
--- a/src/dialogs/gtr-preferences-dialog.c
+++ b/src/dialogs/gtr-preferences-dialog.c
@@ -1200,7 +1200,7 @@ gtranslator_preferences_dialog_init (GtrPreferencesDialog * dlg)
/*Glade */
- path = gtranslator_dirs_get_ui_file ("preferences-dialog.ui");
+ path = gtranslator_dirs_get_ui_file ("gtr-preferences-dialog.ui");
ret = gtranslator_utils_get_ui_objects (path,
root_objects,
&error_widget,
diff --git a/src/dialogs/gtr-profile-dialog.c b/src/dialogs/gtr-profile-dialog.c
index 498d95b..ce11881 100644
--- a/src/dialogs/gtr-profile-dialog.c
+++ b/src/dialogs/gtr-profile-dialog.c
@@ -383,7 +383,7 @@ gtranslator_profile_dialog_init (GtrProfileDialog * dlg)
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dlg)->vbox), 2);
- path = gtranslator_dirs_get_ui_file ("profile-dialog.ui");
+ path = gtranslator_dirs_get_ui_file ("gtr-profile-dialog.ui");
ret = gtranslator_utils_get_ui_objects (path,
root_objects,
&error_widget,
diff --git a/src/dialogs/gtr-search-dialog.c b/src/dialogs/gtr-search-dialog.c
index 6c51fef..4525542 100644
--- a/src/dialogs/gtr-search-dialog.c
+++ b/src/dialogs/gtr-search-dialog.c
@@ -388,7 +388,7 @@ gtranslator_search_dialog_init (GtrSearchDialog * dlg)
(GTK_DIALOG (dlg)->action_area), 5);
gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dlg)->action_area), 6);
- path = gtranslator_dirs_get_ui_file ("search-dialog.ui");
+ path = gtranslator_dirs_get_ui_file ("gtr-search-dialog.ui");
ret = gtranslator_utils_get_ui_objects (path,
root_objects,
&error_widget,
diff --git a/src/plugin-system/gtr-plugin-info.c b/src/plugin-system/gtr-plugin-info.c
index 0fc931d..28f0c61 100644
--- a/src/plugin-system/gtr-plugin-info.c
+++ b/src/plugin-system/gtr-plugin-info.c
@@ -141,7 +141,7 @@ _gtranslator_plugin_info_new (const gchar * file)
goto error;
}
- if (!g_key_file_has_key (plugin_file, "Gtr Plugin", "IAge", NULL))
+ if (!g_key_file_has_key (plugin_file, "Gtranslator Plugin", "IAge", NULL))
{
DEBUG_PRINT ("IAge key does not exist in file: %s", file);
goto error;
@@ -149,7 +149,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Check IAge=2 */
if (g_key_file_get_integer (plugin_file,
- "Gtr Plugin", "IAge", NULL) != 2)
+ "Gtranslator Plugin", "IAge", NULL) != 2)
{
DEBUG_PRINT ("Wrong IAge in file: %s", file);
goto error;
@@ -157,7 +157,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get module name */
str = g_key_file_get_string (plugin_file,
- "Gtr Plugin", "Module", NULL);
+ "Gtranslator Plugin", "Module", NULL);
if ((str != NULL) && (*str != '\0'))
{
@@ -171,7 +171,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get the dependency list */
info->dependencies = g_key_file_get_string_list (plugin_file,
- "Gtr Plugin",
+ "Gtranslator Plugin",
"Depends", NULL, NULL);
if (info->dependencies == NULL)
{
@@ -181,7 +181,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get the loader for this plugin */
str = g_key_file_get_string (plugin_file,
- "Gtr Plugin", "Loader", NULL);
+ "Gtranslator Plugin", "Loader", NULL);
if (str && strcmp (str, "python") == 0)
{
#ifndef ENABLE_PYTHON
@@ -200,7 +200,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get Name */
str = g_key_file_get_locale_string (plugin_file,
- "Gtr Plugin",
+ "Gtranslator Plugin",
"Name", NULL, NULL);
if (str)
info->name = str;
@@ -212,7 +212,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get Description */
str = g_key_file_get_locale_string (plugin_file,
- "Gtr Plugin",
+ "Gtranslator Plugin",
"Description", NULL, NULL);
if (str)
info->desc = str;
@@ -221,7 +221,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get Icon */
str = g_key_file_get_locale_string (plugin_file,
- "Gtr Plugin",
+ "Gtranslator Plugin",
"Icon", NULL, NULL);
if (str)
info->icon_name = str;
@@ -231,7 +231,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get Authors */
info->authors = g_key_file_get_string_list (plugin_file,
- "Gtr Plugin",
+ "Gtranslator Plugin",
"Authors", NULL, NULL);
if (info->authors == NULL)
DEBUG_PRINT ("Could not find 'Authors' in %s", file);
@@ -239,7 +239,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get Copyright */
str = g_key_file_get_string (plugin_file,
- "Gtr Plugin", "Copyright", NULL);
+ "Gtranslator Plugin", "Copyright", NULL);
if (str)
info->copyright = str;
else
@@ -247,7 +247,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get License */
str = g_key_file_get_string (plugin_file,
- "Gtr Plugin", "License", NULL);
+ "Gtranslator Plugin", "License", NULL);
if (str)
info->license = str;
else
@@ -255,7 +255,7 @@ _gtranslator_plugin_info_new (const gchar * file)
/* Get Website */
str = g_key_file_get_string (plugin_file,
- "Gtr Plugin", "Website", NULL);
+ "Gtranslator Plugin", "Website", NULL);
if (str)
info->website = str;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]