From adec1dc64808598733a55fb64567f5d769bc8978 Mon Sep 17 00:00:00 2001 From: Sean Davis Date: Sun, 24 Aug 2014 12:14:29 -0400 Subject: [PATCH] Update version number and release notes. --- NEWS | 7 +++++++ data/appdata/mugshot.appdata.xml.in | 9 +++++++++ mugshot/CameraMugshotDialog.py | 2 +- mugshot/MugshotWindow.py | 3 +-- mugshot/__init__.py | 2 +- mugshot_lib/Builder.py | 10 +++++----- mugshot_lib/CameraDialog.py | 2 +- mugshot_lib/Window.py | 2 +- mugshot_lib/__init__.py | 6 +++--- mugshot_lib/helpers.py | 2 +- mugshot_lib/mugshotconfig.py | 4 ++-- po/mugshot.pot | 31 ++++++++++++++++++----------- setup.py | 4 ++-- 13 files changed, 53 insertions(+), 31 deletions(-) diff --git a/NEWS b/NEWS index 54aac49..89283b5 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ Mugshot NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +Next release, Mugshot 0.4.0 + + - General + . Improve usability for LDAP users + . Include latest SudoDialog + + 02 Aug 2014, Mugshot 0.2.4 - General diff --git a/data/appdata/mugshot.appdata.xml.in b/data/appdata/mugshot.appdata.xml.in index 28d7d0e..2196a68 100644 --- a/data/appdata/mugshot.appdata.xml.in +++ b/data/appdata/mugshot.appdata.xml.in @@ -37,6 +37,15 @@ + + + <_p>This stable release improves Mugshot functionality for LDAP users, + and includes the latest SudoDialog, improving the appearance and + usability of the password dialog. + + + + <_p>This stable release improves the user configuration (chfn) backend diff --git a/mugshot/CameraMugshotDialog.py b/mugshot/CameraMugshotDialog.py index 28d091e..877d080 100644 --- a/mugshot/CameraMugshotDialog.py +++ b/mugshot/CameraMugshotDialog.py @@ -8,7 +8,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but diff --git a/mugshot/MugshotWindow.py b/mugshot/MugshotWindow.py index e4c9fff..35323be 100644 --- a/mugshot/MugshotWindow.py +++ b/mugshot/MugshotWindow.py @@ -444,8 +444,7 @@ class MugshotWindow(Window): (path,) = result.unpack() variant = GLib.Variant('(s)', - ('org.freedesktop.Accounts.User',) - ) + ('org.freedesktop.Accounts.User',)) result = bus.call_sync('org.freedesktop.Accounts', path, 'org.freedesktop.DBus.Properties', diff --git a/mugshot/__init__.py b/mugshot/__init__.py index 0611b16..ed3f686 100644 --- a/mugshot/__init__.py +++ b/mugshot/__init__.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but diff --git a/mugshot_lib/Builder.py b/mugshot_lib/Builder.py index af1e9ad..d3278ca 100644 --- a/mugshot_lib/Builder.py +++ b/mugshot_lib/Builder.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -234,10 +234,10 @@ def dict_from_callback_obj(callback_obj): aliased_methods = [x[1] for x in methods if hasattr(x[1], 'aliases')] # a method may have several aliases - #~ @alias('on_btn_foo_clicked') - #~ @alias('on_tool_foo_activate') - #~ on_menu_foo_activate(): - #~ pass + # ~ @alias('on_btn_foo_clicked') + # ~ @alias('on_tool_foo_activate') + # ~ on_menu_foo_activate(): + # ~ pass alias_groups = [(x.aliases, x) for x in aliased_methods] aliases = [] diff --git a/mugshot_lib/CameraDialog.py b/mugshot_lib/CameraDialog.py index 510afe2..117f34b 100644 --- a/mugshot_lib/CameraDialog.py +++ b/mugshot_lib/CameraDialog.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but diff --git a/mugshot_lib/Window.py b/mugshot_lib/Window.py index 2ef0cd1..24174f8 100644 --- a/mugshot_lib/Window.py +++ b/mugshot_lib/Window.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but diff --git a/mugshot_lib/__init__.py b/mugshot_lib/__init__.py index ca6e95c..26ca4cf 100644 --- a/mugshot_lib/__init__.py +++ b/mugshot_lib/__init__.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -19,8 +19,8 @@ '''facade - makes mugshot_lib package easy to refactor while keeping its api constant''' -#lint:disable +# lint:disable from . helpers import set_up_logging from . Window import Window from . mugshotconfig import get_version -#lint:enable +# lint:enable diff --git a/mugshot_lib/helpers.py b/mugshot_lib/helpers.py index ef76a71..4af0e5d 100644 --- a/mugshot_lib/helpers.py +++ b/mugshot_lib/helpers.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but diff --git a/mugshot_lib/mugshotconfig.py b/mugshot_lib/mugshotconfig.py index cfa9d86..aa2a5df 100644 --- a/mugshot_lib/mugshotconfig.py +++ b/mugshot_lib/mugshotconfig.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -26,7 +26,7 @@ __all__ = [ # files). By default, this is ../data, relative your trunk layout __mugshot_data_directory__ = '../data/' __license__ = 'GPL-3+' -__version__ = '0.2.4' +__version__ = '0.4.0' import os diff --git a/po/mugshot.pot b/po/mugshot.pot index 16cc019..a214652 100644 --- a/po/mugshot.pot +++ b/po/mugshot.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-24 11:44-0400\n" +"POT-Creation-Date: 2014-08-24 12:12-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -61,7 +61,7 @@ msgstr "" msgid "Browse…" msgstr "" -#: ../data/ui/MugshotWindow.ui.h:9 ../mugshot/MugshotWindow.py:589 +#: ../data/ui/MugshotWindow.ui.h:9 ../mugshot/MugshotWindow.py:588 msgid "Mugshot" msgstr "" @@ -146,29 +146,29 @@ msgstr "" msgid "User details were not updated." msgstr "" -#: ../mugshot/MugshotWindow.py:499 +#: ../mugshot/MugshotWindow.py:498 msgid "Update Pidgin buddy icon?" msgstr "" -#: ../mugshot/MugshotWindow.py:500 +#: ../mugshot/MugshotWindow.py:499 msgid "Would you also like to update your Pidgin buddy icon?" msgstr "" -#: ../mugshot/MugshotWindow.py:590 +#: ../mugshot/MugshotWindow.py:589 msgid "Enter your password to change user details." msgstr "" -#: ../mugshot/MugshotWindow.py:592 +#: ../mugshot/MugshotWindow.py:591 msgid "" "This is a security measure to prevent unwanted updates\n" "to your personal information." msgstr "" -#: ../mugshot/MugshotWindow.py:797 +#: ../mugshot/MugshotWindow.py:796 msgid "Update LibreOffice user details?" msgstr "" -#: ../mugshot/MugshotWindow.py:798 +#: ../mugshot/MugshotWindow.py:797 msgid "Would you also like to update your user details in LibreOffice?" msgstr "" @@ -230,6 +230,13 @@ msgstr "" #: ../data/appdata/mugshot.appdata.xml.in.h:5 msgid "" +"This stable release improves Mugshot functionality for LDAP users, and " +"includes the latest SudoDialog, improving the appearance and usability of " +"the password dialog." +msgstr "" + +#: ../data/appdata/mugshot.appdata.xml.in.h:6 +msgid "" "This stable release improves the user configuration (chfn) backend and " "prevents Mugshot from locking up. Mugshot also no longer depends on " "AccountsService, but can leverage it to better support some systems. A " @@ -237,28 +244,28 @@ msgid "" "addressed." msgstr "" -#: ../data/appdata/mugshot.appdata.xml.in.h:6 +#: ../data/appdata/mugshot.appdata.xml.in.h:7 msgid "" "This stable release improved AccountsService functionality and overall " "usability. Users without admin rights can no longer attempt to change their " "name, and initials are automatically populated when the name is entered." msgstr "" -#: ../data/appdata/mugshot.appdata.xml.in.h:7 +#: ../data/appdata/mugshot.appdata.xml.in.h:8 msgid "" "This stable release fixed a crash that occured when saving user details in a " "non-English locale. This release also included an updated translation " "template and new translations." msgstr "" -#: ../data/appdata/mugshot.appdata.xml.in.h:8 +#: ../data/appdata/mugshot.appdata.xml.in.h:9 msgid "" "This stable release fixed several bugs related to profile image management, " "introduced an improved password dialog, and transitioned to using GLib to " "more reliably determine user and environment settings." msgstr "" -#: ../data/appdata/mugshot.appdata.xml.in.h:9 +#: ../data/appdata/mugshot.appdata.xml.in.h:10 msgid "" "The first stable release introduced simplified packaging, replaced the Help " "functionality with the online help documents, and transitioned to using " diff --git a/setup.py b/setup.py index da8cb49..fc28d93 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -185,7 +185,7 @@ class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto): DistUtilsExtra.auto.setup( name='mugshot', - version='0.2.4', + version='0.4.0', license='GPL-3+', author='Sean Davis', author_email='smd.seandavis@gmail.com',