don't show set_status_msg_from_current_music_track_checkbutton if we're under windows. Fixes #2454
This commit is contained in:
parent
7ce1fa4e46
commit
d691ec38dd
|
@ -460,9 +460,14 @@ class PreferencesWindow:
|
||||||
self.xml.get_widget('send_os_info_checkbutton').set_active(st)
|
self.xml.get_widget('send_os_info_checkbutton').set_active(st)
|
||||||
|
|
||||||
# set status msg from currently playing music track
|
# set status msg from currently playing music track
|
||||||
st = gajim.config.get('set_status_msg_from_current_music_track')
|
widget = self.xml.get_widget(
|
||||||
self.xml.get_widget(
|
'set_status_msg_from_current_music_track_checkbutton')
|
||||||
'set_status_msg_from_current_music_track_checkbutton').set_active(st)
|
if os.name == 'nt':
|
||||||
|
widget.set_no_show_all(True)
|
||||||
|
widget.hide()
|
||||||
|
else:
|
||||||
|
st = gajim.config.get('set_status_msg_from_current_music_track')
|
||||||
|
widget.set_active(st)
|
||||||
|
|
||||||
# Notify user of new gmail e-mail messages,
|
# Notify user of new gmail e-mail messages,
|
||||||
# only show checkbox if user has a gtalk account
|
# only show checkbox if user has a gtalk account
|
||||||
|
|
Loading…
Reference in New Issue