| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
svn path=/trunk/; revision=36116
|
|
|
|
|
|
| |
day-names>, (2 * <max width of a digit>)) to determine the minimal size for each cell. This prevents the numbers and day-names from getting fuzzy when using large font-sizes.
svn path=/trunk/; revision=35731
|
|
|
|
| |
svn path=/trunk/; revision=35665
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-03 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #392747
* e-util/e-utils.c (e_get_month_name), (e_get_weekday_name):
New functions cache localized month and weekday names (respectively)
for easier retrieval than resorting to strftime().
* a11y/widgets/ea-calendar-item.c (ea_calendar_item_get_column_label):
Get the column label via e_get_weekday_name().
* calendar/gui/weekday-picker.c (get_day_text):
Convert the day_index to GDateWeekday and call e_get_weekday_name().
* widgets/misc/e-calendar-item.h (struct _ECalendarItem):
* widgets/misc/e-calendar-item.c (e_calendar_item_init),
(e_calendar_item_draw):
Lose the local weekday name cache and just call e_get_weekday_name().
svn path=/trunk/; revision=34627
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-28 Li Yuan <li.yuan@sun.com>
* misc/e-calendar-item.c: (e_calendar_item_realize),
(e_calendar_item_set_selection_if_emission),
(e_calendar_item_style_set):
use widget->style instead of hard code colors.
* misc/e-calendar-item.h:
* misc/e-calendar.c: (e_calendar_style_set):
call e_calendar_item_style_set when style changes.
Fixes #6767.
svn path=/trunk/; revision=29234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-15 JP Rosevear <jpr@ximian.com>
* e-calendar-item.c (e_calendar_item_class_init): change arg name
(e_calendar_item_init): ditto
(e_calendar_item_get_arg): ditto
(e_calendar_item_set_arg): ditto
(e_calendar_item_preserve_day_selection): set the selection day to
the given selection
(e_calendar_item_set_first_month): use above to preserve selected
day of week
* e-calendar-item.h: change field name
svn path=/trunk/; revision=25071
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-11 Bolian Yin <bolian.yin@sun.com>
Fixes #50538
* e-calendar-item: make e_calendar_item_normalize_date public func.
add "selection_preview_changed" signal.
move some definition of constants to .h
svn path=/trunk/; revision=23284
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-19 Bolian Yin <bolian.yin@sun.com>
Fixes #1245. ECalendar should be usable with the keyboard
*misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler.
(e_calendar_item_key_press_event): new func, key press event handler
(e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers.
(e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission):
add the flag to control if we should emit e-calendar signals.
(e_calendar_item_class_init): register focus handler.
(e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS.
*misc/e-calendar.c (e_calendar_focus): new func, focus handler
(e_calendar_button_has_focus): new func, if prev/next button has focus.
(e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler
for prev/next buttons.
(e_calendar_set_focusable): set if the e-calendar is focusable
*misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard.
svn path=/trunk/; revision=22632
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Hans Petter Jansson <hpj@ximian.com>
* e-calendar-item.c (e_calendar_item_class_init)
(e_calendar_item_destroy)
(e_calendar_item_get_arg)
(e_calendar_item_set_arg)
(e_calendar_item_update)
(e_calendar_item_draw)
(e_calendar_item_draw_month)
(e_calendar_item_draw_day_numbers)
(e_calendar_item_recalc_sizes)
(e_calendar_item_convert_position_to_day): Nuke GdkFont and use
Pango's font measuring for everything.
* e-calendar-item.h: Ditto.
* e-calendar.c (e_calendar_init)
(e_calendar_size_allocate): Ditto.
svn path=/trunk/; revision=20633
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-02 Hans Petter Jansson <hpj@ximian.com>
* e-calendar-item.[ch]: Use Pango to draw.
(e_calendar_item_class_init): Add font_desc and week_number_font_desc
args.
(e_calendar_item_get_arg): Ditto.
(e_calendar_item_set_arg): Ditto.
(e_calendar_item_draw_month): Use Pango.
(e_calendar_item_draw_day_numbers): Ditto.
* e-calendar.c: Use Pango to draw. Specify just the size of the small
font to use, instead of all aspects of it.
(e_calendar_init): Produce the small font description and pass it to
the ECalendarItem.
svn path=/trunk/; revision=19705
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
pretty broken).
Weeeeee!
svn path=/trunk/; revision=18503
|
|
|
|
| |
svn path=/trunk/; revision=14212
|
|
|
|
|
|
| |
(instead of version 2 or any later version).
svn path=/trunk/; revision=14190
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Damon Chaplin <damon@ximian.com>
* e-calendar-item.[hc]: e_calendar_item_get_date_range() now returns
a boolean, which is FALSE if no dates are currently shown.
Plus a couple of minor sanity checks.
svn path=/trunk/; revision=7799
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-22 JP Rosevear <jpr@helixcode.com>
* gui/goto-dialog.glade.h: translations
* gui/goto-dialog.glade: new glade file for goto dialog
* gui/gnome-cal.c (setup_widgets): Set date navigator attributes
* gui/calendar-commands.h: remove prototype
* gui/goto.h: Add prototype
* gui/Makefile.am: Add glade file stuff
* gui/gnome-cal.c (setup_widgets): Use accessors to configure the
calendar item properly
2000-12-22 JP Rosevear <jpr@helixcode.com>
* e-calendar-item.h: add prototypes
* e-calendar-item.c (e_calendar_item_init): Set max_days_selected to
1 and days_to_start_week_selection to -1 as documented in header
(e_calendar_item_set_arg): use new accessor methods
(e_calendar_item_get_arg): ditto
(e_calendar_item_get_max_days_sel): accessor
(e_calendar_item_set_max_days_sel): ditto
(e_calendar_item_get_days_start_week_sel): ditto
(e_calendar_item_set_days_start_week_sel): ditto
(e_calendar_item_class_init): add display_popup argument
(e_calendar_item_init): initialize display_popup member
(e_calendar_item_get_arg): get display_popup member
(e_calendar_item_set_arg): set display_popup member
(e_calendar_item_button_press): only show the popup menu if the
member is set
(e_calendar_item_get_display_popup): acessor
(e_calendar_item_set_display_popup): ditto
svn path=/trunk/; revision=7132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2000-08-30 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.[hc]:
* e-calendar.[hc]: Updated.
svn path=/trunk/; revision=5120
|
|
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
|