mirror of https://github.com/daleclack/My_GtkUi
Add background
This commit is contained in:
parent
f897be881b
commit
0ca2fdf29c
|
@ -51,6 +51,7 @@ set(RESOURCE_LIST
|
|||
STRIPBLANKS win_input.ui
|
||||
STRIPBLANKS scoreswin.ui
|
||||
STRIPBLANKS mine_menu.xml
|
||||
shizuku.png
|
||||
final_approach.png
|
||||
style.css
|
||||
style_dark.css
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.9 MiB |
|
@ -213,6 +213,8 @@ static void images_list_default(GListStore *store1)
|
|||
my_item_new("img7.xpm", ":2", TRUE));
|
||||
g_list_store_append(store1,
|
||||
my_item_new("winpe.xpm", ":3", TRUE));
|
||||
g_list_store_append(store1,
|
||||
my_item_new("shizuku.png", ":4", TRUE));
|
||||
}
|
||||
|
||||
static void update_images_list(MyPrefs *prefs1)
|
||||
|
@ -542,6 +544,9 @@ static void load_image(const char *file_name, int image_item_index,
|
|||
case '3':
|
||||
update_internal_image(prefs, winpe);
|
||||
break;
|
||||
case '4':
|
||||
update_resource_image(prefs, "/org/gtk/daleclack/shizuku.png");
|
||||
break;
|
||||
}
|
||||
prefs->current_image_index = image_item_index;
|
||||
strncpy(prefs->image_file_name, file_name, PATH_MAX);
|
||||
|
|
Loading…
Reference in New Issue