aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/recurrence-page.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.Matthew Barnes2013-01-201-3/+3
| | | | | Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Address couple issues found by a Coverity scanMilan Crha2012-11-301-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-104/+143
|
* Bug #682678 - Entering the end date for a recurring event is very difficultMilan Crha2012-08-311-1/+5
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-3/+1
|
* Fix possible memory leaks of GError structuresMilan Crha2012-04-231-0/+6
|
* Bug #664326 - Buttons to handle exceptions in event is always disabledMilan Crha2012-03-091-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-20/+34
|
* Remove Ctrl + l ( ) character from source filesPaul Menzel2011-09-301-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From ccc980da1fd84ebfca25cf8caf9a5d62333099fc Mon Sep 17 00:00:00 2001 From: Paul Menzel <paulepanter@users.sourceforge.net> Date: Wed, 28 Sep 2011 10:18:18 +0200 Subject: [PATCH] Remove Ctrl + l ( ) character from source files The following commits git show aac3f2c8 git show 1510304c git show 13cabd9e git show 350a7a33 git show 9b7cc54d git show e6972011 git show 1d3a7938 git show 934524b9 git show b2954936 git show a7f677b5 git show 4369c400 git show d509f47a git show a6d5818f git show c3876df7 git show 4583098b git show 2831ada5 git show 4e1bce59 git show 1609f699 git show 4e4c1676 git show d6fade43 among others(?) introduced several occurrences of Ctrl + l ( ). Probably this was caused by the used editor. These control characters can be searched for using the following command [1]. $ git grep ^L [1] http://unstableme.blogspot.com/2009/10/grep-and-print-control-characters-in.html
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-48/+58
|
* Changing source in CompEditor blocks UIMilan Crha2011-08-261-32/+96
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-2/+4
|
* Bug #655190 - Sluggish performance interacting with calendar/tasksMilan Crha2011-08-021-1/+11
|
* Do not use deprecated EBook/ECal APIMilan Crha2011-06-141-18/+23
|
* Coding style cleanups.Matthew Barnes2011-05-091-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-9/+5
|
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-091-3/+0
| | | | GCC learned how to find dead assignments.
* Drop backward-compatibility cruft.Matthew Barnes2011-01-251-3/+0
|
* Move calendar preferences to the calendar module.Matthew Barnes2010-11-051-15/+39
| | | | | Continue replacing the use of calendar-config functions with GObject property bindings to EShellSettings properties.
* Bug #612181 - Show recurring events in italic in date navigatorMilan Crha2010-11-031-1/+1
|
* Add missing gtk-compat.h include to various filesMilan Crha2010-10-211-0/+3
|
* Bug 632641 - Handle combo box text API going awayMatthias Clasen2010-10-211-2/+2
|
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-1/+0
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Coding style cleanups.Matthew Barnes2010-09-131-1/+1
|
* Coding style and whitespace cleanups.Matthew Barnes2010-09-121-2/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-121-2/+2
|
* Forgot to commit some bits.Matthew Barnes2010-04-081-0/+1
|
* Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-18/+24
|
* Bug #569945 - Recurrence icon not removed after changing to single eventMilan Crha2010-04-011-0/+1
|
* Add extensions to configure calender widgets.Matthew Barnes2010-03-201-31/+3
| | | | | | Make ECalendarItem, ECalendarView, ECalModel, EDateEdit, EMeetingStore, and EMeetingTimeSelector extensible and register extensions to automatically bind every instance to the appropriate EShellSettings.
* Work around recent GTK+ deprecations.Matthew Barnes2010-03-051-0/+4
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-1/+1
|
* Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-23/+13
|
* Prefer G_N_ELEMENTS over sizeof calculations.Matthew Barnes2009-10-271-3/+3
|
* Bug #593633 - Runtime warnings trying to create a recurrence eventMilan Crha2009-09-241-4/+4
|
* Remove some obsolete utility functions.Matthew Barnes2009-09-051-11/+17
|
* Relax the EBinding API to reduce GObject casting.Matthew Barnes2009-09-021-4/+4
| | | | | Also make it more fault-tolerant by warning about non-existent property names instead of just crashing.
* Bug #314599 - Recurrence Tab Should Not Default To ForeverMilan Crha2009-08-111-1/+3
| | | | | Added a GConf schema key definition. Special value, -1, means forever.
* Bug #328361 - Support for "Fifth Sunday *of the month*"Marcel Stimberg2009-08-111-0/+7
|
* Bug #314599 - Recurrence Tab Should Not Default To ForeverMilan Crha2009-08-111-1/+1
|
* More refactoring of settings management.Matthew Barnes2009-08-091-1/+1
|
* Replace more "config" classes with property bindings.Matthew Barnes2009-08-061-12/+39
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-1/+0
|
* More code cleanup.Matthew Barnes2009-06-021-2/+2
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-29/+29
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-271-1/+1
|
* GN-bug #572348 - Removed deprecated Gtk+ symbolsMilan Crha2009-04-241-175/+151
| | | | Some still left, because those gone in kill-bonobo branch.
* ** Fix for bug #489437Milan Crha2009-01-131-0/+31
| | | | | | | | | | | | 2009-01-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #489437 * gui/dialogs/recurrence-page.c: (fill_component): Check whether the 'until' date is in the future, and report error if not. svn path=/trunk/; revision=37066
* ** Part of fix for bug #563669Milan Crha2008-12-151-1/+1
| | | | | | | | | | | | | | | 2008-12-15 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #563669 * mail/em-account-editor.c: (emae_option_checkspin): * filter/filter-int.c: (get_widget): * calendar/gui/dialogs/recurrence-page.c: (make_ending_count_special): * calendar/conduits/todo/todo-conduit.c: (e_todo_gui_new): Use zero GtkSpinButton's PageSize, as Gtk+ requires. svn path=/trunk/; revision=36892
* Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-011-18/+20
| | | | svn path=/trunk/; revision=36520
* ** Fixes bug #542125Matthew Barnes2008-07-191-350/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #542125 ** This set of changes migrates CompEditor, CompEditorPage and the various subclasses from using BonoboUI to GtkUIManager for menus and toolbars. It also substantially cleans up the code and streamlines the CompEditorPage API, making more effective use of GObject properties. Core changes: * gui/dialogs/comp-editor-page.c: * gui/dialogs/comp-editor-page.h: * gui/dialogs/comp-editor.c: * gui/dialogs/comp-editor.h: * gui/dialogs/event-editor.c: * gui/dialogs/event-editor.h: * gui/dialogs/event-page.c: * gui/dialogs/event-page.h: * gui/dialogs/memo-editor.c: * gui/dialogs/memo-editor.h: * gui/dialogs/memo-page.c: * gui/dialogs/memo-page.h: * gui/dialogs/recurrence-page.c: * gui/dialogs/recurrence-page.h: * gui/dialogs/schedule-page.c: * gui/dialogs/schedule-page.h: * gui/dialogs/task-details-page.c: * gui/dialogs/task-details-page.h: * gui/dialogs/task-editor.c: * gui/dialogs/task-editor.h: * gui/dialogs/task-page.c: * gui/dialogs/task-page.h: Supporting changes: * gui/calendar-component.c: * gui/comp-editor-factory.c: * gui/e-cal-popup.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-comp-editor-registry.c: * gui/e-memo-table.c: * gui/e-tasks.c: * gui/gnome-cal.c: * gui/memos-component.c: * gui/tasks-component.c: * gui/dialogs/alarm-dialog.c: * gui/dialogs/comp-editor-util.c: * art/Makefile.am: Move query-free-busy.png to data/icons. svn path=/trunk/; revision=35753
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-11/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Fixes bug #534360Matthew Barnes2008-05-231-5/+5
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* ** Fix for bnc #178778Srinivasa Ragavan2008-02-181-1/+1
| | | | | | | | | | | | 2008-02-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bnc #178778 * gui/dialogs/recurrence-page.c: (preview_recur): svn path=/trunk/; revision=35039
* ** Fix for bug #475781Milan Crha2008-01-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #475781 * plugins/save-calendar/csv-format.c: (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf): * plugins/itip-formatter/itip-formatter.c: (format_itip_object): * calendar/gui/dialogs/recurrence-page.c: (fill_ending_date), (recurrence_page_fill_widgets): * calendar/gui/dialogs/memo-page.c: (memo_page_fill_widgets): * calendar/gui/e-day-view.c: 2*(e_day_view_finish_long_event_resize), 2*(e_day_view_on_editing_stopped): * calendar/gui/itip-utils.c: (comp_compliant), (reply_to_calendar_comp): * calendar/gui/e-week-view.c: (e_week_view_on_editing_stopped): * calendar/gui/e-calendar-view.c: (e_calendar_view_add_event), (e_calendar_view_get_tooltips): * calendar/gui/e-cal-component-preview.c: (write_html): * calendar/gui/e-cal-component-memo-preview.c: (write_html): * calendar/gui/e-cal-model.c: (add_instance_cb): Fix memory leaks around ECalComponentDateTime. svn path=/trunk/; revision=34895
* Fix for bug #339620 (Disconnect signal handlers in the destroy_handler of ↵Suman Manjunath2008-01-141-0/+7
| | | | | | recurrence-page dialog) svn path=/trunk/; revision=34811
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-68/+68
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations -Kjartan Maraas2007-10-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/alarm-queue.c: * gui/alarm-notify/config-data.c: * gui/cal-search-bar.c: * gui/calendar-commands.c: * gui/calendar-config.c: * gui/dialogs/alarm-dialog.c: * gui/dialogs/alarm-list-dialog.c: * gui/dialogs/cal-prefs-dialog.c: * gui/dialogs/comp-editor.c: * gui/dialogs/event-page.c: * gui/dialogs/recurrence-page.c: * gui/e-alarm-list.c: * gui/e-cal-config.c: * gui/e-cal-event.c: * gui/e-cal-menu.c: * gui/e-cal-popup.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-date-time-list.c: * gui/e-day-view-main-item.c: * gui/e-day-view-time-item.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-meeting-list-view.c: * gui/e-memo-table.c: * gui/e-select-names-editable.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/goto.c: * gui/migration.c: * gui/print.c: * gui/tasks-control.c: * importers/icalendar-importer.c: Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations - mixing declarations and code - mark some code static - remove use of some deprecated Gtk+ apis svn path=/trunk/; revision=34420
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-29/+29
| | | | svn path=/trunk/; revision=34156
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-6/+4
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Fixes #354875Chenthill Palanisamy2006-11-061-6/+10
| | | | svn path=/trunk/; revision=32951
* svn path=/trunk/; revision=32849Francisco Javier F. Serrador2006-10-031-4/+4
| | | | | | | | 2006-10-03 Francisco Javier F. Serrador <serrador@openshine.com> * calendar/gui/dialogs/recurrence-page.c: (Fix #359271) svn path=/trunk/; revision=32849
* ** Fixes bug #325613Ushveen Kaur2006-09-291-0/+3
| | | | | | | | | | | 2006-08-24 Ushveen Kaur <kushveen@novell.com> ** Fixes bug #325613 * gui/dialogs/recurrence-page.c (make_recur_month_menu) : Translator comment added. svn path=/trunk/; revision=32825
* Fixes #323499.Chenthill Palanisamy2006-07-311-9/+6
| | | | svn path=/trunk/; revision=32441
* Fixes #345646Chenthill Palanisamy2006-07-311-0/+4
| | | | svn path=/trunk/; revision=32439
* mark strings for translationKarsten Bräckelmann2006-02-131-3/+3
| | | | svn path=/trunk/; revision=31492
* added translator comments for some occurrences of heavy sentenceAndre Klapper2006-02-121-1/+41
| | | | | | | | | | 2006-02-12 Andre Klapper <a9016009@gmx.de> * gui/dialogs/recurrence-page.glade: * gui/dialogs/recurrence-page.c: added translator comments for some occurrences of heavy sentence splitting. Hopefully fixes bug 329695. svn path=/trunk/; revision=31488
* adding translator comments to "second" strings to distinguish ordinalAndre Klapper2006-02-121-0/+1
| | | | | | | | | | | 2006-02-11 Andre Klapper <a9016009@gmx.de> * gui/dialogs/recurrence-page.c: * gui/alarm-notify/util.c: * gui/misc.c: adding translator comments to "second" strings to distinguish ordinal numbers and time divisions. Fixes bug 328988. svn path=/trunk/; revision=31484
* broken pipes are soo funKjartan Maraas2006-02-081-8/+1
| | | | svn path=/trunk/; revision=31452
* fixes #327879Chenthill Palanisamy2006-01-251-1/+2
| | | | svn path=/trunk/; revision=31300
* fixes #311888Chenthill Palanisamy2006-01-131-0/+16
| | | | svn path=/trunk/; revision=31164
* gui/calendar-commands.c gui/e-cal-list-view.c gui/e-calendar-table.cTor Lillqvist2005-11-261-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * gui/calendar-commands.c * gui/e-cal-list-view.c * gui/e-calendar-table.c * gui/e-memo-table.c * gui/e-memos.c * gui/e-tasks.c * gui/gnome-cal.c * gui/goto.c * gui/memos-control.c * gui/tasks-control.c * gui/alarm-notify/alarm-notify-dialog.c * gui/alarm-notify/notify-main.c * gui/dialogs/alarm-dialog.c * gui/dialogs/alarm-list-dialog.c * gui/dialogs/cal-attachment.c * gui/dialogs/cal-prefs-dialog.c * gui/dialogs/comp-editor.c * gui/dialogs/e-delegate-dialog.c * gui/dialogs/event-editor.c * gui/dialogs/meeting-page.c * gui/dialogs/memo-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/schedule-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-page.c * gui/dialogs/url-editor-dialog.c: Include e-util-private.h to get redefinition of compile-time pathnames as calls to functions on Windows. Construct the pathnames of files and directories under the installation prefix at run-time to enable install-anywhere on Windows. No effect on functionality on Unix. svn path=/trunk/; revision=30679
* gui/e-alarm-list.c gui/e-cal-component-memo-preview.cTor Lillqvist2005-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-24 Tor Lillqvist <tml@novell.com> * gui/e-alarm-list.c * gui/e-cal-component-memo-preview.c * gui/e-cal-component-preview.c * gui/e-cal-model.c * gui/e-cell-date-edit-text.c * gui/e-date-time-list.c * gui/e-itip-control.c * gui/e-memos.c * gui/e-tasks.c * gui/itip-utils.c * gui/print.c * gui/alarm-notify/alarm-notify-dialog.c * gui/alarm-notify/util.c * gui/dialogs/alarm-dialog.c * gui/dialogs/alarm-list-dialog.c * gui/dialogs/comp-editor-util.c * gui/dialogs/recurrence-page.c: Include e-time-utils.h from libedataserver instead of using evolution's copy which is going away. svn path=/trunk/; revision=30659
* Fixes #314599.Chenthill Palanisamy2005-09-301-3/+3
| | | | svn path=/trunk/; revision=30450
* Show the attachment bar menu items when needed.Chenthill Palanisamy2005-08-181-7/+9
| | | | svn path=/trunk/; revision=30157
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-1/+1
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Disable the meeting editor if the user is not an organizer whereverChenthill Palanisamy2005-06-081-9/+15
| | | | | | necessary svn path=/trunk/; revision=29474
* Setting default until date to 2 weeks after the start date. Fixes #268906Sushma Rai2005-05-131-3/+6
| | | | svn path=/trunk/; revision=29347
* On behalf of jack jia <jack.jia@sun.com>Harish Krishnaswamy2005-05-121-1/+0
| | | | | | | | | | fixes #229794 * gui/dialogs/recurrence-page.c: (make_weekly_special): Allow deselection of the current day while scheduling recurrences based on weeek days. svn path=/trunk/; revision=29337
* objects returned from e_cal_get_objects_for_uid are ECalComponent's, soRodrigo Moya2005-01-261-1/+1
| | | | | | | | | | 2005-01-26 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): objects returned from e_cal_get_objects_for_uid are ECalComponent's, so use g_object_unref to free them, not icalcomponent_free. svn path=/trunk/; revision=28562
* if there are detached instances, disable recurrence date widgets.Rodrigo Moya2005-01-241-0/+13
| | | | | | | | | 2005-01-24 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): if there are detached instances, disable recurrence date widgets. svn path=/trunk/; revision=28525
* conver to G_DEFINE_TYPEJP Rosevear2004-10-141-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c: conver to G_DEFINE_TYPE * gui/dialogs/meeting-page.c: ditto * gui/dialogs/recurrence-page.c: ditto * gui/dialogs/schedule-page.c: ditto * gui/dialogs/e-delegate-dialog.c: ditto * gui/dialogs/event-editor.c: ditto * gui/dialogs/task-editor.c: ditto * gui/dialogs/task-details-page.c: ditto * gui/dialogs/select-source-dialog.c (primary_selection_changed_cb): fix warning svn path=/trunk/; revision=27576
* Check the static capability to enable or disable the assign tasks in theChenthill Palanisamy2004-09-051-0/+11
| | | | | | | | | | | | | | | | 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): Check the static capability to enable or disable the assign tasks in the popup menu. * gui/dialogs/recurrence-page.c (sensitize_buttons): Check for the static capability to convert a existing appointment to recurrence appointment for enabling or diabling the recurrence widgets. svn path=/trunk/; revision=27152
* HIGify and newer design; alarm page is gone, Cancel/OK buttons for theJP Rosevear2004-06-231-203/+134
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/Makefile.am, gui/dialogs/alarm-dialog.c, gui/dialogs/alarm-dialog.glade, gui/dialogs/alarm-dialog.h, gui/dialogs/alarm-list-dialog.c, gui/dialogs/alarm-list-dialog.glade, gui/dialogs/alarm-list-dialog.h, gui/dialogs/alarm-options.c, gui/dialogs/alarm-options.h, gui/dialogs/alarm-page.c, gui/dialogs/alarm-page.glade, gui/dialogs/alarm-page.h, gui/dialogs/comp-editor.c, gui/dialogs/comp-editor.h, gui/dialogs/event-editor.c, gui/dialogs/event-page.c, gui/dialogs/event-page.glade, gui/dialogs/meeting-page.c, gui/dialogs/meeting-page.glade, gui/dialogs/recurrence-page.c, gui/dialogs/recurrence-page.glade, gui/dialogs/task-details-page.c, gui/dialogs/task-details-page.glade, gui/dialogs/task-editor.c, gui/dialogs/task-page.c, gui/dialogs/task-page.glade: HIGify and newer design; alarm page is gone, Cancel/OK buttons for the dialog, no more menus; slightly improve read-only workings for entry areas svn path=/trunk/; revision=26463
* Fixes #60293Rodrigo Moya2004-06-181-0/+14
| | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #60293 * gui/dialogs/recurrence-page.c (type_toggled_cb): make sure we enable/disable correctly the 'Add' button. svn path=/trunk/; revision=26417
* do not set the private client here, it is set in comp-editor.c.Rodrigo Moya2004-06-081-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): do not set the private client here, it is set in comp-editor.c. * gui/dialogs/event-page.c (sensitize_widgets): new function. (source_changed_cb): call sensitize_buttons(). * gui/dialogs/recurrence-page.c (sensitize_buttons): new function, to deal correctly with the sensitivity of all widgets in the page. (recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb): call sensitize_buttons() instead of sensitize_recur_widgets(). (recurrence_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. * gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing widgets in the page. (alarm_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. svn path=/trunk/; revision=26254
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-081-0/+15
| | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (recurrence_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. * gui/dialogs/alarm-page.c (sensitize_buttons): fixed missing stuff in last commit. svn path=/trunk/; revision=26252
* Fixes #53137Rodrigo Moya2004-03-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #53137 * gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual method return a gboolean. (comp_editor_page_fill_widgets): return value from virtual method implementation. * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets): * gui/dialogs/schedule-page.c (schedule_page_fill_widgets): * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): * gui/dialogs/task-page.c (task_page_fill_widgets): * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value, as expected from the virtual method signature. * gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the page if there was an error calling the fill_widgets method. svn path=/trunk/; revision=24960
* Convert the calendar_config_get_timezone andJP Rosevear2004-02-061-1/+1
| | | | | | | | | | | 2004-02-05 JP Rosevear <jpr@ximian.com> * Convert the calendar_config_get_timezone and icaltimezone_get_builtin_timezone pair to just calendar_config_get_icaltimezone, this also guarantees we will have some timezone (even if its just UTC) svn path=/trunk/; revision=24642
* commit the patch of Sun YongAntonio Xu2003-12-051-1/+1
| | | | | | | | | | | | | | | 2003-12-05 Antonio Xu <antonio.xu@Sun.com> commit the patch of Sun Yong Fix for #51337 * gui/dialogs/alarm-page.c Change raw string "Action/Trigger" to _("Action/Trigger") * gui/dialogs/recurrence-page.c Change raw string "Date/Time" to _("Date/Time") svn path=/trunk/; revision=23646
* Remove a bunch of gal includes that are no longer neededJP Rosevear2003-11-201-1/+1
| | | | | | | | 2003-11-20 JP Rosevear <jpr@ximian.com> * Remove a bunch of gal includes that are no longer needed svn path=/trunk/; revision=23457
* Cleanup some ref/unref callsJP Rosevear2003-11-181-4/+4
| | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * Cleanup some ref/unref calls svn path=/trunk/; revision=23412
* Make ending count of occurrences of Recurrence tab numeric only.Harry Lu2003-11-171-0/+1
| | | | | | | | | 2003-11-17 Harry Lu <harry.lu@sun.com> * gui/dialogs/recurrence-page.c (make_ending_count_special): Make ending count of occurrences of Recurrence tab numeric only. svn path=/trunk/; revision=23379
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-80/+80
| | | | svn path=/trunk/; revision=23206
* unref config manager (init_widgets): create config manager for theJP Rosevear2003-10-291-2/+9
| | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_finalize): unref config manager (init_widgets): create config manager for the e-calendar * gui/e-tasks.c (setup_widgets): create config manager for the table view (e_tasks_destroy): unref config manager (e_tasks_open): return FALSE not NULL (e_tasks_update_all_config_settings): don't configure the calendar table here, we have a manager * gui/calendar-config.c: remove dead config functions (handled by config managers now) svn path=/trunk/; revision=23115
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-221-2/+4
| | | | svn path=/trunk/; revision=22966
* Fixes part of #41148, #41216 and #41235Rodrigo Moya2003-04-231-7/+7
| | | | | | | | | | | | | | | | | | | | | | 2003-04-22 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #41148, #41216 and #41235 * gui/e-itip-control.c (init): * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct, e_meeting_time_selector_add_key_color): * gui/e-timezone-entry.c (e_timezone_entry_init): * gui/gnome-cal.c (setup_widgets): * gui/tasks-control.c (confirm_expunge): * gui/dialogs/comp-editor.c (setup_widgets): * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): * gui/dialogs/meeting-page.c (meeting_page_construct): * gui/dialogs/recurrence-page.c (make_weekly_special, make_monthly_special, make_ending_count_special): * gui/dialogs/schedule-page.c (schedule_page_construct): use HIG-suggested spacing. svn path=/trunk/; revision=20927
* unref the main widget since we ref it when we un-parent itJP Rosevear2003-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_finalize): unref the main widget since we ref it when we un-parent it * gui/dialogs/alarm-page.c (alarm_page_finalize): ditto * gui/dialogs/task-page.c (task_page_finalize): ditto * gui/dialogs/event-page.c (event_page_finalize): ditto * gui/dialogs/task-details-page.c (task_details_page_finalize): ditto * gui/dialogs/recurrence-page.c (recurrence_page_finalize): ditto * gui/dialogs/meeting-page.c (meeting_page_finalize): ditto svn path=/trunk/; revision=20811
* Fixes #39954Hans Petter Jansson2003-03-291-4/+4
| | | | | | | | | | | 2003-03-28 Hans Petter Jansson <hpj@ximian.com> Fixes #39954 * gui/dialogs/recurrence-page.c (make_recurrence_special): Destroy would-be children of the container before the container. svn path=/trunk/; revision=20559
* If only the pipe wouldn't break.JP Rosevear2003-03-051-41/+27
| | | | svn path=/trunk/; revision=20143
* gui/dialogs/alarm-page.c gui/dialogs/event-page.cHans Petter Jansson2003-03-041-1/+1
| | | | | | | | | | | | | | | | 2003-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/alarm-page.c * gui/dialogs/event-page.c * gui/dialogs/meeting-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/schedule-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-page.c (get_widgets): gtk_widget_unparent() -> gtk_container_remove(). The former caused crashes in the addressbook's name-selector. svn path=/trunk/; revision=20130
* Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir): RemoveDan Winship2003-02-061-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/dialogs/Makefile.am (INCLUDES): Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir): Remove definitions * gui/dialogs/alarm-page.c: #include gtktreeselection.h and gtkcellrenderertext.h (append_reminder): Remove unused variable. (alarm_page_fill_component): Likewise. (alarm_page_set_summary): Likewise. (delete_clicked_cb): Likewise. * gui/dialogs/comp-editor.c (make_icon_from_comp): s/ICONSDIR/IMAGESDIR/ * gui/dialogs/event-page.c: #include <string.h> * gui/dialogs/meeting-page.c (meeting_page_construct): Remove unused variable. (meeting_page_fill_widgets): Likewise * gui/dialogs/recurrence-page.c: #include gtktreeselection.h and gtkcellrenderertext.h (append_exception): Remove unused variable (fill_component): Likewise (recurrence_page_set_summary): Likewise. (exception_delete_cb): Likewise svn path=/trunk/; revision=19792
* array of localized month day names ("1st" - "31st")Dan Winship2003-02-061-47/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cal-util/cal-recur.c (cal_recur_nth): array of localized month day names ("1st" - "31st") * gui/dialogs/recurrence-page.c (make_recur_month_num_submenu, make_recur_month_num_menu, month_num_menu_selection_done_cb): Use the new cal_recur_nth[] array. The way this was done before didn't localize properly. * gui/alarm-notify/notify-main.c (main): s/glade_gnome_init/glade_init/ From evolution-1-2-branch: * gui/e-itip-control.c (write_recurrence_piece): Describe recurrences, if we can. #30993 (set_date_label): If the meeting has recurrences, call write_recurrence_piece after writing the start and end dates. (write_label_piece): Wrap the timezone in <font size=-1> to de-emphasize it a bit and try to keep the timestamp on a single line even with big Outlook timezone names. Add an option to show just the date, for describing the end of recurrences (since the time in the UNTIL is the *beginning* of the last instance, which would confuse people). (update_item): Set the VCALENDAR's METHOD. (ok_clicked_cb): Use update_item, not remove_item, to process a cancelation. Part of #33875. * pcs/cal-backend-file.c (cal_backend_file_cancel_object): New, handle an ICAL_METHOD_CANCEL update. (cal_backend_file_update_objects): Call cal_backend_file_update_object or cal_backend_file_cancel_object as appropriate. svn path=/trunk/; revision=19763
* Skip setting the "font_gdk" arg for now.Hans Petter Jansson2003-02-021-0/+1
| | | | | | | | | | | | | | | | | | | | 2003-02-02 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_set_event_font_cb): Skip setting the "font_gdk" arg for now. (e_day_view_update_main_canvas_drag): Ditto. * gui/e-week-view.c (e_week_view_style_set): Ditto. * gui/weekday-picker.c (configure_items): Ditto. * gui/dialogs/event-page.c (get_widgets): Show custom widgets manually, since the visibility specified in the Glade XML appears to not have any effect. * gui/dialogs/recurrence-page.c (get_widgets): Ditto. svn path=/trunk/; revision=19706
* Mainly making all views use PangoLayouts for text. When drawing aHans Petter Jansson2003-01-261-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-25 Hans Petter Jansson <hpj@ximian.com> Mainly making all views use PangoLayouts for text. When drawing a PangoLayout, the draw offset is the top left corner of the layout, not the text's baseline. Keep this in mind when viewing the changes. I'll be brief about the exact changes, since they speak better for themselves. * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width): Use Pango. (e_day_view_time_item_draw): Use Pango. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango. (e_day_view_top_item_draw_long_event): Add some FIXME text so we can see when this is being used. Is it in use at all? * gui/e-day-view.c: No longer specify an explicit X font string for the large font. Use the main font, and change the point size. (e_day_view_init): Use Pango. (e_day_view_style_set): Use Pango. Comment out the gdk_font setting for the drag text items for now. * gui/e-day-view.h: Use Pango. * gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Use Pango. * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw): Use Pango. * gui/e-week-view.c: No longer specify an explicit X font string for the small font. Use the main font, and change the point size. (e_week_view_init): Use Pango. (e_week_view_destroy): Use Pango. (get_string_width): Implemented for convenience. (get_digit_width): Implemented for convenience. (e_week_view_style_set): Use Pango. (e_week_view_recalc_cell_sizes): Use Pango. (e_week_view_get_time_string_width): Use Pango. * gui/e-week-view.h: Use Pango. Following are some random UTF-8 fixes and a crash fix. * gui/itip-utils.c (comp_description): Use g_locale_to_utf8 (). * gui/dialogs/comp-editor.c (make_title_from_comp): Return a UTF-8 string. * gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8 directly to GTK. * gui/dialogs/delete-comp.c (delete_component_dialog): Ditto. * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto. (meeting_page_construct): Ditto. * gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto. * gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused by gtk_object_destroy()-ing a non-GtkObject. svn path=/trunk/; revision=19628
* GTK_OBJECT -> G_OBJECT cast.Hans Petter Jansson2003-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/event-page.c (get_widgets): GTK_OBJECT -> G_OBJECT cast. * gui/dialogs/alarm-page.c (get_widgets): Ditto. * gui/dialogs/meeting-page.c (get_widgets): Ditto. * gui/dialogs/recurrence-page.c (get_widgets): Ditto. * gui/dialogs/schedule-page.c (get_widget): Ditto. * gui/dialogs/task-details-page.c (get_widget): Ditto. * gui/dialogs/task-page.c (get_widget): Ditto. * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Add a FIXME comment to think about. svn path=/trunk/; revision=19610
* Implement EAlarmList as CalComponentAlarm list with a GtkTreeModelHans Petter Jansson2003-01-171-18/+3
| | | | | | | | | | | | | | | | | | 2003-01-16 Hans Petter Jansson <hpj@ximian.com> * gui/e-alarm-list.[ch]: Implement EAlarmList as CalComponentAlarm list with a GtkTreeModel interface. * gui/Makefile.am: Add e-alarm-list.[ch]. * gui/dialogs/alarm-page.[ch]: Use GtkTreeView with the new EAlarmList as model for the alarm list. Update copyright. * gui/dialogs/recurrence-page.[ch]: Update copyright. (free_exception_date_time): Removed. (fill_exception_widgets): Kill a lingering clist operation. svn path=/trunk/; revision=19499
* Create accel groups for popup menus. Fixes crash.Hans Petter Jansson2003-01-161-82/+97
| | | | | | | | | | | | | | | | | 2003-01-15 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Create accel groups for popup menus. Fixes crash. * gui/e-date-time-list.[ch]: Implement EDateTimeList as CalComponentDateTime list with a GtkTreeModel interface. * gui/Makefile.am: Add e-date-time-list.[ch]. * gui/dialogs/recurrence-page.c: Use GtkTreeView with the new EDateTimeList as model for the exception list. svn path=/trunk/; revision=19490
* Replace gtk_signal_disconnect_by_data() withHans Petter Jansson2002-12-191-68/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-19 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-commands.c (calendar_control_deactivate): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). Former takes GtkObject, latter takes GObject. * gui/calendar-model.c (calendar_model_destroy): Ditto. (update_query): Ditto. (calendar_model_set_cal_client): Ditto. * gui/e-day-view.c (e_day_view_destroy): Ditto. (update_query): Ditto. (e_day_view_set_cal_client): Ditto. * gui/e-tasks.c (query_eval_error_cb): Ditto. (query_query_done_cb): Ditto. * gui/e-week-view.c (e_week_view_destroy): Ditto. (update_query): Ditto. (e_week_view_set_cal_client): Ditto. * gui/gnome-cal.c (update_query): Ditto. (gnome_calendar_destroy): Ditto. * gui/tasks-control.c (tasks_control_deactivate): Ditto. * gui/e-comp-editor-registry.c (foreach_close_cb): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). Former takes GtkObject, latter takes GObject. * gui/dialogs/alarm-page.c (alarm_page_get_type): Replace with E_MAKE_TYPE(). (alarm_page_class_init): Use GObject as base class instead of GtkObject, and set up finalization instead of destroy handler. (alarm_page_destroy): Change to alarm_page_finalize() and assume parent is GObject, not GtkObject. (alarm_page_new): Use g_object_new(), not gtk_type_new(). * gui/dialogs/event-page.c: Same general changes as above file. (update_time): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (clear_widgets): Ditto. (times_updated): Ditto. * gui/dialogs/recurrence-page.c: Same general changes as above file. (clear_widgets): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (append_exception): Ditto. (fill_ending_date): Ditto. (recurrence_page_fill_widgets): Ditto. * gui/dialogs/comp-editor.c: Same general changes as above file. (comp_editor_finalize): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). (comp_editor_remove_page): Ditto. * gui/dialogs/event-editor.c: Same general changes as above file. * gui/dialogs/meeting-page.c: Same general changes as above file. * gui/dialogs/schedule-page.c: Same general changes as above file. * gui/dialogs/task-details-page.c: Same general changes. * gui/dialogs/task-editor.c: Same general changes as above file. * gui/dialogs/task-page.c: Same general changes as above file. * gui/dialogs/e-delegate-dialog.c: Same general changes. svn path=/trunk/; revision=19167
* run fix.sh over this.Not Zed2002-12-021-49/+49
| | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * gui/itip-utils.[ch]: run fix.sh over this. * gui/dialogs/*.[ch]: run fix.sh over all of this. 2002-11-26 Richard Li <Richard.Li@Sun.COM> * cal-client/cal-client.c (cal_client_construct): removed extra call to CORBA_exception_init. 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18972
* Initial port of gui/ subdir to GNOME 2JP Rosevear2002-11-081-3/+4
| | | | | | | | 2002-11-07 JP Rosevear <jpr@ximian.com> * Initial port of gui/ subdir to GNOME 2 svn path=/trunk/; revision=18648
* if the value is a datetime, convert it to a dateJP Rosevear2002-10-181-0/+24
| | | | | | | | | | | | | | | | | | 2002-10-17 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (fill_ending_date): if the value is a datetime, convert it to a date * gui/itip-utils.c (comp_compliant): convert an UNTIL date value to a datetime value * cal-util/cal-component.c (cal_component_has_simple_recurrence): check to see if the component recurrences meet our definition of "simple" * cal-util/cal-component.h: new proto svn path=/trunk/; revision=18389
* changed to have a gboolean return type, which is what it's supposed to do.Rodrigo Moya2002-10-181-4/+4
| | | | | | | | | | | | | 2002-10-17 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/recurrence-page.c (fill_component): changed to have a gboolean return type, which is what it's supposed to do. (recurrence_page_fill_component): return the result from fill_component. * gui/dialogs/comp-editor-page.h: fixed typo in function prototype. svn path=/trunk/; revision=18387
* Fixes #11434Rodrigo Moya2002-10-091-0/+6
| | | | | | | | | | | | | | | | | | | | | 2002-10-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #11434 * gui/dialogs/comp-editor-page.[ch] (comp_editor_page_display_validation_error): new function. * gui/dialogs/event-page.c (event_page_fill_component): * gui/dialogs/recurrence-page.c (fill_component): * gui/dialogs/task-details-page.c (task_details_page_fill_component): * gui/dialogs/task-page.c (task_page_fill_component): added checks for all date values, and return FALSE if we find some invalid date/times. * gui/dialogs/comp-editor.c (save_comp): activate the page that returns error in fill_component. svn path=/trunk/; revision=18352
* bump the month_num by 1 because it indexs at 0JP Rosevear2002-09-191-2/+4
| | | | | | | | | | | | 002-09-19 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (simple_recur_to_comp): bump the month_num by 1 because it indexs at 0 (recurrence_page_fill_widgets): lower the month_num by one as above Fixes #30381 svn path=/trunk/; revision=18110
* properly handle -ve recurrence valuesJP Rosevear2002-04-191-67/+256
| | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly handle -ve recurrence values (month_num_submenu_selection_done_cb): track the current date in use (make_recur_month_num_submenu): make a submenu of dates (make_recur_month_num_menu): make the date/relation option menu (month_num_menu_selection_done_cb): update the date properly and keep both option menus consistent (month_day_menu_selection_done_cb): keep both option menus consistent (make_monthly_special): listen for selection done signal (make_recurrence_special): destroy old month_num_menu (recurrence_page_fill_widgets): properly handle -ve recurrence values svn path=/trunk/; revision=16526
* Fixing the license text.Ettore Perazzoli2001-10-281-4/+3
| | | | svn path=/trunk/; revision=14214
* convert the formatted date to UTF-8.Damon Chaplin2001-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Damon Chaplin <damon@ximian.com> * gui/e-itip-control.c (write_label_piece): convert the formatted date to UTF-8. * cal-util/cal-recur.c (CAL_OBJ_DEBUG): turn off debug functions. * gui/dialogs/comp-editor-util.c (parse_contact_string): handle UTF8 correctly. Bug #4450. Good enough for 1.0. * gui/e-week-view-event-item.c (e_week_view_draw_time): set the gc color before drawing. Should fix bug #11469. * gui/dialogs/task-editor.c (task_editor_edit_comp): show or hide the meeting page as appropriate. Note this may be called more than once, if the task gets updated somewhere else and the user clicks 'Update the object'. Hopefully fixes bug #12930. * gui/print.c (print_comp_item): printed more fields and made a little prettier. Fixes bug #9352. (print_date_label): used the correct timezones for each date field. * *.c: removed several debug messages. svn path=/trunk/; revision=14187
* subtract 1 from any positive BYSETPOS value, since our array is 0-based.Damon Chaplin2001-10-261-17/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-25 Damon Chaplin <damon@ximian.com> * cal-util/cal-recur.c (cal_obj_bysetpos_filter): subtract 1 from any positive BYSETPOS value, since our array is 0-based. * gui/dialogs/recurrence-page.c (simple_recur_to_comp): (recurrence_page_fill_widgets): Outlook (2000) will not accept monthly recurrences like BYDAY=2TU. Instead it uses BYDAY=TU;BYSETPOS=2. So to be compatable with it we now do the same, although we still accept and convert the old format. * cal-client/cal-client.c (cal_client_get_component_as_string): new function to return a complete VCALENDAR string containing a VEVENT or VTODO with all the VTIMEZONEs it uses. * gui/dialogs/comp-editor.c (save_as_ok): use above function so we save the VTIMEZONE data with the VEVENT/VTODO. Fixes bug #????. Also made sure we output "METHOD:PUBLISH" since Outlook (2000) will not import it otherwise. * gui/dialogs/comp-editor.c (page_mapped_cb): (page_unmapped_cb): install/uninstall the GtkAccelGroup for the page. (comp_editor_append_page): connect to the map/unmap signals to install/uninstall the accelerators. (This is all for bug #11609, though of course it doesn't work too well in GTK+ 1.2 anyway.) * gui/dialogs/task-page.c (get_widgets): * gui/dialogs/task-details-page.c (get_widgets): * gui/dialogs/schedule-page.c (get_widgets): * gui/dialogs/recurrence-page.c (get_widgets): * gui/dialogs/meeting-page.c (get_widgets): * gui/dialogs/event-page.c (get_widgets): * gui/dialogs/alarm-page.c (get_widgets): got the GtkAccelGroup from the original window, ref'ed it and placed it in the CompEditorPage struct. * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref any GtkAccelGroup for the page. * gui/dialogs/task-page.glade: changed '_Confidential' to 'Con_fidential' as it clashed with '_Contacts'. It now matches the event editor as well. * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: Set CAN_FOCUS to TRUE for the custom EDateEdit widgets, and set them as the accel targets of the labels. svn path=/trunk/; revision=14108
* return fill_component successJP Rosevear2001-10-131-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-12 JP Rosevear <jpr@ximian.com> * gui/dialogs/alarm-page.c: return fill_component success * gui/dialogs/task-page.c: ditto * gui/dialogs/task-details-page.c: ditto * gui/dialogs/schedule-page.c: ditto * gui/dialogs/recurrence-page.c: ditto * gui/dialogs/event-page.c: ditto * gui/dialogs/meeting-page.c: use e_notice instead of duplicate_error (meeting_page_get_cancel_comp): duh, deleted_attendees is an array now (meeting_page_fill_component): spew gui errors if there is no organizer or no attendees, return success * gui/dialogs/event-editor.c (event_editor_send_comp): always call parent method and don't send the cancellation comp if the method is publish (refresh_meeting_cmd): use the orginal comp to refresh (forward_cmd): prompt the user for the version they want to send (current, original) * gui/dialogs/task-editor.c (forward_cmd): as above (refresh_task_cmd): ditto * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_component): return boolean of whether the component could be filled or not * gui/dialogs/comp-editor-page.h: update proto * gui/dialogs/comp-editor.c (prompt_to_save_changes): take a param on whether to try and send or not (comp_editor_get_current_comp): only fill component if its changed (comp_editor_save_comp): prompt user as well * gui/dialogs/comp-editor.h: change proto * gui/itip-utils.c: replace error_dialog with e_notice (comp_content_type): specify charset svn path=/trunk/; revision=13635
* save the EXDATE as a DATE-TIME value, since we know the exact time. FixesDamon Chaplin2001-10-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-03 Damon Chaplin <damon@ximian.com> * gui/comp-util.c (cal_comp_util_add_exdate): save the EXDATE as a DATE-TIME value, since we know the exact time. Fixes bug #11278. (Before we were setting is_date, but icaltime_from_timet_with_zone() didn't convert it properly. We need to figure out how to handle DATEs when using time_t's.) * gui/dialogs/recurrence-page.c (get_exception_string): use e_time_format_date_and_time() so we show the time as well, if the exception is a DATE-TIME value. * cal-util/timeutil.c: removed time_add_month(), time_year_begin(), time_month_begin() & time_week_begin() - old pre-timezone functions which we no longer use. * cal-util/cal-recur.c (cal_recur_from_icalproperty): set ir.until.is_date to FALSE before converting to a time_t. Hopefully fixes bug #5034. svn path=/trunk/; revision=13366
* added comparison functions for these special cell types. But the date andDamon Chaplin2001-09-271-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-26 Damon Chaplin <damon@ximian.com> * gui/e-calendar-table.c (date_compare_cb): (percent_compare_cb): (priority_compare_cb): added comparison functions for these special cell types. But the date and percent ones don't work yet due to the use of static text buffers for return cell values. (e_calendar_table_init): added the comparison functions to the ETableExtras. NOTE: task_compare_cb() never seems to be called. I'm not sure why it is there. * gui/e-calendar-table.etspec: set the comparison function names for the date/percent/priority fields. * cal-util/cal-util.c (cal_util_priority_to_string): (cal_util_priority_from_string): new utility functions. * gui/calendar-model.c (get_priority): (set_priority): used above utility functions, and removed the warning dialog which isn't useful now that the field isn't editable. * gui/dialogs/event-page.c (times_updated): handle timezones and for all-day events make sure it stays an all-day event after adjusting. Fixes bugs #5945 and #10222. * gui/calendar-commands.c (pixmaps): fixed the E_PIXMAP paths - the edit items were moved beneath 'EditPlaceholder'. This gets rid of those long Bonobo warnings! (and we get the icons back) * gui/dialogs/comp-editor.c (pixmaps): removed the PrintPreview toolbar icon, since it doesn't appear in the xml file. Gets rid of warning. * gui/dialogs/event-page.c (notify_dates_changed): new function to emit the notification signal when the dates are changed. It also handles timezones now. * gui/dialogs/comp-editor-page.h (CompEditorPageDates): used CalComponentDateTime for start/end/due so we have the timezone as well as the time. * gui/dialogs/comp-editor-util.c (comp_editor_dates): updated to get the timezones as well as the times. (comp_editor_free_dates): new function needed to free all the structs. * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): added call to preview_recur() to make sure the preview gets updated. * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): free the CompEditorPageDates struct after use. * gui/tag-calendar.c (tag_calendar_by_comp): added 'comp_is_on_server' argument. If FALSE, we try to use builtin timezones first. This is needed for the recurrence page of the event editor, because the timezones may not have been added to the server yet. This and the changes to the notification stuff should fix bug #5034. * gui/gnome-cal.c (dn_query_obj_updated_cb): call above tag_calendar_by_comp() with TRUE since the events will be on the server in this case. * gui/e-day-view-layout.c: * gui/e-day-view.c: made sure an event always takes up at least one row, even when the start & end times are the same. Fixes bug #5944. I don't know if we should try to also handle events with the end time before the start time. * gui/e-week-view.c (e_week_view_style_set): check that the small font is actually smaller than the normal font. If it isn't, don't use it. Hopefully fixes bug #6876. (e_week_view_on_new_appointment): if only one day is selected, then we set the initial time of the event to 1/2-hour from the start of the working day, to differentiate 'New Appointment' from 'New All Day Event'. Fixes bug #8892. * gui/e-day-view.c (e_day_view_on_new_appointment): do the same as the above. svn path=/trunk/; revision=13186
* make sure to release the ref on priv->comp.Larry Ewing2001-09-201-0/+5
| | | | | | | | | | | | 2001-09-20 Larry Ewing <lewing@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_destroy): make sure to release the ref on priv->comp. * gui/dialogs/comp-editor.c (real_edit_comp): make sure to release the ref on priv->comp. svn path=/trunk/; revision=13008
* don't call calendar_config_check_timezone_set() now, since the startupDamon Chaplin2001-09-041-33/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-03 Damon Chaplin <damon@ximian.com> * gui/calendar-commands.c (calendar_control_activate): * gui/tasks-control.c (tasks_control_activate): don't call calendar_config_check_timezone_set() now, since the startup wizard handles that. * gui/e-tasks.c (e_tasks_class_init): changed selection_changed signal to GTK_RUN_LAST. It has no reason to be GTK_RUN_FIRST. * gui/gnome-cal.c: * gui/e-week-view.c: * gui/e-day-view.c: added "selection_changed" signal, XX_delete_event() and XX_get_num_events_selected(). * gui/e-day-view-top-item.c (e_day_view_top_item_draw): fix the shadow around the dates at the top - it was 1 pixel off. * gui/calendar-commands.c: added sensitize_commands(), similar to in tasks-control.c, so we only make Cut/Copy/Delete sensitive when an event is selected. Also added delete_event_cmd(). * gui/dialogs/task-page.c (task_page_set_summary): * gui/dialogs/event-page.c (event_page_set_summary): do nothing, since the summary only gets changed on the main event/task page now. Fixes bug #6939. * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): (e_day_view_on_top_canvas_drag_data_received): check that we are dragging an event from the same EDayView. We currently don't support DnD from other widgets. (e_day_view_update_top_canvas_drag): only get the summary if we actually have an event. Fixes bug #5162. * gui/e-day-view.c (e_day_view_on_editing_stopped): if the text hasn't changed we need to call e_day_view_update_event_label() to show the times again if necessary. Fixes bug #1813. * gui/dialogs/comp-editor.c (comp_editor_destroy): destroy the CompEditorPage objects here rather than in close_dialog(), after the widgets have been destroyed. We do this because the widgets have lots of signal handlers connected with the CompEditorPage objects as the signal data, so we want to ensure that the data pointer is always valid. (Alternatively we could disconnect all the handlers when the CompEditorPage objects are destroyed, or use connect_while_alive()). Fixes bug #7543. Note: there is still a small bug in that if you type in a time and then hit 'Save and Close', the time won't be saved. I'm not sure where this should be fixed - should the actions which close the dialog grab the focus to the toplevel, so any widgets currently being edited finish the edit and emit 'changed'? * gui/dialogs/recurrence-page.c (append_exception): use gtk_clist_set_row_data_full() so freeing is handled automatically by the GtkClist. This helps avoid problems at destroy-time. (exception_delete_cb): just call gtk_clist_remove() now. No need to free the row data as GtkCList now handles it. (recurrence_page_destroy): no need to free the data in the clist. * gui/dialogs/alarm-page.c: ditto. * gui/dialogs/meeting-page.c: ditto. (etable_destroy_cb): save the ETable state in this new handler cb rather than in the destroy method, since the widget will already be destroyed by then. svn path=/trunk/; revision=12575
* Unset the priv->updating flag before returning in the case the componentFederico Mena Quintero2001-08-231-0/+2
| | | | | | | | | | 2001-08-22 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets): Unset the priv->updating flag before returning in the case the component has no recurrence information. Fixes bug #6850. svn path=/trunk/; revision=12413
* hide the timezone fields for all-day events. We will use DATE values forDamon Chaplin2001-08-171-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-16 Damon Chaplin <damon@ximian.com> * gui/dialogs/event-page.c: hide the timezone fields for all-day events. We will use DATE values for these eventually, and these don't have timezones associated with them. Currently we just use the default timezone for all-day events, as a workaround until we have DATE values working. * gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit): added make_time_insensitive flag. Though we may not use it. * gui/dialogs/event-page.glade: made the 'All day event' toggle right-aligned, so it doesn't move when the other widgets are shown and hidden. * gui/e-timezone-entry.c (e_timezone_entry_set_default_timezone): new function to set the default timezone of the widget. If the current timezone setting matches the default then the entry field is hidden. Most people won't use timezones so this makes the GUI simpler. * gui/dialogs/event-page.c (init_widgets): * gui/dialogs/task-page.c (init_widgets): set the default timezone using the above function. * gui/dialogs/task-page.c (task_page_fill_widgets): if the start date or due date is not set, we use the default timezone, so the user doesn't have to set this each time they set the date. svn path=/trunk/; revision=12137
* New function; stops further notification from happening. This is neededFederico Mena Quintero2001-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-03 Federico Mena Quintero <federico@ximian.com> * cal-client/query-listener.c (query_listener_stop_notification): New function; stops further notification from happening. This is needed since the listener is destroyed asynchronously from the Wombat and the corresponding CalQuery may already have died. (impl_notifyObjUpdated): Do not notify if requested. (impl_notifyObjRemoved): Likewise. (impl_notifyQueryDone): Likewise. (impl_notifyEvalError): Likewise. * cal-client/cal-query.c (cal_query_destroy): Use query_listener_stop_notification(). * cal-client/cal-listener.c (cal_listener_destroy): Nullify the pointers to the callback functions. * gui/e-day-view.c (update_query): Commit our state of no longer having a query before unrefing it. We may reenter from the ORBit main loop and we *really* want this information to be committed. * gui/e-week-view.c (update_query): Likewise. * gui/calendar-model.c (update_query): Likewise. * gui/tag-calendar.c (tag_calendar_by_comp): Added a "clear_first" argument that indicates whether the ECalendar should be cleared of any marks first. * gui/calendar-commands.c (calendar_control_activate): Removed ifdefed-out view buttons code from the Gnomecal days. * gui/gnome-cal.c (client_categories_changed_cb): Merge the categories of the calendar and tasks clients so that we can display the categories in both sets. (gnome_calendar_construct): Connect to "categories_changed" on both clients. (gnome_calendar_on_date_navigator_selection_changed): Removed call to gnome_calendar_update_view_buttons(). (gnome_calendar_update_view_buttons): Removed. We cannot have this until Bonobo supports radio toolbar items. (gnome_calendar_set_view_buttons): Removed. (gnome_calendar_dayjump): Do not use priv->day_button. (GnomeCalendarPrivate): Removed the {day,work_week,week,month}_button fields. (gnome_calendar_set_query): Start a retagging process of the date navigator so that it reflects the current query. (update_query): New function to restart a query for the date navigator. (initial_load): Use update_query() instead of tagging the date navigator directly. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (client_cal_opened_cb): Use update_query() instead of initial_load(). (initial_load): Removed. (client_obj_updated_cb): Removed. (client_obj_removed_cb): Removed. (gnome_calendar_new_appointment_for): Set the default category of the new component. (search_bar_category_changed_cb): Set the default category for the calendar views. * gui/cal-search-bar.c (cal_search_bar_set_categories): Sort the categories before creating the menu. * gui/e-day-view.c (adjust_query_sexp): Return NULL instead of "#f" if the time range is not set yet. (update_query): Do not start a query if the time range is not set. (e_day_view_set_default_category): New function. (e_day_view_key_press): Set the default category on the new component. * gui/e-week-view.c (adjust_query_sexp): Analogous to the above. (update_query): Analogous to the above. (e_week_view_set_default_category): Analogous to the above. (e_week_view_key_press): Analogous to the above. svn path=/trunk/; revision=11646
* started some code to show the currently displayed dates in the folderDamon Chaplin2001-07-311-43/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-30 Damon Chaplin <damon@ximian.com> * gui/gnome-cal.c: * gui/calendar-commands.c (clear_folder_bar_label): started some code to show the currently displayed dates in the folder title bar. Unfinished. * gui/e-itip-control.c (set_date_label): * conduits/todo/todo-conduit.c (local_record_from_comp): * conduits/calendar/calendar-conduit.c (local_record_from_comp): free the CalComponentDateTimes. (Note the iTIP control needs updating for timezone support.) * cal-util/cal-component.c: Changed CalComponentDateTime so that the TZID is malloc'ed and freed rather than being a pointer to a static string. This was causing problems as sometimes we were freeing the string that was being pointed to, so we got corrupted TZIDs. * gui/comp-util.c (cal_comp_util_add_exdate): set TZID to NULL. DATE values do not have timezones. * gui/e-week-view.c: * gui/e-day-view.c: Moved 'Paste' after the New Appointment commands, since I think they are more commonly-used. Also added underlined accelerator keys. * gui/e-calendar-table.c: changed 'Edit this task' to 'Open' in the popup menu to be consistent with other folders, and separated from the clipboard commands. Also changed to use EPopupMenu so the accelerators work, and the masks may be useful at some point. * gui/dialogs/recurrence-page.c: use DATE values for UNTIL, since that makes it simpler. Fixes bug #5034. * gui/calendar-config.c (calendar_config_set_timezone): strdup the location string. Fixes bug #4990. * gui/tag-calendar.c (tag_calendar_cb): take 1 off iend as the times don't include the end time. * gui/e-week-view-layout.c (e_week_view_layout_event): fixed days_shown. Fixes bug #5709. * cal-client/cal-client.c (cal_client_get_timezone): took out some debugging messages. svn path=/trunk/; revision=11494
* check that the row passed in is valid. Sometimes we get the "row-selected"Damon Chaplin2001-07-271-0/+6
| | | | | | | | | | | | | | | | | 2001-07-26 Damon Chaplin <damon@ximian.com> * gui/dialogs/recurrence-page.c (exception_select_row_cb): check that the row passed in is valid. Sometimes we get the "row-selected" signal for row 0 when there are no rows in the list. Fixes bug #4266. * cal-client/cal-client.c (cal_client_get_object): prefetch all the timezone data needed by the object, to try to avoid making Corba calls all over the place. They can cause problems because they call the GTK+ main loop recursively. This currently leads to an assertion failure in the GnomeCanvas occasionally. Though there are probably several other similar problems around. svn path=/trunk/; revision=11433
* calculate tmp_tm.tm_wday ourselves. strftime has a habit of crashing ifDamon Chaplin2001-07-251-0/+5
| | | | | | | | | | 2001-07-24 Damon Chaplin <damon@ximian.com> * gui/dialogs/recurrence-page.c (get_exception_string): calculate tmp_tm.tm_wday ourselves. strftime has a habit of crashing if you have weird values here. I think this fixes bug #4574. svn path=/trunk/; revision=11369
* don't show the time in the EDateEdit widget for adding EXDATEs.Damon Chaplin2001-07-181-0/+1
| | | | | | | | | | | | | 2001-07-17 Damon Chaplin <damon@ximian.com> * gui/dialogs/recurrence-page.c (init_widgets): don't show the time in the EDateEdit widget for adding EXDATEs. * cal-util/cal-component.c (cal_component_alarm_set_trigger): don't set t.time.is_date to -1. It is a boolean flag, 0 or 1. We probably don't want a date value, so we leave it at 0. svn path=/trunk/; revision=11193
* Fixes bug #4380 as well as some leftovers from the days of struct tm andFederico Mena Quintero2001-07-121-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-11 Federico Mena Quintero <federico@ximian.com> Fixes bug #4380 as well as some leftovers from the days of struct tm and some uninitialized values. * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): Initialize the icaltimetype structures completely. (gnome_calendar_init): Do not reset priv->zone to NULL here, since it was set by gnome_calendar_update_config_settings() from setup_widgets(). * gui/calendar-model.c (set_completed): Do not set is_daylight. * gui/e-day-view.c (e_day_view_convert_grid_position_to_time): Likewise. * gui/e-week-view.c (e_week_view_set_timezone): Likewise. * cal-util/cal-recur.c (generate_instances_for_chunk): Likewise, and initialize start_tt and end_tt completely. * cal-util/timeutil.c (time_year_begin_with_zone): Likewise. (time_month_begin_with_zone): Likewise. (time_week_begin_with_zone): Likewise. (time_day_begin_with_zone): Likewise. (time_day_end_with_zone): Likewise. (time_from_isodate): Likewise. * gui/dialogs/task-page.c (task_page_fill_component): Initialize icaltime before using it. * gui/dialogs/event-page.c (event_page_fill_component): Likewise. * gui/dialogs/recurrence-page.c (simple_recur_to_comp): Removed an unused icaltimetype. * gui/dialogs/task-details-page.c (task_details_page_fill_component): Initialize icaltime before using it. svn path=/trunk/; revision=11024
* Fixes bug #4018 and what would be the analogous bugs for the otherFederico Mena Quintero2001-07-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-04 Federico Mena Quintero <federico@ximian.com> Fixes bug #4018 and what would be the analogous bugs for the other component editors. * gui/dialogs/comp-editor-page.h (CompEditorPageClass): New virtual method "::focus_main_widget()". * gui/dialogs/comp-editor-page.c (comp_editor_page_focus_main_widget): New function. * gui/dialogs/comp-editor.c (comp_editor_append_page): If we are inserting the main page, ask it to focus its main widget. * gui/dialogs/alarm-page.c (alarm_page_focus_main_widget): Implemented. * gui/dialogs/event-page.c (event_page_focus_main_widget): Implemented. #include "e-util/e-categories-config.h". * gui/dialogs/meeting-page.c (meeting_page_focus_main_widget): Implemented. * gui/dialogs/recurrence-page.c (recurrence_page_focus_main_widget): Implemented. * gui/dialogs/task-details-page.c (task_details_page_focus_main_widget): Implemented. * gui/dialogs/task-page.c (task_page_focus_main_widget): Implemented. svn path=/trunk/; revision=10784
* added virtual method to get a VTIMEZONE component given a TZID. We needDamon Chaplin2001-07-031-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * pcs/cal-backend.[hc]: added virtual method to get a VTIMEZONE component given a TZID. We need this to resolve TZIDs when expanding an event using cal_recur_generate_instances() in query.c. * pcs/cal-backend-file.c (cal_backend_file_get_timezone): implemented virtual method. (cal_backend_file_update_object): fixed bug, kind -> child_kind. * pcs/query.c (func_occur_in_time_range): use the virtual method for resolving TZIDs. The other way didn't work anyway, as we didn't have the entire VCALENDAR with VTIMEZONEs in it. * gui/dialogs/recurrence-page.c (init_widgets): (make_ending_until_special): moved the call to e_date_edit_set_get_time_callback() from init_widgets to make_ending_until_special(), since that is where the widget gets created. * gui/e-timezone-entry.c (e_timezone_entry_set_timezone): handle zone being NULL. svn path=/trunk/; revision=10732
* cal-client/cal-client.[hc] cal-util/cal-component.cDamon Chaplin2001-07-031-52/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * cal-client/cal-client.[hc] * cal-util/cal-component.c * cal-util/cal-recur.[hc] * cal-util/test-recur.c * cal-util/timeutil.c * gui/calendar-config.c * gui/calendar-model.[hc] * gui/comp-util.[hc] * gui/e-calendar-table.c * gui/e-day-view-main-item.c * gui/e-day-view-top-item.c * gui/e-day-view.[hc] * gui/e-itip-control.c * gui/e-timezone-entry.[hc] * gui/e-week-view.[hc] * gui/gnome-cal.[hc] * gui/goto.c * gui/tag-calendar.[hc] * gui/dialogs/cal-prefs-dialog.c * gui/dialogs/comp-editor-page.[hc] * gui/dialogs/comp-editor-util.[hc] * gui/dialogs/comp-editor.c * gui/dialogs/e-timezone-dialog.[hc] * gui/dialogs/event-page.c * gui/dialogs/meeting-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-details-page.glade * gui/dialogs/task-page.c * idl/evolution-calendar.idl * pcs/cal-backend-file.c * pcs/cal-backend.c * pcs/cal-backend.h * pcs/cal.c * pcs/query.c: timezone changes everywhere. There's still quite a few things to update, and its not working well at present. svn path=/trunk/; revision=10729
* Renamed the occur field to occur_start; added an occur_end field. This wayFederico Mena Quintero2001-06-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-26 Federico Mena Quintero <federico@ximian.com> * idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur field to occur_start; added an occur_end field. This way we can present the complete times for the occurrence from the server. * cal-util/cal-component.h (CalAlarmInstance): Likewise. * pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new fields appropriately. (generate_absolute_triggers): Likewise; we use -1 in case the component has no DTSTART or DTEND because there are no meaningful occurrence dates here. (fill_alarm_instances_seq): Fill in the new fields. * cal-client/cal-client.c (build_alarm_instance_list): Likewise. * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): Take in both the occur_start and occur_end times. * gui/goto.c (goto_dialog): Free the dlg structure on the bail-out cases. * gui/dialogs/event-page.c (get_widgets): Do not assert if we cannot find the main widget; just return FALSE. * gui/dialogs/alarm-page.c (get_widgets): Likewise. * gui/dialogs/task-page.c (get_widgets): Likewise. * gui/dialogs/task-details-page.c (get_widgets): Likewise. * gui/dialogs/meeting-page.c (get_widgets): Likewise. svn path=/trunk/; revision=10517
* itip/imip send dialogJP Rosevear2001-06-201-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * gui/dialogs/send-comp.c: itip/imip send dialog * gui/dialogs/send-comp.h: new proto * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): only use the weekday picker if visible * gui/dialogs/meeting-page.c: just show the meeting list * gui/dialogs/event-editor.c (event_editor_edit_comp): remove the meeting page if no attendees (schedule_meeting_cmd): schedule a meeting menu item (refresh_meeting_cmd): refresh meeting request menu item (cancel_meeting_cmd): ditto for cancel (forward_cmd): send as attachment * gui/dialogs/comp-editor.c (comp_editor_remove_page): remove page from dialog (comp_editor_show_page): show a given page (comp_editor_get_current_comp): return a cal component representing the current widget state (comp_editor_save_comp): save the cal component (comp_editor_delete_comp): delete the cal component (comp_editor_send_comp): send the cal component (comp_editor_merge_ui): merge xml in to the bonobo gui (setup_widgets): use a bonobo window instead of a gtk window, add menus again (save_as_cmd): save to file on disk - still broken (save_close_cmd): close menu command (save_close_cmd): save and close menu command * gui/dialogs/comp-editor.h: new protos * gui/dialogs/cancel-comp.c (cancel_component_dialog): itip/imip cancellation dialog * gui/dialogs/cancel-comp.h: new proto * gui/dialogs/Makefile.am: build new files * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_needs_send): emit needs_send signal * gui/dialogs/comp-editor-page.h: new signal protos * gui/itip-utils.c (itip_send_comp): new function to send cal components * gui/itip-utils.h: new proto * gui/e-itip-control.c (pstream_load): trim using cal-component wrapper stuff (accept_button_clicked_cb): use itip_send_comp (tentative_button_clicked_cb): ditto (decline_button_clicked_cb): ditto * gui/Makefile.am: compile select name idl stuff * cal-util/cal-component.c (cal_component_get_organizer): get the organizer (cal_component_set_organizer): set the organizer (cal_component_get_recurid): get the recurrence id (cal_component_set_recurid): set the recurrence id (set_attendee_list): actually set the attendee list (get_attendee_list): build the attendee list * cal-util/cal-component.h: new protos svn path=/trunk/; revision=10299
* update the blocked/selected days if the starting day of the appointmentJP Rosevear2001-06-051-0/+14
| | | | | | | | | | | | 2001-06-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): update the blocked/selected days if the starting day of the appointment changes, fixes #2188 * gui/dialogs/task-details-page.h: tidy proto svn path=/trunk/; revision=10113
* use new funcJP Rosevear2001-06-021-2/+1
| | | | | | | | | | | | | | | | | | | | | 2001-06-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-page.c (make_date_edit): use new func * gui/dialogs/task-details-page.c (task_details_page_create_date_edit): ditto * gui/dialogs/recurrence-page.c (make_ending_until_special): ditto * gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit): rename date_edit_new function * gui/dialogs/comp-editor-util.h: new proto * gui/dialogs/task-page.c (task_page_set_summary): no longer any need to block/unblock the handler (task_page_create_date_edit): use new func svn path=/trunk/; revision=10093
* renamed from editor-page for consistency, more complete implementationJP Rosevear2001-06-021-147/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.[hc]: renamed from editor-page for consistency, more complete implementation * gui/dialogs/comp-editor.[hc]: More complete implementation * gui/dialogs/*-page.*: The various pages needed to construct the event and task dialogs * gui/dialogs/comp-editor-util.[hc]: useful utility functions for the component editor pages to use * gui/dialogs/Makefile.am: Build and install new files * gui/event-editor*: Remove, obsoleted by the new comp-editor stuff * gui/dialogs/task-editor-dialog.glade: ditto * gui/e-calendar-table.c (open_task): update to use comp editor stuff * gui/e-tasks.c (e_tasks_new_task): ditto * gui/gnome-cal.c (gnome_calendar_edit_object): ditto * gui/Makefile.am: don't build non-existent files nor try to install them svn path=/trunk/; revision=10088
* Finished porting from the old event-editor.c. Made it store a clone of theFederico Mena Quintero2001-05-241-10/+1166
| | | | | | | | | | | | | | | | | | | 2001-05-23 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/recurrence-page.c: Finished porting from the old event-editor.c. Made it store a clone of the component for when we need to expand the recurrence set. 2001-05-22 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/event-page.c (event_page_get_dates): New function. * gui/dialogs/editor-page.c (editor_page_set_dates): Renamed from editor_page_set_dtstart(); now sets both DTSTART and DTEND. * gui/dialogs/alarm-page.c (alarm_page_set_dates): Ahem, it is a svn path=/trunk/; revision=9953
* Split the event and task editors into different objects for the separateFederico Mena Quintero2001-05-171-0/+900
2001-05-16 Federico Mena Quintero <federico@ximian.com> Split the event and task editors into different objects for the separate pages; this way they can be shared by both editors. * gui/dialogs/editor-page.[ch]: New abstract class for a page in a calendar component editor. * gui/dialogs/event-page.[ch]: Main page of an event editor. * gui/dialogs/alarm-page.[ch]: Alarm page of a calendar component editor. * gui/dialogs/recurrence-page.[ch]: Recurrence page of a calendar component editor. * gui/dialogs/event-page.c (event_page_fill_widgets): Eeek, this was missing a bunch of break statements. (event_page_fill_component): Use a temporary variable rather than allocating a struct icaltimetype. * gui/dialogs/alarm-page.c (get_alarm_string): Do not use fixed-size buffers. (alarm_page_fill_widgets): Use cal_obj_uid_list_free(). (append_reminder): Now the list stores the plain CalComponentAlarm structures in the row data. We do *NOT* want to be frobbing the component's data directly. Rather, we clone the alarms from the component and maintain them on our own. (alarm_page_fill_component): Clone the alarms before adding them to the component so that we maintain the invariant that the alarm structures in the list did *not* come from the component. * cal-util/cal-component.c (cal_component_add_alarm): Added documentation. (cal_component_remove_alarm): Added documentation. (cal_component_remove_alarm): Do a lookup in our hash table of alarms instead of scanning the whole component. (CalComponentAlarm): Removed the `parent' field, since it was unused. (cal_component_free_alarm_uids): Removed function, since cal_component_get_alarm_uids() is documented so that the user will know that he must use cal_obj_uid_list_free(). (cal_component_alarm_clone): New function. svn path=/trunk/; revision=9861