[gnome-calendar] window: make 'Calendar' the default title
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: make 'Calendar' the default title
- Date: Fri, 9 Jan 2015 14:30:47 +0000 (UTC)
commit 397e1da5de562795849c368d9b94e3a301e6ebcc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Jan 5 22:01:00 2015 -0200
window: make 'Calendar' the default title
Shows it for empty search results.
data/ui/window.ui | 1 +
src/gcal-window.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index d0612ca..b5ed2f3 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -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>
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 468745b..7257289 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -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"));
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]