Bug 468420 - Consolidation of the navigation bar;r=philipp
authorBerend Cornelius [:berend] <berend.cornelius@sun.com>
Fri, 23 Jan 2009 11:26:35 +0100
changeset 1730 32974272c46e1bfae1ecd4ffbdfdff9f8c9a5432
parent 1729 b8176ccb82d52e36cdacd5b585e17b69e9b5bf68
child 1731 cdefa5f6cd12d994c72553defc22b0d4effe0c5b
push idunknown
push userunknown
push dateunknown
reviewersphilipp
bugs468420
Bug 468420 - Consolidation of the navigation bar;r=philipp
calendar/base/content/calendar-base-view.xml
calendar/base/content/calendar-views.xul
--- a/calendar/base/content/calendar-base-view.xml
+++ b/calendar/base/content/calendar-base-view.xml
@@ -366,17 +366,17 @@
       <property name="showCompleted"
                 onget="return this.mShowCompleted;"
                 onset="return (this.mShowCompleted = val);"/>
       <property name="timezone"
                 onget="return this.mTimezone;"
                 onset="return (this.mTimezone = val);"/>
       <property name="workdaysOnly"
                 onget="return this.mWorkdaysOnly;"
-                onset="return (this.mWorkdayOnly = val);"/>
+                onset="return (this.mWorkdaysOnly = val);"/>
       <property name="selectionObserver" readonly="true"
                 onget="return this.mSelectionObserver;"/>
       <property name="startDay" readonly="true"
                 onget="return this.startDate;"/>
       <property name="endDay" readonly="true"
                 onget="return this.endDate;"/>
       <property name="rangeStartDate"
                 onget="return this.mRangeStartDate;"
--- a/calendar/base/content/calendar-views.xul
+++ b/calendar/base/content/calendar-views.xul
@@ -59,16 +59,17 @@
                                  command="calendar_view_today_command"/>
                   <toolbarbutton id="next-view-button"
                                  class="view-navigation-button"
                                  type="next"
                                  command="calendar_view_next_command"/>
                   <label id="intervalDescription"
                                  class="view-header"
                                  crop="end"
+                                 flex="1"
                                  pack="start"/>
                   <spacer flex="1"/>
                   <label id="calendarWeek"
                          class="view-header"
                          type="end"
                          crop="start"/>
              </hbox>
              <hbox flex="1" class="navigation-bottombox"/>