Changeset 9026
- Timestamp:
- 11/20/07 23:45:13 (13 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
data/glade/chat_to_muc_window.glade (modified) (1 diff)
-
src/dialogs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/glade/chat_to_muc_window.glade
r8550 r9026 8 8 <property name="title" translatable="yes">Invite Friends !</property> 9 9 <signal name="key_press_event" handler="on_chat_to_muc_window_key_press_event"/> 10 <signal name="destroy" handler="on_chat_to_muc_window_destroy"/> 10 11 <child> 11 12 <widget class="GtkVBox" id="general_vbox"> -
trunk/src/dialogs.py
r8974 r9026 3357 3357 3358 3358 class TransformChatToMUC: 3359 # Keep a reference on windows so garbage collector don't restroy them 3360 instances = [] 3359 3361 def __init__(self, account, jids, preselected = None): 3360 3362 '''This window is used to trasform a one-to-one chat to a MUC. 3361 3363 We do 2 things: first select the server and then make a guests list.''' 3362 3364 3365 self.instances.append(self) 3363 3366 self.account = account 3364 3367 self.auto_jids = jids … … 3447 3450 self.xml.signal_autoconnect(self) 3448 3451 3452 def on_chat_to_muc_window_destroy(self, widget): 3453 self.instances.remove(self) 3454 3449 3455 def on_chat_to_muc_window_key_press_event(self, widget, event): 3450 3456 if event.keyval == gtk.keysyms.Escape: # ESCAPE
