Commit c88e3057 authored by Federico Ceratto's avatar Federico Ceratto

Update patches

parent 26747d0e
From: Federico Ceratto <federico@debian.org>
Subject: Insert search path for elementary-xfce icons
--- a/src/MainWindow.vala
+++ b/src/MainWindow.vala
@@ -176,6 +176,11 @@
provider.load_from_resource ("/com/github/bleakgrey/tootle/%s.css".printf (theme));
StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = is_dark;
--- a/src/Application.vala
+++ b/src/Application.vala
@@ -103,6 +103,11 @@
StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), css_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), zoom_css_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
+ string[] icon_search_path;
+ Gtk.IconTheme.get_default ().get_search_path (out icon_search_path);
+ icon_search_path[0] = "/usr/share/icons/elementary-xfce/status/symbolic";
+ Gtk.IconTheme.get_default ().set_search_path (icon_search_path);
+
+ string[] icon_search_path;
+ Gtk.IconTheme.get_default ().get_search_path (out icon_search_path);
+ icon_search_path[0] = "/usr/share/icons/elementary-xfce/status/symbolic";
+ Gtk.IconTheme.get_default ().set_search_path (icon_search_path);
}
private void update_header () {
set_accels_for_action ("app.about", ACCEL_ABOUT);
set_accels_for_action ("app.compose", ACCEL_NEW_POST);
set_accels_for_action ("app.back", ACCEL_BACK);
--- a/src/Desktop.vala
+++ b/src/Desktop.vala
@@ -7,7 +7,11 @@
}
catch (GLib.Error e){
warning ("Can't open %s: %s", uri, e.message);
- app.error (_("Error"), e.message);
+ if (e.message == "Operation not supported") {
+ app.error (_("Open this in a web browser:\n\n"+uri),"");
+ } else {
+ app.error (_("Error"), e.message);
+ }
}
}
001-insert-icon-search-path.patch
002-browser-not-found-fallback.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment