@@ -1021,7 +1021,7 @@ def save(self,basedir):
10211021 templist = {"touchyabscolor" :"abs_textcolor" ,"touchyrelcolor" :"rel_textcolor" ,
10221022 "touchydtgcolor" :"dtg_textcolor" ,"touchyerrcolor" :"err_textcolor" }
10231023 for key ,value in templist .items ():
1024- prefs . putpref (value , self [key ], str )
1024+ _APP . set_touchy_preference (value , self [key ], str )
10251025 if self .touchyposition [0 ] or self .touchysize [0 ]:
10261026 pos = size = ""
10271027 if self .touchyposition [0 ]:
@@ -1030,9 +1030,9 @@ def save(self,basedir):
10301030 size = "%dx%d" % (self .touchysize [1 ],self .touchysize [2 ])
10311031 geo = "%s%s" % (size ,pos )
10321032 else : geo = "default"
1033- prefs . putpref ('window_geometry' ,geo , str )
1034- prefs . putpref ('gtk_theme' ,self .touchytheme , str )
1035- prefs . putpref ('window_force_max' , self .touchyforcemax , bool )
1033+ _APP . set_touchy_preference ('window_geometry' ,geo , str )
1034+ _APP . set_touchy_preference ('gtk_theme' ,self .touchytheme , str )
1035+ _APP . set_touchy_preference ('window_force_max' , self .touchyforcemax , bool )
10361036
10371037 # write AXIS rc file for geometry
10381038 if self .frontend == _PD ._AXIS and (self .axisposition [0 ] or self .axissize [0 ] or self .axisforcemax ):
0 commit comments