1
0
mirror of https://gitlab.cvh-server.de/skrause/flashcards.git synced 2025-12-12 06:41:38 +01:00

push local changes

This commit is contained in:
2025-06-13 20:51:53 +02:00
parent 4910217797
commit ed81f378a5
5 changed files with 33 additions and 19 deletions

View File

@@ -6,4 +6,7 @@
<file preprocess="xml-stripblanks">create-card.ui</file>
<file alias="appdata" compressed="true" preprocess="xml-stripblanks">li.sopht.Flashcards.metainfo.xml</file>
</gresource>
<gresource prefix="/li/sopht/flashcards/icons/scalable/actions/">
<file preprocess="xml-stripblanks">icons/hicolor/scalable/actions/add-card-symbolic.svg</file>
</gresource>
</gresources>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 7 3 v 4 h -4 v 2 h 4 v 4 h 2 v -4 h 4 v -2 h -4 v -4 z m 0 0" fill="#222222"/></svg>

After

Width:  |  Height:  |  Size: 222 B

View File

@@ -11,3 +11,12 @@ install_data(
symbolic_dir / ('@0@-symbolic.svg').format(application_id),
install_dir : get_option('datadir') / 'icons' / symbolic_dir
)
action_dir = 'hicolor' / 'scalable' / 'actions'
action_icons = [
action_dir / 'add-card-symbolic.svg',
]
install_data(
action_icons,
install_dir : get_option('datadir') / 'icons' / action_dir
)

View File

@@ -64,7 +64,7 @@ template $FlashcardsAppWindow : Adw.ApplicationWindow {
Adw.HeaderBar {
[start]
Gtk.Button add_card_button {
icon-name: "list-add-symbolic";
icon-name: "add-card-symbolic";
clicked => $on_add_card();
tooltip-text: _("Add flashcard");
visible: false;