diff --git a/Gtk4_Reset/my_gtkui.json b/Gtk4_Reset/my_gtkui.json index 6797844..c0c2964 100644 --- a/Gtk4_Reset/my_gtkui.json +++ b/Gtk4_Reset/my_gtkui.json @@ -1 +1 @@ -{"background":"/home/dale/图片/Screenshot_20230716_102210.png","background_folders":[],"folder_index":2,"height":576,"image_index":3,"panel_mode":1,"position":0,"width":1024} \ No newline at end of file +{"background":"/home/dale/a776b29775e671740a97c2b10ea114d7.jpg","background_folders":[],"folder_index":1,"height":576,"image_index":2,"panel_mode":1,"position":0,"width":1024} \ No newline at end of file diff --git a/Gtk4_Reset/src/ui/MyPrefs.cpp b/Gtk4_Reset/src/ui/MyPrefs.cpp index 5fbd9e3..ee94f9c 100644 --- a/Gtk4_Reset/src/ui/MyPrefs.cpp +++ b/Gtk4_Reset/src/ui/MyPrefs.cpp @@ -518,7 +518,7 @@ static void my_prefs_save_config(MyPrefs *self) "width": 1024 } )"); - g_print("%s", self->image_file_name); + // g_print("%s", self->image_file_name); data["folder_index"] = folder_index; data["background"] = std::string(self->image_file_name); data["height"] = height; @@ -646,7 +646,7 @@ void my_prefs_first_load(MyPrefs *self) // Update image list by the folder selection do { - g_print("%s", folder_name); + // g_print("%s", folder_name); self->file = g_file_new_for_path(folder_name); GtkDirectoryList *dir_list = gtk_directory_list_new("", self->file); gtk_directory_list_set_file(self->file_list, self->file);