Movie list window: set title from the movie source name, not description
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 5 Aug 2010 18:31:06 +0000 (20:31 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 5 Aug 2010 19:27:00 +0000 (21:27 +0200)
It's shorter, so we have more space to add markup when filters are enabled.

src/movie-list-window.vala

index f028439..0765af1 100644 (file)
@@ -37,7 +37,7 @@ public class MovieListWindow : StackableWindow {
 
        public MovieListWindow (MovieSource source_) {
                source = source_;
-               set_title (source.get_description ());
+               set_title (source.get_name ());
 
                // View menu
                menu = new MovieListMenu (this);
@@ -147,10 +147,10 @@ public class MovieListWindow : StackableWindow {
                                markup.prepend ("<span fgcolor=\"%s\">".printf (color.to_string ()));
                                markup.append ("</span>");
                        }
-                       markup.prepend (source.get_description ());
+                       markup.prepend (source.get_name ());
                        set_markup (markup.str);
                } else {
-                       set_markup (source.get_description ());
+                       set_markup (source.get_name ());
                }
 
                start_search ();