diff options
author | Marvin W <git@larma.de> | 2017-03-13 15:34:17 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-03-13 15:34:17 +0100 |
commit | 2804799f61eb4c68c5cf88b9996d13a81fe6317d (patch) | |
tree | aafa39898d776d47293859d3afc90c57f744b2c9 /main/src/ui/application.vala | |
parent | bb811f8b29ed8be96664277d2b8ca8a1c9829602 (diff) | |
download | dino-2804799f61eb4c68c5cf88b9996d13a81fe6317d.tar.gz dino-2804799f61eb4c68c5cf88b9996d13a81fe6317d.zip |
Reduce GTK dependency to 3.16, fix dark theme
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r-- | main/src/ui/application.vala | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala index fe930b82..8dbe176b 100644 --- a/main/src/ui/application.vala +++ b/main/src/ui/application.vala @@ -16,8 +16,6 @@ public class Dino.Ui.Application : Dino.Application { notifications = new Notifications(stream_interaction); notifications.start(); Environment.set_application_name("Dino"); - - load_css(); } public override void activate() { @@ -83,16 +81,5 @@ public class Dino.Ui.Application : Dino.Application { private void remove_connection(Account account) { stream_interaction.disconnect(account); } - - private void load_css() { - var css_provider = new Gtk.CssProvider (); - try { - var file = File.new_for_uri("resource:///org/dino-im/style.css"); - css_provider.load_from_file (file); - } catch (GLib.Error e) { - warning ("loading css: %s", e.message); - } - Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default(), css_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); - } } |