default value for showOffline
This commit is contained in:
parent
10a4e1cec9
commit
869eb8e5d7
|
@ -7,3 +7,7 @@ hostname = SERVER HOSTNAME
|
||||||
name = LOGIN NAME
|
name = LOGIN NAME
|
||||||
password = PASSWORD
|
password = PASSWORD
|
||||||
ressource = gajim
|
ressource = gajim
|
||||||
|
|
||||||
|
[GtkGui]
|
||||||
|
|
||||||
|
showoffline = 0
|
||||||
|
|
|
@ -230,8 +230,11 @@ class roster:
|
||||||
self.optionmenu = self.xml.get_widget('optionmenu')
|
self.optionmenu = self.xml.get_widget('optionmenu')
|
||||||
self.optionmenu.set_history(6)
|
self.optionmenu.set_history(6)
|
||||||
self.tab_messages = {}
|
self.tab_messages = {}
|
||||||
|
showOffline=self.cfgParser.GtkGui_showoffline
|
||||||
|
if showOffline :
|
||||||
self.showOffline=string.atoi(self.cfgParser.GtkGui_showoffline)
|
self.showOffline=string.atoi(self.cfgParser.GtkGui_showoffline)
|
||||||
print self.showOffline
|
else :
|
||||||
|
self.showOffline=0
|
||||||
|
|
||||||
#colonnes
|
#colonnes
|
||||||
self.col = gtk.TreeViewColumn()
|
self.col = gtk.TreeViewColumn()
|
||||||
|
|
Loading…
Reference in New Issue