Skip to content

Commit

Permalink
changed open demo folder object id
Browse files Browse the repository at this point in the history
  • Loading branch information
mijorus committed Jun 4, 2023
1 parent a1a6460 commit 68968bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gtk/tutorial/3.ui
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<property name="valign">3</property>
<property name="halign">3</property>
<child>
<object class="GtkButton" id="open-preferences">
<object class="GtkButton" id="open-demo-folder">
<property name="label" translatable="yes">Open demo folder</property>
<property name="margin-bottom">10</property>
<property name="vexpand">0</property>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/json_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@


def read_json_config(name: str):
logging.debug(f'Reading config from {path}')
path = f'{GLib.get_user_config_dir()}/{name}.json'
logging.debug(f'Reading config from {path}')

if not os.path.isfile(path):
return {}
Expand Down

0 comments on commit 68968bb

Please sign in to comment.