Skip to content

Commit

Permalink
Commit 11
Browse files Browse the repository at this point in the history
* The extension has been ported to `libnautilus-extension-4`
  • Loading branch information
madmurphy committed Oct 28, 2022
1 parent dd15afa commit 8784dd8
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 26 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ Change Log
==========


## 0.3.0 (2022-10-28)

Changes:

* The extension has been ported to `libnautilus-extension-4`


## 0.2.6 (2021-09-21)

Changes:
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ NEWS
====


## 0.3.0

* The extension has been ported to `libnautilus-extension-4`


## 0.2.4

Changes:
Expand Down
2 changes: 1 addition & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ if grep "^AM_GLIB_GNU_GETTEXT" "${srcdir}/configure.ac" >/dev/null; then
glib-gettextize --version < /dev/null > /dev/null 2>&1 || {
echo
echo '**Error**: You must have `glib` installed. You can get it from'
echo 'https://download.gnome.org/sources/glib/'
echo 'https://gitlab.gnome.org/GNOME/glib'
echo
DIE=1
} >&2
Expand Down
12 changes: 6 additions & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dnl **************************************************************************
AC_PREREQ([2.69])

AC_INIT([Nautilus Hide],
[0.2.6],
[0.3.0],
[madmurphy333@gmail.com],
[nautilus-hide],
[https://gitlab.gnome.org/madmurphy/nautilus-hide])
Expand Down Expand Up @@ -39,7 +39,7 @@ AC_CHECK_PROG([HAVE_PKGCONFIG], [pkg-config], [yes], [no])
AS_IF([test "x${HAVE_PKGCONFIG}" = xno],
[AC_MSG_ERROR([you need to have pkgconfig installed!])])

PKG_CHECK_MODULES([NAUTILUS_HIDE], [glib-2.0 libnautilus-extension])
PKG_CHECK_MODULES([NAUTILUS_HIDE], [glib-2.0 libnautilus-extension-4])


dnl **************************************************************************
Expand All @@ -65,18 +65,18 @@ dnl **************************************************************************

AC_ARG_WITH([nautilus-libdir],
[AS_HELP_STRING([--without-nautilus-libdir],
[ignore the <libdir> variable used by libnautilus-extension and
and use the current <libdir> instead @<:@default=no@:>@])],
[ignore the <libdir> variable used by libnautilus-extension-4
and and use the current <libdir> instead @<:@default=no@:>@])],
[:],
[AS_VAR_SET([with_nautilus_libdir], ['yes'])])

