default value for showOffline
This commit is contained in:
parent
10a4e1cec9
commit
869eb8e5d7
|
@ -7,3 +7,7 @@ hostname = SERVER HOSTNAME
|
|||
name = LOGIN NAME
|
||||
password = PASSWORD
|
||||
ressource = gajim
|
||||
|
||||
[GtkGui]
|
||||
|
||||
showoffline = 0
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue