/nautilus-follow-symlink/trunk/src/Makefile.am |
---|
1,7 → 1,4 |
# Required to correctly install the locale files |
CPPFLAGS+=-DGNOMELOCALEDIR=\""$(datadir)/locale"\" |
nautilus_extension_lib_LTLIBRARIES = libnautilus-follow-symlink.la |
# Must be installed in nautilus' extension dir |
/nautilus-follow-symlink/trunk/src/common.h |
---|
9,9 → 9,6 |
#include <glib/gmessages.h> /* g_print() */ |
#include <glib/gprintf.h> /* g_printf() */ |
#include "libintl.h" |
#define _(STR) gettext(STR) |
#ifdef HAVE_CONFIG_H |
#include "config.h" |
#endif // HAVE_CONFIG_H |
/nautilus-follow-symlink/trunk/src/follow-symlink.c |
---|
132,8 → 132,8 |
const char *name; |
const char *tooltip; |
name = _("Follow symbolic _link"); |
tooltip = _("Open the directory pointed by the currently selected symbolic link"); |
name = "-> Follow symbolic _link"; |
tooltip = "Open the directory pointed by the currently selected symbolic link"; |
// (name, label, tip, icon) |
ret = nautilus_menu_item_new("FsymlinkExtension::follow_symlink", |
/nautilus-follow-symlink/trunk/src/nautilus-ext-follow-symlink.c |
---|
1,8 → 1,5 |
#include "nautilus-ext-follow-symlink.h" |
#include <locale.h> |
#include <libintl.h> |
#include <glib/gprintf.h> |
/* Public interface */ |
14,10 → 11,6 |
TRACE(); |
FSL_DEBUG_INIT(); |
setlocale(LC_ALL, ""); |
bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); |
textdomain(GETTEXT_PACKAGE); |
g_printf("Initializing nautilus-follow-symlink extension (v.%s)\n", VERSION); |
fsl_register_type(module); |