Show
Ignore:
Timestamp:
12/15/07 22:04:49 (11 months ago)
Author:
nicfit
Message:

Scratch the chckbox for with roster mode, use one_message_window opt and combo

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/one_window/src/config.py

    r9152 r9154  
    151151                        self.one_window_type_combobox.set_active(0) 
    152152 
    153                 # Set sensitive of combined roster/msgs checkbox iff one_message_window is 'always' 
    154                 if type == 'always': 
    155                         self.xml.get_widget('one_window_with_roster_checkbutton').set_sensitive(True) 
    156                 else: 
    157                         self.xml.get_widget('one_window_with_roster_checkbutton').set_sensitive(False) 
    158  
    159153                # Compact View 
    160154                st = gajim.config.get('compact_view') 
     
    182176                iconsets_list = os.listdir(os.path.join(gajim.DATA_DIR, 'iconsets')) 
    183177                if os.path.isdir(gajim.MY_ICONSETS_PATH): 
    184                         iconsets_list += os.listdir(gajim.MY_ICONSETS_PATH)  
     178                        iconsets_list += os.listdir(gajim.MY_ICONSETS_PATH) 
    185179                # new model, image in 0, string in 1 
    186180                model = gtk.ListStore(gtk.Image, str) 
     
    653647                active = widget.get_active() 
    654648                config_type = common.config.opt_one_window_types[active] 
    655                 if config_type == 'always': 
    656                         self.xml.get_widget('one_window_with_roster_checkbutton').set_sensitive(True) 
    657                 else: 
    658                         self.xml.get_widget('one_window_with_roster_checkbutton').set_sensitive(False) 
    659649                gajim.config.set('one_message_window', config_type) 
    660650                gajim.interface.save_config() 
    661651                gajim.interface.msg_win_mgr.reconfig() 
    662  
    663         def on_one_window_with_roster_checkbutton_toggled(self, widget): 
    664                 active = widget.get_active() 
    665                 gajim.config.set('one_message_window_with_roster', active) 
    666                 gajim.interface.save_config() 
    667                 # FIXME 
    668                 #gajim.interface.msg_win_mgr.reconfig() 
    669652 
    670653        def on_compact_view_checkbutton_toggled(self, widget):