summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-17 04:46:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-17 04:46:58 +0000
commit0f094f267484251c99cc475e6c733ef2c7f79531 (patch)
treeab027363d4609f9910304ebc696ae7becf42e4fc
parentAdding upstream version 1.2.2. (diff)
downloadnautilus-python-upstream.tar.xz
nautilus-python-upstream.zip
Adding upstream version 1.2.3.upstream/1.2.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--ChangeLog2
-rw-r--r--NEWS9
-rwxr-xr-xcompile2
-rwxr-xr-xconfig.guess2
-rwxr-xr-xconfig.sub2
-rwxr-xr-xconfigure22
-rw-r--r--configure.ac2
-rwxr-xr-xdepcomp2
-rw-r--r--docs/Makefile.am2
-rw-r--r--docs/Makefile.in2
-rw-r--r--docs/class-nautilus-python-column-provider.html4
-rw-r--r--docs/class-nautilus-python-column.html4
-rw-r--r--docs/class-nautilus-python-file-info.html4
-rw-r--r--docs/class-nautilus-python-info-provider.html4
-rw-r--r--docs/class-nautilus-python-location-widget-provider.html4
-rw-r--r--docs/class-nautilus-python-menu-item.html4
-rw-r--r--docs/class-nautilus-python-menu-provider.html4
-rw-r--r--docs/class-nautilus-python-menu.html4
-rw-r--r--docs/class-nautilus-python-property-page-provider.html4
-rw-r--r--docs/class-nautilus-python-property-page.html4
-rw-r--r--docs/enum-nautilus-python-operation-result.html4
-rw-r--r--docs/index.html8
-rw-r--r--docs/nautilus-python-class-reference.html4
-rw-r--r--docs/nautilus-python-enum-reference.html4
-rw-r--r--docs/nautilus-python-overview-example.html4
-rw-r--r--docs/nautilus-python-overview-methods.html4
-rw-r--r--docs/nautilus-python-overview.html4
-rw-r--r--docs/nautilus-python-provider-reference.html4
-rw-r--r--docs/style.css4
-rw-r--r--examples/open-terminal.py13
-rw-r--r--ltmain.sh4
-rw-r--r--m4/python.m42
-rwxr-xr-xmissing2
-rw-r--r--src/nautilus-python-object.c11
-rw-r--r--src/nautilus-python.c6
35 files changed, 87 insertions, 78 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d5ef47..a990d5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,3 @@
The ChangeLog file is no longer used.
-For a list of changes goto: http://git.gnome.org/browse/nautilus-python/log/
+For a list of changes goto: https://gitlab.gnome.org/GNOME/nautilus-python/commits/master
diff --git a/NEWS b/NEWS
index b673728..1812736 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+1.2.3:
+ - First release from gitlab
+ - Fixed open-terminal example extension (Maximillian Schambach)
+ - Fixed invalid DOAP file category (Andre Klapper)
+ - Fixed bug #3, setting argv[0] to thunar
+ - Fixed bug #4, allow overriding the build date to enable reproducible builds
+ - Removed build warnings (Christian Stadelman)
+ - Fix to work with python 3.8 (stratakis)
+
1.2.2:
- Fixed bug #792427, Fix folder string comparison to prevent duplicate extension loading
diff --git a/compile b/compile
index 2ab71e4..de0005d 100755
--- a/compile
+++ b/compile
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2016-01-11.22; # UTC
diff --git a/config.guess b/config.guess
index a744844..717b228 100755
--- a/config.guess
+++ b/config.guess
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Attempt to guess a canonical system name.
# Copyright 1992-2017 Free Software Foundation, Inc.
diff --git a/config.sub b/config.sub
index 932128b..f4bafc1 100755
--- a/config.sub
+++ b/config.sub
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Configuration validation subroutine script.
# Copyright 1992-2017 Free Software Foundation, Inc.
diff --git a/configure b/configure
index 84149c3..df30b8a 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for nautilus-python 1.2.2.
+# Generated by GNU Autoconf 2.69 for nautilus-python 1.2.3.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='nautilus-python'
PACKAGE_TARNAME='nautilus-python'
-PACKAGE_VERSION='1.2.2'
-PACKAGE_STRING='nautilus-python 1.2.2'
+PACKAGE_VERSION='1.2.3'
+PACKAGE_STRING='nautilus-python 1.2.3'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1366,7 +1366,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures nautilus-python 1.2.2 to adapt to many kinds of systems.
+\`configure' configures nautilus-python 1.2.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1436,7 +1436,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of nautilus-python 1.2.2:";;
+ short | recursive ) echo "Configuration of nautilus-python 1.2.3:";;
esac
cat <<\_ACEOF
@@ -1564,7 +1564,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-nautilus-python configure 1.2.2
+nautilus-python configure 1.2.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1842,7 +1842,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by nautilus-python $as_me 1.2.2, which was
+It was created by nautilus-python $as_me 1.2.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2710,7 +2710,7 @@ fi
# Define the identity of the package.
PACKAGE='nautilus-python'
- VERSION='1.2.2'
+ VERSION='1.2.3'
cat >>confdefs.h <<_ACEOF
@@ -12784,7 +12784,7 @@ py_lib_name=`basename $py_include_path`
if test "x$PYTHON_LIBS" = x; then
PYTHON_CONFIG=`which $PYTHON`-config
if test -x "$PYTHON_CONFIG"; then
- PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
+ PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || PYTHON_LIBS=`$PYTHON_CONFIG --libs 2>/dev/null`
else
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
fi
@@ -13585,7 +13585,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by nautilus-python $as_me 1.2.2, which was
+This file was extended by nautilus-python $as_me 1.2.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -13651,7 +13651,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-nautilus-python config.status 1.2.2
+nautilus-python config.status 1.2.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index ea8906c..b83325e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([nautilus-python], [1.2.2])
+AC_INIT([nautilus-python], [1.2.3])
AM_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([m4])
diff --git a/depcomp b/depcomp
index b39f98f..30379e2 100755
--- a/depcomp
+++ b/depcomp
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2016-01-11.22; # UTC
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 3b2a0b7..d3ad7ba 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -74,7 +74,7 @@ REFERENCE_DEPS = \
if ENABLE_GTK_DOC
reference/builddate.xml: $(REFERENCE_DEPS)
- $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@
+ $(PYTHON) -c "import datetime; import os; import time; print(datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))).date())" > $@
$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
$(GTKDOC_MKHTML) \
diff --git a/docs/Makefile.in b/docs/Makefile.in
index cb4bed5..a015144 100644
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -614,7 +614,7 @@ uninstall-am: uninstall-HTMLDATA uninstall-XMLDATA
@ENABLE_GTK_DOC_TRUE@reference/builddate.xml: $(REFERENCE_DEPS)
-@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@
+@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c "import datetime; import os; import time; print(datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))).date())" > $@
@ENABLE_GTK_DOC_TRUE@$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
@ENABLE_GTK_DOC_TRUE@ $(GTKDOC_MKHTML) \
diff --git a/docs/class-nautilus-python-column-provider.html b/docs/class-nautilus-python-column-provider.html
index c8b5ed6..0c2cfca 100644
--- a/docs/class-nautilus-python-column-provider.html
+++ b/docs/class-nautilus-python-column-provider.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces">
<link rel="prev" href="nautilus-python-provider-reference.html" title="Provider Interfaces">
<link rel="next" href="class-nautilus-python-info-provider.html" title="Nautilus.InfoProvider">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -103,6 +103,6 @@ class ColumnExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.InfoPro
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-column.html b/docs/class-nautilus-python-column.html
index e44dcc4..b0523c5 100644
--- a/docs/class-nautilus-python-column.html
+++ b/docs/class-nautilus-python-column.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-class-reference.html" title="Available Classes">
<link rel="prev" href="nautilus-python-class-reference.html" title="Available Classes">
<link rel="next" href="class-nautilus-python-file-info.html" title="Nautilus.FileInfo">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -119,6 +119,6 @@
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-file-info.html b/docs/class-nautilus-python-file-info.html
index c140cde..9c8036c 100644
--- a/docs/class-nautilus-python-file-info.html
+++ b/docs/class-nautilus-python-file-info.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-class-reference.html" title="Available Classes">
<link rel="prev" href="class-nautilus-python-column.html" title="Nautilus.Column">
<link rel="next" href="class-nautilus-python-menu.html" title="Nautilus.Menu">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -344,6 +344,6 @@
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-info-provider.html b/docs/class-nautilus-python-info-provider.html
index 47959db..e7c9a90 100644
--- a/docs/class-nautilus-python-info-provider.html
+++ b/docs/class-nautilus-python-info-provider.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces">
<link rel="prev" href="class-nautilus-python-column-provider.html" title="Nautilus.ColumnProvider">
<link rel="next" href="class-nautilus-python-location-widget-provider.html" title="Nautilus.LocationWidgetProvider">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -215,6 +215,6 @@ class UpdateFileInfoAsync(GObject.GObject, Nautilus.InfoProvider):
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-location-widget-provider.html b/docs/class-nautilus-python-location-widget-provider.html
index 4e3661a..bc39d85 100644
--- a/docs/class-nautilus-python-location-widget-provider.html
+++ b/docs/class-nautilus-python-location-widget-provider.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces">
<link rel="prev" href="class-nautilus-python-info-provider.html" title="Nautilus.InfoProvider">
<link rel="next" href="class-nautilus-python-menu-provider.html" title="Nautilus.MenuProvider">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -88,6 +88,6 @@ class ColumnExtension(GObject.GObject, Nautilus.LocationWidgetProvider):
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-menu-item.html b/docs/class-nautilus-python-menu-item.html
index 6a7f1d2..ee1bd5b 100644
--- a/docs/class-nautilus-python-menu-item.html
+++ b/docs/class-nautilus-python-menu-item.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-class-reference.html" title="Available Classes">
<link rel="prev" href="class-nautilus-python-menu.html" title="Nautilus.Menu">
<link rel="next" href="class-nautilus-python-property-page.html" title="Nautilus.PropertyPage">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -196,6 +196,6 @@
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-menu-provider.html b/docs/class-nautilus-python-menu-provider.html
index 3c735ac..a79e5ee 100644
--- a/docs/class-nautilus-python-menu-provider.html
+++ b/docs/class-nautilus-python-menu-provider.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces">
<link rel="prev" href="class-nautilus-python-location-widget-provider.html" title="Nautilus.LocationWidgetProvider">
<link rel="next" href="class-nautilus-python-property-page-provider.html" title="Nautilus.PropertyPageProvider">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -275,6 +275,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider):
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-menu.html b/docs/class-nautilus-python-menu.html
index d4ec5ff..d756709 100644
--- a/docs/class-nautilus-python-menu.html
+++ b/docs/class-nautilus-python-menu.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-class-reference.html" title="Available Classes">
<link rel="prev" href="class-nautilus-python-file-info.html" title="Nautilus.FileInfo">
<link rel="next" href="class-nautilus-python-menu-item.html" title="Nautilus.MenuItem">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -82,6 +82,6 @@
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-property-page-provider.html b/docs/class-nautilus-python-property-page-provider.html
index 5420de7..c3ed93b 100644
--- a/docs/class-nautilus-python-property-page-provider.html
+++ b/docs/class-nautilus-python-property-page-provider.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces">
<link rel="prev" href="class-nautilus-python-menu-provider.html" title="Nautilus.MenuProvider">
<link rel="next" href="nautilus-python-enum-reference.html" title="Available Enums">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -121,6 +121,6 @@ class MD5SumPropertyPage(GObject.GObject, Nautilus.PropertyPageProvider):
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/class-nautilus-python-property-page.html b/docs/class-nautilus-python-property-page.html
index 2090a34..8d21e37 100644
--- a/docs/class-nautilus-python-property-page.html
+++ b/docs/class-nautilus-python-property-page.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-class-reference.html" title="Available Classes">
<link rel="prev" href="class-nautilus-python-menu-item.html" title="Nautilus.MenuItem">
<link rel="next" href="nautilus-python-provider-reference.html" title="Provider Interfaces">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -100,6 +100,6 @@
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/enum-nautilus-python-operation-result.html b/docs/enum-nautilus-python-operation-result.html
index cf328d5..d0b6c8b 100644
--- a/docs/enum-nautilus-python-operation-result.html
+++ b/docs/enum-nautilus-python-operation-result.html
@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="nautilus-python Reference Manual">
<link rel="up" href="nautilus-python-enum-reference.html" title="Available Enums">
<link rel="prev" href="nautilus-python-enum-reference.html" title="Available Enums">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -59,6 +59,6 @@
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/index.html b/docs/index.html
index 879e2dd..1719103 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="This reference describes the classes of the nautilus-python module.">
<link rel="home" href="index.html" title="nautilus-python Reference Manual">
<link rel="next" href="nautilus-python-overview.html" title="Overview">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -18,8 +18,8 @@
<div><div class="authorgroup"><div class="author"><h3 class="author">
<span class="firstname">Adam</span> <span class="surname">Plumb</span>
</h3></div></div></div>
-<div><p class="releaseinfo">For nautilus-python version 1.2.2</p></div>
-<div><p class="pubdate">2018-01-14
+<div><p class="releaseinfo">For nautilus-python version 1.2.3</p></div>
+<div><p class="pubdate">2019-07-18
</p></div>
<div><div class="abstract">
<p class="title"><b>Abstract</b></p>
@@ -73,6 +73,6 @@
</dl></div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/nautilus-python-class-reference.html b/docs/nautilus-python-class-reference.html
index 6a807d2..1dc121b 100644
--- a/docs/nautilus-python-class-reference.html
+++ b/docs/nautilus-python-class-reference.html
@@ -8,7 +8,7 @@
<link rel="up" href="index.html" title="nautilus-python Reference Manual">
<link rel="prev" href="nautilus-python-overview-methods.html" title="Explanation of Passive/Active Methods">
<link rel="next" href="class-nautilus-python-column.html" title="Nautilus.Column">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -41,6 +41,6 @@
</dl></div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/nautilus-python-enum-reference.html b/docs/nautilus-python-enum-reference.html
index 7c5256f..613b2a1 100644
--- a/docs/nautilus-python-enum-reference.html
+++ b/docs/nautilus-python-enum-reference.html
@@ -8,7 +8,7 @@
<link rel="up" href="index.html" title="nautilus-python Reference Manual">
<link rel="prev" href="class-nautilus-python-property-page-provider.html" title="Nautilus.PropertyPageProvider">
<link rel="next" href="enum-nautilus-python-operation-result.html" title="Nautilus.OperationResult">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -27,6 +27,6 @@
</dt></dl></div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/nautilus-python-overview-example.html b/docs/nautilus-python-overview-example.html
index 3b1ee8d..5bca5de 100644
--- a/docs/nautilus-python-overview-example.html
+++ b/docs/nautilus-python-overview-example.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-overview.html" title="Overview">
<link rel="prev" href="nautilus-python-overview.html" title="Overview">
<link rel="next" href="nautilus-python-overview-methods.html" title="Explanation of Passive/Active Methods">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -68,6 +68,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider):
the get_file_items method is called and a list of Nautilus.MenuItems is expected.</p>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/nautilus-python-overview-methods.html b/docs/nautilus-python-overview-methods.html
index 1a8078f..e65050b 100644
--- a/docs/nautilus-python-overview-methods.html
+++ b/docs/nautilus-python-overview-methods.html
@@ -8,7 +8,7 @@
<link rel="up" href="nautilus-python-overview.html" title="Overview">
<link rel="prev" href="nautilus-python-overview-example.html" title="A Simple Extension">
<link rel="next" href="nautilus-python-class-reference.html" title="Available Classes">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -33,6 +33,6 @@
called by Nautilus are termed <span class="emphasis"><em>Passive Methods</em></span>.</p>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/nautilus-python-overview.html b/docs/nautilus-python-overview.html
index dc66b3c..c83fa64 100644
--- a/docs/nautilus-python-overview.html
+++ b/docs/nautilus-python-overview.html
@@ -8,7 +8,7 @@
<link rel="up" href="index.html" title="nautilus-python Reference Manual">
<link rel="prev" href="index.html" title="nautilus-python Reference Manual">
<link rel="next" href="nautilus-python-overview-example.html" title="A Simple Extension">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -60,6 +60,6 @@ for local extensions and $PREFIX/share/nautilus-python/extensions for global ext
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/nautilus-python-provider-reference.html b/docs/nautilus-python-provider-reference.html
index ead9cd8..6c92b82 100644
--- a/docs/nautilus-python-provider-reference.html
+++ b/docs/nautilus-python-provider-reference.html
@@ -8,7 +8,7 @@
<link rel="up" href="index.html" title="nautilus-python Reference Manual">
<link rel="prev" href="class-nautilus-python-property-page.html" title="Nautilus.PropertyPage">
<link rel="next" href="class-nautilus-python-column-provider.html" title="Nautilus.ColumnProvider">
-<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -41,6 +41,6 @@
</dl></div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.27</div>
+<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>
diff --git a/docs/style.css b/docs/style.css
index 3675420..4be4ede 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -30,6 +30,10 @@ body
vertical-align: top;
}
+span.nowrap {
+ white-space: nowrap;
+}
+
div.gallery-float
{
float: left;
diff --git a/examples/open-terminal.py b/examples/open-terminal.py
index 46d793a..8d33733 100644
--- a/examples/open-terminal.py
+++ b/examples/open-terminal.py
@@ -1,23 +1,26 @@
# This example is contributed by Martin Enlund
import os
-import urllib
+
+# A way to get unquote working with python 2 and 3
+try:
+ from urllib import unquote
+except ImportError:
+ from urllib.parse import unquote
import gi
gi.require_version('GConf', '2.0')
from gi.repository import Nautilus, GObject, GConf
-TERMINAL_KEY = '/desktop/gnome/applications/terminal/exec'
class OpenTerminalExtension(Nautilus.MenuProvider, GObject.GObject):
def __init__(self):
self.client = GConf.Client.get_default()
def _open_terminal(self, file):
- filename = urllib.unquote(file.get_uri()[7:])
- terminal = self.client.get_string(TERMINAL_KEY)
+ filename = unquote(file.get_uri()[7:])
os.chdir(filename)
- os.system('%s &' % terminal)
+ os.system('gnome-terminal')
def menu_activate_cb(self, menu, file):
self._open_terminal(file)
diff --git a/ltmain.sh b/ltmain.sh
index 0f0a2da..30be9c8 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -7272,10 +7272,12 @@ func_mode_link ()
# -tp=* Portland pgcc target processor selection
# --sysroot=* for sysroot support
# -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ # -specs=* GCC specs files
# -stdlib=* select c++ std lib with clang
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
- -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
+ -specs=*)
func_quote_for_eval "$arg"
arg=$func_quote_for_eval_result
func_append compile_command " $arg"
diff --git a/m4/python.m4 b/m4/python.m4
index ebacfb2..549676e 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -140,7 +140,7 @@ py_lib_name=`basename $py_include_path`
if test "x$PYTHON_LIBS" = x; then
PYTHON_CONFIG=`which $PYTHON`-config
if test -x "$PYTHON_CONFIG"; then
- PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
+ PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || PYTHON_LIBS=`$PYTHON_CONFIG --libs 2>/dev/null`
else
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
fi
diff --git a/missing b/missing
index c6e3795..b7e571e 100755
--- a/missing
+++ b/missing
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion=2016-01-11.22; # UTC
diff --git a/src/nautilus-python-object.c b/src/nautilus-python-object.c
index b60088b..f343070 100644
--- a/src/nautilus-python-object.c
+++ b/src/nautilus-python-object.c
@@ -22,19 +22,10 @@
#include "nautilus-python-object.h"
#include "nautilus-python.h"
-#include <libnautilus-extension/nautilus-extension-types.h>
+#include <nautilus-extension.h>
#include <pygobject.h>
-/* Nautilus extension headers */
-#include <libnautilus-extension/nautilus-file-info.h>
-#include <libnautilus-extension/nautilus-info-provider.h>
-#include <libnautilus-extension/nautilus-column-provider.h>
-#include <libnautilus-extension/nautilus-location-widget-provider.h>
-#include <libnautilus-extension/nautilus-menu-item.h>
-#include <libnautilus-extension/nautilus-menu-provider.h>
-#include <libnautilus-extension/nautilus-property-page-provider.h>
-
#include <string.h>
#define METHOD_PREFIX ""
diff --git a/src/nautilus-python.c b/src/nautilus-python.c
index b1fa4f2..843e3c6 100644
--- a/src/nautilus-python.c
+++ b/src/nautilus-python.c
@@ -29,7 +29,7 @@
#include "nautilus-python.h"
#include "nautilus-python-object.h"
-#include <libnautilus-extension/nautilus-extension-types.h>
+#include <nautilus-extension.h>
static const GDebugKey nautilus_python_debug_keys[] = {
{"misc", NAUTILUS_PYTHON_DEBUG_MISC},
@@ -167,9 +167,9 @@ nautilus_python_init_python (void) {
debug("PySys_SetArgv");
#if PY_MAJOR_VERSION >= 3
- wchar_t *argv[] = { L"thunar", NULL };
+ wchar_t *argv[] = { L"nautilus", NULL };
#else
- char *argv[] = { "thunar", NULL };
+ char *argv[] = { "nautilus", NULL };
#endif
PySys_SetArgv(1, argv);
if (PyErr_Occurred()) {