aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Use an array of const strings to keep gcc happy.Federico Mena Quintero1998-08-041-1/+1
| | | | | | | | | | | | | 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c (about_calendar_cmd): Use an array of const strings to keep gcc happy. * alarm.c (alarm_compare_by_time): Use gconstpointer to keep gcc happy. * calendar.c (calendar_object_compare_by_start): Likewise. * gncal-full-day.c (child_compare_by_start): Likewise. svn path=/trunk/; revision=296
* Add support for --view flag. (session_save_state): Save the view mode;Miguel de Icaza1998-07-081-11/+29
| | | | | | | | | | | | | | | | 1998-07-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c: Add support for --view flag. (session_save_state): Save the view mode; (new_calendar): Now takes a view mode flag. * gnome-cal.c (gnome_calendar_get_current_view_name): New function for enhancing the session management support for gnomecal. (gnome_calendar_set_view): New function that makes a given page active. svn path=/trunk/; revision=278
* Use gnome_geometry_string to get the geometry string.Havoc Pennington1998-06-231-9/+4
| | | | | | | | | Mon Jun 22 13:01:16 1998 Havoc Pennington <hp@pobox.com> * main.c (session_save_state): Use gnome_geometry_string to get the geometry string. svn path=/trunk/; revision=267
* Fix the gc destruction in the unrealization code and fix the pixmapMiguel de Icaza1998-05-261-1/+1
| | | | | | | | | | | | 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-full-day.c (gncal_full_day_unrealize): Fix the gc destruction in the unrealization code and fix the pixmap unrefing. * main.c (close_cmd): Remove a bad hack that disabled calendar widget destruction. svn path=/trunk/; revision=238
* 1. Fix: `New Appointment' defaults to the current day. 2. Add `NewArturo Espinosa1998-05-091-0/+17
| | | | | | | | | | 1. Fix: `New Appointment' defaults to the current day. 2. Add `New appointment today' entry. 3. Use the new freeze/thaw changes to avoid the extensive flicker. Miguel. svn path=/trunk/; revision=209
* Fix for SM code, I was allocating less than needed (thanks to federico for ↵Arturo Espinosa1998-04-301-1/+1
| | | | | | quickly spotting my mistake) -mig svn path=/trunk/; revision=202
* Added Session management to GnomeCal -miguelArturo Espinosa1998-04-291-38/+126
| | | | svn path=/trunk/; revision=200
* Fix user name computation -migArturo Espinosa1998-04-261-1/+7
| | | | svn path=/trunk/; revision=195
* Fixed alarm saving code. Fixed alarm loading code. New -partial-Arturo Espinosa1998-04-251-2/+43
| | | | | | | | | Fixed alarm saving code. Fixed alarm loading code. New -partial- implementation of the mail alarm. It is not working, I do not know what is closing stdin to sendmail svn path=/trunk/; revision=194
* Made it use popup_menu().Federico Mena Quintero1998-04-231-4/+5
| | | | | | | | | | | | | | | | | | | | | | | 1998-04-22 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c: Made it use popup_menu(). * popup-menu.c: New file with utility functions for creating popup menus. Maybe such a thing would be useful in libgnomeui, a la gnome-app-helper? * Makefile.am (gnomecal_SOURCES): Added popup-menu.[ch] to the sources. 1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c: New widget for editing TODO lists. This will be worked on a lot. * Makefile.am (gnomecal_SOURCES): Added gncal-todo.[ch] to the sources. * gncal-day-panel.c: Make it use the new TODO widget. svn path=/trunk/; revision=189
* Perfection comes in many disguises -migArturo Espinosa1998-04-221-1/+1
| | | | svn path=/trunk/; revision=184
* 1. Calendar property configuration is finally here with nice live-updates.Arturo Espinosa1998-04-221-4/+21
| | | | | | | | | | | | | 1. Calendar property configuration is finally here with nice live-updates. 2. Double clicking on week view jumps to that day in the day view; Context menu allows adding an appointment on that day. Miguel. svn path=/trunk/; revision=182
* Added calls to gtk_window_set_wmclass to gnome-utils - migArturo Espinosa1998-04-221-1/+2
| | | | svn path=/trunk/; revision=180
* Made it use GncalDayPanel.Federico Mena Quintero1998-04-221-0/+1
| | | | | | | | | | | | | | | | | | 1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-cal.c: Made it use GncalDayPanel. * gncal-day-panel.c: New widget for the day view in the main calendar toplevel. It basically takes care of everything gnome-cal did by hand with respect to the day view. * Makefile.am (gnomecal_SOURCES): Added gncal-day-panel.[ch] to the rules. * main.c: Added a separator between the About menu item and the help topics. svn path=/trunk/; revision=177
* Made it use the new paint_row function instead of painting everythingFederico Mena Quintero1998-04-211-27/+29
| | | | | | | | | | | | | 1998-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (paint_back): Made it use the new paint_row function instead of painting everything directly. We calculate areas in a smarter way so there is even less flicker than before, especially when selecting regions. * eventedit.c: Sensitize recurrence widgets properly. svn path=/trunk/; revision=171
* Fix compiler warnings - FedericoArturo Espinosa1998-04-211-2/+4
| | | | svn path=/trunk/; revision=170
* more fixes -migArturo Espinosa1998-04-211-2/+2
| | | | svn path=/trunk/; revision=169
* Use GNOME_STOCK_PIXMAP_HOME for today -migArturo Espinosa1998-04-201-1/+1
| | | | svn path=/trunk/; revision=167
* Update spanish translation for the Calendar.Arturo Espinosa1998-04-191-7/+126
| | | | | | | | | | | | | | | | | Update spanish translation for the Calendar. Added command line handling to the calendar program. You can now display your appointments for any given date from the command line wihtout running X. Added CVS's `getdate'. This is a date parser for a bunch of formats. Internationalized getdate. You can even type date descriptions in your native language. Miguel. svn path=/trunk/; revision=159
* Add Quoted printable property to items containing new lines. (duration):Miguel de Icaza1998-04-191-2/+16
| | | | | | | | | | | | | | | 1998-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (ical_object_to_vobject): Add Quoted printable property to items containing new lines. (duration): Use unsigned integers, to work around buggy calendar files generated by korganizer. * main.c (save_calendar_cmd): Do not ask for file name if we are saving. (save_as_calendar_cmd): New command. svn path=/trunk/; revision=158
* Final steps.Arturo Espinosa1998-04-181-0/+12
| | | | svn path=/trunk/; revision=157
* Usability fixes -migArturo Espinosa1998-04-181-5/+16
| | | | svn path=/trunk/; revision=156
* Yes.Arturo Espinosa1998-04-181-15/+21
| | | | | | | | | | | | | | | | | | | | | Yes. It works. It loads, it saves, it does all that stuff. It works, even if federico complains that we did not test close. Repetition, alarms, all that stuff you all guys love. It it is there. We did minimal testing, but we know you will happilly commit a fix if you find a problem, right? Ok, we are off to a party now. Miguel svn path=/trunk/; revision=155
* Added mandatory status property. (ical_object_to_vobject): Only storeFederico Mena Quintero1998-04-181-35/+82
| | | | | | | | | | | | | | | | 1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * calobj.c (ical_new): Added mandatory status property. (ical_object_to_vobject): Only store "related" list if it exists. * main.c (save_calendar_cmd): Implemented calendar saving. (open_calendar_cmd): Implemented calendar loading. (new_calendar_cmd): Implemented calendar creation. (new_calendar): Don't load our test calendar by default. * gncal-full-day.c (delete_appointment): Delete appointment implemented. svn path=/trunk/; revision=153
* The event dialog is beautified, recurrences are saner.Federico Mena Quintero1998-04-181-1/+4
| | | | | | | | | | 1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_init_recurrence_page): New function that creates the recurrence page in the toplevel notebook. (ee_store_recur_values_to_ical): Now we can also store the recurrences. svn path=/trunk/; revision=151
* New event generation api in place -miguelArturo Espinosa1998-04-171-16/+25
| | | | svn path=/trunk/; revision=146
* The general_owner may be null. Do the proper thing when creating theFederico Mena Quintero1998-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_init_general_page): The general_owner may be null. Do the proper thing when creating the label. (ee_ok): Update the gnome calendar appropriately. * timeutil.h: * gncal-year-view.h: Add some missing prototypes. * gncal-full-day.c (child_popup_menu): Set the sensitivity of menu items according to whether the ical object is being edited or not. * eventedit.c (event_editor_new): Set the "being edited" flag on the ical object (stored as the ical object's user data). (event_editor_destroy): Release the flag. * calobj.h: The iCalObject structure now has a generic user_data pointer. * calobj.c (ical_object_set_user_data ical_object_get_user_data): Functions to set this data. svn path=/trunk/; revision=140
* New widget for the year view. added required compilation of the new files.Arturo Espinosa Aldama1998-04-151-1/+1
| | | | | | | | | 1998-04-14 Arturo Espinosa Aldama <arturo@nuclecu.unam.mx> * gncal-year-view.[hc]: New widget for the year view. * Makefile.am: added required compilation of the new files. svn path=/trunk/; revision=134
* More work in progress, wheeeee - FedericoArturo Espinosa1998-04-081-1/+4
| | | | svn path=/trunk/; revision=109
* vCalendar gets fully saved -migArturo Espinosa1998-04-051-3/+3
| | | | svn path=/trunk/; revision=107
* more and more fixes -migArturo Espinosa1998-04-041-12/+3
| | | | svn path=/trunk/; revision=104
* Lots -migArturo Espinosa1998-04-041-7/+34
| | | | svn path=/trunk/; revision=103
* add test.vcf, more code progress -migArturo Espinosa1998-04-031-2/+2
| | | | svn path=/trunk/; revision=100
* More calendar work -migArturo Espinosa1998-04-031-0/+16
| | | | svn path=/trunk/; revision=98
* Day events are now cached inside the widget. They get initialized at thisMiguel de Icaza1998-04-031-2/+2
| | | | | | | | | | | 1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_update): Day events are now cached inside the widget. They get initialized at this time. * view-utils.c (view_utils_draw_events): Use the list of events. svn path=/trunk/; revision=95
* New main program that uses our new datatypes and objects.Miguel de Icaza1998-04-021-2/+22
| | | | | | | | | | | | | | | | | | | | | 1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c: New main program that uses our new datatypes and objects. * calendar.c (calendar_load_from_vobject, calendar_load): Implement loading of vCalendar objects and vCalendar files. * calobj.c (ical_object_create_from_vobject): Implement loading of vCalendar event and todo objects. * timeutil.c (isodate_from_time_t): New function. * gnome-cal.c, gnome-cal.h: Implement a toplevel widget, derived from GnomeApp. It holds all of the day views and arbitrates the display. svn path=/trunk/; revision=93
* GnomeCalendar toplevel GnomeApp; versit code -migArturo Espinosa1998-04-021-0/+218
svn path=/trunk/; revision=89