Merge lp:~robert-ancell/unity-control-center/always-legal-notice into lp:unity-control-center

Proposed by Robert Ancell
Status: Merged
Approved by: Dmitry Shachnev
Approved revision: 12852
Merged at revision: 12854
Proposed branch: lp:~robert-ancell/unity-control-center/always-legal-notice
Merge into: lp:unity-control-center
Diff against target: 31 lines (+5/-9)
1 file modified
panels/info/cc-info-panel.c (+5/-9)
To merge this branch: bzr merge lp:~robert-ancell/unity-control-center/always-legal-notice
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+288577@code.launchpad.net

Commit message

Always show the legal notice.

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

thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'panels/info/cc-info-panel.c'
2--- panels/info/cc-info-panel.c 2016-01-14 09:26:05 +0000
3+++ panels/info/cc-info-panel.c 2016-03-09 22:24:08 +0000
4@@ -1415,13 +1415,10 @@
5 _("Removable Media"),
6 -1);
7
8- if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity"))
9- {
10- gtk_list_store_append (model, &iter);
11- gtk_list_store_set (model, &iter, section_name_column,
12- _("Legal Notice"),
13- -1);
14- }
15+ gtk_list_store_append (model, &iter);
16+ gtk_list_store_set (model, &iter, section_name_column,
17+ _("Legal Notice"),
18+ -1);
19
20 g_signal_connect (selection, "changed",
21 G_CALLBACK (on_section_changed), self);
22@@ -1947,8 +1944,7 @@
23 info_panel_setup_overview (self);
24 info_panel_setup_default_apps (self);
25 info_panel_setup_media (self);
26- if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity"))
27- info_panel_setup_notice (self);
28+ info_panel_setup_notice (self);
29 }
30
31 void

Subscribers

People subscribed via source and target branches