window: make 'Calendar' the default title

Shows it for empty search results.
This commit is contained in:
Georges Basile Stavracas Neto
2015-01-09 09:16:38 -05:00
committed by Erick Pérez Castellanos
parent 900b55dce5
commit 397e1da5de
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -179,6 +179,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="show_close_button">True</property>
<property name="title" translatable="yes">Calendar</property>
<child>
<object class="GtkBox" id="button_box">
<property name="visible">True</property>
+1 -1
View File
@@ -1091,7 +1091,7 @@ search_changed (GtkEditable *editable,
}
else
{
gtk_header_bar_set_title (GTK_HEADER_BAR (priv->header_bar), "");
gtk_header_bar_set_title (GTK_HEADER_BAR (priv->header_bar), _("Calendar"));
}
}
}