Merge lp:~victored/granite/lp-1309713 into lp:~elementary-pantheon/granite/granite

Proposed by Victor Martinez
Status: Merged
Approved by: David Gomes
Approved revision: 721
Merged at revision: 721
Proposed branch: lp:~victored/granite/lp-1309713
Merge into: lp:~elementary-pantheon/granite/granite
Diff against target: 33 lines (+3/-2)
2 files modified
lib/Widgets/OverlayBar.vala (+2/-2)
lib/style-classes.vala (+1/-0)
To merge this branch: bzr merge lp:~victored/granite/lp-1309713
Reviewer Review Type Date Requested Status
David Gomes (community) Approve
Review via email: mp+216483@code.launchpad.net

Commit message

Style class: Change "granite-overlay-bar" to "overlay-bar". Fixes lp:1309713

Description of the change

Style class: Change "granite-overlay-bar" to "overlay-bar". Fixes lp:1309713

To post a comment you must log in.
Revision history for this message
David Gomes (davidgomes) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/Widgets/OverlayBar.vala'
--- lib/Widgets/OverlayBar.vala 2014-04-05 08:35:38 +0000
+++ lib/Widgets/OverlayBar.vala 2014-04-18 19:37:08 +0000
@@ -42,7 +42,7 @@
42public class Granite.Widgets.OverlayBar : Gtk.EventBox {42public class Granite.Widgets.OverlayBar : Gtk.EventBox {
4343
44 private const string FALLBACK_THEME = """44 private const string FALLBACK_THEME = """
45 .granite-overlay-bar {45 .overlay-bar {
46 background-color: @bg_color;46 background-color: @bg_color;
47 border-radius: 3px;47 border-radius: 3px;
48 padding: 3px 6px;48 padding: 3px 6px;
@@ -168,7 +168,7 @@
168168
169 private void set_default_style () {169 private void set_default_style () {
170 int priority = Gtk.STYLE_PROVIDER_PRIORITY_FALLBACK;170 int priority = Gtk.STYLE_PROVIDER_PRIORITY_FALLBACK;
171 Granite.Widgets.Utils.set_theming (this, FALLBACK_THEME, "granite-overlay-bar", priority);171 Granite.Widgets.Utils.set_theming (this, FALLBACK_THEME, StyleClass.OVERLAY_BAR, priority);
172 }172 }
173173
174 private bool enter_notify_callback (Gdk.EventCrossing event) {174 private bool enter_notify_callback (Gdk.EventCrossing event) {
175175
=== modified file 'lib/style-classes.vala'
--- lib/style-classes.vala 2013-04-20 19:16:50 +0000
+++ lib/style-classes.vala 2014-04-18 19:37:08 +0000
@@ -29,6 +29,7 @@
29 public const string POPOVER_BG = "popover_bg";29 public const string POPOVER_BG = "popover_bg";
30 public const string HELP_BUTTON = "help_button";30 public const string HELP_BUTTON = "help_button";
31 public const string THIN_PANE_SEPARATOR = "sidebar-pane-separator";31 public const string THIN_PANE_SEPARATOR = "sidebar-pane-separator";
32 public const string OVERLAY_BAR = "overlay-bar";
3233
33 public const string TITLE_TEXT = "title";34 public const string TITLE_TEXT = "title";
34 public const string H1_TEXT = "h1";35 public const string H1_TEXT = "h1";

Subscribers

People subscribed via source and target branches