[totem] main: Fix empty title when coming back from player



commit 34744230391ba438559dcc45720645b30fae44aa
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Feb 2 19:11:50 2014 +0100

    main: Fix empty title when coming back from player
    
    We were setting the title correctly, but then overwriting
    the title label with the subtitle value.

 src/totem-main-toolbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-main-toolbar.c b/src/totem-main-toolbar.c
index f5e41b0..a45ec22 100644
--- a/src/totem-main-toolbar.c
+++ b/src/totem-main-toolbar.c
@@ -648,7 +648,7 @@ totem_main_toolbar_set_subtitle (TotemMainToolbar *bar,
   bar->priv->subtitle = g_strdup (subtitle);
   g_free (tmp);
 
-  gtk_label_set_text (GTK_LABEL (bar->priv->title_label), subtitle);
+  gtk_label_set_text (GTK_LABEL (bar->priv->subtitle_label), subtitle);
 
   g_object_notify (G_OBJECT (bar), "subtitle");
 }


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