Changeset 2398

Show
Ignore:
Timestamp:
07/19/05 16:25:41 (3 years ago)
Author:
nk
Message:

show_roster ==> toggle_roster_appearance

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/scripts/gajim-remote.py

    r2359 r2398  
    4646INTERFACE = 'org.gajim.dbus.RemoteInterface' 
    4747SERVICE = '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'] 
     48commands = ['help', 'toggle_roster_appearance', 'show_next_unread', 
     49        'list_contacts',       'list_accounts', 'change_status', 'new_message', 
     50        'send_message', 'contact_info'] 
    5151         
    5252if _version[1] >= 41: 
  • trunk/src/remote_control.py

    r2385 r2398  
    8383                else: 
    8484                        DbusPrototype.__init__(self, OBJ_PATH, service,  
    85                         [       self.show_roster
     85                        [       self.toggle_roster_appearance
    8686                                self.show_next_unread, 
    8787                                self.list_contacts, 
     
    260260                return result 
    261261 
    262         def show_roster(self, *args): 
     262        def toggle_roster_appearance(self, *args): 
    263263                ''' shows/hides the roster window ''' 
    264264                win = self.plugin.roster.window 
     
    339339                # on python < 2.4 
    340340                # FIXME: use decorators when python2.3 is OOOOOOLD 
    341                 show_roster = method(INTERFACE)(show_roster
     341                toggle_roster_appearance = method(INTERFACE)(toggle_roster_appearance
    342342                list_contacts = method(INTERFACE)(list_contacts) 
    343343                list_accounts = method(INTERFACE)(list_accounts)