removed all parts of penglobal that were not needed

This commit is contained in:
colinp%oeone.com 2001-12-20 15:24:56 +00:00
Родитель a4ca6798dd
Коммит 40f86f6375
7 изменённых файлов: 6 добавлений и 27 удалений

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

@ -89,7 +89,7 @@ function acknowledgeAlarm( )
//opener.gEventSource.modifyEvent( gCalendarEvent );
//pendialog.getRoot().Root.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
//self.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
return( true );
}
@ -114,7 +114,7 @@ function snoozeAlarm( )
//opener.gEventSource.modifyEvent( gCalendarEvent );
pendialog.getRoot().Root.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
self.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
return( true );
}

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

@ -95,12 +95,6 @@ var gHeaderDateItemArray = null;
//var gCategoryManager = null;
// penapplication instance
// At time of writing, this MUST BE CALLED calendar because the
// control bar expects the handle name to be the same as the variable name.
var calendar;
// Show event details on mouseover
var showEventDetails = true;
@ -131,12 +125,9 @@ const kMAX_NUMBER_OF_DOTS_IN_MONTH_VIEW = "8"; //the maximum number of dots that
function calendarInit()
{
// set up pen application
calendar = penapplication;
// get the calendar event data source
gEventSource = penapplication.getRoot().Root.gCalendarEventDataSource;
gEventSource = self.gCalendarEventDataSource;
//get the category manager.
@ -473,7 +464,7 @@ function newEvent( startDate, allDay )
args.onOk = self.addEventDialogResponse;
args.calendarEvent = penapplication.getRoot().CalendarEvent.makeNewEvent( startDate, allDay );
args.calendarEvent = self.CalendarEvent.makeNewEvent( startDate, allDay );
// open the dialog non modally

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

@ -45,8 +45,6 @@
<!-- Overlays -->
<?xul-overlay href="chrome://penglobal/content/penRootOverlay.xul"?>
<?xul-overlay href="chrome://penglobal/content/penApplicationOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://calendar/content/calendarMenuOverlay.xul"?>

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

@ -89,7 +89,7 @@ function acknowledgeAlarm( )
//opener.gEventSource.modifyEvent( gCalendarEvent );
//pendialog.getRoot().Root.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
//self.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
return( true );
}
@ -114,7 +114,7 @@ function snoozeAlarm( )
//opener.gEventSource.modifyEvent( gCalendarEvent );
pendialog.getRoot().Root.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
self.gCalendarEventDataSource.respondAcknowledgeAlarm( gCalendarEvent );
return( true );
}

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

@ -54,7 +54,6 @@
args.onOk = <function>; // funtion to call when OK is clicked
args.calendarEvent = calendarEvent; // newly creatd calendar event to be editted
calendar.openDialog("caNewEvent", "chrome://calendar/content/calendarEventDialog.xul", true, args );
*
* Invoke this dialog to edit an existing event as follows:
*
@ -63,8 +62,6 @@
args.onOk = <function>; // funtion to call when OK is clicked
args.calendarEvent = calendarEvent; // javascript object containin the event to be editted
calendar.openDialog("caEditEvent", "chrome://calendar/content/calendarEventDialog.xul", true, args );
* When the user clicks OK the onOk function will be called with a calendar event object.
*
*

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

@ -54,7 +54,6 @@
args.onOk = <function>; // funtion to call when OK is clicked
args.calendarEvent = calendarEvent; // newly creatd calendar event to be editted
calendar.openDialog("caNewEvent", "chrome://calendar/content/calendarEventDialog.xul", true, args );
*
* Invoke this dialog to edit an existing event as follows:
*
@ -63,8 +62,6 @@
args.onOk = <function>; // funtion to call when OK is clicked
args.calendarEvent = calendarEvent; // javascript object containin the event to be editted
calendar.openDialog("caEditEvent", "chrome://calendar/content/calendarEventDialog.xul", true, args );
* When the user clicks OK the onOk function will be called with a calendar event object.
*
*

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

@ -4,10 +4,6 @@ penglobal.jar:
content/penglobal/dateUtils.js (content/penglobal/dateUtils.js)
content/penglobal/datepicker-overlay.xul (content/penglobal/datepicker-overlay.xul)
content/penglobal/datepicker.js (content/penglobal/datepicker.js)
content/penglobal/penApplicationOverlay.xul (content/penglobal/penApplicationOverlay.xul)
content/penglobal/penRootOverlay.xul (content/penglobal/penRootOverlay.xul)
content/penglobal/penglobalclasses.js (content/penglobal/penglobalclasses.js)
content/penglobal/penroot.js (content/penglobal/penroot.js)
content/penglobal/timepicker-overlay.xul (content/penglobal/timepicker-overlay.xul)
content/penglobal/timepicker.js (content/penglobal/timepicker.js)
content/penglobal/unifinder-overlay.xul (content/penglobal/unifinder-overlay.xul)