Changeset 2398
- Timestamp:
- 07/19/05 16:25:41 (3 years ago)
- Files:
-
- trunk/scripts/gajim-remote.py (modified) (1 diff)
- trunk/src/remote_control.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/scripts/gajim-remote.py
r2359 r2398 46 46 INTERFACE = 'org.gajim.dbus.RemoteInterface' 47 47 SERVICE = 'org.gajim.dbus' 48 commands = ['help', ' show_roster', 'show_next_unread', 'list_contacts',49 'list_ accounts', 'change_status', 'new_message', 'send_message',50 ' contact_info']48 commands = ['help', 'toggle_roster_appearance', 'show_next_unread', 49 'list_contacts', 'list_accounts', 'change_status', 'new_message', 50 'send_message', 'contact_info'] 51 51 52 52 if _version[1] >= 41: trunk/src/remote_control.py
r2385 r2398 83 83 else: 84 84 DbusPrototype.__init__(self, OBJ_PATH, service, 85 [ self. show_roster,85 [ self.toggle_roster_appearance, 86 86 self.show_next_unread, 87 87 self.list_contacts, … … 260 260 return result 261 261 262 def show_roster(self, *args):262 def toggle_roster_appearance(self, *args): 263 263 ''' shows/hides the roster window ''' 264 264 win = self.plugin.roster.window … … 339 339 # on python < 2.4 340 340 # FIXME: use decorators when python2.3 is OOOOOOLD 341 show_roster = method(INTERFACE)(show_roster)341 toggle_roster_appearance = method(INTERFACE)(toggle_roster_appearance) 342 342 list_contacts = method(INTERFACE)(list_contacts) 343 343 list_accounts = method(INTERFACE)(list_accounts)
