From d7bec6f882964fd5c7da68213060ca301b383072 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 16 May 2005 06:18:58 +0000 Subject: moved e-error to e-util 2005-05-16 Not Zed * share-folder-common.c: moved e-error to e-util * Makefile.am: error filename changes. svn path=/trunk/; revision=29369 --- plugins/shared-folder/ChangeLog | 6 ++++++ plugins/shared-folder/Makefile.am | 12 ++++-------- plugins/shared-folder/org-gnome-shared-folder-errors.xml | 15 --------------- .../shared-folder/org-gnome-shared-folder-errors.xml.h | 8 -------- plugins/shared-folder/org-gnome-shared-folder.error.xml | 15 +++++++++++++++ plugins/shared-folder/share-folder-common.c | 4 ++-- plugins/shared-folder/share-folder.c | 2 +- 7 files changed, 28 insertions(+), 34 deletions(-) delete mode 100644 plugins/shared-folder/org-gnome-shared-folder-errors.xml delete mode 100644 plugins/shared-folder/org-gnome-shared-folder-errors.xml.h create mode 100644 plugins/shared-folder/org-gnome-shared-folder.error.xml (limited to 'plugins') diff --git a/plugins/shared-folder/ChangeLog b/plugins/shared-folder/ChangeLog index 99e3e2a86b..168c2b4aa7 100644 --- a/plugins/shared-folder/ChangeLog +++ b/plugins/shared-folder/ChangeLog @@ -1,3 +1,9 @@ +2005-05-16 Not Zed + + * share-folder-common.c: moved e-error to e-util + + * Makefile.am: error filename changes. + 2005-05-06 Chenthill Palanisamy Fixes #273063 diff --git a/plugins/shared-folder/Makefile.am b/plugins/shared-folder/Makefile.am index 08d1f0b29a..40a4d3c7f0 100644 --- a/plugins/shared-folder/Makefile.am +++ b/plugins/shared-folder/Makefile.am @@ -18,15 +18,11 @@ liborg_gnome_shared_folder_la_LDFLAGS = -module -avoid-version glade_DATA =properties.glade -error_DATA = org-gnome-shared-folder-errors.xml -error_i18n = $(error_DATA:.xml=.xml.h) +error_DATA = org-gnome-shared-folder.error errordir = $(privdatadir)/errors -%.xml.h: %.xml - $(top_builddir)/e-util/e-error-tool $^ -BUILT_SOURCES = $(error_i18n) +BUILT_SOURCES = $(error_DATA) EXTRA_DIST = \ - $(error_DATA) \ - $(error_i18n) \ - $(glade_DATA) \ + org-gnome-shared-folder.error.xml \ + $(glade_DATA) \ org-gnome-shared-folder.eplug.in diff --git a/plugins/shared-folder/org-gnome-shared-folder-errors.xml b/plugins/shared-folder/org-gnome-shared-folder-errors.xml deleted file mode 100644 index 5c82840c6a..0000000000 --- a/plugins/shared-folder/org-gnome-shared-folder-errors.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - -Invalid user -You cannot share folder with specified user "{0}" - - - -Specify User -You have to specify a user name whom you want to add to the list - - - - - diff --git a/plugins/shared-folder/org-gnome-shared-folder-errors.xml.h b/plugins/shared-folder/org-gnome-shared-folder-errors.xml.h deleted file mode 100644 index bce204dca8..0000000000 --- a/plugins/shared-folder/org-gnome-shared-folder-errors.xml.h +++ /dev/null @@ -1,8 +0,0 @@ -/* org.gnome.evolution.mail_shared_folder:invalid-user primary */ -char *s = N_("Invalid user"); -/* org.gnome.evolution.mail_shared_folder:invalid-user secondary */ -char *s = N_("You cannot share folder with specified user \"{0}\""); -/* org.gnome.evolution.mail_shared_folder:no-user primary */ -char *s = N_("Specify User"); -/* org.gnome.evolution.mail_shared_folder:no-user secondary */ -char *s = N_("You have to specify a user name whom you want to add to the list"); diff --git a/plugins/shared-folder/org-gnome-shared-folder.error.xml b/plugins/shared-folder/org-gnome-shared-folder.error.xml new file mode 100644 index 0000000000..645c17d943 --- /dev/null +++ b/plugins/shared-folder/org-gnome-shared-folder.error.xml @@ -0,0 +1,15 @@ + + + +<_primary>Invalid user +<_secondary>You cannot share folder with specified user "{0}" + + + +<_primary>Specify User +<_secondary>You have to specify a user name whom you want to add to the list + + + + + diff --git a/plugins/shared-folder/share-folder-common.c b/plugins/shared-folder/share-folder-common.c index 6dd8c70a53..58c58e4b6d 100644 --- a/plugins/shared-folder/share-folder-common.c +++ b/plugins/shared-folder/share-folder-common.c @@ -47,9 +47,9 @@ #include #include #include -#include +#include "e-util/e-error.h" #include -#include +#include "e-util/e-error.h" #include "share-folder.h" #define d(x) diff --git a/plugins/shared-folder/share-folder.c b/plugins/shared-folder/share-folder.c index affcdb50c7..f6618a0745 100644 --- a/plugins/shared-folder/share-folder.c +++ b/plugins/shared-folder/share-folder.c @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #define ROOTNODE "vboxSharing" -- cgit