diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2020-08-09 11:53:21 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2020-08-09 11:53:21 -0700 |
commit | 82616d7177049bbf9676e1b9c04749b2d974509c (patch) | |
tree | 93bbbcfb7e034449785a25f980edb96e08327c20 /shell | |
parent | b836f2aa417902412ff9d7aa3bb5ce52fd107baf (diff) |
Revert "Move the Privacy Policy link to the button area"
This reverts commit 8e508ae979492df6e214609d6672fc8a5e44d2b9, because
it caused issues in locales where "Privacy Policy" is too long of a
string.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/syncmanager.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/syncmanager.c b/shell/syncmanager.c index 5d4b6a05..6dcedeb8 100644 --- a/shell/syncmanager.c +++ b/shell/syncmanager.c @@ -586,6 +586,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 @@ -595,12 +601,6 @@ static SyncDialog *sync_dialog_new(GtkWidget *parent) gtk_button_box_set_layout(GTK_BUTTON_BOX(dialog1_action_area), GTK_BUTTONBOX_END); - 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_action_area), priv_policy_btn, FALSE, FALSE, 0); - button8 = gtk_button_new_with_mnemonic(_("_Cancel")); gtk_widget_show(button8); gtk_dialog_add_action_widget(GTK_DIALOG(dialog), button8, |