[gnome-photos] spinner-box: Remove "Loading..."



commit 4cd7acba29c6bb84257236bb3a41310dbb56fa14
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Feb 14 11:18:58 2014 +0100

    spinner-box: Remove "Loading..."
    
    Fixes: https://bugzilla.gnome.org/723729

 src/photos-spinner-box.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/photos-spinner-box.c b/src/photos-spinner-box.c
index 02b92de..1497db6 100644
--- a/src/photos-spinner-box.c
+++ b/src/photos-spinner-box.c
@@ -45,8 +45,6 @@ photos_spinner_box_constructed (GObject *object)
 {
   PhotosSpinnerBox *self = PHOTOS_SPINNER_BOX (object);
   PhotosSpinnerBoxPrivate *priv = self->priv;
-  GtkWidget *label;
-  gchar *text;
 
   G_OBJECT_CLASS (photos_spinner_box_parent_class)->constructed (object);
 
@@ -63,17 +61,6 @@ photos_spinner_box_constructed (GObject *object)
   gtk_widget_set_valign (priv->spinner, GTK_ALIGN_CENTER);
   gtk_container_add (GTK_CONTAINER (self), priv->spinner);
 
-  label = gtk_label_new (NULL);
-
-  gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-  text = g_strconcat ("<big><b>", _("Loading…"), "</b></big>", NULL);
-  gtk_label_set_label (GTK_LABEL (label), text);
-  g_free (text);
-
-  gtk_widget_set_halign (label, GTK_ALIGN_CENTER);
-  gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
-  gtk_container_add (GTK_CONTAINER (self), label);
-
   gtk_widget_show_all (GTK_WIDGET (self));
 }
 


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