diff -Nru folder-color-nemo-0.0.87/.bzr/branch/branch.conf folder-color-nemo-0.0.88/.bzr/branch/branch.conf --- folder-color-nemo-0.0.87/.bzr/branch/branch.conf 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/branch/branch.conf 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1 @@ +parent_location = bzr+ssh://bazaar.launchpad.net/+branch/folder-color/ diff -Nru folder-color-nemo-0.0.87/.bzr/branch/format folder-color-nemo-0.0.88/.bzr/branch/format --- folder-color-nemo-0.0.87/.bzr/branch/format 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/branch/format 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1 @@ +Bazaar Branch Format 7 (needs bzr 1.6) diff -Nru folder-color-nemo-0.0.87/.bzr/branch/last-revision folder-color-nemo-0.0.88/.bzr/branch/last-revision --- folder-color-nemo-0.0.87/.bzr/branch/last-revision 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/branch/last-revision 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1 @@ +288 costales.marcos@gmail.com-20190427174321-td2jeu3x1oxaxmm2 diff -Nru folder-color-nemo-0.0.87/.bzr/branch-format folder-color-nemo-0.0.88/.bzr/branch-format --- folder-color-nemo-0.0.87/.bzr/branch-format 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/branch-format 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1 @@ +Bazaar-NG meta directory, format 1 diff -Nru folder-color-nemo-0.0.87/.bzr/checkout/conflicts folder-color-nemo-0.0.88/.bzr/checkout/conflicts --- folder-color-nemo-0.0.87/.bzr/checkout/conflicts 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/checkout/conflicts 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1 @@ +BZR conflict list format 1 Binary files /tmp/tmpqeeo1s/1cWcldjjQK/folder-color-nemo-0.0.87/.bzr/checkout/dirstate and /tmp/tmpqeeo1s/iAZJRdX8P9/folder-color-nemo-0.0.88/.bzr/checkout/dirstate differ diff -Nru folder-color-nemo-0.0.87/.bzr/checkout/format folder-color-nemo-0.0.88/.bzr/checkout/format --- folder-color-nemo-0.0.87/.bzr/checkout/format 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/checkout/format 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1 @@ +Bazaar Working Tree Format 6 (bzr 1.14) diff -Nru folder-color-nemo-0.0.87/.bzr/README folder-color-nemo-0.0.88/.bzr/README --- folder-color-nemo-0.0.87/.bzr/README 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/README 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1,3 @@ +This is a Bazaar control directory. +Do not change any files in this directory. +See http://bazaar.canonical.com/ for more information about Bazaar. diff -Nru folder-color-nemo-0.0.87/.bzr/repository/format folder-color-nemo-0.0.88/.bzr/repository/format --- folder-color-nemo-0.0.87/.bzr/repository/format 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/repository/format 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1 @@ +Bazaar repository format 2a (needs bzr 1.16 or later) Binary files /tmp/tmpqeeo1s/1cWcldjjQK/folder-color-nemo-0.0.87/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.cix and /tmp/tmpqeeo1s/iAZJRdX8P9/folder-color-nemo-0.0.88/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.cix differ Binary files /tmp/tmpqeeo1s/1cWcldjjQK/folder-color-nemo-0.0.87/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.iix and /tmp/tmpqeeo1s/iAZJRdX8P9/folder-color-nemo-0.0.88/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.iix differ Binary files /tmp/tmpqeeo1s/1cWcldjjQK/folder-color-nemo-0.0.87/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.rix and /tmp/tmpqeeo1s/iAZJRdX8P9/folder-color-nemo-0.0.88/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.rix differ diff -Nru folder-color-nemo-0.0.87/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.six folder-color-nemo-0.0.88/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.six --- folder-color-nemo-0.0.87/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.six 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.six 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1,5 @@ +B+Tree Graph Index 2 +node_ref_lists=0 +key_elements=1 +len=0 +row_lengths= Binary files /tmp/tmpqeeo1s/1cWcldjjQK/folder-color-nemo-0.0.87/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.tix and /tmp/tmpqeeo1s/iAZJRdX8P9/folder-color-nemo-0.0.88/.bzr/repository/indices/17efefe10a16cc4240a44c1dad3ccd67.tix differ diff -Nru folder-color-nemo-0.0.87/.bzr/repository/pack-names folder-color-nemo-0.0.88/.bzr/repository/pack-names --- folder-color-nemo-0.0.87/.bzr/repository/pack-names 1970-01-01 00:00:00.000000000 +0000 +++ folder-color-nemo-0.0.88/.bzr/repository/pack-names 2019-04-28 07:26:04.000000000 +0000 @@ -0,0 +1,6 @@ +B+Tree Graph Index 2 +node_ref_lists=0 +key_elements=1 +len=1 +row_lengths=1 +xœ Â1€ @j^‘'p1pCác2!T6þ^g÷yï<¯ô]ÁÜ?4Lj0µæfåëˆXƒ¥€:EµëBô©Ôú2} \ No newline at end of file Binary files /tmp/tmpqeeo1s/1cWcldjjQK/folder-color-nemo-0.0.87/.bzr/repository/packs/17efefe10a16cc4240a44c1dad3ccd67.pack and /tmp/tmpqeeo1s/iAZJRdX8P9/folder-color-nemo-0.0.88/.bzr/repository/packs/17efefe10a16cc4240a44c1dad3ccd67.pack differ diff -Nru folder-color-nemo-0.0.87/debian/changelog folder-color-nemo-0.0.88/debian/changelog --- folder-color-nemo-0.0.87/debian/changelog 2019-04-26 16:55:23.000000000 +0000 +++ folder-color-nemo-0.0.88/debian/changelog 2019-04-28 07:26:28.000000000 +0000 @@ -1,7 +1,7 @@ -folder-color-nemo (0.0.87) bionic; urgency=low +folder-color-nemo (0.0.88) bionic; urgency=low - * Fixed dumps in shell + * Work with Python 3. Bug #1826627 * Updated translations - -- costales Fri, 26 Apr 2017 18:52:31 +0000 + -- costales Sat, 27 Apr 2017 19:42:31 +0000 diff -Nru folder-color-nemo-0.0.87/debian/control folder-color-nemo-0.0.88/debian/control --- folder-color-nemo-0.0.87/debian/control 2019-04-26 16:55:23.000000000 +0000 +++ folder-color-nemo-0.0.88/debian/control 2019-04-28 07:26:28.000000000 +0000 @@ -1,7 +1,7 @@ Source: folder-color-nemo Section: utils Priority: extra -Standards-Version: 0.0.87 +Standards-Version: 0.0.88 Maintainer: costales Build-Depends: python-distutils-extra, debhelper (>=7) Homepage: https://code.launchpad.net/folder-color diff -Nru folder-color-nemo-0.0.87/nemo-extension/folder-color.py folder-color-nemo-0.0.88/nemo-extension/folder-color.py --- folder-color-nemo-0.0.87/nemo-extension/folder-color.py 2019-04-26 16:55:23.000000000 +0000 +++ folder-color-nemo-0.0.88/nemo-extension/folder-color.py 2019-04-28 07:26:28.000000000 +0000 @@ -1,4 +1,4 @@ -# Folder Color 0.0.87 +# Folder Color 0.0.88 # Copyright (C) 2012-2017 Marcos Alvarez Costales https://launchpad.net/~costales # # Folder Color is free software; you can redistribute it and/or modify @@ -15,9 +15,15 @@ # along with Folder Color; if not, see http://www.gnu.org/licenses # for more information. -import os, urllib, gettext +import os, gettext from gi.repository import Nemo, Gtk, GObject, Gio, GLib +# Python 2 or 3 +try: + from urllib import unquote +except ImportError: + from urllib.parse import unquote + # i18n gettext.textdomain('folder-color-common') _ = gettext.gettext @@ -294,7 +300,7 @@ continue # Get metadata file/folder - item_path = urllib.unquote(item.get_uri()[7:]) + item_path = unquote(item.get_uri()[7:]) item = Gio.File.new_for_path(item_path) info = item.query_info('metadata', 0, None) # If any metadata > restore menu @@ -313,7 +319,7 @@ if each_item.is_gone(): continue - item_path = urllib.unquote(each_item.get_uri()[7:]) + item_path = unquote(each_item.get_uri()[7:]) self.foldercolor.set_color(item_path, self._get_skel_folder(item_path, icon)['name']) def _menu_activate_restore_all(self, menu, items): @@ -322,7 +328,7 @@ if each_item.is_gone(): continue - item_path = urllib.unquote(each_item.get_uri()[7:]) + item_path = unquote(each_item.get_uri()[7:]) self.foldercolor.restore_color(item_path) self.foldercolor.restore_emblem(item_path) @@ -332,7 +338,7 @@ if each_item.is_gone(): continue - item_path = urllib.unquote(each_item.get_uri()[7:]) + item_path = unquote(each_item.get_uri()[7:]) self.foldercolor.restore_emblem(item_path) def _menu_activate_emblem(self, menu, emblem, items): @@ -341,7 +347,7 @@ if each_item.is_gone(): continue - item_path = urllib.unquote(each_item.get_uri()[7:]) + item_path = unquote(each_item.get_uri()[7:]) self.foldercolor.set_emblem(item_path, emblem) def _menu_activate_custom_color(self, menu, icon, items): @@ -354,7 +360,7 @@ if each_item.is_gone(): continue - item_path = urllib.unquote(each_item.get_uri()[7:]) + item_path = unquote(each_item.get_uri()[7:]) custom_icon = self._get_skel_folder(item_path, icon) src_file = custom_icon['filename'] diff -Nru folder-color-nemo-0.0.87/setup.py folder-color-nemo-0.0.88/setup.py --- folder-color-nemo-0.0.87/setup.py 2019-04-26 16:55:23.000000000 +0000 +++ folder-color-nemo-0.0.88/setup.py 2019-04-28 07:26:28.000000000 +0000 @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Folder Color 0.0.87 - http://launchpad.net/folder-color +# Folder Color 0.0.88 - http://launchpad.net/folder-color # Copyright (C) 2012-2017 Marcos Alvarez Costales https://launchpad.net/~costales # # folder-color is free software; you can redistribute it and/or modify @@ -26,7 +26,7 @@ # Setup stage DistUtilsExtra.auto.setup( name = "folder-color-nemo", - version = "0.0.87", + version = "0.0.88", description = "Change your folder color in Nemo", author = "Marcos Alvarez Costales https://launchpad.net/~costales", author_email = "https://launchpad.net/~costales",