2001-06-20 Mikael Hallendal <micke@codefactory.se>
* e-cell-spin-button.c
(e_cell_spin_button_step): send the value to
e_table_model_set_value_at as a string as in e_cell_number.
(e_cell_spin_button_step_float): send the value to
e_table_model_set_value_at as a string as in e_cell_number_float.
svn path=/trunk/; revision=10336
2001-06-14 Damon Chaplin <damon@ximian.com>
* e-map.[hc]: copied the EMap widget verbatim from Ximian Setup Tools.
Hmm. Maybe it should go in gal, but its not a very general widget.
* Makefile.am (INCLUDES): defined MAP_DIR for e-map.c.
(libemiscwidgets_a_SOURCES): added e-map.[hc].
svn path=/trunk/; revision=10221
2001-06-08 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-view.c: Turned off alternating row
colors in our ETable specification.
* gal/e-text/e-completion-match.c (e_completion_match_compare_alpha):
Fix the sort routine to properly use the major & minor keys for
sorting grouped elements with the same match text. I had this all
wrong.
svn path=/trunk/; revision=10159
2001-06-07 jacob berkman <jacob@ximian.com>
* gal/e-text/e-entry.c (canvas_size_allocate): we can ignore the
border, as e-text takes care of that for us
(canvas_size_request): correctly handle when borders should be
drawn
* gal/e-text/e-completion-view.c (e_completion_view_paint): fix a
small bug in the drawing-2-pixel-border change to my patch
svn path=/trunk/; revision=10149
2001-06-06 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c:
* gal/e-text/e-completion-view.c: Applied patch from Jacob Berkman
to un-offset the completion popup and add a border around it. I
tweaked it slightly to make the border two pixels thick instead of
one. (Which I like, but might annoy everyone else. We'll see.)
svn path=/trunk/; revision=10133
2001-06-05 Jon Trowbridge <trow@gnu.org>
* gal/e-text/e-entry.c: Small changes throughout to use
ECompletionMatch.
* gal/e-text/e-completion-view.c: Small changes throughout
to use ECompletionMatch.
* gal/e-text/e-completion.c: Small changes throughout to use
ECompletionMatch.
* gal/e-text/e-completion-match.h:
* gal/e-text/e-completion-match.c: Added. A struct to contain
completion matches. This lets us more easily pass around
information between the various bits of completion machinery.
svn path=/trunk/; revision=10118
2001-05-31 Federico Mena Quintero <federico@ximian.com>
* menus/gal-view-menus.c (gal_view_menus_construct): Store the
connection ID of the "changed" signal in the collection.
(gal_view_menus_new): Added preconditions.
(gal_view_menus_construct): Added preconditions.
svn path=/trunk/; revision=10075
2001-05-31 jacob berkman <jacob@ximian.com>
* gal/e-text/e-entry.c (e_entry_init): set allow_newlines on the
etext item to false, since we are like an entry
svn path=/trunk/; revision=10061
2001-05-28 Federico Mena Quintero <federico@ximian.com>
* gal-view-collection.c (gal_view_collection_add_factory):
Document the fact that this function ref()s the factory and that
people should unref() it after calling the function if they no
longer need the factory object.
(gal_view_collection_display_view): Added preconditions.
(gal_view_collection_set_storage_directories): Likewise.
(gal_view_collection_add_factory): Likewise.
(gal_view_collection_load): Likewise.
(gal_view_collection_save): Likewise.
(gal_view_collection_get_count): Likewise.
(gal_view_collection_get_view): Likewise.
(gal_view_collection_get_view_item): Likewise.
(gal_view_collection_append): Likewise.
(gal_view_collection_delete_view): Likewise.
(gal_view_collection_copy_view): Likewise.
svn path=/trunk/; revision=10044
2001-05-25 Christopher James Lahey <clahey@ximian.com>
* e-table.c (et_table_rows_deleted): Remove row row + i instead of
row i.
(et_table_rows_inserted): Insert row row + i instead of row row.
svn path=/trunk/; revision=10003
2001-05-25 Christopher James Lahey <clahey@ximian.com>
* e-table.c (et_table_rows_deleted): Remove row i instead of row
row. Destroy et->group when you get the changed or
sort_info_changed signal instead of in the idle handler.
svn path=/trunk/; revision=10002
2001-05-24 jacob berkman <jacob@ximian.com>
* e-cell-size.c (ecd_get_text): format similar to nautilus
2001-05-23 jacob berkman <jacob@ximian.com>
* e-table-group-container.c: internationalize the grouping text
string
svn path=/trunk/; revision=9966
2001-05-22 Christopher James Lahey <clahey@ximian.com>
* e-table-sorted.c (ets_proxy_model_rows_deleted): Made this
faster in some cases.
svn path=/trunk/; revision=9937
2001-05-22 Christopher James Lahey <clahey@ximian.com>
* e-table-group-leaf.c (etgl_double_click): The double_click
signal on the table item now emits the model row instead of the
view row so don't do the view to model conversion here.
svn path=/trunk/; revision=9924
2001-05-22 jacob berkman <jacob@ximian.com>
* e-table-sorted.c (ets_proxy_model_rows_deleted): a similar
change to below, which makes it actually work for the case where
count != 1
svn path=/trunk/; revision=9923
2001-05-21 Chris Toshok <toshok@ximian.com>
* menus/gal-view-menus.c (build_menus): make the view menuitems
radio items of the same group, and allocate the closure here.
(free_verbs): only need to free the one DefineViews verb here.
(closure_free): new function - EListFreeFunc for our
listenerClosure list.
(remove_listeners): new function, free our listener list.
(gvm_destroy): call remove_listeners.
(gvm_init): init listenerClosures list.
(toggled_cb): callback for radio items.
(build_verbs): strip out almost all the code since there's only 1
verb now.
(build_stuff): call remove_listeners.
svn path=/trunk/; revision=9916
2001-05-21 Chris Toshok <toshok@ximian.com>
* e-table-sorted.c (ets_proxy_model_rows_inserted): increment row
each time through the loop so we don't get @count copies of @row.
svn path=/trunk/; revision=9912
2001-05-14 Jon Trowbridge <trow@ximian.com>
* e-cell-text.c (_get_position_from_xy): Try to deal with bad
utf8.
(_get_position): Try to deal with bad utf8.
(number_of_lines): Try to deal with bad utf8.
(split_into_lines): Try to deal with bad utf8.
svn path=/trunk/; revision=9791
2001-05-12 Gediminas Paulauskas <menesis@delfi.lt>
* folder-browser-factory.c: load pixmaps for MessageCopy and
MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu>
for a patch.
2001-05-12 Gediminas Paulauskas <menesis@delfi.lt>
* evolution-mail.xml: add pixmaps for MessageCopy and
MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu>
for a patch.
2001-05-12 Gediminas Paulauskas <menesis@delfi.lt>
* po/POTFILES.in: update with new/moved files.
also:
Removed duplicated DATADIR in mail/Makefile.am
fixed warning in e-search-bar.c in my recent code there
svn path=/trunk/; revision=9783
2001-05-11 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_event): Make a key press stop the tooltip
timeout.
* e-table-state.c (e_table_state_load_from_node): Make the default
expansion be one so that if the user doesn't specify any
expansions they get a uniform expansion.
svn path=/trunk/; revision=9769
2001-05-09 Christopher James Lahey <clahey@ximian.com>
* e-cell-date.c (ecd_get_text): Show the date for dates in the
future.
* e-tree-memory.c, e-tree-memory.h
(e_tree_memory_set_node_destroy_func): New function which gets
called on the data for every node removed from the tree.
svn path=/trunk/; revision=9733
2001-05-07 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added util/e-sorter-array.lo
and widgets/e-reflow-model.lo. Removed
widgets/e-reflow-sorted.lo.
* gal/util/Makefile.am (libutil_la_SOURCES): Added
e-sorter-array.c.
(libgalinclude_HEADERS): Added e-sorter-array.h.
* gal/util/e-sorter-array.c, gal/util/e-sorter-array.h: A sorter
for use with a single compare function to do sorting.
* gal/util/e-util.c, gal/util/e-util.h
(e_marshal_INT__OBJECT_POINTER): Added this marshaller.
* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
e-reflow-model.c. Removed e-reflow-sorted.c.
(libwidgetsinclude_HEADERS): Added e-reflow-sorted.h. Removed
e-reflow-model.h.
* gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h:
Model for EReflow. Has a number of items and generates canvas
items on the fly.
* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Major rewrite.
This now uses a model to generate its canvas items instead of
having canvas items added to it. It doesn't create the canvas
items now until they will be shown on screen.
svn path=/trunk/; revision=9710
2001-05-08 Gediminas Paulauskas <menesis@delfi.lt>
* searches.xml: replace title> with _title>. Part of fix to #2253.
2001-05-08 Gediminas Paulauskas <menesis@delfi.lt>
* mail-search.c: convert search entry to utf8.
* mail-local.c: d() debugging message.
* mail-send-recv.c: replace " ..." with "..."
* Makefile.am: removed EVOLUTION_VERSION.
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* POTFILES.in: add mail/mail-search.c
2001-05-08 Gediminas Paulauskas <menesis@delfi.lt>
* misc/e-search-bar.c (add_dropdown), (set_option): first try to
translate, then if not suceeded -- convert from utf8. This handles
cases when menuitem needs to be translated (it is passed as N_()), or is
utf8 search title. However you cannot have a search like "Folders" -- it
is translated. Part of fix for #2253.
* misc/e-filter-bar.c: d() debugging strings. Use E_FILTERBAR_ADVANCED
macro instead of own "Advanced ..." for consistency.
2001-05-08 Gediminas Paulauskas <menesis@delfi.lt>
* filter-rule.c (xml_decode): allow "_title" in user rules. translate
them and encode to utf8.
(get_rule_part_widget): do not call gettext on part->title. It is always
translated already.
svn path=/trunk/; revision=9706
2001-05-07 Federico Mena Quintero <federico@ximian.com>
* gal/e-text/e-text.c (e_text_reflow): Request an update if just
our line widths needed recalculation. This fixes the bug where
the text item would not repaint itself if the canvas lost the
focus.
svn path=/trunk/; revision=9705
2001-04-29 Jason Leach <jasonleach@usa.net>
(Fix bug #53111: Portability fixes for HP's ANSI compiler.)
* e-table-header-item.c (ethi_popup_sort_ascending): Changes for
initializing a struct for picky compiler.
(ethi_popup_sort_descending): Ditto.
(ethi_change_sort_state): Ditto.
* e-cell.c (e_cell_realize): Fix trying to return a value for a
void function.
(e_cell_show_tooltip): Here too.
* e-table-subset.c (etss_set_value_at): Another fix for trying to
return something instead of void.
svn path=/trunk/; revision=9695
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized):
write what was converted to console, this function does not work
always.
(e_utf8_gtk_editable_get_chars),
(e_utf8_gtk_menu_item_new_with_label): removed some unneeded checks.
(e_xml_get_translated_utf8_string_prop_by_name): if i.e. "title"
was found, do not convert it to utf8 -- it already is. do this
only on "_title".
* gal/e-table/e-table-header-item.c: fix warning.
svn path=/trunk/; revision=9692
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* misc/e-filter-bar.h: xgettext does not find N_() in #defines. So
created fake enum. Also removed spaces before "..."
svn path=/trunk/; revision=9690
2001-05-04 JP Rosevear <jpr@ximian.com>
* e-meeting-time-sel-list-item.c
(e_meeting_time_selector_list_item_destroy): correct type where
same pixmap mask was unreffed twice
svn path=/trunk/; revision=9673
2001-04-29 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c: Made fewer calls to functions like
split_into_lines to save time when possible.
svn path=/trunk/; revision=9629
2001-04-29 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added
widgets/e-categories-master-list-dialog-model.lo and
widgets/e-categories-master-list-dialog.lo here.
* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
widgets/e-categories-master-list-dialog-model.c and
widgets/e-categories-master-list-dialog.c here.
(libwidgetsinclude_HEADERS): Added
widgets/e-categories-master-list-dialog-model.h and
widgets/e-categories-master-list-dialog.h here.
(glade_DATA): Added e-categories-master-list-dialog.glade here.
* gal/widgets/e-categories-master-list-dialog-model.c,
gal/widgets/e-categories-master-list-dialog-model.h: New class
defining an ETableModel for use in
e-categories-master-list-dialog.c.
* gal/widgets/e-categories-master-list-dialog.c,
gal/widgets/e-categories-master-list-dialog.glade,
gal/widgets/e-categories-master-list-dialog.h: New dialog for
editing the master category list.
* gal/widgets/e-categories.c: Added code to hook up the edit
master category list button here to launch an
e-categories-master-list-dialog.
* gal/widgets/gal-categories.glade: Added a button here to edit
the master category list.
svn path=/trunk/; revision=9625
2001-04-28 Jason Leach <jasonleach@usa.net>
(Make the alternating row colors a option in ETableSpecification
instead of a compiled in #define)
* e-table-specification.c (e_table_specification_load_from_node):
Read in the "alternating-row-colors=bool" option for
ETableSpecifications. Default value is true so unless it is
specified to be false, row colors will alternate.
(e_table_specification_save_to_node): Save the alternating row
color options here.
* e-table.c (et_build_groups): Pass down the alternating row
colors through to the ETableGroup.
* e-table-group-container.[ch]: Handle the new alternating row
colors
option here, passing it to ETableItem.
* e-table-group-leaf.[ch]: Here too.
* e-table-item.c (eti_get_cell_background_color): Got rid of the
#define ALTERNATE_COLORS, replaced with truth check for
ETableItem::alternating_row_colors.
* e-tree.c: Make ETree recognize alternating row color options as
well.
svn path=/trunk/; revision=9622
2001-04-25 Christopher James Lahey <clahey@ximian.com>
* e-table.c (e_table_get_cell_geometry): Add the header height to
the returned y location here so that things will be lined up
correctly.
svn path=/trunk/; revision=9563
2001-04-25 Christopher James Lahey <clahey@ximian.com>
* e-tree-table-adapter.c (e_tree_table_adapter_row_of_node): Made
this return -1 instead of -2 for not found if the root is not
visible.
* e-tree-selection-model.c (etsm_row_foreach_cb): Made this accept
any negative number as not found instead of just -1.
svn path=/trunk/; revision=9562
2001-04-25 Jason Leach <jasonleach@usa.net>
* e-table-group-leaf.c (etgl_set_arg): One-line fix (missing a
'break' at the end of the ARG_SELECTION_MODEL case).
svn path=/trunk/; revision=9561
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
2001-04-23 Christopher James Lahey <clahey@ximian.com>
* e-table.c (e_table_get_cell_geometry): Documented this function
properly.
* e-tree.c, e-tree.h (e_tree_get_cell_geometry): Added this
function.
svn path=/trunk/; revision=9533