Bug 331887 Make the choose calendar dialog resizable and give it a title. patch by ssitter, r=jminta

This commit is contained in:
jminta%gmail.com 2006-03-27 21:00:58 +00:00
Родитель 83ba3e5a9e
Коммит b2eb79be3e
3 изменённых файлов: 10 добавлений и 5 удалений

Просмотреть файл

@ -44,10 +44,12 @@
]>
<dialog id="chooseCalendar"
title="&calendar.select.dialog.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept,cancel"
onload="loadCalendars();"
ondialogaccept="return doOK();">
ondialogaccept="return doOK();"
persist="screenX screenY height width">
<script type="application/x-javascript"><![CDATA[
function loadCalendars() {
@ -83,9 +85,9 @@
}
]]></script>
<vbox id="dialog-box">
<vbox id="dialog-box" flex="1">
<textbox id="prompt" class="plain" readonly="true" multiline="true" rows="2"/>
<listbox id="calendar-list" rows="5">
<listbox id="calendar-list" rows="5" flex="1">
<listcols>
<listcol/>
<listcol flex="1"/>

Просмотреть файл

@ -130,7 +130,7 @@ function loadEventsFromFile(aCalendar)
args.onOk = putItemsIntoCal;
args.promptText = getCalStringBundle().GetStringFromName("importPrompt");
openDialog("chrome://calendar/content/chooseCalendarDialog.xul",
"_blank", "chrome,titlebar,modal", args);
"_blank", "chrome,titlebar,modal,resizable", args);
}
}
}
@ -331,7 +331,7 @@ function exportEntireCalendar(aCalendar) {
args.onOk = getItemsFromCal;
args.promptText = getCalStringBundle().GetStringFromName("exportPrompt");
openDialog("chrome://calendar/content/chooseCalendarDialog.xul",
"_blank", "chrome,titlebar,modal", args);
"_blank", "chrome,titlebar,modal,resizable", args);
}
} else {
getItemsFromCal(aCalendar);

Просмотреть файл

@ -516,6 +516,9 @@
<!ENTITY calendar.publish.example.url.description "Something like http://www.myserver.com/webdav/test.ics">
<!-- Select Calendar Dialog -->
<!ENTITY calendar.select.dialog.title "Select Calendar">
<!-- TRANSLATORS: this label must be short to keep a reasonable column width in the week view -->
<!ENTITY allDayEvents.label "All Day Events">