summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-07-07 20:02:10 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-07-07 20:02:10 -0700
commit5ae25267cc556bb6898d83c36816c751eb441218 (patch)
treea00b465f3c17e233af910defd69f97b966fe8056 /shell
parentf2acd26b18305fad77db6ceabd6f40f94c266542 (diff)
Hide Privacy Policy button when synchronizing starts
Diffstat (limited to 'shell')
-rw-r--r--shell/syncmanager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/syncmanager.c b/shell/syncmanager.c
index b3e5a833..b8e2a1df 100644
--- a/shell/syncmanager.c
+++ b/shell/syncmanager.c
@@ -47,6 +47,7 @@ struct _SyncDialog {
GtkWidget *button_sync;
GtkWidget *button_cancel;
GtkWidget *button_close;
+ GtkWidget *button_priv_policy;
GtkWidget *scroll_box;
@@ -217,6 +218,7 @@ static void sync_dialog_start_sync(SyncDialog *sd)
loop = g_main_loop_new(NULL, TRUE);
gtk_widget_hide(sd->button_sync);
+ gtk_widget_hide(sd->button_priv_policy);
sync_dialog_netarea_show(sd);
g_signal_connect(G_OBJECT(sd->button_cancel), "clicked",
(GCallback)_cancel_sync, sd);
@@ -632,6 +634,7 @@ static SyncDialog *sync_dialog_new(GtkWidget *parent)
sd->button_sync = button7;
sd->button_cancel = button8;
sd->button_close = button6;
+ sd->button_priv_policy = priv_policy_btn;
sd->scroll_box = scrolledwindow2;
sd->label = label;