[epiphany/wip/exalm/elementary6: 1/4] tmp
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/elementary6: 1/4] tmp
- Date: Mon, 23 Sep 2019 22:16:13 +0000 (UTC)
commit 43e2629002efe269c04319945750d87b5364907d
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Tue Sep 24 02:17:32 2019 +0500
tmp
0001-Remove-epiphany-styling.patch | 84 ++++++++++++++++++++++++++++++++++++++
org.gnome.Epiphany.json | 27 ++++++++++++
src/ephy-main.c | 5 +++
3 files changed, 116 insertions(+)
---
diff --git a/0001-Remove-epiphany-styling.patch b/0001-Remove-epiphany-styling.patch
new file mode 100644
index 000000000..aaf25c030
--- /dev/null
+++ b/0001-Remove-epiphany-styling.patch
@@ -0,0 +1,84 @@
+From 641d789aa3188470c55338006e5e381bf6bde775 Mon Sep 17 00:00:00 2001
+From: Alexander Mikhaylenko <exalm7659 gmail com>
+Date: Tue, 24 Sep 2019 02:12:47 +0500
+Subject: [PATCH] Remove epiphany styling
+
+---
+ elementary/gtk-3.0/apps.css | 61 -------------------------------------
+ 1 file changed, 61 deletions(-)
+
+diff --git a/elementary/gtk-3.0/apps.css b/elementary/gtk-3.0/apps.css
+index 9a7962c..b25a12c 100644
+--- a/elementary/gtk-3.0/apps.css
++++ b/elementary/gtk-3.0/apps.css
+@@ -19,67 +19,6 @@
+ * Authored by: Daniel Foré <daniel elementary io>
+ */
+
+-/***********
+-* Epiphany *
+-***********/
+-
+-.incognito.titlebar {
+- background-image:
+- -gtk-icontheme(
+- "user-not-tracked-symbolic"
+- ),
+- linear-gradient(
+- to bottom,
+- shade (
+- @colorPrimary,
+- 1.04
+- ),
+- shade (
+- @colorPrimary,
+- 0.94
+- )
+- );
+- background-size: 64px 64px, 100% 100%;
+- background-position: 100px, 0, 0 0;
+- background-repeat: no-repeat, no-repeat;
+- color: @text_shadow_color;
+-}
+-
+-.incognito.titlebar:backdrop {
+- background-image:
+- -gtk-icontheme(
+- "user-not-tracked-symbolic"
+- ),
+- linear-gradient(
+- shade (
+- @colorPrimary,
+- 1.08
+- ),
+- shade (
+- @colorPrimary,
+- 0.98
+- )
+- );
+-}
+-
+-.floating-bar {
+- background-color: alpha (#222, 0.9);
+- border-radius: 3px;
+- border-width: 0;
+- box-shadow:
+- 0 1px 3px alpha (#000, 0.12),
+- 0 1px 2px alpha (#000, 0.24);
+- color: #fff;
+- padding: 2px 0;
+- margin: 6px;
+- text-shadow: 0 1px 2px alpha (#000, 0.6);
+-}
+-
+-.floating-bar label {
+- color: #fff;
+- text-shadow: 0 1px 2px alpha (#000, 0.6);
+-}
+-
+ /********
+ * Files *
+ ********/
+--
+2.17.1
+
diff --git a/org.gnome.Epiphany.json b/org.gnome.Epiphany.json
index 559179a31..2fc60c714 100644
--- a/org.gnome.Epiphany.json
+++ b/org.gnome.Epiphany.json
@@ -23,6 +23,33 @@
"--talk-name=org.freedesktop.secrets"
],
"modules" : [
+ {
+ "name" : "elementary-theme",
+ "buildsystem" : "meson",
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/elementary/stylesheet"
+ },
+ {
+ "type" : "patch",
+ "path" : "0001-Remove-epiphany-styling.patch"
+ }
+ ]
+ },
+ {
+ "name" : "elementary-icons",
+ "buildsystem" : "meson",
+ "config-opts" : [
+ "-Dpalettes=false"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/elementary/icons"
+ }
+ ]
+ },
{
"name" : "libdazzle",
"buildsystem" : "meson",
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 0f2f79bea..1af317ec4 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -424,6 +424,11 @@ main (int argc,
g_unix_signal_add (SIGINT, (GSourceFunc)handle_shutdown_signal, GINT_TO_POINTER (SIGINT));
g_unix_signal_add (SIGTERM, (GSourceFunc)handle_shutdown_signal, GINT_TO_POINTER (SIGTERM));
+ g_object_set (gtk_settings_get_default (),
+ "gtk-icon-theme-name", "elementary",
+ "gtk-theme-name", "elementary",
+ NULL);
+
status = g_application_run (G_APPLICATION (ephy_shell), argc, argv);
/* Shutdown */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]