rpc-window: use 'edit-find' icon if no other is found

'gnome-foot' icon is not present in Adwaita theme.

QubesOS/qubes-issues#910
This commit is contained in:
Marek Marczykowski-Górecki 2017-03-24 01:44:13 +01:00
parent 20a1853f3f
commit 067940f5aa
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class GtkIconGetter:
try:
icon = self._theme.load_icon(name, self._size, 0)
except GLib.Error:
icon = self._theme.load_icon("gnome-foot", self._size, 0)
icon = self._theme.load_icon("edit-find", self._size, 0)
self._icons[name] = icon

View File

@ -55,7 +55,7 @@ class MockVmLabel:
self.color = color
self.name = name
self.dispvm = dispvm
self.icon = "gnome-foot"
self.icon = "edit-find"
class MockVm: