Changeset 9156 for branches/one_window

Show
Ignore:
Timestamp:
12/16/07 01:04:45 (11 months ago)
Author:
nicfit
Message:

Merged revisions 9142-9155 via svnmerge from
svn://88.191.11.156/gajim/trunk

........

r9143 | nicfit | 2007-12-13 20:32:59 -0700 (Thu, 13 Dec 2007) | 2 lines


svnmerge.py init one_window branch

........

r9146 | asterix | 2007-12-15 01:31:42 -0700 (Sat, 15 Dec 2007) | 2 lines


[shprotx] fix loading of multiple SSL certificates and better error message. fixes #3619

........

r9147 | asterix | 2007-12-15 02:04:10 -0700 (Sat, 15 Dec 2007) | 2 lines


[shprotx] save config when gnome sessions ends. fixes #3618

........

r9148 | asterix | 2007-12-15 05:10:25 -0700 (Sat, 15 Dec 2007) | 2 lines


get SSL error message where it is in Error instance

........

r9149 | asterix | 2007-12-15 05:15:10 -0700 (Sat, 15 Dec 2007) | 2 lines


don't crash when dbus is not supported

........

r9150 | asterix | 2007-12-15 05:33:21 -0700 (Sat, 15 Dec 2007) | 2 lines


fix showing of systray popup menu under Windows. fixes #3611

........

r9151 | asterix | 2007-12-15 05:41:39 -0700 (Sat, 15 Dec 2007) | 2 lines


fix creation of account on server that supports dataforms

........

Location:
branches/one_window
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • branches/one_window

    • Property svnmerge-integrated changed from /trunk:1-9141 to /trunk:1-9155
  • branches/one_window/src/common/connection_handlers.py

    r9138 r9156  
    836836                                        'pep': 
    837837                                                self.pep_supported = True 
    838                                                 listener = MusicTrackListener.get() 
    839                                                 track = listener.get_playing_track() 
    840                                                 if gajim.config.get('publish_tune'): 
    841                                                         gajim.interface.roster._music_track_changed(listener, 
    842                                                                         track, self.name) 
     838                                                if dbus_support.supported: 
     839                                                        listener = MusicTrackListener.get() 
     840                                                        track = listener.get_playing_track() 
     841                                                        if gajim.config.get('publish_tune'): 
     842                                                                gajim.interface.roster._music_track_changed(listener, 
     843                                                                                track, self.name) 
    843844                                                break 
    844845                        if features.__contains__(common.xmpp.NS_BYTESTREAM): 
  • branches/one_window/src/common/connection.py

    r9137 r9156  
    11151115                if is_form: 
    11161116                        # Get username and password and put them in new_account_info 
    1117                         for field in self._data_form.iter_fields(): 
     1117                        for field in form.iter_fields(): 
    11181118                                if field.var == 'username': 
    11191119                                        self.new_account_info['name'] = field.value 
  • branches/one_window/src/common/xmpp/transports_nb.py

    r9095 r9156  
    762762                                if 'BEGIN CERTIFICATE' in line: 
    763763                                        begin = i 
    764                                         continue 
    765764                                elif 'END CERTIFICATE' in line and begin > -1: 
    766765                                        cert = ''.join(lines[begin:i+2]) 
     
    769768                                                        OpenSSL.crypto.FILETYPE_PEM, cert) 
    770769                                                store.add_cert(X509cert) 
     770                                        except OpenSSL.crypto.Error, exception_obj: 
     771                                                log.warning('Unable to load a certificate from file %s: %s' %\ 
     772                                                        (gajim.MY_CACERTS, exception_obj.args[0][0][2])) 
    771773                                        except: 
    772                                                 log.warning('Unable to load a certificate from file %s' % \ 
     774                                                log.warning( 
     775                                                        'Unknown error while loading certificate from file %s' % \ 
    773776                                                        gajim.MY_CACERTS) 
    774777                                        begin = -1 
  • branches/one_window/src/gajim.py

    r9125 r9156  
    29152915                else: 
    29162916                        def die_cb(cli): 
    2917                                 gtk.main_quit() 
     2917                                gajim.interface.roster.quit_gtkgui_interface() 
    29182918                        gnome.program_init('gajim', gajim.version) 
    29192919                        cli = gnome.ui.master_client() 
  • branches/one_window/src/systray.py

    r8951 r9156  
    248248                sounds_mute_menuitem.set_active(not gajim.config.get('sounds_on')) 
    249249 
    250                 if os.name == 'nt':  
     250                if os.name == 'nt': 
    251251                        if gtk.pygtk_version >= (2, 10, 0) and gtk.gtk_version >= (2, 10, 0): 
    252252                                if self.added_hide_menuitem is False: 
    253                                         self.systray_context_menu.prepend(gtk.SeparatorMenuItem())  
    254                                         item = gtk.MenuItem(_('Hide this menu'))  
    255                                         self.systray_context_menu.prepend(item)  
    256                                         self.added_hide_menuitem = True  
    257                                 self.systray_context_menu.popup(None, None, 
    258                                         gtk.status_icon_position_menu, event_button, 
    259                                         event_time, self.status_icon) 
    260  
    261                 else: # GNU and Unices 
    262                         self.systray_context_menu.popup(None, None, None, event_button, 
    263                                 event_time) 
     253                                        self.systray_context_menu.prepend(gtk.SeparatorMenuItem()) 
     254                                        item = gtk.MenuItem(_('Hide this menu')) 
     255                                        self.systray_context_menu.prepend(item) 
     256                                        self.added_hide_menuitem = True 
     257 
    264258                self.systray_context_menu.show_all() 
     259                self.systray_context_menu.popup(None, None, None, event_button, 
     260                        event_time) 
    265261 
    266262        def on_show_all_events_menuitem_activate(self, widget):