2 # -*- coding: utf-8 -*-
4 # Project: J-Ben, Python front-end
5 # File: tab_prefsother.py
7 # Created on: 28 Nov 2008
12 class TabPrefsOther(gtk
.VBox
):
14 gtk
.VBox
.__init
__(self
, spacing
= 5)
17 # Not sure what the os.name is under windows; the below is temporary.
19 # Windows only: "mobile mode"
20 self
.chkMobile
= gtk
.CheckButton(
21 _("Mobile mode (settings saved to current directory)"))
22 self
.chkMobile
.connect("toggled", self
.on_mobile_toggle
)
23 self
.pack_start(self
.chkMobile
, expand
= False)
25 def on_mobile_toggle(self
, widget
):
26 print("TabPrefsOther.on_mobile_toggle")
28 def update_prefs(self
):
33 # chkMobile.set_active(prefs->GetSetting("config_save_target") == "mobile");