aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-dateedit.h
Commit message (Collapse)AuthorAgeFilesLines
* License changes.Sankarasivasubramanian Pasupathilingam2008-10-181-4/+5
| | | | svn path=/trunk/; revision=36641
* 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-3/+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-1/+1
| | | | | | | | | | | | 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 bug #339813Milan Crha2008-01-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #339813 * addressbook/gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date): Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE. * widgets/misc/e-dateedit.h: (e_date_edit_get_twodigit_year_can_future), (e_date_edit_set_twodigit_year_can_future): Added new option for component. * widgets/misc/e-dateedit.c: (e_date_edit_get_twodigit_year_can_future), (e_date_edit_set_twodigit_year_can_future), (struct _EDateEditPrivate::twodigit_year_can_future), (e_date_edit_init), (e_date_edit_parse_date): Implementing new option for component. * widgets/misc/e-dateedit.c: (on_date_entry_focus_out): Always repaint value on focus out. * widgets/misc/e-dateedit.c: (e_date_edit_update_date_entry): Forced to always show 4-digit year. Note: Be sure you updated EDS too (revision 8343 and above) svn path=/trunk/; revision=34774
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-2/+2
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #351932Milan Crha2007-11-051-0/+3
| | | | | | | | | | | | | | | | | | 2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #351932 * widgets/misc/e-dateedit.h: (e_date_edit_have_time): * widgets/misc/e-dateedit.c: (e_date_edit_have_time): Extend API to be able to check if time is set independently of date part. * calendar/gui/dialogs/task-page.c: (check_start_before_end), (times_updated), (start_date_changed_cb), (due_date_changed_cb), (init_widgets): Ensure due date is not before start date. svn path=/trunk/; revision=34500
* 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-1/+1
| | | | svn path=/trunk/; revision=33432
* return the entry of the date edit.Hao Sheng2005-01-181-0/+2
| | | | | | | | | 2005-01-18 Hao Sheng <hao.sheng@sun.com> * misc/e-dateedit.[ch]: (e_date_edit_get_entry): return the entry of the date edit. svn path=/trunk/; revision=28428
* Add include of gnome-dialog.hNot Zed2002-12-021-4/+4
| | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18978
* port to GObject.Chris Toshok2002-11-121-1/+1
| | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * e-dateedit.[ch]: port to GObject. svn path=/trunk/; revision=18717
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-6/+0
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* set both the date and the time of day in one call, creating only a singleJP Rosevear2001-11-061-0/+7
| | | | | | | | | | | | 2001-11-05 JP Rosevear <jpr@ximian.com> * e-dateedit.c (e_date_edit_set_date_and_time_of_day): set both the date and the time of day in one call, creating only a single changed signal * e-dateedit.h: add proto svn path=/trunk/; revision=14602
* ref the ECalendarItem and check if it gets destroyed, to try to avoid aDamon Chaplin2001-10-301-0/+1
| | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): ref the ECalendarItem and check if it gets destroyed, to try to avoid a free memory write. * e-dateedit.c (e_date_edit_set_time_of_day): allow setting the time to empty by passing hour as -1. svn path=/trunk/; revision=14394
* Fixing the license text.Ettore Perazzoli2001-10-281-1/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* add prototype for e_date_edit_set_editable.Chris Toshok2001-09-171-0/+4
| | | | | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * e-dateedit.h: add prototype for e_date_edit_set_editable. * e-dateedit.c (e_date_edit_set_editable): new function, analogous to gtk_entry_set_editable: let's the user select but not edit (or in this case, bring up the calendar view.) svn path=/trunk/; revision=12867
* added e_date_edit_get/set_make_time_insensitive() which makes the timeDamon Chaplin2001-08-171-0/+6
| | | | | | | | | | 2001-08-16 Damon Chaplin <damon@ximian.com> * e-dateedit.c: added e_date_edit_get/set_make_time_insensitive() which makes the time field insensitive rather than hiding it. I'm not sure we're going to actually use this now, though. svn path=/trunk/; revision=12135
* added functions to set a callback to get the current time, which is usedDamon Chaplin2001-07-031-2/+14
| | | | | | | | | | | | 2001-07-02 Damon Chaplin <damon@ximian.com> * e-calendar-item.c: * e-cell-date-edit.c: * e-dateedit.c: added functions to set a callback to get the current time, which is used instead of localtime(). We need this as we have to use our own timezones. svn path=/trunk/; revision=10728
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-2/+2
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* More header fixes. Same. Same. Same here. More header fixes. Same here.Kjartan Maraas2001-04-051-0/+2
| | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * e-calendar.c: More header fixes. * e-cell-date-edit.c: Same. * e-dateedit.[ch]: Same. * e-title-bar.c: Same here. * e-search-bar.c: More header fixes. * test-calendar.c: Same here. svn path=/trunk/; revision=9178
* #include <time.h>Federico Mena Quintero2000-12-151-0/+1
| | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.h: #include <time.h> svn path=/trunk/; revision=7034
* updated to emit "changed" when appropriate, which turned out to beDamon Chaplin2000-11-271-4/+33
| | | | | | | | | | | | | | | 2000-10-26 Damon Chaplin <damon@helixcode.com> * e-dateedit.[hc]: updated to emit "changed" when appropriate, which turned out to be amazingly difficult :( Also added e_date_edit_get/set_date() to get/set just the date. Added e_date_edit_date_is_valid() & e_date_edit_time_is_valid() so you can check if the user has tried to enter an invalid date. (All the get_date/time functions return the last valid date entered.) * test-dateedit.c: updated a bit. svn path=/trunk/; revision=6672
* Removed the "time_changed" signal, since it was never being emitted in theFederico Mena Quintero2000-11-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-02 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.h (EDateEditClass): Removed the "time_changed" signal, since it was never being emitted in the first place. Time values *are* both date and time together anyways, so whenever one changes we should notify about the whole date/time value being changed. Renamed the remaining "date_changed" signal to just "changed". * e-dateedit.c (e_date_edit_class_init): Do not create the "time_changed" signal; rename the other one to "changed". (set_time): Moved the core functionality from e_date_edit_set_time() to here. This function just sets the widgets' values without emitting any signals. (e_date_edit_set_time): Emit the "changed" signal unconditionally. This is to be consistent with the rest of the GTK+ widgets, and it actually makes writing client code easier. (e_date_edit_new): Use set_time(). (on_date_popup_now_button_clicked): Do not emit the signal here. (on_date_popup_none_button_clicked): Likewise. (e_date_edit_set_time_of_day): Emit the signal, since we do not call e_date_edit_set_time(). svn path=/trunk/; revision=6367
* fixed to recalculate min_cell_width/height in case the show_week_numbersDamon Chaplin2000-10-121-0/+14
| | | | | | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_recalc_sizes): fixed to recalculate min_cell_width/height in case the show_week_numbers option is changed. * e-dateedit.c: added support for hiding the date field, and added get/set_time_of_day() functions to get/set just the time. svn path=/trunk/; revision=5854
* added e-dateedit.[hc] and the test-dateedit app.Damon Chaplin2000-09-111-0/+110
2000-09-11 Damon Chaplin <damon@helixcode.com> * Makefile.am (libemiscwidgets_a_SOURCES): added e-dateedit.[hc] and the test-dateedit app. * e-dateedit.[hc]: new widget to use instead of GnomeDateEdit. It uses the new ECalendar widget for the calendar and also supports "None", "Today" and "Now" buttons, and goes away with a single click. * test-dateedit.c: app to test the EDateEdit widget. * e-calendar-item.c: updated to support the EDateEdit better, mainly by adding the "move_selection_when_moving" arg so we can turn it off to keep the same day selected when changing the months shown. svn path=/trunk/; revision=5304