Changeset 8588

Show
Ignore:
Timestamp:
08/29/07 22:12:19 (15 months ago)
Author:
roidelapluie
Message:

Make idle part of preference window insensitive if idle is not supported. Fix #2949.

Location:
branches/gajim_0.11.1
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/data/glade/preferences_window.glade

    r7984 r8588  
    20322032 
    20332033              <child> 
    2034                 <widget class="GtkTable" id="table19"> 
     2034                <widget class="GtkTable" id="autoaway_table"> 
    20352035                  <property name="visible">True</property> 
    20362036                  <property name="n_rows">2</property> 
  • branches/gajim_0.11.1/src/config.py

    r7984 r8588  
    392392                self.auto_xa_message_entry.set_text(st) 
    393393                self.auto_xa_message_entry.set_sensitive(gajim.config.get('autoxa')) 
     394 
     395                from common import sleepy 
     396                if not sleepy.SUPPORTED: 
     397                        self.xml.get_widget('autoaway_table').set_sensitive(False) 
    394398 
    395399                # ask_status when online / offline