aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-13 15:34:17 +0100
committerMarvin W <git@larma.de>2017-03-13 15:34:17 +0100
commit2804799f61eb4c68c5cf88b9996d13a81fe6317d (patch)
treeaafa39898d776d47293859d3afc90c57f744b2c9 /main/src/ui/application.vala
parentbb811f8b29ed8be96664277d2b8ca8a1c9829602 (diff)
downloaddino-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.vala13
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);
- }
}