Merge lp:~penghuanmail/unity-control-center/bug1372868 into lp:unity-control-center

Proposed by Huan Peng
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 12796
Merged at revision: 12797
Proposed branch: lp:~penghuanmail/unity-control-center/bug1372868
Merge into: lp:unity-control-center
Diff against target: 13 lines (+3/-0)
1 file modified
panels/appearance/cc-appearance-panel.c (+3/-0)
To merge this branch: bzr merge lp:~penghuanmail/unity-control-center/bug1372868
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+244551@code.launchpad.net

Commit message

show desktop could not restore to default

Description of the change

show desktop could not restore to default

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

looks fine to me, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'panels/appearance/cc-appearance-panel.c'
2--- panels/appearance/cc-appearance-panel.c 2014-07-02 09:42:52 +0000
3+++ panels/appearance/cc-appearance-panel.c 2014-12-12 09:27:12 +0000
4@@ -1783,6 +1783,9 @@
5
6 if (unity_own_setting_exists (self, UNITY_INTEGRATED_MENUS_KEY))
7 g_settings_reset (priv->unity_own_settings, UNITY_INTEGRATED_MENUS_KEY);
8+
9+ GtkToggleButton *showdesktop = GTK_TOGGLE_BUTTON (WID ("check_showdesktop_in_launcher"));
10+ gtk_toggle_button_set_active(showdesktop, TRUE);
11 }
12
13 /* <hacks> */

Subscribers

People subscribed via source and target branches