Merge lp:~ubuntu-mate-dev/ubuntu-themes/mate-compatibility into lp:ubuntu-themes

Proposed by Martin Wimpress 
Status: Rejected
Rejected by: Sebastien Bacher
Proposed branch: lp:~ubuntu-mate-dev/ubuntu-themes/mate-compatibility
Merge into: lp:ubuntu-themes
Diff against target: 201 lines (+106/-4)
6 files modified
Ambiance/gtk-2.0/apps/caja.rc (+11/-0)
Ambiance/gtk-2.0/apps/mate-panel.rc (+30/-0)
Ambiance/gtk-2.0/gtkrc (+13/-3)
Radiance/gtk-2.0/apps/caja.rc (+11/-0)
Radiance/gtk-2.0/apps/mate-panel.rc (+30/-0)
Radiance/gtk-2.0/gtkrc (+11/-1)
To merge this branch: bzr merge lp:~ubuntu-mate-dev/ubuntu-themes/mate-compatibility
Reviewer Review Type Date Requested Status
Sebastien Bacher Disapprove
Ubuntu Sponsors Pending
Lars Karlitski Pending
Review via email: mp+262334@code.launchpad.net

Description of the change

The merge proposal adds MATE compatibility to Ambiance and Radiance. This merge proposal was requested by Lars Uebernickel (larsu) following our discussion on IRC.

To post a comment you must log in.
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Adwaita was designed for GNOME/Unity, and I don't think we should be adding support for other applications/desktops here.

We don't have any code specific to LXDE, Xfce, etc here, and I don't see why MATE should be an exception.

That is my personal opinion, it may be different compared to one of other members of ~ubuntu-artwork-pkg.

Revision history for this message
Sebastien Bacher (seb128) wrote :

When discussed on #ubuntu-desktop it seemed like the consensus was that we didn't want more code in our themes to support other desktop, you should rather make your own theme variant there

review: Disapprove

Unmerged revisions

441. By Martin Wimpress 

Add MATE compatibility to Radiance.

440. By Martin Wimpress 

Add MATE compatibility to Ambiance.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'Ambiance/gtk-2.0/apps/caja.rc'
2--- Ambiance/gtk-2.0/apps/caja.rc 1970-01-01 00:00:00 +0000
3+++ Ambiance/gtk-2.0/apps/caja.rc 2015-06-18 13:31:05 +0000
4@@ -0,0 +1,11 @@
5+# ==============================================================================
6+# CAJA SPECIFIC SETTINGS
7+# ==============================================================================
8+
9+style "caja_info_pane" {
10+ bg[NORMAL] = @bg_color
11+}
12+
13+widget_class "*Caja*<GtkNotebook>*<GtkEventBox>" style "caja_info_pane"
14+widget_class "*Caja*<GtkButton>" style "notebook_button"
15+widget_class "*Caja*<GtkButton>*<GtkLabel>" style "notebook_button"
16
17=== added file 'Ambiance/gtk-2.0/apps/mate-panel.rc'
18--- Ambiance/gtk-2.0/apps/mate-panel.rc 1970-01-01 00:00:00 +0000
19+++ Ambiance/gtk-2.0/apps/mate-panel.rc 2015-06-18 13:31:05 +0000
20@@ -0,0 +1,30 @@
21+# Panel specific settings for correct theming on MATE
22+
23+style "panel" = "dark"
24+{
25+ xthickness = 0
26+ ythickness = 0
27+
28+ engine "murrine" {
29+ colorize_scrollbar = TRUE
30+ }
31+}
32+
33+style "panel_default" = "dark"
34+{
35+ engine "murrine" {
36+ colorize_scrollbar = TRUE
37+ }
38+}
39+
40+widget "*Panel*" style "panel"
41+widget "*PanelWidget*" style "panel"
42+widget "*PanelApplet*" style "panel" # workaround for right click menu corrupted bg
43+widget "*fast-user-switch*" style "panel" # workaround for Fast User Switch applet
44+widget "*CPUFreqApplet*" style "panel" # workaround for CpuFreq Applet
45+class "PanelApp*" style "panel"
46+class "PanelToplevel*" style "panel"
47+widget_class "*notif*" style "panel"
48+widget_class "*PanelApplet*" style "panel_default" # workaround for right click menu corrupted bg
49+widget_class "*Tray*" style "panel" # workaround for StarDict, gnubiff... tray icon bg
50+class "GtkScrollbar" style "scrollbar"
51
52=== modified file 'Ambiance/gtk-2.0/gtkrc'
53--- Ambiance/gtk-2.0/gtkrc 2014-03-04 17:08:48 +0000
54+++ Ambiance/gtk-2.0/gtkrc 2015-06-18 13:31:05 +0000
55@@ -340,7 +340,7 @@
56 }
57 }
58
59-style "menu" {
60+style "menu" = "dark" {
61 xthickness = 0
62 ythickness = 0
63
64@@ -528,6 +528,10 @@
65 bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
66 }
67
68+style "caja_location" {
69+ bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
70+}
71+
72 style "calendar" {
73 xthickness = 0
74 ythickness = 0
75@@ -566,7 +570,7 @@
76
77 # Workaround style for menus where the text color is used instead of the fg color.
78 style "menuitem_text_is_fg_color_workaround" {
79- text[NORMAL] = @fg_color
80+ text[NORMAL] = @base_color
81 text[PRELIGHT] = @selected_fg_color
82 text[SELECTED] = @selected_fg_color
83 text[ACTIVE] = @fg_color
84@@ -693,6 +697,10 @@
85 # ToDo: A more generic approach for all applications that have a widget like this.
86 widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
87
88+# Special case the caja-extra-view-widget
89+# ToDo: A more generic approach for all applications that have a widget like this.
90+widget "*.caja-extra-view-widget" style : highest "caja_location"
91+
92 # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
93 # Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
94 widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
95@@ -704,7 +712,7 @@
96 widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
97 # GtkCList also uses the fg color to draw text on top of the base colors.
98 widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
99-# Nautilus when renaming files, and maybe other places.
100+# Nautilus/Caja when renaming files, and maybe other places.
101 widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
102 # Work around for ubuntu's lucid sound indicator
103 widget "ido-offscreen-scale" style "soundfix"
104@@ -720,3 +728,5 @@
105 include "apps/ff.rc"
106 include "apps/gnome-terminal.rc"
107 include "apps/nautilus.rc"
108+include "apps/caja.rc"
109+include "apps/mate-panel.rc"
110
111=== added file 'Radiance/gtk-2.0/apps/caja.rc'
112--- Radiance/gtk-2.0/apps/caja.rc 1970-01-01 00:00:00 +0000
113+++ Radiance/gtk-2.0/apps/caja.rc 2015-06-18 13:31:05 +0000
114@@ -0,0 +1,11 @@
115+# ==============================================================================
116+# CAJA SPECIFIC SETTINGS
117+# ==============================================================================
118+
119+style "caja_info_pane" {
120+ bg[NORMAL] = @bg_color
121+}
122+
123+widget_class "*Caja*<GtkNotebook>*<GtkEventBox>" style "caja_info_pane"
124+widget_class "*Caja*<GtkButton>" style "notebook_button"
125+widget_class "*Caja*<GtkButton>*<GtkLabel>" style "notebook_button"
126
127=== added file 'Radiance/gtk-2.0/apps/mate-panel.rc'
128--- Radiance/gtk-2.0/apps/mate-panel.rc 1970-01-01 00:00:00 +0000
129+++ Radiance/gtk-2.0/apps/mate-panel.rc 2015-06-18 13:31:05 +0000
130@@ -0,0 +1,30 @@
131+# Panel specific settings for correct theming on MATE
132+
133+style "panel" = "dark"
134+{
135+ xthickness = 0
136+ ythickness = 0
137+
138+ engine "murrine" {
139+ colorize_scrollbar = TRUE
140+ }
141+}
142+
143+style "panel_default" = "dark"
144+{
145+ engine "murrine" {
146+ colorize_scrollbar = TRUE
147+ }
148+}
149+
150+widget "*Panel*" style "panel"
151+widget "*PanelWidget*" style "panel"
152+widget "*PanelApplet*" style "panel" # workaround for right click menu corrupted bg
153+widget "*fast-user-switch*" style "panel" # workaround for Fast User Switch applet
154+widget "*CPUFreqApplet*" style "panel" # workaround for CpuFreq Applet
155+class "PanelApp*" style "panel"
156+class "PanelToplevel*" style "panel"
157+widget_class "*notif*" style "panel"
158+widget_class "*PanelApplet*" style "panel_default" # workaround for right click menu corrupted bg
159+widget_class "*Tray*" style "panel" # workaround for StarDict, gnubiff... tray icon bg
160+class "GtkScrollbar" style "scrollbar"
161
162=== modified file 'Radiance/gtk-2.0/gtkrc'
163--- Radiance/gtk-2.0/gtkrc 2014-03-04 17:08:48 +0000
164+++ Radiance/gtk-2.0/gtkrc 2015-06-18 13:31:05 +0000
165@@ -488,6 +488,10 @@
166 bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
167 }
168
169+style "caja_location" {
170+ bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
171+}
172+
173 style "calendar" {
174 xthickness = 0
175 ythickness = 0
176@@ -642,6 +646,10 @@
177 # ToDo: A more generic approach for all applications that have a widget like this.
178 widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
179
180+# Special case the caja-extra-view-widget
181+# ToDo: A more generic approach for all applications that have a widget like this.
182+widget "*.caja-extra-view-widget" style : highest "caja_location"
183+
184 # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
185 # Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
186 widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
187@@ -653,7 +661,7 @@
188 widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
189 # GtkCList also uses the fg color to draw text on top of the base colors.
190 widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
191-# Nautilus when renaming files, and maybe other places.
192+# Nautilus/Caja when renaming files, and maybe other places.
193 widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
194 # Work around for ubuntu's lucid sound indicator
195 widget "ido-offscreen-scale" style "soundfix"
196@@ -669,3 +677,5 @@
197 include "apps/ff.rc"
198 include "apps/gnome-terminal.rc"
199 include "apps/nautilus.rc"
200+include "apps/caja.rc"
201+include "apps/mate-panel.rc"

Subscribers

People subscribed via source and target branches