aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cell-date-edit.c
Commit message (Collapse)AuthorAgeFilesLines
* call gdk_window_focus() so that keyboard works correctly.Harry Lu2003-12-181-1/+1
| | | | | | | | | 2003-12-18 Harry Lu <harry.lu@sun.com> * e-cell-date-edit.c: (e_cell_date_edit_do_popup): call gdk_window_focus() so that keyboard works correctly. svn path=/trunk/; revision=23975
* Same as below.Jeffrey Stedfast2003-02-251-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * e-dateedit.c (on_date_popup_date_selected): Same as below. * e-cell-date-edit.c (e_cell_date_edit_on_ok_clicked): Also updated to use the new GDate API from glib 2.0 * test-calendar.c (on_selection_changed): Fixed to use glib 2.0's GDate API. * e-calendar-item.c (e_calendar_item_get_week_number): Port to glib 2.0's GDate API. (e_calendar_item_set_selection): Same. * e-search-bar.c (append_xml_menu_item): Use g_string_append_printf instead of g_string_sprintfa since the latter is now deprecated. (setup_bonobo_menus): Same. * e-filter-bar.c (do_advanced): Use gtk_window_set_resizable() * e-charset-picker.c: Fixes to make it build cleanly with -DG_DISABLE_DEPRECATED (add_charset): Escape _'s so we don't get underline weirdness due to GtkLabel thinking the _ means to underline the next char. (e_charset_picker_bonobo_ui_populate): Same here. svn path=/trunk/; revision=20048
* Add include of gnome-dialog.hNot Zed2002-12-021-17/+17
| | | | | | | | | | 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
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-2/+7
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* Based on a patch by Damon Chaplin <damon@ximian.com>Christopher James Lahey2001-11-061-7/+33
| | | | | | | | | | | | | | 2001-11-05 Christopher James Lahey <clahey@ximian.com> Based on a patch by Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c: Connect to the button_press signal on the popup and do the grab correctly so that this dialog behaves properly when the user clicks it away. Also, changed all instances of setting of popup_shown field of ECellPopup to call e_cell_popup_set_shown. Fixes Ximian bug #14016. svn path=/trunk/; revision=14594
* try to parse just a date first, and if that works we assume it is a DATEDamon Chaplin2001-10-301-15/+23
| | | | | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): try to parse just a date first, and if that works we assume it is a DATE value, so we clear the time field in the popup. (e_cell_date_edit_on_ok_clicked): if the time field is empty, use a DATE value. Also removed some debug messages. svn path=/trunk/; revision=14455
* Adapt to the new ECellPopup signature.Christopher James Lahey2001-10-301-12/+24
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Adapt to the new ECellPopup signature. svn path=/trunk/; revision=14441
* 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
* use the new ECellText methods to get the text and set the value.Damon Chaplin2001-10-231-7/+14
| | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): (e_cell_date_edit_update_cell): use the new ECellText methods to get the text and set the value. * e-cell-percent.c: new subclass of ECellText to display & edit a percentage value. svn path=/trunk/; revision=13916
* Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613.Christopher James Lahey2001-10-041-3/+9
| | | | | | | | | | 2001-10-04 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613. svn path=/trunk/; revision=13405
* Destroy, do not unref, the popup_window.Federico Mena Quintero2001-08-151-1/+2
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12022
* added functions to set a callback to get the current time, which is usedDamon Chaplin2001-07-031-11/+46
| | | | | | | | | | | | 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
* Removed unused variable.Federico Mena Quintero2001-06-011-1/+1
| | | | | | | | | | | | 2001-05-31 Federico Mena Quintero <federico@ximian.com> * e-dropdown-button.c (impl_button_press_event): Removed unused variable. * e-cell-date-edit.c (e_cell_date_edit_rebuild_time_list): Removed unused variable. svn path=/trunk/; revision=10062
* Added #include <glib.h> and moved corresponding local headers to the top.Kjartan Maraas2001-04-241-2/+5
| | | | | | | | | | 2001-04-24 Kjartan Maraas <kmaraas@gnome.org> * e-calendar-item.c, e-calendar.c, e-cell-date-edit.c, e-clipped-label.c: Added #include <glib.h> and moved corresponding local headers to the top. svn path=/trunk/; revision=9540
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-4/+4
| | | | svn path=/trunk/; revision=9191
* More header fixes. Same. Same. Same here. More header fixes. Same here.Kjartan Maraas2001-04-051-1/+4
| | | | | | | | | | | | | 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
* use gnome_dialog_run() to make the warning dialog modal. Also created aDamon Chaplin2001-03-191-38/+30
| | | | | | | | | | | 2001-03-18 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_show_time_invalid_warning): use gnome_dialog_run() to make the warning dialog modal. Also created a better warning message showing the format expected. Also used e_time_format_time() to format all times. svn path=/trunk/; revision=8823
* pretty much working now.Damon Chaplin2001-03-051-75/+512
| | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c: pretty much working now. svn path=/trunk/; revision=8548
* new files to implement an ECell for showing and editing dates & times.Damon Chaplin2001-02-261-0/+440
2001-02-25 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.[hc]: new files to implement an ECell for showing and editing dates & times. (Unfinished) * Makefile.am (libemiscwidgets_a_SOURCES): added e-cell-date-edit.[hc] svn path=/trunk/; revision=8388