~nataliabidart/ubuntu/natty/ubuntu-sso-client/ubuntu-sso-client-1.0.9

« back to all changes in this revision

Viewing changes to ubuntu_sso/gui.py

  • Committer: Ken VanDine
  • Date: 2010-09-22 18:53:18 UTC
  • mfrom: (14.1.2 ubuntu-sso-client-1.0.2)
  • Revision ID: ken.vandine@canonical.com-20100922185318-9rj55e2xidjoz6ow
Tags: 1.0.2-0ubuntu1
releasing version 1.0.2-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
730
730
                        signal, method, iface)
731
731
            remove(method, signal_name=signal, dbus_interface=iface)
732
732
 
733
 
        # destroy main window
 
733
        # hide the main window
734
734
        if self.window is not None:
735
735
            self.window.hide()
736
736
 
 
737
        # process any pending events before emitting signals
 
738
        while gtk.events_pending():
 
739
            gtk.main_iteration()
 
740
 
737
741
        if len(args) > 0 and args[0] in self.cancels:
738
742
            self.window.emit(SIG_USER_CANCELATION, self.app_name)
739
743
        elif len(self._gtk_signal_log) > 0: