Skip to content

Commit

Permalink
Fix icon names
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvladus committed Dec 28, 2023
1 parent 1781520 commit a96d1b5
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
2 changes: 2 additions & 0 deletions errands/resources/errands.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@
<file preprocess="xml-stripblanks" alias="errands-theme-light.svg">resources/icons/errands-theme-light.svg</file>
<file preprocess="xml-stripblanks" alias="errands-theme-dark.svg">resources/icons/errands-theme-dark.svg</file>
<file preprocess="xml-stripblanks" alias="errands-sync.svg">resources/icons/errands-sync.svg</file>
<file preprocess="xml-stripblanks" alias="errands-info-symbolic.svg">resources/icons/errands-info-symbolic.svg</file>
<file preprocess="xml-stripblanks" alias="errands-trash-symbolic.svg">resources/icons/errands-trash-symbolic.svg</file>
</gresource>
</gresources>
4 changes: 4 additions & 0 deletions errands/resources/icons/errands-info-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions errands/resources/icons/errands-trash-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions errands/widgets/details.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def build_ui(self):
hb.pack_start(back_btn)
# Delete button
delete_btn = Button(
icon_name="user-trash-symbolic",
icon_name="errands-trash-symbolic",
on_click=self.on_delete_btn_clicked,
tooltip_text=_("Delete"), # type:ignore
)
Expand All @@ -54,7 +54,7 @@ def build_ui(self):

# Status
self.status = Adw.StatusPage(
icon_name="help-about-symbolic",
icon_name="errands-info-symbolic",
visible=True,
vexpand=True,
title=_("No Details"), # type:ignore
Expand Down
2 changes: 1 addition & 1 deletion errands/widgets/lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _build_ui(self):
# Trash button
self.trash_btn = Gtk.Button(
child=Adw.ButtonContent(
icon_name="user-trash-symbolic",
icon_name="errands-trash-symbolic",
label=_("Trash"), # type:ignore
halign="center",
),
Expand Down
4 changes: 2 additions & 2 deletions errands/widgets/trash.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def build_ui(self):
)
# Clear button
clear_btn = Button(
icon_name="user-trash-full-symbolic",
icon_name="errands-trash-symbolic",
on_click=self.on_trash_clear,
valign="center",
tooltip_text=_("Clear"), # type:ignore
Expand All @@ -41,7 +41,7 @@ def build_ui(self):
hb.pack_end(restore_btn)
# Status
self.status = Adw.StatusPage(
icon_name="user-trash-symbolic",
icon_name="errands-trash-symbolic",
title=_("Empty Trash"), # type:ignore
description=_("No deleted items"), # type:ignore
vexpand=True,
Expand Down

0 comments on commit a96d1b5

Please sign in to comment.