aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/event-editor-dialog.glade
Commit message (Collapse)AuthorAgeFilesLines
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-111-2/+0
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* fill in new classification stuff properly (get_widgets): load new class.JP Rosevear2001-02-091-1037/+1023
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (fill_widgets): fill in new classification stuff properly (get_widgets): load new class. widgets (init_widgets): if the class. widgets change, mark the dialog dirty (dialog_to_comp_object): set the comp class. from the new widgets * gui/dialogs/task-editor-dialog.glade: Make more consistent, fixing bugs 1247 and 1249 * gui/dialogs/task-editor.c (fill_widgets): * gui/event-editor-dialog.glade: Gui tidying * gui/event-editor.c: Remove old alarm cruft * cal-util/cal-component.c (cal_component_set_url): Don't try and write an empty string as a property svn path=/trunk/; revision=8132
* Pulling stuff up from the branchJP Rosevear2001-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-06 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_set_categories): If the categories string is empty, remove the property (get_period_list): Fixes from clahey to handle the new rdate format in libical (set_period_list): ditto 2001-02-06 JP Rosevear <jpr@ximian.com> * gui/event-editor.c (fill_reminder_widgets): Match new append_alarm signature (reminder_to_comp_object): only add alarms tagged as new, no longer delete all alarms first (append_reminder): the row data is now of type ReminderData, rename from append_alarm (reminder_add_cb): math new append_alarm signature (reminder_delete_cb): if the alarm existed before the dialog was loaded, delete it immediately from the cal component 2001-02-06 JP Rosevear <jpr@ximian.com> * gui/event-editor-dialog.glade: Gui tweaks for bugs 1248 and 1246 * gui/dialogs/task-editor-dialog.glade: ditto 2001-02-06 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (e_week_view_show_popup_menu): Make the menus more consistent * gui/e-day-view.c (e_day_view_on_event_right_click): ditto * gui/e-calendar-table.c: ditto svn path=/trunk/; revision=8037
* get the new reminder widgets (sync_entries): different callback dataJP Rosevear2001-02-061-417/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-05 JP Rosevear <jpr@ximian.com> * gui/event-editor.c (get_widgets): get the new reminder widgets (sync_entries): different callback data (summary_changed_cb): take different data and handle various cases (init_widgets): connect signals for the new widgets (get_alarm_duration_string): give a text string of the alarm duration (get_alarm_string): give a string representing the alarm (fill_widgets): make sure we don't loop infinitely and remove old alarm cruft (reminder_to_comp_object): dump alarm info in the gui into the cal component (append_alarm): add alarm to the clist (reminder_add_cb): create new alarm (reminder_delete_cb): remove the alarm from the list * gui/event-editor-dialog.glade: Update gui * gui/e-calendar-table.c: include gnome.h for all the menu stuff * gui/calendar-summary.c: for internationalization * gui/tasks-control.c: include gnome.h * gui/e-tasks.c: ditto * gui/e-itip-control.c: ditto * cal-util/cal-recur.c (cal_recur_set_rule_end_date): Update for libical changes svn path=/trunk/; revision=8003
* Fix bug #1243. Turn on the Y expand/fill options for the date widgets inFederico Mena Quintero2001-01-211-4/+9
| | | | | | | | | | | | | 2001-01-20 Federico Mena Quintero <federico@ximian.com> * gui/event-editor-dialog.glade: Fix bug #1243. Turn on the Y expand/fill options for the date widgets in the General page. This makes them be vertically aligned with the "All day event" toggle so that they will get the focus in the proper order; the toggle would get the focus before them because it was a pixel or two above them. svn path=/trunk/; revision=7668
* get categories button (init_widgets): listen for button clickJP Rosevear2001-01-061-3/+88
| | | | | | | | | | | | | | | | | | 2001-01-05 JP Rosevear <jpr@helixcode.com> * gui/event-editor.c (get_widgets): get categories button (init_widgets): listen for button click (fill_widgets): fill in the categories area (dialog_to_comp_object): set the cal component categories (categories_clicked): throw up the categories dialog and update when ok is clicked * gui/event-editor-dialog.glade: Add categories and contacts buttons and fields * gui/dialogs/task-editor-dialog.glade: Rename button svn path=/trunk/; revision=7270
* Fixes bug #955.Federico Mena Quintero2000-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> Fixes bug #955. * gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for the week_start_day, to be used in the same way as calendar-config.h defines it. Removed the week_starts_on_monday flag. (day_event_cb): Use the week_start_day. (colorize_items): Likewise. (configure_items): Likewise. (weekday_picker_set_week_start_day): New function. (weekday_picker_get_week_start_day): New function. (weekday_picker_set_week_starts_on_monday): Removed function. (weekday_picker_get_week_starts_on_monday): Removed function. * gui/widget-util.[ch]: New files with utilities for creating or configuring widgets. * gui/widget-util.c (date_edit_new): New function to create an EDateEdit configured with the calendar's preferences; moved over from event-editor.c. * gui/event-editor.c (make_recur_weekly_special): Use weekday_picker_set_week_start_day() and the corresponding function from calendar-config.h. (init_widgets): Likewise. (make_date_edit_with_time): Removed function. (make_recur_ending_until_special): Use date_edit_new(). (make_date_edit): Likewise. * gui/dialogs/task-editor.c (task_editor_create_date_edit): Likewise. * gui/event-editor-dialog.glade: Removed references to make_date_edit_with_time(); replace them with make_date_edit(). * gui/Makefile.am (evolution_calendar_SOURCES): Added widget-util.[ch] to the list of sources. svn path=/trunk/; revision=7037
* added changed flags and added calls to a new functionDamon Chaplin2000-12-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c: added changed flags and added calls to a new function event_editor_set_changed() to set & reset this flag. Added prompt_to_save_changed() which is called when the user selects File/Close or the window's close button. Fixed the 'All day event' toggle button. Made the 'Alarm' page sensitive as appropriate when filling widgets. (Though note that the alarm widgets are not being set yet.) * gui/dialogs/task-editor.c: added changed flag as above. * gui/event-editor-dialog.glade: used good names for all the classification radio buttons so we can access them in the code. * gui/event-editor.c (init_widgets): use the "show week numbers" config option in the recurrence preview calendar. * gui/e-day-view.c (e_day_view_update_event_label): use 9:00 instead of 09:00 in the main view, as we do everywhere else now. It means the times won't line up, but they are easier to read which I think is better. Added support for Page Up/Down, though I think it should move the selection rather than just scroll the canvas. * cal-util/cal-recur.c (generate_instances_for_chunk): removed the end parameter since we should be using the chunk end time now. Added single_rule parameter for when we are generating the occurrences of a single RRULE, in which case the event's start date is not included in the occurrences output (unless it results from the RRULE expansion). Both of these fix problems when using COUNT. * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): fixed bug when checking if the new start day starts on the week start day. If you select a complete week it should now show the Week view. svn path=/trunk/; revision=6896
* OK, bugzilla bug #829 is fixed and that does not redeem me from extremeFederico Mena Quintero2000-11-131-1/+1
| | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> OK, bugzilla bug #829 is fixed and that does not redeem me from extreme procrastination. Wheeeeeeeeeeeeeeee! * gui/event-editor-dialog.c: Changed the "Rule view" label to "Preview" svn path=/trunk/; revision=6558
* Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "CustomFederico Mena Quintero2000-11-131-78/+108
| | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (make_recur_ending_count_special): Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "Custom recurrence" radio button as appropriate. (sensitize_recur_widgets): Resurrected the recurrence custom warning label. (get_widgets): Load the recurrence custom warning bin. * gui/event-editor-dialog.glade: Add an empty alignment for the recurrence custom warning label. svn path=/trunk/; revision=6556
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-131-15/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Removed the old recurrence page. Wheeeeeeeeee!Federico Mena Quintero2000-11-071-264/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-05 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Removed the old recurrence page. Wheeeeeeeeee! * gui/event-editor.c (make_recurrence_special): Clear the monthly widgets. (make_recur_monthly_special): Create the monthly widgets. (clear_widgets): Clear the monthly values. (simple_recur_to_comp_object): Fill in the monthly values. (fill_recurrence_widgets): Fill in the monthly and yearly source values. (dialog_to_comp_object): Take in a CalComponent instead of using the event editor's directly. (recur_to_comp_object): Likewise. (simple_recur_to_comp_object): Likewise. (EventEditorPrivate): Removed the widgets from the old recurrence page. (get_widgets): Likewise. (clear_widgets): Likewise. (dialog_to_comp_object): If the description or summary are empty, just clear the description list or summary property, respectively, instead of saving empty ones. (simple_recur_to_comp_object): Set the week_start field. * gui/main.c: Fix includes, and add calendar-config.h. * gui/Makefile.am (evolution_calendar_SOURCES): The glade messages file should not be in SOURCES. svn path=/trunk/; revision=6417
* New function. (general_summary_changed_cb): Sync the general summary toFederico Mena Quintero2000-10-281-1296/+446
| | | | | | | | | | | | | | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (sync_entries): New function. (general_summary_changed_cb): Sync the general summary to the recurrence summary widget. (recurrence_summary_changed_cb): Vice-versa. (init_widgets): Hook to the summaries. * event-editor-dialog.glade: Do not expand/fill the start and end date so that the "all day event" button is not pushed all the way to the right. Decrease the spacing between the recurrence sentence widgets. Remove a spurious empty label that was lurking around the recurrence widgets. Make the alarm widgets expand the right way. Delete old recurrence widgets. svn path=/trunk/; revision=6246
* Connect to the recurrence ending menu. (recur_ending_selection_done_cb):Federico Mena Quintero2000-10-281-81/+52
| | | | | | | | | | | | | | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (init_widgets): Connect to the recurrence ending menu. (recur_ending_selection_done_cb): Implemented. (make_recurrence_ending_special): Implemented. (make_recur_ending_until_special): Implemented. (fill_ending_date): Implemented. (make_recur_ending_count_special): Implemented. (simple_recur_to_comp_object): Fill in the ending date. (clear_widgets): Clear the recurrence ending widgets. * gui/event-editor-dialog.glade: Moved the recurrence type radio buttons to a single hbox to save space. Fixed the lower value of the recurrence interval spin button. Removed the stale widgets from the recurrence ending date part. svn path=/trunk/; revision=6245
* This is the new recurrence page, partially finished. I just want it on CVSFederico Mena Quintero2000-10-271-80/+633
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the new recurrence page, partially finished. I just want it on CVS for if my laptop explodes. This is highly disgusting code. It has to discriminate between the recurrence types we support and the ones we do not. I hate iCalendar. I hate it more than Hi-Fi\'s pizza. 2000-10-26 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (EventEditorPrivate): Integrate Anna's new recurrence page. Replace the old widget pointers with the new ones. Modified the relevant functions accordingly and added plenty of new ones. (event_editor_get_cal_client): New function. (fill_recurrence_widgets): This is *THE* tricky function for you. It has to discriminate whether we get a recurrence we support for editing or not. And this is not trivial. Sigh. (event_editor_update_widgets): Added preconditions and API docs. * event-editor-dialog.glade: Fixed all the spacings/ paddings/packing options so that the widgets will look right if the dialog box is resized. Also fixes some misaligned widgets. * cal-util/cal-component.c (cal_component_set_rdate_list): Removed incorrect assertion. svn path=/trunk/; revision=6219
* uses the new TaskEditor dialog.Damon Chaplin2000-09-061-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-06 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_open_task): uses the new TaskEditor dialog. * gui/dialogs/task-editor.[hc]: * gui/dialogs/task-editor-dialog.glade: updated. Still need to fix the 'Status' property (CalComponent doesn't support it yet), and use a replacement for GnomeDateEdit, since we need to support setting 'None' as the date. 2000-09-04 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c (obj_updated_cb): (obj_removed_cb): compare the updated object's uid with the one we are editing, and just return if it doesn't match. 2000-09-01 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.c (gnome_calendar_tag_calendar): added check to see if the client has loaded successfully. Gets rid of a few warnings. svn path=/trunk/; revision=5217
* Remove owner fieldJP Rosevear2000-08-241-66/+15
| | | | | | | | | | | | 2000-08-24 JP Rosevear <jpr@helixcode.com> * gui/event-editor-dialog.glade: Remove owner field * gui/event-editor.c (clear_widgets): Forget about owner field (get_widgets): ditto (fill_widgets): ditto svn path=/trunk/; revision=5002
* Remove status barJP Rosevear2000-08-241-13/+0
| | | | | | | | | | | | | | | 2000-08-23 JP Rosevear <jpr@helixcode.com> * gui/event-editor-dialog.glade: Remove status bar * cal-util/cal-component.c (cal_component_set_rrule_list): Allow a null list (cal_component_set_rdate_list): Allow a null list * gui/e-day-view.c (e_day_view_on_new_appointment): Commit the CalComponent sequence svn path=/trunk/; revision=4995
* new ECalendarTable to show an ETable view for Todo/Event items.Damon Chaplin2000-07-261-447/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-25 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.[hc]: new ECalendarTable to show an ETable view for Todo/Event items. * gui/task-assigned-to.xpm: * gui/task-recurring.xpm: * gui/task-assigned.xpm: * gui/task.xpm: new pixmaps (all the same at present) to go in the icon column of the ETable. * gui/event-editor.c: hid the silly 'Calendar' labels on the GnomeDateEdits and hid the times when you select 'All day event'. Also adjusted the time_t's so that when an all day event finishes on say midnight 13th May, we show 12th May in the dialog, since it implicitly includes all of that day up to midnight. * gui/dialogs/task-editor-dialog.glade: * gui/dialogs/task-editor.[hc]: unfinished dialog to edit tasks. * gui/gncal-todo.c: temporary hack so that we can use the simple dialog with our new ETable. svn path=/trunk/; revision=4323
* Use &obj instead of &ico in the call to cal_client_get_object(). The ToDoDamon Chaplin2000-07-041-0/+1
| | | | | | | | | | | | 2000-07-04 Damon Chaplin <damon@helixcode.com> * gui/gncal-todo.c (gncal_todo_update): Use &obj instead of &ico in the call to cal_client_get_object(). The ToDo list should work now. * gui/event-editor-dialog.glade: set the toplevel GnomeApp to invisible so it doesn't appear and then resize. svn path=/trunk/; revision=3883
* tidied up dialog a bit, adding space etc.Damon Chaplin2000-06-201-209/+268
| | | | | | | | | | | 2000-06-19 Damon Chaplin <damon@helixcode.com> * gui/event-editor-dialog.glade: tidied up dialog a bit, adding space etc. * gui/e-week-view.c (e_week_view_reshape_events): removed debug msg. svn path=/trunk/; revision=3639
* Change of plans. The toplevel GnomeApp is now generated with Glade insteadFederico Mena Quintero2000-06-021-1450/+1477
| | | | | | | | | | | | | | | | | | | | | | | | 2000-06-01 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Change of plans. The toplevel GnomeApp is now generated with Glade instead of being created in the program code. Otherwise we can't migrate the accelerators to the new toplevel and they won't work. * gui/event-editor.[ch]: EventEditor now derives from GtkObject. This lets us use the GnomeApp created by libglade and still have signals and stuff. * gui/event-editor.c (create_menu): Tell the UI handler that the menubar is the GnomeApp's existing one, not to create a new one. (create_toolbar): Tell the UI handler to use the GnomeApp's existing toolbar. (event_editor_focus): New function to raise/focus an event editor. * gui/gnome-cal.c (gnome_calendar_edit_object): Use event_editor_focus(). svn path=/trunk/; revision=3348
* Flush - FedericoFederico Mena Quintero2000-05-301-43/+40
| | | | svn path=/trunk/; revision=3280
* Put the main notebook directly under a simple GtkWindow. We are going toFederico Mena Quintero2000-05-261-1516/+1454
| | | | | | | | | | | | | | | | | | | | 2000-05-25 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Put the main notebook directly under a simple GtkWindow. We are going to pull out the notebook and slap it into our custom-built GnomeApp, anwyays. * gui/event-editor.c: Made the EventEditor derive from GnomeApp. Added a BonoboUIHandler for its menu and toolbar. (make_title_from_ico): Create a nice title for the window. (get_widgets): Fetch the Glade widgets here instead of all over the place. (event_editor_new): Temporary hack to show the dialog here, just so that I can test it. * gui/Makefile.am (EXTRA_DIST): Added the Glade messages file. svn path=/trunk/; revision=3214
* hooked up more widget signals to callbacks to the gladified dialog actsSeth Alves2000-05-181-5/+5
| | | | | | | * gui/event-editor.c: hooked up more widget signals to callbacks to the gladified dialog acts more like the original one. svn path=/trunk/; revision=3106
* hook the radio buttons to the pages of the notebook. (append_exception):Seth Alves2000-05-171-56/+93
| | | | | | | | | | | | | | | | | | * gui/event-editor.c (recurrence_toggled): hook the radio buttons to the pages of the notebook. (append_exception): (recurrence_exception_added): (recurrence_exception_deleted): (recurrence_exception_changed): code to deal with the recurrence exception list. * gui/event-editor.[ch]: gladeified replacement for eventedit.c * gui/event-editor-utils.[ch]: utilities used by event-editor.c * gui/event-editor-dialog.glade: glade file used by event-editor.c svn path=/trunk/; revision=3092
* gladeified replacement for eventedit.cSeth Alves2000-05-161-0/+1943
* gui/event-editor.[ch]: gladeified replacement for eventedit.c * gui/event-editor-utils.[ch]: utilities used by event-editor.c * gui/event-editor-dialog.glade: glade file used by event-editor.c svn path=/trunk/; revision=3046