mirror of
https://gitlab.cvh-server.de/skrause/flashcards.git
synced 2025-12-12 06:41:38 +01:00
Compare commits
2 Commits
4910217797
...
a444bdd2fb
| Author | SHA1 | Date | |
|---|---|---|---|
|
a444bdd2fb
|
|||
|
ed81f378a5
|
@@ -6,4 +6,7 @@
|
|||||||
<file preprocess="xml-stripblanks">create-card.ui</file>
|
<file preprocess="xml-stripblanks">create-card.ui</file>
|
||||||
<file alias="appdata" compressed="true" preprocess="xml-stripblanks">li.sopht.Flashcards.metainfo.xml</file>
|
<file alias="appdata" compressed="true" preprocess="xml-stripblanks">li.sopht.Flashcards.metainfo.xml</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
|
<gresource prefix="/li/sopht/flashcards/icons/scalable/actions/">
|
||||||
|
<file preprocess="xml-stripblanks">icons/hicolor/scalable/actions/add-card-symbolic.svg</file>
|
||||||
|
</gresource>
|
||||||
</gresources>
|
</gresources>
|
||||||
@@ -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 |
@@ -11,3 +11,12 @@ install_data(
|
|||||||
symbolic_dir / ('@0@-symbolic.svg').format(application_id),
|
symbolic_dir / ('@0@-symbolic.svg').format(application_id),
|
||||||
install_dir : get_option('datadir') / 'icons' / symbolic_dir
|
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
|
||||||
|
)
|
||||||
@@ -64,7 +64,7 @@ template $FlashcardsAppWindow : Adw.ApplicationWindow {
|
|||||||
Adw.HeaderBar {
|
Adw.HeaderBar {
|
||||||
[start]
|
[start]
|
||||||
Gtk.Button add_card_button {
|
Gtk.Button add_card_button {
|
||||||
icon-name: "list-add-symbolic";
|
icon-name: "add-card-symbolic";
|
||||||
clicked => $on_add_card();
|
clicked => $on_add_card();
|
||||||
tooltip-text: _("Add flashcard");
|
tooltip-text: _("Add flashcard");
|
||||||
visible: false;
|
visible: false;
|
||||||
|
|||||||
Reference in New Issue
Block a user