default value for showOffline

This commit is contained in:
Yann Leboulanger 2003-10-23 20:26:22 +00:00
parent 10a4e1cec9
commit 869eb8e5d7
2 changed files with 9 additions and 2 deletions

View File

@ -7,3 +7,7 @@ hostname = SERVER HOSTNAME
name = LOGIN NAME
password = PASSWORD
ressource = gajim
[GtkGui]
showoffline = 0

View File

@ -230,8 +230,11 @@ class roster:
self.optionmenu = self.xml.get_widget('optionmenu')
self.optionmenu.set_history(6)
self.tab_messages = {}
self.showOffline=string.atoi(self.cfgParser.GtkGui_showoffline)
print self.showOffline
showOffline=self.cfgParser.GtkGui_showoffline
if showOffline :
self.showOffline=string.atoi(self.cfgParser.GtkGui_showoffline)
else :
self.showOffline=0
#colonnes
self.col = gtk.TreeViewColumn()