[eog-plugins] postasa: Make GtkBuilder files recognizable by gettext
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog-plugins] postasa: Make GtkBuilder files recognizable by gettext
- Date: Sun, 4 Jun 2017 19:50:54 +0000 (UTC)
commit de5ee65c9a23a3b7aa7c2a88b813bb68d3059f78
Author: Felix Riemann <friemann gnome org>
Date: Sun Jun 4 21:39:22 2017 +0200
postasa: Make GtkBuilder files recognizable by gettext
plugins/postasa/Makefile.am | 2 +-
plugins/postasa/eog-postasa-plugin.c | 4 ++--
plugins/postasa/eog-postasa-plugin.gresource.xml | 4 ++--
.../{postasa-config.xml => postasa-config.ui} | 0
.../{postasa-uploads.xml => postasa-uploads.ui} | 0
po/POTFILES.in | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/plugins/postasa/Makefile.am b/plugins/postasa/Makefile.am
index eeee385..48928d8 100644
--- a/plugins/postasa/Makefile.am
+++ b/plugins/postasa/Makefile.am
@@ -32,7 +32,7 @@ libpostasa_la_LIBADD = $(EOG_LIBS) \
eog-postasa-plugin-resources.c: eog-postasa-plugin.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES)
--sourcedir=$(srcdir) --generate-dependencies $(srcdir)/eog-postasa-plugin.gresource.xml)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --internal --target=$@ --sourcedir=$(srcdir) --generate-source
$(srcdir)/eog-postasa-plugin.gresource.xml
-UI_FILES = postasa-config.xml postasa-uploads.xml
+UI_FILES = postasa-config.ui postasa-uploads.ui
# Plugin Info
diff --git a/plugins/postasa/eog-postasa-plugin.c b/plugins/postasa/eog-postasa-plugin.c
index d8bf587..ad995c9 100644
--- a/plugins/postasa/eog-postasa-plugin.c
+++ b/plugins/postasa/eog-postasa-plugin.c
@@ -39,8 +39,8 @@
#include <gdata/gdata.h>
#define EOG_POSTASA_RESOURCE_PREFIX "/org/gnome/eog/plugins/postasa"
-#define GTKBUILDER_CONFIG_FILE EOG_POSTASA_RESOURCE_PREFIX"/postasa-config.xml"
-#define GTKBUILDER_UPLOAD_FILE EOG_POSTASA_RESOURCE_PREFIX"/postasa-uploads.xml"
+#define GTKBUILDER_CONFIG_FILE EOG_POSTASA_RESOURCE_PREFIX"/postasa-config.ui"
+#define GTKBUILDER_UPLOAD_FILE EOG_POSTASA_RESOURCE_PREFIX"/postasa-uploads.ui"
#define EOG_POSTASA_PLUGIN_MENU_ID "EogPluginPostasa"
#define EOG_POSTASA_PLUGIN_ACTION "postasa-upload"
diff --git a/plugins/postasa/eog-postasa-plugin.gresource.xml
b/plugins/postasa/eog-postasa-plugin.gresource.xml
index 50442fc..b4cbd29 100644
--- a/plugins/postasa/eog-postasa-plugin.gresource.xml
+++ b/plugins/postasa/eog-postasa-plugin.gresource.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/eog/plugins/postasa">
- <file compressed="true" preprocess="xml-stripblanks">postasa-config.xml</file>
- <file compressed="true" preprocess="xml-stripblanks">postasa-uploads.xml</file>
+ <file compressed="true" preprocess="xml-stripblanks">postasa-config.ui</file>
+ <file compressed="true" preprocess="xml-stripblanks">postasa-uploads.ui</file>
</gresource>
</gresources>
diff --git a/plugins/postasa/postasa-config.xml b/plugins/postasa/postasa-config.ui
similarity index 100%
rename from plugins/postasa/postasa-config.xml
rename to plugins/postasa/postasa-config.ui
diff --git a/plugins/postasa/postasa-uploads.xml b/plugins/postasa/postasa-uploads.ui
similarity index 100%
rename from plugins/postasa/postasa-uploads.xml
rename to plugins/postasa/postasa-uploads.ui
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5b550bd..41ac149 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -26,9 +26,9 @@ plugins/maximize-windows/eog-maximize-windows.appdata.xml.in
plugins/maximize-windows/maximize-windows.plugin.desktop.in
plugins/postasa/eog-postasa.appdata.xml.in
plugins/postasa/eog-postasa-plugin.c
-plugins/postasa/postasa-config.xml
+plugins/postasa/postasa-config.ui
plugins/postasa/postasa.plugin.desktop.in
-plugins/postasa/postasa-uploads.xml
+plugins/postasa/postasa-uploads.ui
plugins/postr/eog-postr.appdata.xml.in
plugins/postr/eog-postr-plugin.c
plugins/postr/postr.plugin.desktop.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]