Merge lp:~cmiller/desktopcouch/keyring-access-description into lp:desktopcouch

Proposed by Chad Miller
Status: Merged
Approved by: Chad Miller
Approved revision: 89
Merged at revision: not available
Proposed branch: lp:~cmiller/desktopcouch/keyring-access-description
Merge into: lp:desktopcouch
Diff against target: 39 lines
3 files modified
bin/desktopcouch-pair (+3/-0)
bin/desktopcouch-service (+2/-0)
desktopcouch/replication_services/ubuntuone.py (+0/-2)
To merge this branch: bzr merge lp:~cmiller/desktopcouch/keyring-access-description
Reviewer Review Type Date Requested Status
Stuart Langridge (community) Approve
Review via email: mp+13348@code.launchpad.net

Commit message

Set gobject application name at program start, so keychain access has a useful name. (LP: #451333)

To post a comment you must log in.
Revision history for this message
Stuart Langridge (sil) wrote :

Good call. markgsaye mentioned this a few days ago and I meant to file a bug about it :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/desktopcouch-pair'
--- bin/desktopcouch-pair 2009-09-28 18:58:18 +0000
+++ bin/desktopcouch-pair 2009-10-14 14:55:19 +0000
@@ -882,6 +882,9 @@
882882
883def main(args):883def main(args):
884 """Start execution."""884 """Start execution."""
885 import gobject
886 gobject.set_application_name("desktopcouch pairing tool")
887
885 global pick_or_listen # pylint: disable-msg=W0601888 global pick_or_listen # pylint: disable-msg=W0601
886889
887 logging.basicConfig(level=logging.DEBUG, format=890 logging.basicConfig(level=logging.DEBUG, format=
888891
=== modified file 'bin/desktopcouch-service'
--- bin/desktopcouch-service 2009-09-28 15:56:44 +0000
+++ bin/desktopcouch-service 2009-10-14 14:55:19 +0000
@@ -70,6 +70,8 @@
7070
71if __name__ == "__main__":71if __name__ == "__main__":
72 import xdg.BaseDirectory72 import xdg.BaseDirectory
73 import gobject
74 gobject.set_application_name("desktopcouch service")
7375
74 log_directory = os.path.join(xdg.BaseDirectory.xdg_cache_home,76 log_directory = os.path.join(xdg.BaseDirectory.xdg_cache_home,
75 "desktop-couch/log")77 "desktop-couch/log")
7678
=== modified file 'desktopcouch/replication_services/ubuntuone.py'
--- desktopcouch/replication_services/ubuntuone.py 2009-09-28 15:13:33 +0000
+++ desktopcouch/replication_services/ubuntuone.py 2009-10-14 14:55:19 +0000
@@ -52,8 +52,6 @@
5252
53def get_oauth_token(consumer):53def get_oauth_token(consumer):
54 """Get the token from the keyring"""54 """Get the token from the keyring"""
55 import gobject
56 gobject.set_application_name("desktopcouch replication to Ubuntu One")
57 try:55 try:
58 items = gnomekeyring.find_items_sync(56 items = gnomekeyring.find_items_sync(
59 gnomekeyring.ITEM_GENERIC_SECRET,57 gnomekeyring.ITEM_GENERIC_SECRET,

Subscribers

People subscribed via source and target branches