File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
biglinux-webapps/usr/share/biglinux/webapps/webapps/ui Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def setup_ui(self):
131131 self .dont_show_switch .set_active (False )
132132 self .dont_show_switch .set_valign (Gtk .Align .CENTER )
133133
134- switch_label = Gtk .Label (label = _ ("Don't show this dialog on startup" ))
134+ switch_label = Gtk .Label (label = _ ("Show dialog on startup" ))
135135 switch_label .set_xalign (0 )
136136 switch_label .set_hexpand (True )
137137
@@ -212,15 +212,15 @@ def save_preference(self, dont_show=False):
212212 with open (self .config_file , "r+" ) as f :
213213 try :
214214 preferences = json .load (f )
215- preferences ["show_welcome" ] = True
215+ preferences ["show_welcome" ] = False
216216 f .seek (0 )
217217 f .truncate ()
218218 json .dump (preferences , f )
219219 except json .JSONDecodeError :
220220 # If file is corrupted, recreate it
221221 f .seek (0 )
222222 f .truncate ()
223- json .dump ({"show_welcome" : True }, f )
223+ json .dump ({"show_welcome" : False }, f )
224224 except Exception as e :
225225 print (f"Error updating welcome dialog preference: { e } " )
226226
You can’t perform that action at this time.
0 commit comments