From 4bd12c11027932ad011f6ae7d64acbe5493726c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 10 Nov 2024 10:51:35 +0100 Subject: [PATCH] ussd-dialog: Use AdwSpinner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make it a bit larger while at that Signed-off-by: Guido Günther Part-of: --- src/calls-main-window.c | 3 --- src/ui/main-window.ui | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/calls-main-window.c b/src/calls-main-window.c index 32030cb..1f22281 100644 --- a/src/calls-main-window.c +++ b/src/calls-main-window.c @@ -242,7 +242,6 @@ window_ussd_respond_cb (GObject *object, gtk_label_set_text (self->ussd_label, response); } - gtk_spinner_stop (self->ussd_spinner); gtk_stack_set_visible_child (self->ussd_stack, GTK_WIDGET (self->ussd_content)); } @@ -286,7 +285,6 @@ main_window_ussd_send_cb (GObject *object, g_object_ref (ussd), g_object_unref); window_update_ussd_state (self, ussd); gtk_label_set_text (self->ussd_label, response); - gtk_spinner_stop (self->ussd_spinner); gtk_stack_set_visible_child (self->ussd_stack, GTK_WIDGET (self->ussd_content)); } @@ -500,7 +498,6 @@ calls_main_window_dial (CallsMainWindow *self, gtk_widget_set_visible (GTK_WIDGET (self->ussd_cancel_button), FALSE); gtk_widget_set_visible (GTK_WIDGET (self->ussd_reply_button), FALSE); gtk_stack_set_visible_child (self->ussd_stack, GTK_WIDGET (self->ussd_spinner)); - gtk_spinner_start (self->ussd_spinner); calls_new_call_box_send_ussd_async (self->new_call, target, NULL, main_window_ussd_send_cb, self); diff --git a/src/ui/main-window.ui b/src/ui/main-window.ui index 9a246e3..ab56bff 100644 --- a/src/ui/main-window.ui +++ b/src/ui/main-window.ui @@ -134,9 +134,11 @@ - + center True + 48 + 48