[totem/wip/hadess/glsink: 86/89] bigger spinner




commit c96ab093da4d1aa724cb19b66ea67fafbbaa3c9e
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 30 17:07:21 2021 +0200

    bigger spinner

 src/totem-object.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 287dd1259..865a802f7 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -217,8 +217,9 @@ totem_object_app_activate (GApplication *app)
        gtk_widget_set_vexpand (GTK_WIDGET (gtk_builder_get_object (totem->controls, "toolbar")), TRUE);
        gtk_widget_set_valign (GTK_WIDGET (gtk_builder_get_object (totem->controls, "toolbar")), 
GTK_ALIGN_END);
 
-       totem->spinner = gtk_label_new ("");
+       totem->spinner = gtk_label_new ("<span size='xx-large'>100%</span>");
        gtk_grid_attach (GTK_GRID (totem->bvw_grid), totem->spinner, 1, 2, 1, 1);
+       gtk_widget_set_vexpand (totem->spinner, TRUE);
 
        totem->seek = GTK_WIDGET (gtk_builder_get_object (totem->controls, "seek_scale"));
        totem->seekadj = gtk_range_get_adjustment (GTK_RANGE (totem->seek));
@@ -2496,7 +2497,7 @@ on_buffering_event (BaconVideoWidget *bvw, gdouble percent, TotemObject *totem)
        } else {
                g_autofree char *text = NULL;
 
-               text = g_strdup_printf ("<span size=\"larger\">%.2f%%</span>", percent * 100);
+               text = g_strdup_printf ("<span size='xx-large'>%.2f%%</span>", percent * 100);
                gtk_label_set_markup (GTK_LABEL (totem->spinner), text);
                gtk_widget_show (totem->spinner);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]