[gnome-calendar] window: add can_focus property to GcalMonthView
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: add can_focus property to GcalMonthView
- Date: Sun, 6 Mar 2016 23:15:59 +0000 (UTC)
commit 69e1fdd5f32e8db15ebf5d900def4ca50451c4da
Author: pandusonu2 <pandu sonu yahoo com>
Date: Mon Mar 7 04:18:15 2016 +0530
window: add can_focus property to GcalMonthView
In the commit, we made the initial value of can_focus for month-view to be set true, which was by default
taken to be false.
The problem is that when we open the month-view in gnome calendar, the input focus is not set to the
month view which resulted in the failue of navigation keys initially.
To fix this, the default value of the focus is set to true in the window.ui file.
https://bugzilla.gnome.org/show_bug.cgi?id=763160
data/ui/window.ui | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 16c80c2..35fc186 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -55,6 +55,7 @@
<child>
<object class="GcalMonthView" id="month_view">
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="active-date" bind-source="GcalWindow" bind-property="active-date"
bind-flags="bidirectional"/>
<signal name="create-event" handler="show_new_event_widget" object="GcalWindow"
swapped="no"/>
<signal name="create-event-detailed" handler="create_event_detailed_cb"
object="GcalWindow" swapped="no"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]