Fix bug 671062 - The up and down arrows used to adjust the number (minutes, hours, days) for the snooze are missing. r=richard.marti
authorDecathlon <bv1578@gmail.com>
Wed, 13 Jul 2011 10:02:00 +0200
changeset 8509 81675a52450aa334addd373a5c9b0417db26cdde
parent 8508 a709a5fdca1c6cfa9bd0ca8a1ae8ad5f6d449960
child 8510 433133e6ec86f10fe15616d83c13574fbcf2d3dc
push id117
push usermozilla@kewis.ch
push dateMon, 29 Aug 2011 18:31:29 +0000
treeherdercomm-aurora@433133e6ec86 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrichard.marti
bugs671062
Fix bug 671062 - The up and down arrows used to adjust the number (minutes, hours, days) for the snooze are missing. r=richard.marti
calendar/base/content/dialogs/calendar-alarm-dialog.xul
calendar/base/content/widgets/calendar-alarm-widget.xml
--- a/calendar/base/content/dialogs/calendar-alarm-dialog.xul
+++ b/calendar/base/content/dialogs/calendar-alarm-dialog.xul
@@ -39,16 +39,19 @@
    - ***** END LICENSE BLOCK ***** -->
 
 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
 <?xml-stylesheet href="chrome://calendar/skin/calendar-alarm-dialog.css" type="text/css"?>
 
 <!-- used for button-text and button-menu-dropmarker classes -->
 <?xml-stylesheet href="chrome://global/skin/button.css" type="text/css"?>
 
+<!-- used for textbox in the menupopup "snooze-menupopup" -->
+<?xml-stylesheet href="chrome://global/skin/spinbuttons.css" type="text/css"?>
+
 <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
 
 <!-- DTD File with all strings specific to the calendar -->
 <!DOCTYPE dialog SYSTEM "chrome://calendar/locale/calendar.dtd">
 
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         id="calendar-alarm-dialog"
         title="&calendar.alarm.title.label;"
--- a/calendar/base/content/widgets/calendar-alarm-widget.xml
+++ b/calendar/base/content/widgets/calendar-alarm-widget.xml
@@ -251,17 +251,16 @@
                     value="1440"
                     oncommand="snoozeItem(event)"/>
       <children/>
       <xul:menuseparator/>
       <xul:hbox class="snooze-options-box">
         <xul:textbox anonid="snooze-value-textbox"
                      oninput="updateAccessibleName()"
                      type="number"
-                     hidespinbuttons="true"
                      size="3"/>
         <xul:menulist anonid="snooze-unit-menulist"
                       class="snooze-unit-menulist menuitem-non-iconic"
                       allowevents="true">
          <xul:menupopup anonid="snooze-unit-menupopup"
                         position="after_start"
                         ignorekeys="true"
                         class="menulist-menupopup">