fixed bug, added new debs and tarball
authormece <mece@mariehamn.(none)>
Thu, 4 Feb 2010 12:07:59 +0000 (14:07 +0200)
committermece <mece@mariehamn.(none)>
Thu, 4 Feb 2010 12:07:59 +0000 (14:07 +0200)
build_setup.py
debian/changelog
debian/copyright
debs/comic-widget_0.3.2-2_all.deb [new file with mode: 0644]
extras-devel/comic-widget_0.3.2-2.changes [new file with mode: 0644]
extras-devel/comic-widget_0.3.2-2.dsc [new file with mode: 0644]
extras-devel/comic-widget_0.3.2-2.tar.gz [new file with mode: 0644]
src/usr/lib/hildon-desktop/comicwidget.py

index 7ec3400..1a9d4b5 100644 (file)
@@ -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):
index 9c488c1..0d0618f 100644 (file)
@@ -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 <mece@ovi.com>  Thu, 04 Feb 2010 13:35:19 +0000
+ -- Marcus Wikstrom <mece@ovi.com>  Thu, 04 Feb 2010 14:05:28 +0000
index 850547c..2f1663e 100644 (file)
@@ -1,5 +1,5 @@
 This package was py2debianized(0.5.3) by Marcus Wikstrom <mece@ovi.com> 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 (file)
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 (file)
index 0000000..d9dea1f
--- /dev/null
@@ -0,0 +1,17 @@
+Maintainer: Marcus Wikstrom <mece@ovi.com>
+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 <mece@ovi.com>
+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 (file)
index 0000000..f118377
--- /dev/null
@@ -0,0 +1,10 @@
+Source: comic-widget
+Version: 0.3.2-2
+Maintainer: Marcus Wikstrom <mece@ovi.com>
+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 (file)
index 0000000..a7a181d
Binary files /dev/null and b/extras-devel/comic-widget_0.3.2-2.tar.gz differ
index 905ce16..5838299 100644 (file)
@@ -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