From: mece Date: Thu, 4 Feb 2010 12:07:59 +0000 (+0200) Subject: fixed bug, added new debs and tarball X-Git-Url: http://git.maemo.org/git/?p=comic-widget;a=commitdiff_plain;h=aed82ab3ee24bebc273ba85c23b0ed6535449ef9 fixed bug, added new debs and tarball --- diff --git a/build_setup.py b/build_setup.py index 7ec3400..1a9d4b5 100644 --- a/build_setup.py +++ b/build_setup.py @@ -37,9 +37,9 @@ if __name__ == "__main__": # p.prer 1000 emove="""#!/bin/sh # chmod +x /usr/bin/mclock.py""" #Set here your pre remove script version = "0.3.2" #Version of your software, e.g. "1.2.0" or "0.8.2" - build = "1" #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software. + build = "2" #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software. #Text with changelog information to be displayed in the package "Details" tab of the Maemo Application Manager - changeloginformation = "A lot of bugfixes. Changed the fetch newer method to fetch one at a time, like fetch earlier" + changeloginformation = "fixed bug with comic list buttons" dir_name = "src" #Name of the subfolder containing your package source files (e.g. usr\share\icons\hicolor\scalable\myappicon.svg, usr\lib\myapp\somelib.py). We suggest to leave it named src in all projects and will refer to that in the wiki article on maemo.org #Thanks to DareTheHair from talk.maemo.org for this snippet that recursively builds the file list for root, dirs, files in os.walk(dir_name): diff --git a/debian/changelog b/debian/changelog index 9c488c1..0d0618f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -comic-widget (0.3.2-1) stable; urgency=low +comic-widget (0.3.2-2) stable; urgency=low - A lot of bugfixes. Changed the fetch newer method to fetch one at a time, like fetch earlier + fixed bug with comic list buttons - -- Marcus Wikstrom Thu, 04 Feb 2010 13:35:19 +0000 + -- Marcus Wikstrom Thu, 04 Feb 2010 14:05:28 +0000 diff --git a/debian/copyright b/debian/copyright index 850547c..2f1663e 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,5 +1,5 @@ This package was py2debianized(0.5.3) by Marcus Wikstrom on -Thu, 04 Feb 2010 13:35:19 +0000. +Thu, 04 Feb 2010 14:05:28 +0000. It was downloaded from diff --git a/debs/comic-widget_0.3.2-2_all.deb b/debs/comic-widget_0.3.2-2_all.deb new file mode 100644 index 0000000..283fcdb Binary files /dev/null and b/debs/comic-widget_0.3.2-2_all.deb differ diff --git a/extras-devel/comic-widget_0.3.2-2.changes b/extras-devel/comic-widget_0.3.2-2.changes new file mode 100644 index 0000000..d9dea1f --- /dev/null +++ b/extras-devel/comic-widget_0.3.2-2.changes @@ -0,0 +1,17 @@ +Maintainer: Marcus Wikstrom +Format: 1.7 +Source: comic-widget +Version: 0.3.2-2 +Architecture: all +Date: Thu, 04 Feb 2010 12:05:38 +0000 +Distribution: fremantle +Urgency: low +Description: + A widget that displays comics taken from the web. +Changes: + fixed bug with comic list buttons +Changed-By: Marcus Wikstrom +Files: + 8fd30594d606a808ca6328fcba3afe99 69301 user/desktop extras-devel comic-widget_0.3.2-2.tar.gz + aa14911752cb0074c00da047a25a4711 349 user/desktop extras-devel comic-widget_0.3.2-2.dsc + diff --git a/extras-devel/comic-widget_0.3.2-2.dsc b/extras-devel/comic-widget_0.3.2-2.dsc new file mode 100644 index 0000000..f118377 --- /dev/null +++ b/extras-devel/comic-widget_0.3.2-2.dsc @@ -0,0 +1,10 @@ +Source: comic-widget +Version: 0.3.2-2 +Maintainer: Marcus Wikstrom +Architecture: all +Format: 1.0 +Build-Depends: python2.5, python-osso, python-gtk2, python-hildon, python-hildondesktop, python2.5-cairo, hildon-desktop-python-loader +Standards-Version: 0.3.2-2 +Files: + 8fd30594d606a808ca6328fcba3afe99 69301 comic-widget_0.3.2-2.tar.gz + diff --git a/extras-devel/comic-widget_0.3.2-2.tar.gz b/extras-devel/comic-widget_0.3.2-2.tar.gz new file mode 100644 index 0000000..a7a181d Binary files /dev/null and b/extras-devel/comic-widget_0.3.2-2.tar.gz differ diff --git a/src/usr/lib/hildon-desktop/comicwidget.py b/src/usr/lib/hildon-desktop/comicwidget.py index 905ce16..5838299 100644 --- a/src/usr/lib/hildon-desktop/comicwidget.py +++ b/src/usr/lib/hildon-desktop/comicwidget.py @@ -943,6 +943,7 @@ class ComicHomePlugin(hildondesktop.HomePluginItem): comiclist = comics.keys() comiclist.sort() buttonlist = {} + self.connlist = {} for comicid in comiclist: buttonlist[comicid] = hildon.Button(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL) print buttonlist[comicid].get_name() @@ -955,10 +956,10 @@ class ComicHomePlugin(hildondesktop.HomePluginItem): break if active: buttonlist[comicid].set_text(comics[comicid]['name'] + " *", comicid + ": click to remove") - buttonlist[comicid].connect("clicked", self.remove_comic) + self.connlist[comicid] = buttonlist[comicid].connect("clicked", self.remove_comic) else: buttonlist[comicid].set_text(comics[comicid]['name'], comicid + ": click to add") - buttonlist[comicid].connect("clicked", self.add_comic) + self.connlist[comicid] = buttonlist[comicid].connect("clicked", self.add_comic) dialog.vbox.pack_start(buttonlist[comicid], True, True, 0) @@ -981,6 +982,8 @@ class ComicHomePlugin(hildondesktop.HomePluginItem): dbw.writerow(self.active_comics) dbf.close() widget.set_text(comics[comicid]['name'] + " *", comicid + ": click to remove") + widget.disconnect(self.connlist[comicid]) + self.connlist[comicid] = widget.connect("clicked", self.remove_comic) def remove_comic(self, widget): print "remove " + widget.get_title() @@ -999,6 +1002,8 @@ class ComicHomePlugin(hildondesktop.HomePluginItem): dbw.writerow(self.active_comics) dbf.close() widget.set_text(comics[comicid]['name'], comicid + ": click to add") + widget.disconnect(self.connlist[comicid]) + self.connlist[comicid] = widget.connect("clicked", self.add_comic) hd_plugin_type = ComicHomePlugin