1 |
commit: be703172149a11b0c17f77676171bfb3d58301f4 |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 02:35:55 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 02:35:55 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=be703172 |
7 |
|
8 |
gnome-base/gnome-shell: theme fixes for message tray chat bubbles |
9 |
|
10 |
--- |
11 |
...ighten-up-the-sent-message-color-clean-up.patch | 49 ++++++++++++++++++++ |
12 |
...2-messageTray-Reduce-the-scroll-view-fade.patch | 40 ++++++++++++++++ |
13 |
...ll-3.2.1.ebuild => gnome-shell-3.2.1-r1.ebuild} | 4 ++ |
14 |
3 files changed, 93 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/gnome-base/gnome-shell/files/0001-theme-Lighten-up-the-sent-message-color-clean-up.patch b/gnome-base/gnome-shell/files/0001-theme-Lighten-up-the-sent-message-color-clean-up.patch |
17 |
new file mode 100644 |
18 |
index 0000000..55052b7 |
19 |
--- /dev/null |
20 |
+++ b/gnome-base/gnome-shell/files/0001-theme-Lighten-up-the-sent-message-color-clean-up.patch |
21 |
@@ -0,0 +1,49 @@ |
22 |
+From 3294a6e1a7d7a6bea1cb02ec671aaa0d350b57f5 Mon Sep 17 00:00:00 2001 |
23 |
+From: Jasper St. Pierre <jstpierre@×××××××.net> |
24 |
+Date: Fri, 2 Sep 2011 16:01:24 -0400 |
25 |
+Subject: [PATCH 1/2] theme: Lighten up the sent message color, clean up |
26 |
+ |
27 |
+Properly apply "received" style and drop unused border-radius styles |
28 |
+now that the messages have no background color |
29 |
+ |
30 |
+https://bugzilla.gnome.org/show_bug.cgi?id=658096 |
31 |
+--- |
32 |
+ data/theme/gnome-shell.css | 7 ++----- |
33 |
+ 1 files changed, 2 insertions(+), 5 deletions(-) |
34 |
+ |
35 |
+diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css |
36 |
+index 4487159..0e09866 100644 |
37 |
+--- a/data/theme/gnome-shell.css |
38 |
++++ b/data/theme/gnome-shell.css |
39 |
+@@ -1329,9 +1329,8 @@ StTooltip StLabel { |
40 |
+ padding: 8px 0; |
41 |
+ } |
42 |
+ |
43 |
+-.chat-sent { |
44 |
++.chat-received { |
45 |
+ padding-left: 4px; |
46 |
+- border-radius: 4px; |
47 |
+ } |
48 |
+ |
49 |
+ .chat-received:rtl { |
50 |
+@@ -1341,8 +1340,7 @@ StTooltip StLabel { |
51 |
+ |
52 |
+ .chat-sent { |
53 |
+ padding-left: 18pt; |
54 |
+- border-radius: 4px; |
55 |
+- color: #7E7E7E; |
56 |
++ color: #959595; |
57 |
+ } |
58 |
+ |
59 |
+ .chat-sent:rtl { |
60 |
+@@ -1352,7 +1350,6 @@ StTooltip StLabel { |
61 |
+ |
62 |
+ .chat-meta-message { |
63 |
+ padding-left: 4px; |
64 |
+- border-radius: 4px; |
65 |
+ font-size: 9pt; |
66 |
+ color: #bbbbbb; |
67 |
+ } |
68 |
+-- |
69 |
+1.7.3.4 |
70 |
+ |
71 |
|
72 |
diff --git a/gnome-base/gnome-shell/files/0002-messageTray-Reduce-the-scroll-view-fade.patch b/gnome-base/gnome-shell/files/0002-messageTray-Reduce-the-scroll-view-fade.patch |
73 |
new file mode 100644 |
74 |
index 0000000..22a4ce3 |
75 |
--- /dev/null |
76 |
+++ b/gnome-base/gnome-shell/files/0002-messageTray-Reduce-the-scroll-view-fade.patch |
77 |
@@ -0,0 +1,40 @@ |
78 |
+From 18541c447e30154e7bd5806e11e3fe70fb9d5887 Mon Sep 17 00:00:00 2001 |
79 |
+From: Jasper St. Pierre <jstpierre@×××××××.net> |
80 |
+Date: Thu, 27 Oct 2011 13:52:17 -0400 |
81 |
+Subject: [PATCH 2/2] messageTray: Reduce the scroll view fade |
82 |
+ |
83 |
+https://bugzilla.gnome.org/show_bug.cgi?id=662226 |
84 |
+--- |
85 |
+ data/theme/gnome-shell.css | 1 + |
86 |
+ js/ui/messageTray.js | 3 +-- |
87 |
+ 2 files changed, 2 insertions(+), 2 deletions(-) |
88 |
+ |
89 |
+diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css |
90 |
+index 0e09866..ea81870 100644 |
91 |
+--- a/data/theme/gnome-shell.css |
92 |
++++ b/data/theme/gnome-shell.css |
93 |
+@@ -1217,6 +1217,7 @@ StTooltip StLabel { |
94 |
+ |
95 |
+ #notification-scrollview { |
96 |
+ max-height: 10em; |
97 |
++ -st-vfade-offset: 24px; |
98 |
+ } |
99 |
+ |
100 |
+ #notification-scrollview > .top-shadow, #notification-scrollview > .bottom-shadow { |
101 |
+diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js |
102 |
+index 75eb9f9..ca12fb1 100644 |
103 |
+--- a/js/ui/messageTray.js |
104 |
++++ b/js/ui/messageTray.js |
105 |
+@@ -597,8 +597,7 @@ Notification.prototype = { |
106 |
+ this._table.add_style_class_name('multi-line-notification'); |
107 |
+ this._scrollArea = new St.ScrollView({ name: 'notification-scrollview', |
108 |
+ vscrollbar_policy: this._scrollPolicy, |
109 |
+- hscrollbar_policy: Gtk.PolicyType.NEVER, |
110 |
+- style_class: 'vfade' }); |
111 |
++ hscrollbar_policy: Gtk.PolicyType.NEVER }); |
112 |
+ this._table.add(this._scrollArea, { row: 1, |
113 |
+ col: 2 }); |
114 |
+ this._updateLastColumnSettings(); |
115 |
+-- |
116 |
+1.7.3.4 |
117 |
+ |
118 |
|
119 |
diff --git a/gnome-base/gnome-shell/gnome-shell-3.2.1.ebuild b/gnome-base/gnome-shell/gnome-shell-3.2.1-r1.ebuild |
120 |
similarity index 95% |
121 |
rename from gnome-base/gnome-shell/gnome-shell-3.2.1.ebuild |
122 |
rename to gnome-base/gnome-shell/gnome-shell-3.2.1-r1.ebuild |
123 |
index d264034..603e49f 100644 |
124 |
--- a/gnome-base/gnome-shell/gnome-shell-3.2.1.ebuild |
125 |
+++ b/gnome-base/gnome-shell/gnome-shell-3.2.1-r1.ebuild |
126 |
@@ -119,6 +119,10 @@ src_prepare() { |
127 |
# Note: sed Makefile.in because it is generated from several Makefile.ams |
128 |
sed -e 's/-DG_DISABLE_DEPRECATED//g' \ |
129 |
-i src/Makefile.in browser-plugin/Makefile.in || die "sed failed" |
130 |
+ |
131 |
+ # Two chat messageTray fixes taken from git master, not in gnome-3-2 yet |
132 |
+ epatch "${FILESDIR}"/0001-theme-Lighten-up-the-sent-message-color-clean-up.patch |
133 |
+ epatch "${FILESDIR}"/0002-messageTray-Reduce-the-scroll-view-fade.patch |
134 |
} |
135 |
|
136 |
src_install() { |