[gnome-contacts] Drop the custom CSS, it now lives in gnome-themes-standard
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Drop the custom CSS, it now lives in gnome-themes-standard
- Date: Thu, 26 Jan 2012 17:04:58 +0000 (UTC)
commit f4d2a20b40f9bb742cc356881b5f3366cf8c3b47
Author: Alexander Larsson <alexl redhat com>
Date: Thu Jan 26 18:03:18 2012 +0100
Drop the custom CSS, it now lives in gnome-themes-standard
data/Makefile.am | 7 ---
data/gnome-contacts.css | 127 -----------------------------------------------
src/contacts-app.vala | 9 ---
3 files changed, 0 insertions(+), 143 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 762b511..287c1b1 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,18 +1,11 @@
NULL=
-pkgdatadir = $(datadir)/gnome-contacts
-
-pkgdata_DATA = \
- gnome-contacts.css \
- $(NULL)
-
desktopdir = $(datadir)/applications
desktop_in_files = gnome-contacts.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = \
- $(pkgdata_DATA) \
gnome-contacts.desktop.in.in \
$(NULL)
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 1467902..7b0f8a5 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -207,15 +207,6 @@ public class Contacts.App : Gtk.Application {
}
private void create_window () {
- try {
- var provider = new CssProvider ();
- provider.load_from_path (Config.PKGDATADIR + "/" + "gnome-contacts.css");
- StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), provider,
- STYLE_PROVIDER_PRIORITY_APPLICATION);
- } catch {
- warning ("Failed to load custom CSS");
- }
-
this.app = this;
var action = new GLib.SimpleAction ("quit", null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]