AS_IF([test "x${with_nautilus_libdir}" = xno],
[AS_VAR_SET([NAUTILUS_EXTENSION_DIR], m4_normalize(["$(
"${PKG_CONFIG}" --define-variable='libdir=${libdir}'
--variable=extensiondir libnautilus-extension
--variable=extensiondir libnautilus-extension-4
)"]))],
[AS_VAR_SET([NAUTILUS_EXTENSION_DIR], m4_normalize(["$(
"${PKG_CONFIG}" --variable=extensiondir libnautilus-extension
"${PKG_CONFIG}" --variable=extensiondir libnautilus-extension-4
)"]))])

AC_SUBST([NAUTILUS_EXTENSION_DIR])
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nautilus-hide",
"version": "0.2.6",
"version": "0.3.0",
"description": "A simple Nautilus extension that adds \"Hide\" and \"Unhide\" to Nautilus right-click menu",
"homepage": "https://gitlab.gnome.org/madmurphy/nautilus-hide",
"author": "madmurphy333@gmail.com",
Expand All @@ -11,7 +11,7 @@
},
"dependencies": {
"glib2": "*",
"libnautilus-extension": "*",
"libnautilus-extension": ">=4",
},
"devDependencies": {
"gettext": ">=0.19",
Expand Down
12 changes: 6 additions & 6 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
"Project-Id-Version: nautilus-hide 0.2.6\n"
"Project-Id-Version: nautilus-hide 0.3.0\n"
"Report-Msgid-Bugs-To: madmurphy333@gmail.com\n"
"POT-Creation-Date: 2021-05-26 23:06+0200\n"
"POT-Creation-Date: 2022-10-28 20:46+0100\n"
"PO-Revision-Date: 2021-05-24 11:52+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
Expand Down Expand Up @@ -80,25 +80,25 @@ msgstr ""
"Impossibile rendere visibili i file selezionati, errore nel tentativo di "
"modificare il database"

#: src/nautilus-hide.c:911
#: src/nautilus-hide.c:910
msgid "_Hide file"
msgid_plural "_Hide files"
msgstr[0] "_Nascondi"
msgstr[1] "_Nascondi i file"

#: src/nautilus-hide.c:917
#: src/nautilus-hide.c:916
msgid "Hide the selected file"
msgid_plural "Hide the selected files"
msgstr[0] "Nascondi il file selezionato"
msgstr[1] "Nascondi i file selezionati"

#: src/nautilus-hide.c:950
#: src/nautilus-hide.c:949
msgid "_Unhide file"
msgid_plural "_Unhide files"
msgstr[0] "Ripristina _visibilità"
msgstr[1] "Ripristina _visibilità dei file"

#: src/nautilus-hide.c:956
#: src/nautilus-hide.c:955
msgid "Unhide the selected file"
msgid_plural "Unhide the selected files"
msgstr[0] "Rendi visibile il file selezionato"
Expand Down
12 changes: 6 additions & 6 deletions po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
"Project-Id-Version: nautilus-hide 0.2.6\n"
"Project-Id-Version: nautilus-hide 0.3.0\n"
"Report-Msgid-Bugs-To: madmurphy333@gmail.com\n"
"POT-Creation-Date: 2021-09-20 17:11+0200\n"
"POT-Creation-Date: 2022-10-28 20:46+0100\n"
"PO-Revision-Date: 2021-09-20 17:16+0200\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -85,25 +85,25 @@ msgstr ""
"De selectie kan niet zichtbaar worden gemaakt omdat de databank niet kan "
"worden aangepast"

#: src/nautilus-hide.c:911
#: src/nautilus-hide.c:910
msgid "_Hide file"
msgid_plural "_Hide files"
msgstr[0] "Bestand verber_gen"
msgstr[1] "Bestanden verber_gen"

#: src/nautilus-hide.c:917
#: src/nautilus-hide.c:916
msgid "Hide the selected file"
msgid_plural "Hide the selected files"
msgstr[0] "Verberg het geselecteerde bestand"
msgstr[1] "Verberg de geselecteerde bestanden"

#: src/nautilus-hide.c:950
#: src/nautilus-hide.c:949
msgid "_Unhide file"
msgid_plural "_Unhide files"
msgstr[0] "Bestand _zichtbaar maken"
msgstr[1] "Bestanden _zichtbaar maken"

#: src/nautilus-hide.c:956
#: src/nautilus-hide.c:955
msgid "Unhide the selected file"
msgid_plural "Unhide the selected files"
msgstr[0] "Bestand _zichtbaar maken"
Expand Down
9 changes: 6 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ AM_CPPFLAGS = \
"-DG_LOG_DOMAIN=\"NautilusHide\""

AM_CFLAGS = \
-Wall\
-Wall \
-Wextra \
-g \
-pedantic \
$(WARN_CFLAGS) \
$(NAUTILUS_CFLAGS) \
$(GLIB_CFLAGS) \
$(NAUTILUS_HIDE_CFLAGS)
$(GLIB_CFLAGS)

nautilus_extensiondir = $(NAUTILUS_EXTENSION_DIR)

Expand All @@ -23,6 +23,9 @@ nautilus_extension_LTLIBRARIES = \
libnautilus_hide_la_SOURCES = \
nautilus-hide.c

libnautilus_hide_la_CFLAGS = \
$(NAUTILUS_HIDE_CFLAGS)

libnautilus_hide_la_LDFLAGS = \
-module \
-avoid-version
Expand Down
3 changes: 1 addition & 2 deletions src/nautilus-hide.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,6 @@ static void nautilus_hide_pop_files (

static GList * nautilus_hide_get_file_items (
NautilusMenuProvider * const provider,
GtkWidget * const window,
GList * const file_selection
) {

Expand Down Expand Up @@ -984,7 +983,7 @@ static GList * nautilus_hide_get_file_items (


static void nautilus_hide_menu_provider_iface_init (
NautilusMenuProviderIface * const iface,
NautilusMenuProviderInterface * const iface,
gpointer const iface_data
) {

Expand Down

0 comments on commit 8784dd8

Please sign in to comment.