Merge lp:~elementary-apps/capnet-assist/style-classes into lp:~elementary-apps/capnet-assist/trunk

Proposed by Danielle Foré
Status: Merged
Approved by: Cody Garver
Approved revision: 47
Merged at revision: 48
Proposed branch: lp:~elementary-apps/capnet-assist/style-classes
Merge into: lp:~elementary-apps/capnet-assist/trunk
Diff against target: 11 lines (+1/-1)
1 file modified
src/CaptiveLogin.vala (+1/-1)
To merge this branch: bzr merge lp:~elementary-apps/capnet-assist/style-classes
Reviewer Review Type Date Requested Status
elementary Apps team Pending
Review via email: mp+279838@code.launchpad.net

Commit message

* Add "compact" class to headerbar instead of removing "header-bar"

Description of the change

This is meant to fix an issue that comes from Gtk 3.19. There is no longer a "header-bar" class. So instead of removing a class, we need to add a new class.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/CaptiveLogin.vala'
2--- src/CaptiveLogin.vala 2015-11-05 15:25:12 +0000
3+++ src/CaptiveLogin.vala 2015-12-07 23:55:58 +0000
4@@ -73,7 +73,7 @@
5 private void create_widgets () {
6 var header = new Gtk.HeaderBar ();
7 header.set_show_close_button (true);
8- header.get_style_context ().remove_class ("header-bar");
9+ header.get_style_context ().add_class ("compact");
10
11 this.set_titlebar (header);
12

Subscribers

People subscribed via source and target branches

to all changes: