2002-01-11 Damon Chaplin <damon@ximian.com>
* e-timezone-dialog/e-timezone-dialog.[hc]: translate timezone names,
and provide a function to get back to the English version.
svn path=/trunk/; revision=15303
2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
* e-charset-picker.c: Added iso-8859-8 (Hebrew; Visual) to the
list of charsets in the menu. Fixes bug #15655.
svn path=/trunk/; revision=15246
2001-12-17 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-selection-model-simple.c
(e_selection_model_simple_set_row_count): Set esma->selected_row
and esma->selected_range_end to -1 here.
* gal/widgets/e-selection-model-array.c
(e_selection_model_array_confirm_row_count): Set selected_row and
selected_range_end to -1 here.
(esma_select_single_row): Check that selected_row is within the
range of possible rows. This should never happen, but this check
will help if it does.
svn path=/trunk/; revision=15142
2001-11-08 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am: Added e-canvas-background.lo.
* gal/widgets/Makefile.am: Added e-canvas-background.c and
e-canvas-background.h.
* gal/widgets/e-canvas-background.c,
gal/widgets/e-canvas-background.h: New class, provides infinite
background color or arbitrary rectangle of background color.
svn path=/trunk/; revision=15126
2001-12-11 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-canvas.c (e_canvas_unrealize): Turn off idle
handling in the unrealize function instead of the destroy
function.
From gal/e-table/ChangeLog:
2001-12-11 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c: Turn off idle handling in the unrealize function
instead of the destroy function.
svn path=/trunk/; revision=15102
2001-11-21 Not Zed <NotZed@Ximian.com>
* e-filter-bar.c (menubar_activated): Mark the dialogue as already
up so we dont allow multiple dialogues up. Behaviour fix part of
#15745.
svn path=/trunk/; revision=15030
2001-12-04 Christopher James Lahey <clahey@ximian.com>
* configure.in (GAL_CURRENT): Bumped version number to 0.18.99.0
and CURRENT to 19.
2001-11-21 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Handle
selection_row_changed signal.
* gal/widgets/e-selection-model-array.c,
gal/widgets/e-selection-model-array.h: Properly send
selection_row_changed signals if changing from a single row
selected to a single other row selected or if moving the
selection_end by a single row.
* gal/widgets/e-selection-model.c,
gal/widgets/e-selection-model.h: Added selection_row_changed
signal.
(e_selection_model_select_as_key_press): Fixed the case statement
here to make MULTIPLE and EXTENDED the same as BROWSE instead of
as SINGLE.
From gal/e-table/ChangeLog:
2001-11-21 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h: Handle selection_row_changed
signal. Keep track of the old cursor row so that we only redraw
two rows when the cursor changes.
* e-table.c, e-tree.c: Handle selection_row_changed signal.
* e-tree-selection-model.c: Properly send selection_row_changed
signals if changing from a single row selected to a single other
row selected or if moving the selection_end by a single row.
svn path=/trunk/; revision=14870
2001-11-30 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.18.2 and GAL_REVISION
to 2.
2001-11-14 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-gui-utils.c
(e_container_change_tab_order_callback): Don't do anything if
focus_child is NULL. This makes tab when cycling around tab order
not skip to the beginning of this tab order group.
svn path=/trunk/; revision=14836
2001-11-28 Damon Chaplin <damon@ximian.com>
* e-map.c: updated to new version from Ximian Setup Tools.
Fixes bug #7641.
2001-11-27 Damon Chaplin <damon@ximian.com>
* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
return the last valid date entered, even if the field is currently
empty. Fixes bug #15749.
svn path=/trunk/; revision=14817
2001-11-14 Christopher James Lahey <clahey@ximian.com>
* configure.in (GAL_CURRENT): Bumped version number to 0.18.1.
* gal/widgets/e-selection-model-array.c
(e_selection_model_array_delete_rows): Make sure the cursor row is
selected after deleting here.
svn path=/trunk/; revision=14711
2001-11-14 Christopher James Lahey <clahey@ximian.com>
From a patch by Yukihiro Nakai <ynakai@redhat.com>.
* gal/widgets/e-canvas.c (e_canvas_realize): Handle
GDK_IM_PREEDIT_POSITION here.
svn path=/trunk/; revision=14703
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
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
2001-10-31 <NotZed@Ximian.com>
* e-filter-bar.c (build_items): Snotty code so we only disconnect
to rules we no longer have, etc.
svn path=/trunk/; revision=14553
2001-11-01 Not Zed <NotZed@Ximian.com>
* e-filter-bar.c (build_items): Ref and connect to rule changed
here, also clear out previous ref's.
(generate_menu): No longer connect to rules, or reset rule array.
(set_option): Dont reset option rules array.
(context_rule_removed): Disconnect changed event on rule.
(clear_rules): Fujnction to clear rules from an array.
(destroy): Disconnect from context signals, and clear rules arrays.
* e-filter-bar.h: Remove hash table for change id's.
svn path=/trunk/; revision=14550
2001-10-30 Damon Chaplin <damon@ximian.com>
* e-dateedit.c (e_date_edit_set_time_of_day): emit signal when time
set to none/empty.
svn path=/trunk/; revision=14502
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
2001-10-30 <NotZed@Ximian.com>
* e-filter-bar.c (set_option): Set the item to the option_base on
it, so the current item is set. Fix for #7081.
svn path=/trunk/; revision=14451
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
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
2001-10-27 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c (connect_set_adjustment): Commented out
connecting to the scroll adjustments here since it's not necessary
for how we use e-reflow. Fixes Ximian bug #13306.
svn path=/trunk/; revision=14271
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text-test.c, gal/util/e-i18n.h,
gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Changed the
license announcement at the top of these files.
svn path=/trunk/; revision=14169
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Added
cursor_changed handling to set the has_cursor argument of the
contained objects.
svn path=/trunk/; revision=14136
2001-10-25 <NotZed@Ximian.com>
* configure.in: Bumped version to 0.15.99.4 for e-iconv changes.
* gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized): "
(e_utf8_to_iconv_string_sized): "
(e_utf8_from_gtk_string_sized): "
(e_utf8_to_gtk_string_sized): "
* gal/widgets/e-font.c (e_font_to_native): s/iconv/e_iconv/
* gal/util/e-iconv.c (e_iconv): Implement a wrapper for iconv() to
make sure we link with and execute the right iconv to match the
right iconv_open. (BLAH!)
svn path=/trunk/; revision=14111
2001-10-23 Jeffrey Stedfast <fejj@ximian.com>
* e-filter-bar.c (rule_editor_clicked): Don't add the menu item
here, do this in the context_changed signal callback instead.
(context_changed): rebuild the search menu.
(set_menu): Copy the items into a default_items list so we can
regenerate the menu when something changes. Then call
generate_menu().
(generate_menu): Do what set_menu() used to do.
(e_filter_bar_new): Don't do a rule_context_load() anymore since
we don't need to.
(destroy): free the default_items list.
svn path=/trunk/; revision=13975
2001-10-23 Damon Chaplin <damon@ximian.com>
* e-search-bar.c (copy_subitems): copy the translate field over as
well. Should fix an uninitialized memory read.
svn path=/trunk/; revision=13964
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
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_selection_event_real): Use
right_click_down here instead of maybe_do_something.
svn path=/trunk/; revision=13842
2001-10-20 Jon Trowbridge <trow@ximian.com>
* e-dateedit.c (e_date_edit_check_date_changed): Keep us from
reading tmp_tm uninitialized, so purify won't complain.
svn path=/trunk/; revision=13831
2001-10-20 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.h: Changed some of these gbooleans to be
guint : 1s.
* gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Send the in
event here to the new focused item instead of the old one.
svn path=/trunk/; revision=13824
2001-10-11 <NotZed@Ximian.com>
* configure.in: bumped revision to .1
* gal/widgets/test-font-loading.c (print_gdk_font_name): Close
iconv when done.
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Close
iconv when dont with it.
(e_utf8_from_charset_string_sized): Changed for e_iconv api
changes.
(e_utf8_to_charset_string_sized): "
(e_utf8_from_gtk_string_sized): Close iconv when done with it.
(e_utf8_from_locale_string_sized): "
(e_utf8_to_locale_string_sized): "
* gal/widgets/e-font.c (e_locale_encoding): Removed.
(e_iconv_from_charset): Removed.
(e_iconv_to_charset): Removed.
(e_iconv_from_locale): Removed.
(e_iconv_to_locale): Removed.
(e_iconv_from_gdk_font): Changd to use new e-iconv apis.
(e_iconv_to_gdk_font): "
(e_font_unref): Close iconv's when done with them.
(translate_encoding): Removed.
(get_locale_charset): Removed.
(e_gdk_font_encoding): Fix for api changes.
* gal/util/e-iconv.c: New stuff to commonify/fix up some problems
with the iconv cache/conversion stuff inside e-font.
svn path=/trunk/; revision=13601
2001-10-06 Larry Ewing <lewing@ximian.com>
* gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): remove the
test condition and always work form the locale not he the font.
This has been tested and verified with owen.
svn path=/trunk/; revision=13487
2001-10-05 Michael Meeks <michael@ximian.com>
* gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and
E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from
a single source base.
* All C files:
s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g;
s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/
E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/;
svn path=/trunk/; revision=13428
2001-10-04 Rodrigo Moya <rodrigo@ximian.com>
* misc/Makefile.am:
* menus/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile
with latest Bonobo
svn path=/trunk/; revision=13407
2001-10-02 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the sonumber to 14.
* gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h
(e_canvas_item_area_shown): New function returns TRUE iff
e_canvas_item_show_area would be a noop.
svn path=/trunk/; revision=13296
2001-09-18 Damon Chaplin <damon@ximian.com>
* e-dateedit.c (e_date_edit_grab_focus): grab focus to the date entry
or the time entry, depending on which is visible. Fixes bug #7237.
svn path=/trunk/; revision=13185