quickly-talk team mailing list archive
-
quickly-talk team
-
Mailing list archive
-
Message #00076
Re: Updating apps for precise
Hi Allison
I had a look at lp:~mpgallage/opensinhalease/quickly_trunk and it
tries to call desktopcouch
which is unusable in Precise. I stubbed out the desktopcouch calls
and the app runs from the source code now. Patch attached.
There is a porting wiki entry https://wiki.ubuntu.com/Quickly/GTK3
that considers
PyGObject to PyGI
GTK+ 2 to GTK+ 3
GConf to GSettings
but old quickly apps need a desktopcouch to GSettings guide.
On 03/05/2012, Allison Randal <allison@xxxxxxxxxx> wrote:
> We have Quickly apps submitted to the ARB that run just fine on Oneiric,
> but fail to build on Precise. This seems to be related to changes in the
> APIs for GTK (I've attached a build log for one).
>
> Is there a set of simple instructions we can give developers on how to
> update their Quickly apps from Oneiric to Precise?
>
> Thanks!
> Allison
>
=== modified file 'opensinhalease/__init__.py'
--- opensinhalease/__init__.py 2012-04-01 15:51:12 +0000
+++ opensinhalease/__init__.py 2012-05-03 22:28:17 +0000
@@ -67,8 +67,8 @@
}
preferences.update(default_preferences)
# user's stored preferences are used for 2nd and subsequent sessions
- preferences.db_connect()
- preferences.load()
+ #~ preferences.db_connect()
+ #~ preferences.load()
# Run the application.
@@ -91,7 +91,7 @@
gtk.main() #run the mainlambda *a:
- preferences.save() #prefferences of programm saving
+ #~ preferences.save() #prefferences of programm saving
def change_text(): #converting singlish to english in ui
=== modified file 'opensinhalease_lib/preferences.py'
--- opensinhalease_lib/preferences.py 2012-04-01 15:51:12 +0000
+++ opensinhalease_lib/preferences.py 2012-05-03 22:28:17 +0000
@@ -21,8 +21,8 @@
"""Provides a shared preferences dictionary"""
-from desktopcouch.records.server import CouchDatabase
-from desktopcouch.records.record import Record
+#~ from desktopcouch.records.server import CouchDatabase
+#~ from desktopcouch.records.record import Record
import gtk
import gobject
@@ -63,7 +63,7 @@
create if necessary'''
# logging.basicConfig will be called now
- self._database = CouchDatabase(self._db_name, create=True)
+ #~ self._database = CouchDatabase(self._db_name, create=True)
def save(self):
'save to couchdb'
Follow ups
References