Added cloud-offline icon from @samsartor
This commit is contained in:
@@ -18,11 +18,11 @@ class LoadError(Gtk.Box):
|
||||
error_description_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
|
||||
if offline_mode:
|
||||
icon_name = "weather-severe-alert-symbolic"
|
||||
icon_name = "cloud-offline-symbolic"
|
||||
label = f"{entity_name} may be incomplete.\n" if has_data else ""
|
||||
label += f"Go online to {action}."
|
||||
else:
|
||||
icon_name = "dialog-error"
|
||||
icon_name = "network-error-symbolic"
|
||||
label = f"Error attempting to {action}."
|
||||
|
||||
image = Gtk.Image.new_from_icon_name(icon_name, Gtk.IconSize.DIALOG)
|
||||
|
3
sublime/ui/icons/cloud-offline-symbolic.svg
Normal file
3
sublime/ui/icons/cloud-offline-symbolic.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">
|
||||
<path fill="#dcdcdc" d="M3.42 2.38a1.04 1.04 0 00-.73 1.77l2.8 2.81L18 19.46l1.88 1.88a1.04 1.04 0 101.47-1.47l-.97-.96L7.12 5.65 4.15 2.68c-.2-.2-.47-.3-.73-.3zm7.53 2.17c-1.08.01-2.11.25-3.04.68l13.24 13.24A5.77 5.77 0 0017.4 7.93a7.62 7.62 0 00-6.44-3.38zm-6 3.08A7.59 7.59 0 003.5 11.1a4.2 4.2 0 00.98 8.3l12.28.04L4.94 7.63z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 406 B |
Reference in New Issue
Block a user