[nautilus/wip/ernestask/gtk4-continued] notebook: Expand spinner



commit b1503d98c470de19ff7c051490e92af10c7720b8
Author: Ernestas Kulik <ernestask gnome org>
Date:   Mon Aug 13 11:34:51 2018 +0300

    notebook: Expand spinner
    
    The spinner in the notebook tabs is currently start-aligned, so
    expanding it fixes it not being centered.

 src/nautilus-notebook.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c
index 9bfa45fdb..d7cf42bbd 100644
--- a/src/nautilus-notebook.c
+++ b/src/nautilus-notebook.c
@@ -335,6 +335,7 @@ build_tab_label (NautilusNotebook   *notebook,
 
     /* Spinner to be shown as load feedback */
     spinner = gtk_spinner_new ();
+    g_object_set (spinner, "expand", TRUE, NULL);
     gtk_container_add (GTK_CONTAINER (grid), spinner);
 
     /* Dummy icon to allocate space for spinner */


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