summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-07 16:15:08 +0300
committermonsta <[email protected]>2015-12-07 16:15:08 +0300
commit645e58d55d8d6154b441e9fb7112be7bcbc5a2ac (patch)
treed8015a7264e3e6132a49c1ebe46ab2bd1734a181
parentbedd16d1f677b6e42a2b982584fde4dbbf756da9 (diff)
downloadcaja-extensions-645e58d55d8d6154b441e9fb7112be7bcbc5a2ac.tar.bz2
caja-extensions-645e58d55d8d6154b441e9fb7112be7bcbc5a2ac.tar.xz
share: rename mate-file-manager-share.* -> caja-share.*
-rw-r--r--po/POTFILES.in2
-rw-r--r--share/Makefile.am4
-rw-r--r--share/caja-share.c (renamed from share/mate-file-manager-share.c)10
-rw-r--r--share/caja-share.h (renamed from share/mate-file-manager-share.h)2
-rw-r--r--share/shares.c2
5 files changed, 10 insertions, 10 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index aa0e5f5..2f9fb1e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -25,7 +25,7 @@ sendto/plugins/pidgin/pidgin.c
sendto/plugins/removable-devices/removable-devices.c
sendto/plugins/upnp/upnp.c
[type: gettext/ini]share/libcaja-share.caja-extension.in.in
-share/mate-file-manager-share.c
+share/caja-share.c
[type: gettext/glade]share/share-dialog.ui
share/shares.c
wallpaper/caja-wallpaper-extension.c
diff --git a/share/Makefile.am b/share/Makefile.am
index 036119e..0bab361 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -18,8 +18,8 @@ caja_extensiondir=$(CAJA_EXTENSION_DIR)
caja_extension_LTLIBRARIES=libcaja-share.la
libcaja_share_la_SOURCES = \
- mate-file-manager-share.c \
- mate-file-manager-share.h \
+ caja-share.c \
+ caja-share.h \
shares.c \
shares.h
diff --git a/share/mate-file-manager-share.c b/share/caja-share.c
index aa0eb2f..61be2d6 100644
--- a/share/mate-file-manager-share.c
+++ b/share/caja-share.c
@@ -1,4 +1,4 @@
-/* mate-file-manager-share -- Caja File Sharing Extension
+/* caja-share -- Caja File Sharing Extension
*
* Sebastien Estienne <[email protected]>
*
@@ -31,7 +31,7 @@
#include <libcaja-extension/caja-menu-provider.h>
#include <libcaja-extension/caja-property-page-provider.h>
-#include "mate-file-manager-share.h"
+#include "caja-share.h"
#include <glib/gi18n-lib.h>
@@ -686,7 +686,7 @@ create_property_page (CajaFileInfo *fileinfo)
page->xml = gtk_builder_new ();
- gtk_builder_set_translation_domain (page->xml, "mate-file-manager-share");
+ gtk_builder_set_translation_domain (page->xml, GETTEXT_PACKAGE);
g_assert (gtk_builder_add_from_file (page->xml,
INTERFACES_DIR"/share-dialog.ui", &error));
@@ -1252,7 +1252,7 @@ caja_share_register_type (GTypeModule *module)
void
caja_module_initialize (GTypeModule *module)
{
- /*g_print ("Initializing mate-file-manager-share extension\n");*/
+ /*g_print ("Initializing caja-share extension\n");*/
bindtextdomain(GETTEXT_PACKAGE, MATELOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
@@ -1264,7 +1264,7 @@ caja_module_initialize (GTypeModule *module)
void
caja_module_shutdown (void)
{
- /*g_print ("Shutting down mate-file-manager-share extension\n");*/
+ /*g_print ("Shutting down caja-share extension\n");*/
/* FIXME freeing */
}
diff --git a/share/mate-file-manager-share.h b/share/caja-share.h
index 9907ac2..1410917 100644
--- a/share/mate-file-manager-share.h
+++ b/share/caja-share.h
@@ -1,4 +1,4 @@
-/* mate-file-manager-share -- Caja File Sharing Extension
+/* caja-share -- Caja File Sharing Extension
*
* Sebastien Estienne <[email protected]>
*
diff --git a/share/shares.c b/share/shares.c
index 6a239ff..a8d9bdd 100644
--- a/share/shares.c
+++ b/share/shares.c
@@ -762,7 +762,7 @@ shares_error_quark (void)
static GQuark quark;
if (quark == 0)
- quark = g_quark_from_string ("mate-file-manager-shares-error-quark"); /* not from_static_string since we are a module */
+ quark = g_quark_from_string ("caja-share-error-quark"); /* not from_static_string since we are a module */
return quark;
}