From 41a369309370bc2bc4f85dcc00eb76f6dcc83e69 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 17 Nov 2009 18:49:55 -0600 Subject: [PATCH] Minor tweaks --- src/constants.py | 2 +- src/hildonize.py | 14 ++++++++++++++ support/builddeb.py | 6 +++--- support/py2deb.py | 6 ++++-- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/constants.py b/src/constants.py index 665504f..764b3c8 100644 --- a/src/constants.py +++ b/src/constants.py @@ -3,7 +3,7 @@ import os __pretty_app_name__ = "Gonvert" __app_name__ = "gonvert" __version__ = "0.9.0" -__build__ = 4 +__build__ = 5 __app_magic__ = 0xdeadbeef _data_path_ = os.path.join(os.path.expanduser("~"), ".gonvert") _user_settings_ = "%s/settings.ini" % _data_path_ diff --git a/src/hildonize.py b/src/hildonize.py index 84e3c7a..9c83b77 100755 --- a/src/hildonize.py +++ b/src/hildonize.py @@ -184,6 +184,20 @@ else: set_cell_thumb_selectable = _null_set_cell_thumb_selectable +def _hildon_set_pix_cell_thumb_selectable(renderer): + renderer.set_property("stock-size", 48) + + +def _null_set_pix_cell_thumb_selectable(renderer): + pass + + +if IS_HILDON_SUPPORTED: + set_pix_cell_thumb_selectable = _hildon_set_pix_cell_thumb_selectable +else: + set_pix_cell_thumb_selectable = _null_set_pix_cell_thumb_selectable + + def _fremantle_show_information_banner(parent, message): hildon.hildon_banner_show_information(parent, "", message) diff --git a/support/builddeb.py b/support/builddeb.py index 32b7114..e6d0828 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -14,8 +14,8 @@ A conversion utility that allows conversion between many units like CGS, Ancient . Homepage: http://www.unihedron.com/projects/gonvert/index.php """ -__author__ = "Ed Page (Maemo Porter)" -__email__ = "eopage@byu.net" +__author__ = "Anthony Tekatch" +__email__ = "anthony@unihedron.com" __version__ = constants.__version__ __build__ = constants.__build__ __changelog__ = """ @@ -174,7 +174,7 @@ def build_package(distribution): p.prettyName = constants.__pretty_app_name__ p.description = __description__ p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=Gonvert" - p.upgradeDescription = __changelog__.split("\n\n", 1)[0] + #p.upgradeDescription = __changelog__.split("\n\n", 1)[0] p.author = __author__ p.mail = __email__ p.license = "gpl" diff --git a/support/py2deb.py b/support/py2deb.py index 6018f91..59426c7 100644 --- a/support/py2deb.py +++ b/support/py2deb.py @@ -168,7 +168,8 @@ def py2changes(params): fileHandle = open('/tmp/py2deb2.tmp', 'w') fileHandle.write('#!/bin/sh\n') fileHandle.write("cd " +os.getcwd()+ "\n") - fileHandle.write("gpg --local-user %(mail)s --clearsign %(TEMP)s/%(name)s_%(version)s.changes\n" % params) + # TODO Renable signing + # fileHandle.write("gpg --local-user %(mail)s --clearsign %(TEMP)s/%(name)s_%(version)s.changes\n" % params) fileHandle.write("mv %(TEMP)s/%(name)s_%(version)s.changes.asc %(TEMP)s/%(name)s_%(version)s.changes\n" % params) fileHandle.write('\nexit') fileHandle.close() @@ -254,7 +255,8 @@ def py2dsc(TEMP, name, version, depends, author, mail, arch): try: fileHandle.write('#!/bin/sh\n') fileHandle.write("cd " + os.getcwd() + "\n") - fileHandle.write("gpg --local-user %(mail)s --clearsign %(TEMP)s/%(name)s_%(version)s.dsc\n" % locals()) + # TODO Renable signing + # fileHandle.write("gpg --local-user %(mail)s --clearsign %(TEMP)s/%(name)s_%(version)s.dsc\n" % locals()) fileHandle.write("mv %(TEMP)s/%(name)s_%(version)s.dsc.asc %(filename)s\n" % locals()) fileHandle.write('\nexit') fileHandle.close() -- 1.7.9.5