ussd-dialog: Use AdwSpinner

Make it a bit larger while at that

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/761>
This commit is contained in:
Guido Günther
2024-11-10 10:51:35 +01:00
parent d5cc163801
commit 4bd12c1102
2 changed files with 3 additions and 4 deletions

View File

@@ -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);

View File

@@ -134,9 +134,11 @@
</object>
</child>
<child>
<object class="GtkSpinner" id="ussd_spinner">
<object class="AdwSpinner" id="ussd_spinner">
<property name="valign">center</property>
<property name="vexpand">True</property>
<property name="width-request">48</property>
<property name="height-request">48</property>
</object>
</child>
</object>