aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/test-calendar.c
Commit message (Collapse)AuthorAgeFilesLines
* Use gtk_paint_foo instead of the deprecated gtk_draw_foo functionsRodney Dawes2004-12-151-75/+0
| | | | | | | | | | | | | | | | 2004-12-14 Rodney Dawes <dobey@novell.com> * e-calendar-item.c (e_calendar_item_draw): Use gtk_paint_foo instead of the deprecated gtk_draw_foo functions (e_calendar_item_get_day_style): Use colors from the theme for the background and foreground of various items * test-calendar.c (main): Don't set a callback for getting the day style, we want the test app to use the widget defaults (get_day_style): Remove all this duplicated code as we want to use the widget default colors for day fg/bg svn path=/trunk/; revision=28126
* Same as below.Jeffrey Stedfast2003-02-251-6/+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-6/+6
| | | | | | | | | | 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-1/+3
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* 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
* 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
* i18n fixes, added missing includes.Gediminas Paulauskas2001-04-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * AUTHORS: /me is a translator. * configure.in (EVO_CHECK_LIB): fail with AC_MSG_ERROR, not echo && exit 1. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * backend/ebook/evolution-gnomecard-importer.c: added missing #include. * contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were not translated after selecting one of them. * gui/widgets/e-addressbook-view.c: mark popup menu items with N_(). Updated list[] for translators. * gui/widgets/e-minicard.c: same. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning for "editable" arg. * gui/widgets/e-minicard-view.c: convert "empty_message" to utf8. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * widgets/e-summary-subwindow.c: added some missing includes. * widgets/e-summary-title-button.h: same. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * menus/gal-view-menus.c: convert label to utf8. svn path=/trunk/; revision=9215
* More header fixes. Same. Same. Same here. More header fixes. Same here.Kjartan Maraas2001-04-051-0/+7
| | | | | | | | | | | | | 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
* Replace #include <gtk/gtk.h> Remove #include <gnome.h> Replace #includeKjartan Maraas2001-03-301-2/+0
| | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-dropdown-button.c: Replace #include <gtk/gtk.h> * e-dropdown-button.h: Remove #include <gnome.h> * e-filter-bar.c: Replace #include <gtk/gtk.h> * e-filter-bar.h: Replace #include <gtk/gtk.h> * e-messagebox.c: Add #includes to count for removed <gnome.h> in e-messagebox.h: * e-messagebox.h: Replace #include <gnome.h> * e-search-bar.c: Replace #include <gnome.h> * e-search-bar.h: Same here * test-calendar.c: Remove #include <gnome.h> * test-dateedit.c: Replace #include <gnome.h> * test-dropdown-button.c: Same here. * test-title-bar.c: Same here. svn path=/trunk/; revision=9018
* use pixmaps instead of GtkArrows to look better. Also set the canvasDamon Chaplin2000-09-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-23 Damon Chaplin <damon@helixcode.com> * e-calendar.c: use pixmaps instead of GtkArrows to look better. Also set the canvas window's background when realized so that we can set the button reliefs to none. 2000-09-22 Damon Chaplin <damon@helixcode.com> * test-dateedit.c: updated a bit, adding a few EDateEdits with different options. * e-calendar-item.c (e_calendar_item_set_selection): aborted any current selection operation and initialize all of the selection fields. (e_calendar_item_unmap): new function to abort any current selection operation. Otherwise GnomeCanvas gets in a muddle about grabs. * e-dateedit.c: marked some strftime()/strptime() format strings for translation and used "%m/%d/%Y" instead of "%x" so we get the complete year number. Also changed e_date_edit_get_time() so it returns -2 if it can't parse the date or time, and -1 if it is explicitly set to None. (e_date_edit_parse_date): new function to parse the date string and add on the current century if a year of 0-99 is entered. 2000-09-21 Damon Chaplin <damon@helixcode.com> * e-dateedit.c (on_date_button_clicked): only check return of strptime for NULL. It should now select the correct day set in the popup. * e-calendar.c: * e-calendar-item.c: * test-calendar.c: removed support for buttons within the ECalendar. It is cleaner to add them outside it, as EDateEdit does. svn path=/trunk/; revision=5561
* Updated.Damon Chaplin2000-08-311-0/+146
| | | | | | | | | 2000-08-30 Damon Chaplin <damon@helixcode.com> * e-calendar-item.[hc]: * e-calendar.[hc]: Updated. svn path=/trunk/; revision=5120
* new widget and canvas item to replace GtkCalendar. Not quite finished yet.Damon Chaplin2000-07-261-0/+74
2000-07-25 Damon Chaplin <damon@helixcode.com> * e-calendar-item.h: * e-calendar.[hc]: new widget and canvas item to replace GtkCalendar. Not quite finished yet. svn path=/trunk/; revision=4322