aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Fix a crash in draw_button.Iain Holmes2000-09-153-4/+10
| | | | svn path=/trunk/; revision=5444
* typo/compile fixPeter Williams2000-09-153-4/+4
| | | | svn path=/trunk/; revision=5441
* Fix some crashes Make double clicking on the header dividers automaticallyIain Holmes2000-09-1525-54/+517
| | | | | | | | | | | Fix some crashes Make double clicking on the header dividers automatically size the header to it's best fit. When dragging onto the header check the dragged item is a header object. Check the column is resizeable before setting the cursor to <-> Use the font and themes to draw the table and items. svn path=/trunk/; revision=5438
* fix path.Michael Meeks2000-09-142-1/+5
| | | | | | | | | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * gui/component/Makefile.am (evolution_addressbook_LDADD): fix path. * gui/component/addressbook.c: update include. * gui/component/addressbook-factory.c: update include. * gui/widgets/e-minicard-view.h: update include. * gui/search/e-addressbook-search-dialog.c: update include path. svn path=/trunk/; revision=5418
* Added widgets/e-reflow/Makefile. ReplacedChristopher James Lahey2000-09-144-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-reflow/Makefile. Replaced addressbook/gui/minicard/Makefile with addressbook/gui/widgets/Makefile. From addressbook/ChangeLog: 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * gui/widgets/*, gui/minicard/*: Moved gui/minicard to gui/widgets, except for e-reflow.c, e-reflow.h, e-reflow-sorted.c, and e-reflow-sorted.h. * gui/widgets/Makefile.am: Added e-reflow to the INCLUDES list and libereflow.a to a bunch of LDADD lines. * gui/component/Makefile.am (evolution_addressbook_LDADD): Added libereflow.a here. * gui/Makefile.am (SUBDIRS): Replaced minicard with widgets. From widgets/ChangeLog: 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * Makefile.am (SUBDIRS): Added e-reflow. * e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved from addressbook/gui/minicard/. * e-reflow/Makefile.am, e-reflow/.cvsignore: New files for a new directory. svn path=/trunk/; revision=5414
* Use underscores for untranslated characters fro Gtk+Lauris Kaplinski2000-09-131-52/+42
| | | | svn path=/trunk/; revision=5391
* Add a bunch of compile flags to the compilation of `tree-example-2'Ettore Perazzoli2000-09-122-0/+11
| | | | | | because it uses GNOME VFS so it needs them. svn path=/trunk/; revision=5366
* Made bold text calculate widths properly.Christopher James Lahey2000-09-123-34/+88
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made bold text calculate widths properly. svn path=/trunk/; revision=5331
* Made page up and page down active in the ETable.Christopher James Lahey2000-09-113-6/+92
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Made page up and page down active in the ETable. svn path=/trunk/; revision=5319
* Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text.Christopher James Lahey2000-09-112-10/+36
| | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-unicode.c, e-unicode.h: Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text. svn path=/trunk/; revision=5316
* added e-dateedit.[hc] and the test-dateedit app.Damon Chaplin2000-09-118-8/+1258
| | | | | | | | | | | | | | | | | | | 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
* Fixed the ETableModel callbacks.Christopher James Lahey2000-09-103-24/+28
| | | | | | | | 2000-09-09 Christopher James Lahey <clahey@helixcode.com> * e-tree-simple.c: Fixed the ETableModel callbacks. svn path=/trunk/; revision=5293
* Some UTF-8 fixes and experimental 16-bit unicode font supportLauris Kaplinski2000-09-093-10/+14
| | | | svn path=/trunk/; revision=5279
* Added base ETableModel functions.Christopher James Lahey2000-09-099-74/+498
| | | | | | | | | | | | | | 2000-09-08 Christopher James Lahey <clahey@helixcode.com> * e-tree-example-1.c: Added base ETableModel functions. * e-tree-example-2.c: Added base ETableModel functions. Made it never return NULL as a string, instead return "". * e-tree-simple.c, e-tree-simple.h: Require base ETableModel functions. svn path=/trunk/; revision=5266
* remove consts from the EPopupMenu structure: the caller may want to modifyDan Winship2000-09-091-4/+4
| | | | | | | | * e-popup-menu.h: remove consts from the EPopupMenu structure: the caller may want to modify its own EPopupMenu before calling e_popup_menu_run. svn path=/trunk/; revision=5261
* Bunch of unicode related changesLauris Kaplinski2000-09-082-9/+38
| | | | svn path=/trunk/; revision=5235
* Merge in the colour combo emhancements.Jody Goldberg2000-09-071-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-06 Jody Goldberg <jgoldberg@home.com> * color-group.c (color_group_new_named) : strdup the name if it is supplied by the user. (color_group_class_init) : Use the destroy method. 2000-09-03 Michael Levy <mlevy@genoscope.cns.fr> * color-group.c : Re-write of color-combo-group.c to allow for arbitrary widgets to share a common color history. * widget-color-combo.c : Extracted all the code required to make the color table and moved it to a new object (ColorPalette). Changed the ColorCombo so that it uses the ColorPalette (and the shared color hsitory provided by the groupped ColorPalettes). All the code that refered to the creation of the color table was removed, and when appropriate, moved to color-palette.c Removed all mention of ColorComboGroups (as these no longer exist). * color-palette.c : Extracted from widget-color-combo.c (color_palette_new) : Creates a color palette. (color_palette_get_current_color) : returns the current color. 2000-07-30 Michael Levy <mlevy@genoscope.cns.fr> * color-combo-group.c : New GtkObject meant to group color combo boxes so that their custom color histories are shared. Includes functions to create and destroy the object, as well as those required size, and navigate through the custom color history. * widget-color-combo.c (group_new_custom_color) : New function to handle the new_custom_color signal emitted by the ColorComboGroup (custom_color_history_setup) : New function which initialises a combo box's custom color history with the one stored in the group (color_table_setup) : Added call to custom_color_history_setup. (cust_color_set) : Removed call to cust_color_row_shift and moved it to group_new_custom_color. Also added call to color_combo_group_add_color in order to notify group of change (color_combo_new_with_vals) : Added mandatory group name to function prototype. Also added call to color_combo_group_new_named and connected the "new_custom_color" signal emitted by the newly created group to group_new_custom_color (color_combo_new) : Added mandatory group name to function prototype. * widget-color-combo.c (color_combo_new) : Added mandatory group name to function prototype. svn path=/trunk/; revision=5229
* Remove incorrect optimization. Events are read-only!Federico Mena Quintero2000-09-071-12/+8
| | | | | | | | | 2000-09-07 Federico Mena Quintero <federico@helixcode.com> * e-canvas.c (emit_event): Remove incorrect optimization. Events are read-only! svn path=/trunk/; revision=5228
* Get the meeting time selector to work on my system (libunicodeEttore Perazzoli2000-09-072-0/+5
| | | | | | | installation prefix different from the GNOME default installation prefix). svn path=/trunk/; revision=5223
* make sure we get the start_weekday since we need it for draw_days(). FixesDamon Chaplin2000-09-063-21/+31
| | | | | | | | | | | | | | | | 2000-09-05 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_draw_month): make sure we get the start_weekday since we need it for draw_days(). Fixes a drawing bug. 2000-08-31 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_button_press): (e_calendar_item_button_release): grab/ungrab the pointer so we always get the button_release event. svn path=/trunk/; revision=5216
* New font translation code for utf-8, but commented out at momentLauris Kaplinski2000-09-051-36/+32
| | | | svn path=/trunk/; revision=5194
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-024-6/+57
| | | | svn path=/trunk/; revision=5180
* Fixed a leak and a double unref.Christopher James Lahey2000-09-025-6/+6
| | | | | | | | 2000-09-01 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table.c: Fixed a leak and a double unref. svn path=/trunk/; revision=5174
* new test, a home grown 2 hour hack of a file browser. usesChris Toshok2000-09-016-1/+1374
| | | | | | | | | | | | | | 2000-09-01 Chris Toshok <toshok@helixcode.com> * e-tree-example-2.c: new test, a home grown 2 hour hack of a file browser. uses node_collapsed/emitted signals to populate the left tree. * Makefile.am: add tree-example-2.c stuff. * .cvsignore: add tree-example-2 svn path=/trunk/; revision=5163
* add signals/prototypes for e_tree_model_node_collapsed andChris Toshok2000-09-015-22/+139
| | | | | | | | | | | | | | | | | 2000-09-01 Chris Toshok <toshok@helixcode.com> * e-tree-model.h: add signals/prototypes for e_tree_model_node_collapsed and e_tree_model_node_expanded. * e-tree-model.c (etree_set_expanded): emit node_expanded/node_collapsed signals, with node_expanded happening before the expansion so it can much with the children, and collapsed being emitted after. (e_tree_model_row_of_node): remove stupid check, and g_warning. (e_tree_model_node_collapsed): new function. (e_tree_model_node_expanded): new function. svn path=/trunk/; revision=5162
* Email should now display correctly in GtkHTMLLauris Kaplinski2000-09-012-0/+931
| | | | svn path=/trunk/; revision=5154
* Made the selection work when shift clicking on the first row of the table.Christopher James Lahey2000-08-313-14/+19
| | | | | | | | | 2000-08-31 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Made the selection work when shift clicking on the first row of the table. svn path=/trunk/; revision=5139
* Fix the tree example so that is doesn't show two sets of expand/unexpandRichard Hult2000-08-313-8/+20
| | | | | | icons at tree nodes. svn path=/trunk/; revision=5137
* #define gnome_font_lookup_default for gnome-print 0.20Lauris Kaplinski2000-08-311-0/+1
| | | | svn path=/trunk/; revision=5133
* New base class for Cells. Convert everything to access the elements thatJody Goldberg2000-08-312-0/+4
| | | | | | | | | | | | | | | | | | | | | | | 2000-08-30 Jody Goldberg <jgoldberg@home.com> * dependent.[ch] : New base class for Cells. Convert everything to access the elements that are now in the cell's base. s/Cell::sheet/Cell::Dependent::sheet/ s/Cell::cell_flags/Cell::Dependent::flags/ * Makefile.am : Because of XL we need to build plugins before src. That will need changing. * src/func.c (function_marshal_arg) : Use expr_array_intersection. * src/expr.c (eval_expr_real) : Do implicit conversions from strings to numbers if possible. Access the first element of an array. NOTE : This is WRONG We need to implement array expression behavior some day. (expr_array_intersection) : New routine. svn path=/trunk/; revision=5127
* Made it compilable both with gnome-print 0.20 and 0.21+Lauris Kaplinski2000-08-311-0/+6
| | | | svn path=/trunk/; revision=5126
* Do not flicker while trying to resize a quantized pane.Federico Mena Quintero2000-08-313-6/+33
| | | | | | | | | | | 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * e-paned/e-hpaned.c (e_hpaned_motion): Do not flicker while trying to resize a quantized pane. * e-paned/e-vpaned.c (e_vpaned_motion): Likewise. svn path=/trunk/; revision=5125
* Ensure that the child's allocation height is >= 1.Federico Mena Quintero2000-08-313-8/+25
| | | | | | | | | | | | | | | | 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * widgets/e-paned/e-vpaned.c (e_vpaned_size_allocate): Ensure that the child's allocation height is >= 1. * widgets/e-paned/e-hpaned.c (e_hpaned_size_allocate): Ensure that the child's allocation width is >= 1. 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * ChangeLog: Started a ChangeLog here. svn path=/trunk/; revision=5123
* Updated.Damon Chaplin2000-08-316-476/+2151
| | | | | | | | | 2000-08-30 Damon Chaplin <damon@helixcode.com> * e-calendar-item.[hc]: * e-calendar.[hc]: Updated. svn path=/trunk/; revision=5120
* make e-util depend on libunicodeDan Winship2000-08-301-1/+1
| | | | | | | | | | | * Makefile.am (libeutil_la_LIBADD): make e-util depend on libunicode * e-popup-menu.c (make_item): Use GtkMenuItem rather than GtkPixmapMenuItem for items with no pixmaps, so that if the whole menu is pixmapless, you don't get a column of blank pixmaps. svn path=/trunk/; revision=5114
* Make printing of groups work better and make them print headers.Christopher James Lahey2000-08-295-76/+275
| | | | | | | | | | | 2000-08-28 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Make printing of groups work better and make them print headers. * e-table-item.c: Turn off alternating row support. svn path=/trunk/; revision=5086
* Remove a ton of (hopefully harmless) warnings from the ETable code.Ettore Perazzoli2000-08-287-12/+46
| | | | svn path=/trunk/; revision=5081
* Added some g_return_if_fails and g_return_val_if_fails.Christopher James Lahey2000-08-2610-31/+122
| | | | | | | | | | 2000-08-25 Christopher James Lahey <clahey@helixcode.com> * e-table-col.c, e-table-config.c, e-table-header.c, e-table-text-model.c: Added some g_return_if_fails and g_return_val_if_fails. svn path=/trunk/; revision=5056
* More UTF-8 handlingLauris Kaplinski2000-08-252-0/+19
| | | | svn path=/trunk/; revision=5032
* Fix an off by one error that was causing crashes.Christopher James Lahey2000-08-253-2/+8
| | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Fix an off by one error that was causing crashes. svn path=/trunk/; revision=5027
* Set default values for all of the signal emissions.Christopher James Lahey2000-08-253-6/+10
| | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Set default values for all of the signal emissions. svn path=/trunk/; revision=5026
* Check for selection->selection being NULL inChristopher James Lahey2000-08-253-0/+11
| | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Check for selection->selection being NULL in e_table_selection_model_selected_count. svn path=/trunk/; revision=5025
* Pay attention to the return value from the click signal.Christopher James Lahey2000-08-253-4/+21
| | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Pay attention to the return value from the click signal. svn path=/trunk/; revision=5022
* Added a click signal which gets sent if the user hits the left or middleChristopher James Lahey2000-08-2517-1/+187
| | | | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added a click signal which gets sent if the user hits the left or middle mouse button on a cell. svn path=/trunk/; revision=5020
* Forgot to commit thisChris Lahey2000-08-252-4/+4
| | | | svn path=/trunk/; revision=5019
* Added g_return_if_fails.Christopher James Lahey2000-08-255-6/+272
| | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-scrolled.c, e-table.c: Added g_return_if_fails. svn path=/trunk/; revision=5015
* Added infrastructure for setting the justification of columns. Still needChristopher James Lahey2000-08-2517-22/+116
| | | | | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h, e-table-col.c, e-table-col.h, e-table-item.c: Added infrastructure for setting the justification of columns. Still need to change the cells to support it and need to add user interface to change the justification. svn path=/trunk/; revision=5010
* Unicode in addressbook basically works, including simple searchingLauris Kaplinski2000-08-244-2/+50
| | | | svn path=/trunk/; revision=4997
* Fixed a bug in e_table_subset_variable_increment that causes problems withChristopher James Lahey2000-08-243-4/+11
| | | | | | | | | | | 2000-08-23 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c: Fixed a bug in e_table_subset_variable_increment that causes problems with ETree's. Specifically, when you incremented at position x, the row x didn't get incremented as it should (s/>/>=/.) svn path=/trunk/; revision=4994
* Added missing e-unicode.h and e-unicode.cLauris Kaplinski2000-08-232-0/+186
| | | | svn path=/trunk/; revision=4977
* UTF-8 in contact editor + some fixes for dealing with illegal stringsLauris Kaplinski2000-08-232-2/+8
| | | | svn path=/trunk/; revision=4976
* remove tree-expanded.xpm and tree-unexpanded.xpm.Chris Toshok2000-08-238-101/+18
| | | | | | | | | | | | | | | | | 2000-08-22 Chris Toshok <toshok@helixcode.com> * Makefile.am (icons): remove tree-expanded.xpm and tree-unexpanded.xpm. * e-tree-example-1.c: use art/tree-expanded.xpm and art/tree-unexpanded.xpm. (remove_node): commit the change listed below (08-21). * tree-expanded.xpm: removed. * tree-unexpanded.xpm: removed. svn path=/trunk/; revision=4975
* Handle iso-8859-1 keys nicely in e-text and e-table. Other encodings toLauris Kaplinski2000-08-235-8/+73
| | | | | | come... svn path=/trunk/; revision=4972
* Use byte, not character based UTF-8 syntax in e-textLauris Kaplinski2000-08-224-246/+254
| | | | svn path=/trunk/; revision=4963
* Moved drawing of the cell backgrounds from ECell into ETableItem.Christopher James Lahey2000-08-2211-60/+53
| | | | | | | | | | | 2000-08-22 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-table-item.c: Moved drawing of the cell backgrounds from ECell into ETableItem. * e-tree-model.c: Include stdlib.c. svn path=/trunk/; revision=4915
* Changed UTF-8 handling syntax from char based to byte basedLauris Kaplinski2000-08-223-234/+252
| | | | svn path=/trunk/; revision=4913
* we can remove nodes with children now.Chris Toshok2000-08-225-10/+122
| | | | | | | | | | | | | | | | | | | | | | 2000-08-21 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (remove_node): we can remove nodes with children now. * e-tree-model.h: add prototype for e_tree_model_node_sort. * e-tree-model.c (etree_set_expanded): if the node is invisible, just set its expanded flag and return. (e_tree_model_root_node_set_visible): call set_expanded before we remove it from the row array or else the aforementioned change will result in nothing happening. (e_tree_model_node_insert): use a position of -1 as "append". (e_tree_model_node_insert): if the model was marked with root_visible == FALSE, make sure to set it's expanded flag to TRUE when the root node is inserted. (e_tree_model_node_sort): new function. svn path=/trunk/; revision=4912
* pass table, not site as the closure for these drag signals, sinceChris Toshok2000-08-223-4/+10
| | | | | | | | | | 2000-08-21 Chris Toshok <toshok@helixcode.com> * e-table.c (e_table_drag_source_set): pass table, not site as the closure for these drag signals, since e_table_drag_source_event_cb assumes it's the table. svn path=/trunk/; revision=4911
* Added code to make handle position persist across resizes.Christopher James Lahey2000-08-214-11/+17
| | | | | | | | | | 2000-08-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-paned/e-hpaned.c, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c: Added code to make handle position persist across resizes. svn path=/trunk/; revision=4898
* ChangeLog error.Chris Lahey2000-08-211-1/+1
| | | | svn path=/trunk/; revision=4894
* Added e_table_selection_model_selected_count.Christopher James Lahey2000-08-215-0/+59
| | | | | | | | | 2000-08-20 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added e_table_selection_model_selected_count. svn path=/trunk/; revision=4893
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-2/+2
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* Fixed a warning.Christopher James Lahey2000-08-202-0/+4
| | | | | | | | 2000-08-20 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Fixed a warning. svn path=/trunk/; revision=4889
* added use of UNICODE_CFLAGS... thanks ian...Arik Devens2000-08-201-1/+2
| | | | svn path=/trunk/; revision=4887
* Moved e-text to UTF-8Lauris Kaplinski2000-08-205-444/+581
| | | | svn path=/trunk/; revision=4886
* First step moving to UTF-8 stringsLauris Kaplinski2000-08-205-414/+549
| | | | svn path=/trunk/; revision=4885
* Made background colors alternate.Christopher James Lahey2000-08-2025-90/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-19 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made background colors alternate. * e-table-click-to-add.c: Made tabbing off the right edge of the click to add commit the new values. * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-sorted-variable.c, e-table-subset-variable.c, e-table-subset-variable.h: Added a decrement method. Made the add and remove methods not automatically increment and decrement. * e-table-item.c: Fixed some view vs model issues for both rows and columns. * e-table-model.c: Added debugging code. Removed automatic signalling of changes by the ETableModel set_value_at function (the model should send these signals itself.) * e-table.c: Added increment and decrement calls when a row is removed or added from the source model. svn path=/trunk/; revision=4881
* remove COLOR_TEXT references.Larry Ewing2000-08-172-4/+4
| | | | | | | | 2000-08-16 Larry Ewing <lewing@helixcode.com> * e-icon-bar.c (e_icon_bar_init): remove COLOR_TEXT references. svn path=/trunk/; revision=4858
* get rid of COLOR_TEXT. (struct _EIconBarItem): add pixbuf member to holdLarry Ewing2000-08-174-5/+75
| | | | | | | | | | | | | | | | | | | | | | | 2000-08-16 Larry Ewing <lewing@helixcode.com> * e-icon-bar.h (enum): get rid of COLOR_TEXT. (struct _EIconBarItem): add pixbuf member to hold unmodified pixbuf. * e-icon-bar.c (e_icon_bar_style_set): update the image and the colors based on the new style. (e_icon_bar_add_item): store the full alpha pixbuf so that we can update the background color if the style changes. Use the style colors where appropriate. (e_icon_bar_on_editing_stopped): revert to style colors. (e_icon_bar_on_editing_started): use style fg instead of COLOR_TEXT. * e-shortcut-bar.c (e_shortcut_bar_add_group): add an #ifndef E_USE_STYLES around the call to e_shortcut_bar_set_canvas_style to allow people to test out the style stuff that is in progress. svn path=/trunk/; revision=4856
* Added addressbook/gui/search/Makefile.Christopher James Lahey2000-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added addressbook/gui/search/Makefile. From addressbook/ChangeLog 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added the search directory. * backend/ebook/e-book.c: Fixed a potential crash. * gui/minicard/e-reflow-sorted.h: Fixed an include line. * gui/search/.cvsignore, gui/search/Makefile.am: New files. * gui/search/e-addressbook-search-dialog.c: Fixed compilation. svn path=/trunk/; revision=4779
* Added a test for the EEntry widget.Christopher James Lahey2000-08-115-1/+170
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/.cvsignore, widgets/e-text/Makefile.am, widgets/e-text/e-entry-test.c: Added a test for the EEntry widget. svn path=/trunk/; revision=4725
* Fixed some warnings.Christopher James Lahey2000-08-113-1/+10
| | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * e-calendar-item.c, e-calendar.c: Fixed some warnings. svn path=/trunk/; revision=4723
* Make right click select if the current row is not selected.Christopher James Lahey2000-08-107-0/+44
| | | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-selection-model.c, e-table-selection-model.h: Make right click select if the current row is not selected. svn path=/trunk/; revision=4658
* Fix the bug where it truncates the last itemChristopher James Lahey2000-08-091-1/+1
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Fix the bug where it truncates the last item svn path=/trunk/; revision=4648
* Call our parent's destroy method.Miguel de Icaza2000-08-092-0/+10
| | | | | | | | | 2000-07-18 Miguel de Icaza <miguel@helixcode.com> * e-tree-model.c (etree_destroy): Call our parent's destroy method. svn path=/trunk/; revision=4643
* Tag some strings for translation.Miguel de Icaza2000-08-093-30/+39
| | | | | | | | 2000-08-08 Miguel de Icaza <miguel@helixcode.com> * e-table-header-item.c: Tag some strings for translation. svn path=/trunk/; revision=4642
* Ooops.Christopher James Lahey2000-08-091-6/+7
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Ooops. svn path=/trunk/; revision=4630
* Changed e_popup_menu_run call to match the new arguments.Christopher James Lahey2000-08-093-2/+7
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed e_popup_menu_run call to match the new arguments. svn path=/trunk/; revision=4628
* Added a hide_mask argument to the two popup menu functions.Christopher James Lahey2000-08-092-23/+40
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to the two popup menu functions. svn path=/trunk/; revision=4625
* Added e_container_change_tab_order.Christopher James Lahey2000-08-082-1/+83
| | | | | | | | | 2000-08-07 Christopher James Lahey <clahey@helixcode.com> * e-gui-utils.c, e-gui-utils.c: Added e_container_change_tab_order. svn path=/trunk/; revision=4580
* Added functions to convert from view row to model row or from model row toChristopher James Lahey2000-08-065-22/+89
| | | | | | | | | | | | | 2000-08-05 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Added functions to convert from view row to model row or from model row to view row. Also changed e_table_set_cursor_row and e_table_get_cursor_row to take a model row as this works better with the rest of the model. Changed the name of e_table_get_next_row_sorted and e_table_get_prev_row_sorted. (Dropped the _sorted.) svn path=/trunk/; revision=4556
* fixDan Winship2000-08-063-6/+10
| | | | | | * e-table.c (e_table_get_{next,prev}_row_sorted): fix svn path=/trunk/; revision=4553
* Added a function to get the next row with sorting taken into account.Christopher James Lahey2000-08-055-0/+85
| | | | | | | | | 2000-08-05 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Added a function to get the next row with sorting taken into account. svn path=/trunk/; revision=4549
* Made it so that selection ranges work even if the table is using grouping.Christopher James Lahey2000-08-053-8/+17
| | | | | | | | | 2000-08-05 Christopher James Lahey <clahey@helixcode.com> * e-table-sorter.c: Made it so that selection ranges work even if the table is using grouping. svn path=/trunk/; revision=4547
* Made selection ranges work even if the table is sorted.Christopher James Lahey2000-08-0514-50/+875
| | | | | | | | | | | | | 2000-08-05 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, e-table-selection-model.c, e-table-selection-model.h, e-table.c, e-table.h: Made selection ranges work even if the table is sorted. * e-table-sorter.c, e-table-sorter.h: New files to help with making selection ranges work even if sorted. svn path=/trunk/; revision=4546
* Built code to have autodrags only work from within the table and to reportChristopher James Lahey2000-08-055-78/+478
| | | | | | | | | | 2000-08-04 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Built code to have autodrags only work from within the table and to report the row dragged from automatically. svn path=/trunk/; revision=4542
* Made drag events calculate a row and column and signal that information.Christopher James Lahey2000-08-0417-64/+208
| | | | | | | | | | | | | | 2000-08-04 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h: Made drag events calculate a row and column and signal that information. * e-table-selection-model.c, e-table-selection-model.h: Changed do_something to take a GdkModifierType. svn path=/trunk/; revision=4529
* Made clicking choose the right character even if show_borders is on.Christopher James Lahey2000-08-032-2/+14
| | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Made clicking choose the right character even if show_borders is on. svn path=/trunk/; revision=4492
* Add a handler for "model_pre_change" and properly stop editing.Christopher James Lahey2000-08-0317-20/+188
| | | | | | | | | | | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h: Add a handler for "model_pre_change" and properly stop editing. * e-table-model.c, e-table-model.h: Added a "model_pre_change" signal that gets sent before any row numbers are changed. * e-table-sorted-variable.c, e-table-subset-variable.c: Emit "model_pre_change" signals as appropriate. * e-table-subset.c, e-table-subset.h: Proxy "model_pre_changed" signals. svn path=/trunk/; revision=4472
* Changed the API for the append_row function. Now accepts a model to copyChristopher James Lahey2000-08-0215-78/+46
| | | | | | | | | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * e-table-model.c, e-table-model.h: Changed the API for the append_row function. Now accepts a model to copy data from instead of returning a row number and leaving it up to ETableOne to copy the data in. * e-table-one.c, e-table-one.h: Adapted to use new append_row API. * e-table-simple.c, e-table-simple.h, e-table-subset.c: Adapted to supply new append_row API. svn path=/trunk/; revision=4468
* Added an argument to set a column so that you can't sort by that column.Christopher James Lahey2000-08-017-46/+151
| | | | | | | | | | | 2000-07-31 Christopher James Lahey <clahey@helixcode.com> * e-table-col.c, e-table-col.h: Added an argument to set a column so that you can't sort by that column. * e-table-header-item.c: Obey the sortable column of ETableCol. svn path=/trunk/; revision=4439
* Made enter key destroy and recreate the ETableItem.Christopher James Lahey2000-07-305-2/+38
| | | | | | | | | | | | 2000-07-29 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Made enter key destroy and recreate the ETableItem. * e-table-item.c: Grab focus when person clicks even if cursor isn't changing. svn path=/trunk/; revision=4416
* Remove the idle handler before destroying the data it operates on.Dan Winship2000-07-293-0/+9
| | | | | | | * e-table-header.c (eth_destroy): Remove the idle handler before destroying the data it operates on. svn path=/trunk/; revision=4407
* Fixed up the table behavior so that it's not always in an edit mode.Christopher James Lahey2000-07-283-18/+91
| | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fixed up the table behavior so that it's not always in an edit mode. svn path=/trunk/; revision=4392
* Fix silly error of not chaining destructor for canvas.Matthew Loper2000-07-281-0/+2
| | | | svn path=/trunk/; revision=4390
* Added a comment.Christopher James Lahey2000-07-273-0/+6
| | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added a comment. svn path=/trunk/; revision=4387
* Fixed shift click selections.Christopher James Lahey2000-07-273-75/+86
| | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Fixed shift click selections. svn path=/trunk/; revision=4386
* Allocate correctly in the insert method.Christopher James Lahey2000-07-275-14/+13
| | | | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Allocate correctly in the insert method. * e-table-click-to-add.c: Removed the line that was causing this to do bad things. svn path=/trunk/; revision=4385
* Grab focus properly.Christopher James Lahey2000-07-275-56/+145
| | | | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_cursor_change): Grab focus properly. * e-table-item.c, e-table-click-to-add.c: Fixed ETableClickToAdd to handle carriage return. This still doesn't quite work right. svn path=/trunk/; revision=4384
* Clear the selection model when activating.Christopher James Lahey2000-07-277-136/+169
| | | | | | | | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Clear the selection model when activating. * e-table-item.c: Fixed a bunch of model column vs. view column issues. * e-table-selection-model.c: Set the cursor to -1, -1 and emi a "cursor_changed" signal. svn path=/trunk/; revision=4380
* Fixed a reference.Christopher James Lahey2000-07-2711-12/+82
| | | | | | | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Fixed a reference. * e-table-selection-model.c, e-table-selection-model.h: Added a clear function. * e-table.c, e-table.h: Made going from click to add to the main table and back work better. svn path=/trunk/; revision=4373
* Added an ETableSelectionModel so this won't crash.Christopher James Lahey2000-07-275-22/+53
| | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c, e-table-click-to-add.h: Added an ETableSelectionModel so this won't crash. svn path=/trunk/; revision=4372
* Fixed the model/view row confusion.Christopher James Lahey2000-07-275-22/+37
| | | | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fixed the model/view row confusion. * e-table-selection-model.c: Changed one expression to use a #define properly. svn path=/trunk/; revision=4371
* Uninitialized variable fix for e-tableMatthew Loper2000-07-272-2/+2
| | | | svn path=/trunk/; revision=4367
* A few fixes to the ECanvas selection item a miniature cleanup of the event ↵Matthew Loper2000-07-271-8/+22
| | | | | | handler. svn path=/trunk/; revision=4364
* Added "table_selection_model" argument. Removed foreach function andChristopher James Lahey2000-07-2731-868/+1041
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h: Added "table_selection_model" argument. Removed foreach function and selection notification. * e-table-group.c, e-table-group.h: Removed foreach function and selection notification. * e-table-header.c: Fixed header width calculation to include the last column. * e-table-item.c, e-table-item.h: Fixed this to use the new selection model. * e-table-scrolled.c, e-table-scrolled.h: Removed selection notification. * e-table-selection-model.c, e-table-selection-model.h: Finished notification signals and fixed a bunch of bit manipulations. Implemented do_something method. * e-table.c, e-table.h: Create an ETableSelectionModel and use it properly. svn path=/trunk/; revision=4363
* Made foreach call the callback in top to bottom order.Christopher James Lahey2000-07-263-8/+15
| | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Made foreach call the callback in top to bottom order. svn path=/trunk/; revision=4335
* Replaced get_selection_list with foreach.Christopher James Lahey2000-07-267-22/+35
| | | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c, e-table-selection-model.h: Replaced get_selection_list with foreach. * e-table.h: Add a ETableSelectionModel. svn path=/trunk/; revision=4334
* Added e-table-selection-model.c and e-table-selection-model.h.Christopher James Lahey2000-07-266-305/+105
| | | | | | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-selection-model.c and e-table-selection-model.h. * e-table-selection-model.c: Added the get_selection_list and is_row_selected functions. Removed some unused code. * e-table-selection-model.h: Removed some unused code. svn path=/trunk/; revision=4331
* Added comments to the bit field code.Christopher James Lahey2000-07-265-6/+38
| | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added comments to the bit field code. * e-table-selection-model.h: Made the selection data guint32s. svn path=/trunk/; revision=4329
* More fixes.Christopher James Lahey2000-07-262-16/+44
| | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: More fixes. svn path=/trunk/; revision=4328
* Fixed up the bit manipulation a bit here.Christopher James Lahey2000-07-263-6/+73
| | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Fixed up the bit manipulation a bit here. svn path=/trunk/; revision=4327
* New files for doing a selection model. Not finished yet and thus not inChristopher James Lahey2000-07-269-192/+863
| | | | | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c, e-table-selection-model.h: New files for doing a selection model. Not finished yet and thus not in Makefile.am. * e-table.c, e-table.h: Renamed the new dnd signals so that they won't conflict with the widget signals. svn path=/trunk/; revision=4326
* new widget and canvas item to replace GtkCalendar. Not quite finished yet.Damon Chaplin2000-07-268-1/+2429
| | | | | | | | | | 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
* Implemented some of the drag & drop code. Drops all report as being on rowChristopher James Lahey2000-07-255-18/+1040
| | | | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Implemented some of the drag & drop code. Drops all report as being on row 0, col 0. Also, automatic drags don't set the row and column being dragged from. svn path=/trunk/; revision=4312
* added a color_column where the color can be specified as a string, e.g.Damon Chaplin2000-07-235-4/+228
| | | | | | | | | | | | | | | | 2000-07-23 Damon Chaplin <damon@helixcode.com> * e-cell-text.c: added a color_column where the color can be specified as a string, e.g. "red" or "rgb:F/0/0". * e-cell-text.c (ect_leave_edit): don't call unbuild_current_cell() since the CellEdit struct has been freed in ect_stop_editing() and so has the text. * e-cell-text.c (unbuild_current_cell): set cell->text to NULL to make sure we don't try to free it again. svn path=/trunk/; revision=4279
* Made focus in not change your selection position.Christopher James Lahey2000-07-222-4/+0
| | | | | | | | | 2000-07-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Made focus in not change your selection position. svn path=/trunk/; revision=4268
* Added some unused declarations for drag and drop work.Christopher James Lahey2000-07-223-0/+215
| | | | | | | | | 2000-07-21 Christopher James Lahey <clahey@helixcode.com> * e-table.h: Added some unused declarations for drag and drop work. svn path=/trunk/; revision=4267
* Fix the function to set the ETitleBar's text so that it correctly usesEttore Perazzoli2000-07-212-1/+6
| | | | | | the EClippedLabel function instead of the GtkLabel one. svn path=/trunk/; revision=4256
* *** empty log message ***Damon Chaplin2000-07-172-0/+695
| | | | svn path=/trunk/; revision=4188
* new files implementing a simple model for the shortcuts, so we can haveDamon Chaplin2000-07-179-229/+298
| | | | | | | | | | | | | | | | 2000-07-16 Damon Chaplin <damon@helixcode.com> * e-shortcut-model.[hc]: new files implementing a simple model for the shortcuts, so we can have multiple views. * Makefile.am (libshortcut_bar_a_SOURCES): added e-shortcut-model.[hc] * e-shortcut-bar.[hc]: updated to use the model. * e-icon-bar.c (e_icon_bar_item_pressed): set mouse_over_item_num as well as pressed_item_num to fix bug. svn path=/trunk/; revision=4186
* g_free things we g_malloc.Michael Meeks2000-07-153-4/+6
| | | | | | | | 2000-07-14 Michael Meeks <michael@helixcode.com> * e-table-subset.c (etss_destroy): g_free things we g_malloc. svn path=/trunk/; revision=4167
* Changed the background color of the header.Christopher James Lahey2000-07-143-2/+7
| | | | | | | | | 2000-07-13 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed the background color of the header. svn path=/trunk/; revision=4152
* Made scroll wheel work properly in header.Christopher James Lahey2000-07-133-2/+13
| | | | | | | | | 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made scroll wheel work properly in header. svn path=/trunk/; revision=4128
* Tried rearranging the casts to try for a more correct computation.Christopher James Lahey2000-07-122-6/+11
| | | | | | | | | 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-scroll-frame.c: Tried rearranging the casts to try for a more correct computation. svn path=/trunk/; revision=4107
* Removed some debugging printfs.Christopher James Lahey2000-07-122-3/+6
| | | | | | | | | | 2000-07-11 Christopher James Lahey <clahey@helixcode.com> * e-canvas-vbox.c: Removed some debugging printfs. * e-canvas.c (e_canvas_unrealize): Call parent unrealize method. svn path=/trunk/; revision=4102
* Added a missing variable initialization. (That code would haveEttore Perazzoli2000-07-112-0/+6
| | | | | | crashed badly in any circumstance.) svn path=/trunk/; revision=4066
* Make sure the ETable is constructed properly, by setting theEttore Perazzoli2000-07-115-12/+46
| | | | | | arguments in the parent EScrollFrame class. svn path=/trunk/; revision=4063
* Warning cleanup: `#if 0' an unused function and add a missing publicEttore Perazzoli2000-07-111-2/+8
| | | | | | function prototype. svn path=/trunk/; revision=4060
* Fix a typbraino in the ETableScrolled header file.Ettore Perazzoli2000-07-113-2/+6
| | | | svn path=/trunk/; revision=4043
* Add e-table-scrolled.c and e-table-scrolled.h.Christopher James Lahey2000-07-1014-82/+937
| | | | | | | | | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Add e-table-scrolled.c and e-table-scrolled.h. * e-table-item.c: Make sure that find_cell returns FALSE if the item doesn't have any cells. * e-table-scrolled.c, e-table-scrolled.h: Added a widget to contain an ETable and provide scrollbars (for ease of use.) * e-table.c, e-table.h: Make this support the scrollable interface and not contain its own scrollbars. svn path=/trunk/; revision=4031
* Put back e_cell_event sometimes when we're not editing.Christopher James Lahey2000-07-103-6/+11
| | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_event): Put back e_cell_event sometimes when we're not editing. svn path=/trunk/; revision=4019
* Don't draw quite as large a "flat_box". If draw_borders is TRUE, cause theChristopher James Lahey2000-07-092-16/+16
| | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Don't draw quite as large a "flat_box". If draw_borders is TRUE, cause the cursor to change even if not editing. svn path=/trunk/; revision=4017
* Set the dnd_code to something non-null for the ETableHeaderItem.Christopher James Lahey2000-07-093-0/+7
| | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Set the dnd_code to something non-null for the ETableHeaderItem. svn path=/trunk/; revision=4013
* Removed some border padding and set the "draw_borders" argument of theChristopher James Lahey2000-07-096-54/+242
| | | | | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-entry.c: Removed some border padding and set the "draw_borders" argument of the contained GtkText. * widgets/e-text/e-text.c, widget/e-text/e-text.h: Added a "draw_borders" argument which, if set, makes the EText look more like a GtkEntry. svn path=/trunk/; revision=4011
* Set header canvas scroll region correctly.Christopher James Lahey2000-07-093-2/+6
| | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Set header canvas scroll region correctly. svn path=/trunk/; revision=4010
* Several contacts list bugfixes.Anders Carlsson2000-07-092-12/+34
| | | | svn path=/trunk/; revision=4008
* Don't draw drop markers when the layout won't be changed by the drop.Anders Carlsson2000-07-093-4/+23
| | | | svn path=/trunk/; revision=4005
* Return "" instead of NULL.Christopher James Lahey2000-07-092-2/+8
| | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text-model.c (e_text_model_real_get_text): Return "" instead of NULL. svn path=/trunk/; revision=4003
* Get rid of an unused variable.Ettore Perazzoli2000-07-093-0/+13
| | | | svn path=/trunk/; revision=3997
* When inserting a root node, only call e_table_model_row_inserted ifDan Winship2000-07-093-8/+16
| | | | | | | | | | * e-tree-model.c (e_tree_model_node_insert): When inserting a root node, only call e_table_model_row_inserted if root_visible. (e_tree_model_node_remove): Call e_table_model_row_deleted before removing the row from the row_array, because the chain of signal handlers will sometimes need that info. svn path=/trunk/; revision=3994
* Don't call e_cell_event if we're not editing.Christopher James Lahey2000-07-093-6/+11
| | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_event): Don't call e_cell_event if we're not editing. svn path=/trunk/; revision=3991
* Commented out some unnecessary and buggy code.Christopher James Lahey2000-07-093-0/+9
| | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_table_model_changed): Commented out some unnecessary and buggy code. svn path=/trunk/; revision=3988
* comment out true but confused warning about non-scrollable widgets untilDan Winship2000-07-092-2/+16
| | | | | | | | | | | | * e-scroll-frame.c (e_scroll_frame_add): comment out true but confused warning about non-scrollable widgets until Chris and/or Federico fix this correctly. (e_scroll_frame_size_allocate): If the available space for the child is less than the width/height of the frame, give the child an allocation of 0 rather than some small negative number cast to unsigned. svn path=/trunk/; revision=3977
* Set "anchor" and "fill_clip_rectangle" arguments.Christopher James Lahey2000-07-086-0/+90
| | | | | | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-entry.c: Set "anchor" and "fill_clip_rectangle" arguments. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added "fill_clip_rectangle" argument which describes whether to accept clicks throughout the clipping rectangle. svn path=/trunk/; revision=3956
* Fixed some typos.Christopher James Lahey2000-07-082-18/+10
| | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-entry.c: Fixed some typos. svn path=/trunk/; revision=3949
* add a g_return_val_if_fail to etree_node_at_rowDan Winship2000-07-072-4/+4
| | | | svn path=/trunk/; revision=3937
* Make this work recursively.Dan Winship2000-07-073-2/+21
| | | | | | | * e-tree-model.c (e_tree_model_node_remove): Make this work recursively. svn path=/trunk/; revision=3935
* fix the conditions under which we draw a horizontal line.Chris Toshok2000-07-073-2/+7
| | | | | | | | | 2000-07-06 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_draw): fix the conditions under which we draw a horizontal line. svn path=/trunk/; revision=3929
* Send GDK_BUTTON_RELEASE events to the ecell associated with the cell (ifChristopher James Lahey2000-07-063-0/+79
| | | | | | | | | 2000-07-06 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Send GDK_BUTTON_RELEASE events to the ecell associated with the cell (if it's the cursor.) svn path=/trunk/; revision=3909
* Set G_LOG_DOMAIN=__FILE__ rather than "e-title-bar" in all three widgets.Dan Winship2000-07-062-1/+6
| | | | | | | * Makefile.am (INCLUDES): Set G_LOG_DOMAIN=__FILE__ rather than "e-title-bar" in all three widgets. svn path=/trunk/; revision=3897
* Added e-entry.c and e-entry.h.Christopher James Lahey2000-07-047-2/+908
| | | | | | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/Makefile.am: Added e-entry.c and e-entry.h. * widgets/e-text/e-entry.c, widgets/e-text/e-entry.h: New files to be a widget containing a text item. * widgets/e-text/e-text.c: Fixed some spacing. svn path=/trunk/; revision=3874
* Added a reflow_compare callback and did removal if you do shift-click on aChristopher James Lahey2000-07-043-10/+65
| | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Added a reflow_compare callback and did removal if you do shift-click on a selected row that's not the cursor. svn path=/trunk/; revision=3873
* New list class with iterators.Christopher James Lahey2000-07-041-0/+19
| | | | | | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * e-iterator.c, e-iterator.h, e-list-iterator.c, e-list-iterator.h, e-list.c, e-list.h: New list class with iterators. * e-canvas.c: Made it so that you don't get the same selection in the selection list more than once. svn path=/trunk/; revision=3871
* Added an extra @allowed_types parameter to the shell's folderEttore Perazzoli2000-07-021-0/+2
| | | | | | selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854
* Add simple deadkey support.Jody Goldberg2000-06-302-30/+76
| | | | | | | | | | | | | 2000-06-29 Jody Goldberg <jgoldberg@home.com> * e-canvas.c (e_canvas_init) : Init the InputContext members (e_canvas_class_init) : Add a handler for unrealize. (e_canvas_focus_in) : enable the input context. (e_canvas_focus_out) : enable the input context. (e_canvas_realize) : Create an input context. (e_canvas_unrealize) : New function to release the input context. svn path=/trunk/; revision=3817
* From mail:Christopher James Lahey2000-06-3027-142/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * message-list.c, mail-ops.c: Changed the name of e_table_select_row to e_table_set_cursor_row. From widgets/e-table: 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Made this appear a bit better. * e-table-defines.h: Cleaned this up a bit, added ETableForeachFunc. * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Changed e_table_select_row to e_table_set_cursor_row. Changed e_table_get_selected_view_row to e_table_get_cursor_row. Added e_table_selected_row_foreach. * e-table-header-item.c: Fixed some warnings. * e-table-sorted-variable.c: Removed some unneeded debugging print statments. * e-tree-example-1.c: Changed e_table_get_selected_view_row to e_table_get_cursor_row. svn path=/trunk/; revision=3799
* Added an unsort command.Christopher James Lahey2000-06-285-0/+34
| | | | | | | | | | 2000-06-27 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Added an unsort command. * e-table-item.c: leave_edit when you loose the cursor. svn path=/trunk/; revision=3766
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-2750-60/+2506
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, addressbook/gui/component/e-cardlist-model.c: Added value_to_string handlers. * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and "y" arguments. * addressbook/gui/component/addressbook.c: Activated Click To Add and set the click to add message. * addressbook/gui/component/e-addressbook-model.c: Added value_to_string and append_row handlers. * addressbook/gui/component/e-select-names.c: Added a column. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* Fix compilation with builddir != srcdir.Ettore Perazzoli2000-06-262-1/+6
| | | | svn path=/trunk/; revision=3736
* draw pixmaps with he right background and selection colors.Larry Ewing2000-06-243-2/+23
| | | | | | | | | 2000-06-23 Larry Ewing <lewing@helixcode.com> * e-cell-toggle.c (etog_draw): draw pixmaps with he right background and selection colors. svn path=/trunk/; revision=3709
* add icon_at virtual function - it was stupid to make the insert call takeChris Toshok2000-06-2313-104/+120
| | | | | | | | | | | | | | | | | | | | 2000-06-23 Chris Toshok <toshok@helixcode.com> * e-tree-model.h, e-tree-model.c: add icon_at virtual function - it was stupid to make the insert call take 2 pixbufs. the model should give this information. * e-cell-tree.c: get rid of the opened/closed pixbuf stuff. call e_tree_model_icon_of_node. * e-tree-example-1.c: add my_icon_at. * e-tree-simple.c (simple_icon_at): new function (e_tree_simple_new): add icon_at parameter. * e-tree-simple.h: add SimpleIconAtFn. svn path=/trunk/; revision=3707
* use the expanded/unexpanded pixbufs as node pixbufs for the first level ofChris Toshok2000-06-239-62/+232
| | | | | | | | | | | | | | | | | | | | 2000-06-23 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (create_tree): use the expanded/unexpanded pixbufs as node pixbufs for the first level of children, to test the drawing. * e-tree-model.c (e_tree_model_node_get_closed_pixbuf): new function. (e_tree_model_node_get_opened_pixbuf): same. (e_tree_model_node_insert): add opened/closed pixbuf argument. (e_tree_model_node_insert_before): same. * e-tree-model.h: add prototypes for opened/closed pixbuf accessors, and add them to the e_tree_model_node_insert_* calls. * e-cell-tree.c (ect_draw): add opened/closed pixbuf drawing per node. svn path=/trunk/; revision=3706
* Make the table not move around as you resize.Christopher James Lahey2000-06-233-32/+40
| | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Make the table not move around as you resize. svn path=/trunk/; revision=3696
* Killed a warning.Christopher James Lahey2000-06-233-2/+6
| | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Killed a warning. svn path=/trunk/; revision=3691
* Remove use of the "x" and "y" arguments to EText.Christopher James Lahey2000-06-2311-20/+14
| | | | | | | | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Remove use of the "x" and "y" arguments to EText. * e-table-item.c: Properly ref the source_model field. * test-check.c, test-cols.c, test-table.c: Remove use of the "x" and "y" arguments to ETableHeaderItem. svn path=/trunk/; revision=3690
* Made the Close button work.Christopher James Lahey2000-06-227-2/+73
| | | | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-dialog.c: Made the Close button work. * e-table-field-chooser.glade, e-table-field-chooser.glade.h: Added a text description of this dialog. svn path=/trunk/; revision=3685
* Changed this to move the cell to the nearest edge instead of to the leftChristopher James Lahey2000-06-225-6/+102
| | | | | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed this to move the cell to the nearest edge instead of to the left of the column it's over. * e-table-header.c: Made target_index equal to eti->col_count be a valid parameter to e_table_header_move. svn path=/trunk/; revision=3683
* Made moving columns to the right work properly.Christopher James Lahey2000-06-223-0/+11
| | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * e-table-header.c: Made moving columns to the right work properly. svn path=/trunk/; revision=3681
* Fixed some vertical scroll bugs.Christopher James Lahey2000-06-212-16/+16
| | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Fixed some vertical scroll bugs. svn path=/trunk/; revision=3673
* Fix a bug with intial vertical scroll.Christopher James Lahey2000-06-212-0/+2
| | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Fix a bug with intial vertical scroll. svn path=/trunk/; revision=3672
* Removed the usage of "x" and "y" arguments to EText.Christopher James Lahey2000-06-216-102/+150
| | | | | | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c, widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and "y" arguments to EText. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the "x" and "y" arguments to EText. Added vertical scrolling. svn path=/trunk/; revision=3670
* Fix a minor warning.Christopher James Lahey2000-06-215-16/+47
| | | | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-group-leaf.c: Fix a minor warning. * e-table-item.c: Add to the selection if shift is held down. Show cursor when changing sort (or if table changes majorly.) svn path=/trunk/; revision=3667
* fixed a few warnings.Damon Chaplin2000-06-212-2/+1
| | | | | | | | | 2000-06-20 Damon Chaplin <damon@helixcode.com> * widgets/meeting-time-sel/e-meeting-time-sel-item.c: * widgets/meeting-time-sel/e-meeting-time-sel.c: fixed a few warnings. svn path=/trunk/; revision=3664
* Added a variable to keep track of the cursor. Set the cursor whenChristopher James Lahey2000-06-212-10/+29
| | | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c, e-canvas.h: Added a variable to keep track of the cursor. Set the cursor when selection_add is called. Properly unset the cursor at the right times. svn path=/trunk/; revision=3663
* Fix HEADER_PADDING.Christopher James Lahey2000-06-213-2/+6
| | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-defines.h: Fix HEADER_PADDING. svn path=/trunk/; revision=3662
* Fix cursor column information.Christopher James Lahey2000-06-213-12/+22
| | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fix cursor column information. svn path=/trunk/; revision=3661
* Removed the unfocus method since that's handled by the canvas itself now.Christopher James Lahey2000-06-2113-274/+198
| | | | | | | | | | | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Removed the unfocus method since that's handled by the canvas itself now. * e-table-item.c, e-table-item.h: Finished adapting ETableItem to use the canvas selection/cursor system. Selection and cursor now use row numbers associated with the source model instead of the sorted model (if the model they are given is an ETableSubset.) This has no effect on the interface, except that unfocus was removed and e_table_item_focus was renamed to e_table_item_set_cursor. svn path=/trunk/; revision=3660
* Grab the focus when setting the cursor.Christopher James Lahey2000-06-211-0/+12
| | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Grab the focus when setting the cursor. svn path=/trunk/; revision=3659
* Started adapting ETableItem to use the canvas selection/cursor system.Christopher James Lahey2000-06-215-202/+159
| | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h: Started adapting ETableItem to use the canvas selection/cursor system. svn path=/trunk/; revision=3656
* Built a system for doing selections and/or a cursor in canvas.Christopher James Lahey2000-06-212-3/+159
| | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c, e-canvas.h: Built a system for doing selections and/or a cursor in canvas. svn path=/trunk/; revision=3655
* call e_table_model_row_inserted instead of e_table_model_changed.Chris Toshok2000-06-203-8/+13
| | | | | | | | | 2000-06-17 Chris Toshok <toshok@helixcode.com> * e-tree-model.c (e_tree_model_node_insert): call e_table_model_row_inserted instead of e_table_model_changed. svn path=/trunk/; revision=3637
* removed debugging messages & unused stuff.Damon Chaplin2000-06-191-15/+0
| | | | svn path=/trunk/; revision=3632
* added support for scroll-wheels.Damon Chaplin2000-06-195-0/+87
| | | | | | | | | | | 2000-06-19 Damon Chaplin <damon@helixcode.com> * e-icon-bar-bg-item.c: * e-icon-bar.c: * e-icon-bar.h: * e-vscrolled-bar.c: added support for scroll-wheels. svn path=/trunk/; revision=3631
* Made cells with strikeout on have a line from the left margin to the rightChristopher James Lahey2000-06-173-16/+13
| | | | | | | | | 2000-06-17 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made cells with strikeout on have a line from the left margin to the right margin, instead of just over the text. svn path=/trunk/; revision=3609
* Made EText use the font from the canvas's style if one isn't set.Christopher James Lahey2000-06-172-0/+8
| | | | | | | | | 2000-06-17 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Made EText use the font from the canvas's style if one isn't set. svn path=/trunk/; revision=3607
* updated to use EText items rather than GtkEntry widgets and added supportDamon Chaplin2000-06-178-71/+450
| | | | | | | | | 2000-06-17 Damon Chaplin <damon@helixcode.com> * widgets/meeting-time-sel/*: updated to use EText items rather than GtkEntry widgets and added support for adding new rows. svn path=/trunk/; revision=3604
* Moved the reflow signal handling into an idle handler to fix a bug whenChristopher James Lahey2000-06-165-6/+43
| | | | | | | | | 2000-06-16 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Moved the reflow signal handling into an idle handler to fix a bug when resizing twice in succession. svn path=/trunk/; revision=3588
* print the icon for the tree control.Chris Toshok2000-06-163-42/+58
| | | | | | | | 2000-06-15 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_print): print the icon for the tree control. svn path=/trunk/; revision=3579
* new function, to generate postscript so i can test tree printing.Chris Toshok2000-06-145-58/+273
| | | | | | | | | | | | | | | | | | | 2000-06-14 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (print_tree): new function, to generate postscript so i can test tree printing. (create_tree): add print button. * e-cell-tree.c (ect_print_height): implement function (in a broken way for the time being, heh). (ect_print): implement function to draw tree controls and offset the subcell's printing. icons aren't printed yet, just lines. (ect_draw): remove old unnecessary comments. only draw the horizontal line in specific instances (well, add a test so a lone root node doesn't get the horizontal line.) (e_cell_tree_class_init): add print/print_height methods. svn path=/trunk/; revision=3565
* Request the value of e_table_is_cell_editable of the model_col instead ofChristopher James Lahey2000-06-145-14/+21
| | | | | | | | | | | 2000-06-14 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Request the value of e_table_is_cell_editable of the model_col instead of the view_col. * e-table-item.h: Slight style fixup. svn path=/trunk/; revision=3564
* Clip the contained text.Christopher James Lahey2000-06-137-10/+797
| | | | | | | | | | | | | | | 2000-06-13 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Clip the contained text. * e-table-group-container.c: Did a first pass at grouped printing. This works, but there's no fancy boxes or headers around the groups. * e-table-item.c: Added will_fit function and added quantize function to _height. svn path=/trunk/; revision=3552
* Changed the needed e_marshal functions.Christopher James Lahey2000-06-132-7/+56
| | | | | | | | | | | 2000-06-13 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Changed the needed e_marshal functions. * e-printable.c, e-printable.h: Added a quantize parameter to e_printable_height. Also, added a e_printable_will_fit function. svn path=/trunk/; revision=3551
* Removed the freeze/thaw stuff for the model. As Chris wisely pointed out,Federico Mena Quintero2000-06-1327-268/+123
| | | | | | | | | | | | | | | | | | | | | | 2000-06-12 Federico Mena Quintero <federico@helixcode.com> * e-table-model.[ch]: Removed the freeze/thaw stuff for the model. As Chris wisely pointed out, having freeze/thaw on the model makes its state inconsistent from the perspective of the views. * e-table-sorted-variable.c: Do not check for a frozen model. * e-table-subset.c: Likewise. * e-table-subset-variable.c: Likewise. * e-table-example-1.c: Removed the ETableModel thaw handler. * e-table-example-2.c: Likewise. * e-table-simple.c: Likewise. * e-table-size-test.c: Likewise. * test-check.c: Likewise. * test-cols.c: Likewise. * test-table.c: Likewise. svn path=/trunk/; revision=3543
* Control does horizontal scrolling...Anders Carlsson2000-06-132-2/+9
| | | | svn path=/trunk/; revision=3539
* Fix a build problem (e-table now depends on the `misc' widgets, so weEttore Perazzoli2000-06-121-1/+1
| | | | | | | | need to build the `misc' directory first) and install a `.desktop' file and an icon file. (For now, the icon file is a copy of `evolution-inbox.png'.) svn path=/trunk/; revision=3527
* Add support for mouse wheel scrolling in EScrollFrame.Anders Carlsson2000-06-122-2/+36
| | | | | | | | | 2000-06-11 Anders Carlsson <andersca@gnu.org> * e-scroll-frame.c (e_scroll_frame_button_press): Add support for mouse wheel scrolling in EScrollFrame. svn path=/trunk/; revision=3526
* supply the pixbufs here.Chris Toshok2000-06-117-38/+79
| | | | | | | | | | | | | | | 2000-06-10 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (create_tree): supply the pixbufs here. * e-cell-tree.h: change pixbuf names to open_pixbuf/closed_pixbuf. * e-cell-tree.c (e_cell_tree_construct): take open/closed pixbuf parameters, and don't #include the .xpm files directly here. (e_cell_tree_new): same. (ect_draw): use the pixbufs from the ECellTree. svn path=/trunk/; revision=3522
* offset events before passing them to our subcell view.Chris Toshok2000-06-113-8/+39
| | | | | | | | | 2000-06-10 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_event): offset events before passing them to our subcell view. svn path=/trunk/; revision=3520
* change things so we focus the cell and select the row, and also dispatchChris Toshok2000-06-1120-836/+1706
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-10 Chris Toshok <toshok@helixcode.com> * e-table-item.c (eti_event): change things so we focus the cell and select the row, and also dispatch the event to that row/cell. This fixes the problem with the tree where you had to click twice to activate the tree controls. * Makefile.am (libetable_a_SOURCES): remove e-tree-gnode.* and add e-tree-simple.* (icons): add tree-expanded.xpm and tree-unexpanded.xpm * e-cell-tree.c (ect_enter_edit): defer to subcell's view. (ect_leave_edit): defer to subcell's view. (visible_depth_of_node): visual depth, taking into account that the root node of the model might not be displayed. (offset_of_node): return the offset used to shift the subcell over. (ect_draw): don't draw vertical lines if we're the leftmode node (a visual root node). also, don't shift x2 by the subcell offset, so we get ellipses like we're supposed to. (ect_event): remove GDK_BUTTON_RELEASE from the list of events that we care about. * e-tree-example-1.c: lots of changes, a more dynamic UI so we can test tree model api stuff. * e-tree-gnode.c, e-tree-gnode.c: removed files, since their guts have been rolled into e-tree-model.c * e-tree-model.c, e-tree-model.h: substantially changed. too much to really describe here. this should really be considered the first revision of these files :) * e-tree-simple.c, e-tree-simple.h: analogous to e-table-simple, a subclass that allows the use of function pointers. svn path=/trunk/; revision=3519
* Small syntactic changes.Christopher James Lahey2000-06-115-24/+48
| | | | | | | | | | 2000-06-11 Christopher James Lahey <clahey@helixcode.com> * e-table-model.c: Small syntactic changes. * e-table.c: Moved the table header into the scrolled view. svn path=/trunk/; revision=3517
* Make ETable use EScrollFrame instead of GtkScrolledWindow.Ettore Perazzoli2000-06-114-14/+44
| | | | svn path=/trunk/; revision=3515
* Added $(GNOME_PRINT_LIBS) to all of the LDADDs.Christopher James Lahey2000-06-1126-125/+874
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(GNOME_PRINT_LIBS) to all of the LDADDs. * e-cell-text.c: Added printing of text cells. * e-cell.c, e-cell.h: Added print and print_height methods. * e-table-field-chooser.glade: Added a minimum size. * e-table-group-container.c: Fixed a rectangle sizing bug. * e-table-group-leaf.c: Implemented get_printable. * e-table-group.c, e-table-group.h: Added a get_printable method to return an EPrintable. * e-table-item.c, e-table-item.h: Added a get_printable function to return an EPrintable. * e-table.c, e-table.h: Added a get_printable function to return an EPrintable. svn path=/trunk/; revision=3511
* Added e-printable.c and e-printable.h.Christopher James Lahey2000-06-112-0/+230
| | | | | | | | | | | | | | | | 2000-06-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-printable.c and e-printable.h. * e-printable.c, e-printable.h: This new class is a printing context. Other classes return an EPrintable which represents a context for printing that object. * e-util.c, e-util.h: Added e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL and e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE. svn path=/trunk/; revision=3510
* Talk, cvs!Anders Carlsson2000-06-111-7/+0
| | | | svn path=/trunk/; revision=3507
* Fix pixmap/bitmap leak in ETitleBar.Ettore Perazzoli2000-06-102-0/+8
| | | | svn path=/trunk/; revision=3499
* New files. A tree model using a GNode structure to store it's info.Chris Toshok2000-06-0922-2/+2743
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-08 Chris Toshok <toshok@helixcode.com> * e-tree-gnode.c, e-tree-gnode.h: New files. A tree model using a GNode structure to store it's info. * e-tree-model.c, e-tree-model.h: New files. A proxy model sitting between a table model and the real tree model (of which ETreeGNode is an example). * e-cell-tree.c, e-cell-tree.h: New files. A cell renderer capable of wrapping up a subcell and drawing the tree controls for expanding/collapsing trees. * tree-expanded.xpm, tree-unexpanded.xpm: New files. the standard + and - icons. * e-tree-example-1.c: New file, giving a (pretty poor :) example of using ETreeGNode. * Makefile.am: at the tree stuff to the build, and build tree-example-1. * .cvsignore: ignore tree-example-1. svn path=/trunk/; revision=3483
* The field chooser works now.Christopher James Lahey2000-06-0811-64/+70
| | | | | | | | | | | | | | | | | | | | 2000-06-08 Christopher James Lahey <clahey@helixcode.com> * The field chooser works now. * e-table-field-chooser-dialog.c: Make the dialog resizable. * e-table-field-chooser-item.c: Requested a reflow on realization. Made the correct column get dragged. * e-table-field-chooser.c: Set the height correctly. * e-table-field-chooser.glade: Replace the GnomeCanvas with an ECanvas. * e-table-header-item.c: Receive drags from the new dialog. svn path=/trunk/; revision=3476
* More work on the Field Chooser. Not quite done yet.Christopher James Lahey2000-06-0818-85/+551
| | | | | | | | | | | | 2000-06-08 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h, e-table-field-chooser-item.c, e-table-field-chooser.c, e-table-field-chooser.glade, e-table-field-chooser.h, e-table-header-item.c, e-table.c: More work on the Field Chooser. Not quite done yet. svn path=/trunk/; revision=3475
* Added e-table-field-chooser*.Christopher James Lahey2000-06-0824-318/+2583
| | | | | | | | | | | | | | | | | | | 2000-06-07 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-field-chooser*. * e-table-defines.h: Moved some things to here. * e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h, e-table-field-chooser-item.c, e-table-field-chooser-item.h, e-table-field-chooser.c, e-table-field-chooser.glade, e-table-field-chooser.glade.h, e-table-field-chooser.h: New dialog to drag extra fields from. (Not yet finished.) * e-table-header-item.c, e-table-header-item.h: Changed to accommodate e-table-field-chooser. svn path=/trunk/; revision=3473
* Added a "quantum" argument for making the panes move in jumps.Christopher James Lahey2000-06-084-10/+45
| | | | | | | | | | 2000-06-07 Christopher James Lahey <clahey@helixcode.com> * widgets/e-paned/e-hpaned.c, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c: Added a "quantum" argument for making the panes move in jumps. svn path=/trunk/; revision=3461
* Added a right click signal.Christopher James Lahey2000-06-0619-52/+262
| | | | | | | | | | | | 2000-06-06 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added a right click signal. * e-table-sorted-variable.c: Fixed a buffer overrun. svn path=/trunk/; revision=3437
* Fixed the multiple copies of rows in ETable bug.Christopher James Lahey2000-06-023-2/+7
| | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Fixed the multiple copies of rows in ETable bug. svn path=/trunk/; revision=3386
* Free the finish data.Christopher James Lahey2000-06-021-0/+17
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * widgets/misc/e-clipped-label.c: Free the finish data. svn path=/trunk/; revision=3384
* Free all the item data.Christopher James Lahey2000-06-022-0/+13
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-icon-bar.c: Free all the item data. svn path=/trunk/; revision=3383
* two more pastosDan Winship2000-06-025-4/+9
| | | | | | | * e-table-group.c (e_table_group_key_press): * e-table.c (group_key_press): two more pastos svn path=/trunk/; revision=3370
* Copy and paste error.Christopher James Lahey2000-06-025-22/+14
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Copy and paste error. * e-table-item.c: Mixed up parity on eti->editing. svn path=/trunk/; revision=3368
* Added a "key_press" signal.Christopher James Lahey2000-06-0217-6/+194
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added a "key_press" signal. svn path=/trunk/; revision=3366
* Remove an offending *.Dan Winship2000-06-023-2/+6
| | | | | | * e-cell-text.h: Remove an offending *. svn path=/trunk/; revision=3359
* Made the sort when inserting a signal row be syncronous.Christopher James Lahey2000-06-023-10/+93
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Made the sort when inserting a signal row be syncronous. svn path=/trunk/; revision=3358
* Added "text_filter" argument that takes a const void * and returns anChristopher James Lahey2000-06-025-49/+92
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Added "text_filter" argument that takes a const void * and returns an allocated char *. svn path=/trunk/; revision=3356
* Accidental commit fix.Chris Lahey2000-06-022-6/+18
| | | | svn path=/trunk/; revision=3354
* Copy and paste error.Christopher James Lahey2000-06-027-8/+46
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Copy and paste error. svn path=/trunk/; revision=3353
* Added e_table_get_selected_view_row.Christopher James Lahey2000-06-0215-8/+130
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table.c, e-table.h: Added e_table_get_selected_view_row. svn path=/trunk/; revision=3351
* Imported GtkScrollFrame from EOG and renamed it to EScrollFrame.Federico Mena Quintero2000-06-013-0/+1312
| | | | | | | | | | | | 2000-05-31 Federico Mena Quintero <federico@helixcode.com> * widgets/misc/e-scroll-frame.[ch]: Imported GtkScrollFrame from EOG and renamed it to EScrollFrame. * widgets/misc/Makefile.am (libemiscwidgets_a_SOURCES): Added e-scroll-frame.[ch]. svn path=/trunk/; revision=3326
* Implemented right-click menus for the shell's shortcut bar (the userEttore Perazzoli2000-06-013-25/+48
| | | | | | | | can remove shortcuts now) and added status bar to the shell view. Also, added an API call to EShortcutBar to get the view type for a specified group. svn path=/trunk/; revision=3318
* Don't hide the EPaned handle if the requisition of either of theEttore Perazzoli2000-05-312-4/+2
| | | | | | | children is zero anymore. This was causing problems with some of the widgets that are in the EShellView and have zero requisition. svn path=/trunk/; revision=3311
* Added bold column's to ECellText.Christopher James Lahey2000-05-315-88/+296
| | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Added bold column's to ECellText. svn path=/trunk/; revision=3291
* Make sure that the cursor is always shown when the selection changes.Christopher James Lahey2000-05-313-4/+59
| | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Make sure that the cursor is always shown when the selection changes. svn path=/trunk/; revision=3290
* Added e_canvas_item_show_area which makes sure that a particular area of aChristopher James Lahey2000-05-312-0/+32
| | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-canvas-utils.c, e-canvas-utils.h: Added e_canvas_item_show_area which makes sure that a particular area of a given item is in the scroll area. svn path=/trunk/; revision=3289
* Made the alphabet buttons not focusable.Christopher James Lahey2000-05-311-1/+4
| | | | | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/alphabet.glade: Made the alphabet buttons not focusable. * gui/minicard/e-minicard-view.c: Made the "123" button work. * gui/minicard/e-reflow-sorted.c: Made all buttons past the last letter available work. svn path=/trunk/; revision=3285
* Added alphabet.glade and alphabet.glade.h.Christopher James Lahey2000-05-312-0/+34
| | | | | | | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/Makefile.am: Added alphabet.glade and alphabet.glade.h. * gui/component/addressbook.c, gui/component/alphabet.glade, gui/component/alphabet.glade.h: Added an alphabet bar. * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h, gui/minicard/e-reflow-sorted.c, gui/minicard/e-reflow-sorted.h: Added the ability to just to a particular spot in the reflow. svn path=/trunk/; revision=3283
* Made double clicking create a new card. Set the empty message.Christopher James Lahey2000-05-305-100/+258
| | | | | | | | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard-view.c: Made double clicking create a new card. Set the empty message. * gui/minicard/e-minicard.c: Made sorting be case insensitive. * gui/minicard/e-reflow-sorted.c, e-reflow.c, e-reflow.h: Added a message for when the reflow is empty. * printing/e-contact-print.c, printing/medbook.ecps: Made the default printout be full page. Made sorting case insensitive. svn path=/trunk/; revision=3281
* Fixed a bunch of selection bugs. Removed "spreadsheet" argument (for now.)Christopher James Lahey2000-05-3027-218/+808
| | | | | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h, test-check.c, test-cols.c, test-table.c: Fixed a bunch of selection bugs. Removed "spreadsheet" argument (for now.) Added "cursor_mode" argument. Added "cursor_change" signal. Temporarily removed "selection_mode" argument. svn path=/trunk/; revision=3277
* Fixed setting of arguments.Christopher James Lahey2000-05-293-6/+10
| | | | | | | | 2000-05-28 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Fixed setting of arguments. svn path=/trunk/; revision=3256
* Added double click handling.Christopher James Lahey2000-05-2817-12/+208
| | | | | | | | | | 2000-05-28 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added double click handling. svn path=/trunk/; revision=3238
* Added "strikeout_column" argument.Christopher James Lahey2000-05-275-4/+154
| | | | | | | | 2000-05-26 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Added "strikeout_column" argument. svn path=/trunk/; revision=3224
* Made "drawgrid", "drawfocus", "spreadsheet", and "length_threshold"Christopher James Lahey2000-05-2715-80/+408
| | | | | | | | | | | | | | 2000-05-26 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table.c, e-table.h: Made "drawgrid", "drawfocus", "spreadsheet", and "length_threshold" arguments set from the ETable effect all the end ETableItems. * e-table-header.c: Made column resize a bit less bumpy. svn path=/trunk/; revision=3223
* Account for extra pixel at right end of ETable.Christopher James Lahey2000-05-267-8/+23
| | | | | | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-table-header.c: Account for extra pixel at right end of ETable. * e-table-item.c: Make grid less intrusive. * e-table.c: Make scrollbars disappear when appropriate. svn path=/trunk/; revision=3206
* Made dragging columns work.Christopher James Lahey2000-05-263-54/+58
| | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made dragging columns work. svn path=/trunk/; revision=3205
* Fixed a bug where we were resizing a non-existent window.Christopher James Lahey2000-05-252-10/+12
| | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * widgets/e-paned/e-hpaned.c, widgets/e-paned/e-vpaned.c: Fixed a bug where we were resizing a non-existent window. svn path=/trunk/; revision=3200
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-252-0/+5
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Made the handlebar disappear if either side is empty, hidden, or requestsChristopher James Lahey2000-05-254-97/+186
| | | | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * widgets/e-paned/e-hpaned.c, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c: Made the handlebar disappear if either side is empty, hidden, or requests 0 size. svn path=/trunk/; revision=3198
* Fix compilation with builddir != srcdir.Ettore Perazzoli2000-05-252-0/+5
| | | | svn path=/trunk/; revision=3193
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-2512-5/+1699
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Fixed the remove column callback.Christopher James Lahey2000-05-243-2/+8
| | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Fixed the remove column callback. svn path=/trunk/; revision=3187
* Added right click menus to the table header items.Christopher James Lahey2000-05-245-38/+371
| | | | | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Added right click menus to the table header items. * e-table-sort-info.c: Fixed a small bug. svn path=/trunk/; revision=3184
* Make scrollbar arrow buttons work.Christopher James Lahey2000-05-233-0/+12
| | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Make scrollbar arrow buttons work. svn path=/trunk/; revision=3176
* Added initialize_value and value_is_empty callbacks.Christopher James Lahey2000-05-2023-168/+656
| | | | | | | | | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * e-table-example-1.c, e-table-example-2.c, e-table-simple.c, e-table-simple.h, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added initialize_value and value_is_empty callbacks. * e-table-model.c, e-table-model.h: Added initialize_value and value_is_callback virtual functions to the ETableModel class. * e-table-subset.c: Perpetuate the initialize_value and value_is_empty methods. svn path=/trunk/; revision=3138
* From a patch by Iain Holmes <ih@csd.abdn.ac.uk>Christopher James Lahey2000-05-195-4/+36
| | | | | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> From a patch by Iain Holmes <ih@csd.abdn.ac.uk> * e-table-config.c, e-table.c: Fixed getting text content from a node in the case of a non string based content field in the xml library. svn path=/trunk/; revision=3133