Changeset 9833

Show
Ignore:
Timestamp:
06/23/08 21:42:40 (2 months ago)
Author:
asterix
Message:

mood and activity menuitem changes to Checkmenuitem

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/roster_window.py

    r9832 r9833  
    45334533                                item.connect('toggled', self.on_publish_tune_toggled, account) 
    45344534                                if have_mood: 
    4535                                         item = gtk.MenuItem(_('Mood')) 
     4535                                        item = gtk.CheckMenuItem(_('Mood')) 
    45364536                                        pep_submenu.append(item) 
     4537                                        item.set_active(len(gajim.connections[account].mood) > 0) 
    45374538                                        item.connect('activate', self.on_change_mood_activate, account) 
    45384539                                if have_activity: 
    4539                                         item = gtk.MenuItem(_('Activity')) 
     4540                                        item = gtk.CheckMenuItem(_('Activity')) 
    45404541                                        pep_submenu.append(item) 
     4542                                        item.set_active(len(gajim.connections[account].activity) > 0) 
    45414543                                        item.connect('activate', self.on_change_activity_activate, 
    45424544                                                account)