summaryrefslogtreecommitdiff
path: root/sendto/plugins/removable-devices/removable-devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'sendto/plugins/removable-devices/removable-devices.c')
-rw-r--r--sendto/plugins/removable-devices/removable-devices.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sendto/plugins/removable-devices/removable-devices.c b/sendto/plugins/removable-devices/removable-devices.c
index f8f1445..0144be7 100644
--- a/sendto/plugins/removable-devices/removable-devices.c
+++ b/sendto/plugins/removable-devices/removable-devices.c
@@ -19,9 +19,13 @@
* Bastien Nocera <[email protected]>
*/
-#include "config.h"
-#include <string.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n-lib.h>
+
+#include <string.h>
#include <gio/gio.h>
#include "nst-common.h"
#include "caja-sendto-plugin.h"
@@ -147,8 +151,10 @@ init (NstPlugin *plugin)
{
g_print ("Init removable-devices plugin\n");
+#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
vol_monitor = g_volume_monitor_get ();
cb = gtk_combo_box_new ();
@@ -256,4 +262,3 @@ NstPluginInfo plugin_info = {
};
NST_INIT_PLUGIN (plugin_info)
-