upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ciano / repos / community-x86_64 / 0001-Use-standard-icon-names.patch
bloba4e1c82b4e862b7a803a97709886c02c8347a8f1
1 From ce29381d7e4be91ddd341a04f6619a6a71bd4278 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
3 Date: Wed, 8 Jul 2020 11:13:12 +0200
4 Subject: [PATCH] Use standard icon names
6 ---
7 src/Controllers/ConverterController.vala | 8 ++++----
8 src/Widgets/DialogConvertFile.vala | 2 +-
9 2 files changed, 5 insertions(+), 5 deletions(-)
11 diff --git a/src/Controllers/ConverterController.vala b/src/Controllers/ConverterController.vala
12 index b639d11..9740fad 100644
13 --- a/src/Controllers/ConverterController.vala
14 +++ b/src/Controllers/ConverterController.vala
15 @@ -439,16 +439,16 @@ namespace Ciano.Controllers {
17 switch (item.type_item) {
18 case TypeItemEnum.VIDEO:
19 - icon = "media-video";
20 + icon = "video-x-generic";
21 break;
22 case TypeItemEnum.MUSIC:
23 icon = "audio-x-generic";
24 break;
25 case TypeItemEnum.IMAGE:
26 - icon = "image";
27 + icon = "image-x-generic";
28 break;
29 default:
30 - icon = "file";
31 + icon = "text-x-generic";
32 break;
35 diff --git a/src/Widgets/DialogConvertFile.vala b/src/Widgets/DialogConvertFile.vala
36 index 3f7d44c..ba1be41 100644
37 --- a/src/Widgets/DialogConvertFile.vala
38 +++ b/src/Widgets/DialogConvertFile.vala
39 @@ -175,7 +175,7 @@ namespace Ciano.Widgets {
40 toolbar.get_style_context ().add_class (Gtk.STYLE_CLASS_INLINE_TOOLBAR);
41 toolbar.set_icon_size (Gtk.IconSize.SMALL_TOOLBAR);
43 - var button_add_file = new Gtk.ToolButton (new Gtk.Image.from_icon_name ("application-add-symbolic", Gtk.IconSize.SMALL_TOOLBAR), null);
44 + var button_add_file = new Gtk.ToolButton (new Gtk.Image.from_icon_name ("list-add-symbolic", Gtk.IconSize.SMALL_TOOLBAR), null);
45 button_add_file.tooltip_text = Properties.TEXT_ADD_FILE;
46 button_add_file.clicked.connect (() => {
47 this.converter_controller.on_activate_button_add_file (
48 --
49 2.27.0