Merge lp:~codygarver/switchboard/fix-1330100 into lp:~elementary-pantheon/switchboard/switchboard

Proposed by Cody Garver
Status: Merged
Approved by: David Gomes
Approved revision: 464
Merged at revision: 464
Proposed branch: lp:~codygarver/switchboard/fix-1330100
Merge into: lp:~elementary-pantheon/switchboard/switchboard
Diff against target: 21 lines (+2/-2)
1 file modified
src/Switchboard.vala (+2/-2)
To merge this branch: bzr merge lp:~codygarver/switchboard/fix-1330100
Reviewer Review Type Date Requested Status
David Gomes (community) Approve
Review via email: mp+228449@code.launchpad.net

Commit message

Display current plug's name as headerbar title instead of subtitle (lp:1330100)

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
1=== modified file 'src/Switchboard.vala'
2--- src/Switchboard.vala 2014-07-07 09:42:34 +0000
3+++ src/Switchboard.vala 2014-07-28 08:04:24 +0000
4@@ -168,7 +168,7 @@
5 navigation_button.set_sensitive (true);
6 navigation_button.set_text (all_settings_label);
7 navigation_button.show ();
8- headerbar.subtitle = plug.display_name;
9+ headerbar.title = plug.display_name;
10 current_plug = plug;
11 switch_to_plug (plug);
12
13@@ -318,7 +318,7 @@
14
15 // Change Switchboard title back to "Switchboard"
16 private void reset_title () {
17- headerbar.subtitle = null;
18+ headerbar.title = program_name;
19 }
20
21 // Handles clicking the navigation button

Subscribers

People subscribed via source and target branches

to all changes: