fix typo
This commit is contained in:
parent
02ce0f1e99
commit
79a3ee06ed
|
@ -88,7 +88,7 @@ class Chat:
|
||||||
else:
|
else:
|
||||||
nb_pos = gtk.POS_TOP
|
nb_pos = gtk.POS_TOP
|
||||||
self.notebook.set_tab_pos(nb_pos)
|
self.notebook.set_tab_pos(nb_pos)
|
||||||
self.notebook.set_show_tabs(gajim.config.get('tabs_always_show'))
|
self.notebook.set_show_tabs(gajim.config.get('tabs_always_visible'))
|
||||||
self.notebook.set_show_border(gajim.config.get('tabs_border'))
|
self.notebook.set_show_border(gajim.config.get('tabs_border'))
|
||||||
|
|
||||||
def update_font(self):
|
def update_font(self):
|
||||||
|
@ -175,7 +175,9 @@ class Chat:
|
||||||
nickname = hb.get_children()[0]
|
nickname = hb.get_children()[0]
|
||||||
close_button = hb.get_children()[1]
|
close_button = hb.get_children()[1]
|
||||||
|
|
||||||
if not gajim.config.get('tab_close_button'):
|
if gajim.config.get('tabs_close_button'):
|
||||||
|
close_button.show()
|
||||||
|
else:
|
||||||
close_button.hide()
|
close_button.hide()
|
||||||
|
|
||||||
#FIXME: when gtk2.4 is OOOOLD do it via glade2.10+
|
#FIXME: when gtk2.4 is OOOOLD do it via glade2.10+
|
||||||
|
|
|
@ -142,7 +142,7 @@ class Config:
|
||||||
'last_sounds_dir': [opt_str, ''],
|
'last_sounds_dir': [opt_str, ''],
|
||||||
#FIXME: add combobox in prefs for this in .9
|
#FIXME: add combobox in prefs for this in .9
|
||||||
'tabs_position': [opt_str, 'top'], # top, bottom, left, right
|
'tabs_position': [opt_str, 'top'], # top, bottom, left, right
|
||||||
'tabs_always_show': [opt_bool, False], # show tab if one tab?
|
'tabs_always_visible': [opt_bool, False], # show tab if one tab?
|
||||||
'tabs_border': [opt_bool, False], # border if one tab?
|
'tabs_border': [opt_bool, False], # border if one tab?
|
||||||
'tabs_close_button': [opt_bool, True], # close button in tab?
|
'tabs_close_button': [opt_bool, True], # close button in tab?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue