~mihirsoni/ubuntu-calendar-app/calendar-splash

« back to all changes in this revision

Viewing changes to YearView.qml

  • Committer: Mihir Soni
  • Date: 2014-09-19 08:11:17 UTC
  • mto: (455.4.2 2-weekview)
  • mto: This revision was merged to the branch mainline in revision 459.
  • Revision ID: mihirsoni.123@gmail.com-20140919081117-gxvqg2qppn3nlnm1
Removed duplicate header section from views and added common header

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    signal monthSelected(var date);
28
28
 
29
29
    Keys.forwardTo: [yearPathView]
 
30
    Action {
 
31
           id: calendarTodayAction
 
32
           objectName:"todaybutton"
 
33
           iconName: "calendar-today"
 
34
           text: i18n.tr("Today")
 
35
           onTriggered: {
 
36
               currentDay = new Date()
 
37
               goToBeginning()
 
38
           }
 
39
       }
 
40
 
 
41
       head.actions: [
 
42
           calendarTodayAction,
 
43
           commonHeaderActions.newEventAction,
 
44
           commonHeaderActions.showCalendarAction,
 
45
           commonHeaderActions.reloadAction
 
46
       ]
30
47
 
31
48
    PathViewBase {
32
49
        id: yearPathView