[Bug 27329] New: creating a Channel in ObserveChannels is harder than it needs to be

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 26 16:33:19 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=27329

           Summary: creating a Channel in ObserveChannels is harder than it
                    needs to be
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: tp-python
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


15:29 < smcv> sjokkis: def ObserveChannels(self, account, connection, channels, 
              blah, blah, blah)
15:30 < smcv> sjokkis: @connection is the object path of the connection - 
              connection[1:].replace('/', '.') is the bus name
15:30 < smcv> sjokkis: (yeah that's harder than it needs to be)
15:30 < sjokkis> there should be a convenience function for that, at least. but 
                 no big
15:31 < smcv> I think Channel.__init__ should accept either a Connection, a 
              connection bus name or a connection object path as its first 
              argument, and translate to a bus name internally
15:32 * tomeu likes that


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list