[meld/wip/jtojnar/more-icons] Update more icons removed from Adwaita
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/wip/jtojnar/more-icons] Update more icons removed from Adwaita
- Date: Sat, 21 May 2022 18:36:14 +0000 (UTC)
commit 85dfccbccd33c6227f62e5d85f2141fa1f13c797
Author: Jan Tojnar <jtojnar gmail com>
Date: Sat May 21 20:35:50 2022 +0200
Update more icons removed from Adwaita
meld/preferences.py | 4 ++--
meld/resources/ui/findbar.ui | 2 +-
meld/tree.py | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meld/preferences.py b/meld/preferences.py
index 67e99ad2..ae3c3434 100644
--- a/meld/preferences.py
+++ b/meld/preferences.py
@@ -78,8 +78,8 @@ class FilterList(Gtk.Box, EditableListWidget):
def valid_icon_celldata(self, col, cell, model, it, user_data=None):
is_valid = model.get_value(it, 3)
- icon_name = "gtk-dialog-warning" if not is_valid else None
- cell.set_property("stock-id", icon_name)
+ icon_name = "dialog-warning-symbolic" if not is_valid else None
+ cell.set_property("icon-name", icon_name)
@Gtk.Template.Callback()
def on_add_clicked(self, button):
diff --git a/meld/resources/ui/findbar.ui b/meld/resources/ui/findbar.ui
index d089de90..a5454a71 100644
--- a/meld/resources/ui/findbar.ui
+++ b/meld/resources/ui/findbar.ui
@@ -160,7 +160,7 @@
<object class="GtkImage" id="wrap_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-info</property>
+ <property name="icon_name">view-wrapped-symbolic</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/meld/tree.py b/meld/tree.py
index af9eee75..08b1f4fb 100644
--- a/meld/tree.py
+++ b/meld/tree.py
@@ -112,7 +112,7 @@ class DiffTreeStore(SearchableTreeStore):
("text-x-generic", "folder", None, None), # NONE
("text-x-generic", "folder", None, None), # NORMAL
("text-x-generic", "folder", None, None), # NOCHANGE
- ("dialog-warning", None, None, None), # ERROR
+ ("dialog-warning-symbolic", None, None, None), # ERROR
(None, None, None, None), # EMPTY
("text-x-generic", "folder", new_fg, None), # NEW
("text-x-generic", "folder", mod_fg, None), # MODIFIED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]