diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2020-07-04 08:56:51 -0700 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2020-07-04 09:00:50 -0700 | 
| commit | 0ec6eac355f943803a1f8c3a7c8034ed39d5f8c4 (patch) | |
| tree | 3488694917509d8121a76784bc95ce3102e2be29 /shell | |
| parent | aa4dc1ae600a9e1670320402d8e87f1431acb5aa (diff) | |
Show a "Privacy Policy" to the Synchronize dialog
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/syncmanager.c | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/shell/syncmanager.c b/shell/syncmanager.c index 3f92e78d..a2cc609b 100644 --- a/shell/syncmanager.c +++ b/shell/syncmanager.c @@ -497,6 +497,7 @@ static SyncDialog *sync_dialog_new(GtkWidget *parent)      GtkWidget *button8;      GtkWidget *button7;      GtkWidget *button6; +    GtkWidget *priv_policy_btn;      GtkWidget *label;      GtkWidget *hbox; @@ -583,6 +584,12 @@ static SyncDialog *sync_dialog_new(GtkWidget *parent)      populate_store(store); +    priv_policy_btn = gtk_link_button_new_with_label( +            "https://github.com/lpereira/hardinfo/wiki/Privacy-Policy", +            _("Privacy Policy")); +    gtk_widget_show(priv_policy_btn); +    gtk_box_pack_start(GTK_BOX(dialog1_vbox), priv_policy_btn, FALSE, FALSE, 0); +  #if GTK_CHECK_VERSION(2, 14, 0)      dialog1_action_area = gtk_dialog_get_action_area(GTK_DIALOG(dialog));  #else | 
