[gnome-calendar/search-improvements] window: make 'Calendar' the default title



commit 23ecac8a653ea31397c444cf0b31a08f59d3164c
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 65a3734..1304cab 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]