Changeset 7984 for branches/gajim_0.11/src/message_control.py
- Timestamp:
- 02/15/07 19:05:38 (21 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11/src/message_control.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11/src/message_control.py
r7829 r7984 26 26 '''An abstract base widget that can embed in the gtk.Notebook of a MessageWindow''' 27 27 28 def __init__(self, type_id, parent_win, widget_name, display_names, contact, account, resource = None): 29 '''The display_names argument is a two element tuple containing the desired 30 display name (pretty string) for the control in both singular and plural form''' 28 def __init__(self, type_id, parent_win, widget_name, contact, account, resource = None): 31 29 # dict { cb id : widget} 32 30 # keep all registered callbacks of widgets, created by self.xml … … 35 33 self.parent_win = parent_win 36 34 self.widget_name = widget_name 37 self.display_names = display_names38 35 self.contact = contact 39 36 self.account = account
