Commit Graph

637 Commits

Author SHA1 Message Date
f7069251d4 Save the children - Federico
svn path=/trunk/; revision=6652
2000-11-22 18:28:44 +00:00
7d451013df Fixed some typos to get the table to display properly.
2000-11-22  Christopher James Lahey  <clahey@helixcode.com>

	* gal-define-views-dialog.c: Fixed some typos to get the table to
	display properly.

	* gal-view-new-dialog.c: Fixed the string for loading the glade
	file for this dialog.

svn path=/trunk/; revision=6649
2000-11-22 10:22:11 +00:00
1efb713a4c Adapt
svn path=/trunk/; revision=6610
2000-11-18 14:29:03 +00:00
37c1953720 Add Makefile.am and .cvsignore
svn path=/trunk/; revision=6609
2000-11-18 14:28:41 +00:00
d502638fd6 Added widgets/menus that contains the gal-view-menus.c code from Gal that
2000-11-18  Miguel de Icaza  <miguel@helixcode.com>

	* Added widgets/menus that contains the gal-view-menus.c code from
	Gal that depended on Bonobo.

	* configure.in: Update list of Makefiles;

	* widgets/Makefile.am: Update.

svn path=/trunk/; revision=6608
2000-11-18 14:27:04 +00:00
ce5c36d28e Removed test for Bonobo here.
2000-11-18  Miguel de Icaza  <miguel@helixcode.com>

	* configure.in (gnomelocaledir): Removed test for Bonobo here.

	* gal/menus/gal-view-menus.c: Removed this file, and moved into
	Evolution.

svn path=/trunk/; revision=6607
2000-11-18 14:09:28 +00:00
f300ac0095 Updated version number.
2000-11-13  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Updated version number.

	* gal/e-table/e-tree-model.c, gal/e-table/e-tree-model.h: Added
	freeze and thaw functions.

	* gal/menus/gal-define-views-dialog.c: Fixed some warnings.

svn path=/trunk/; revision=6563
2000-11-13 19:27:24 +00:00
2d64058a8f Added a bunch of .lo s from the menus directory.
2000-11-11  Christopher James Lahey  <clahey@helixcode.com>

	* gal/Makefile.am:  Added a bunch of .lo s from the menus
	directory.

From gal/menus:

2000-11-11  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added gal-define-views-model.c,
	gal-define-views-model.h, gal-view-new-dialog.c,
	gal-view-new-dialog.h, gal-view-new-dialog.glade,
	gal-view-new-dialog.glade.h, gal-view.c, and gal-view.h.

	* gal-define-views-dialog.c, gal-define-views-dialog.h: Connect up
	the New button.  Use an ETable.

	* gal-define-views.glade, gal-define-views.glade.h: Put in custom
	object for the ETable

	* gal-define-views-model.c, gal-define-views-model.h: New model
	for list of views.

	* gal-view-menus.c: Close the define views dialog when it's done.

	* gal-view-new-dialog.c, gal-view-new-dialog.glade,
	gal-view-new-dialog.glade.h, gal-view-new-dialog.h: New class for
	creating a new view.

	* gal-view.c, gal-view.h: New class for representing a single view
	in the define views model.

svn path=/trunk/; revision=6544
2000-11-11 21:45:24 +00:00
54ebbd37f3 Made the underline show up properly in the main menu bar.
2000-11-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-search-bar.c: Made the underline show up properly in the main
	menu bar.

svn path=/trunk/; revision=6532
2000-11-10 16:26:36 +00:00
2ff6fc1219 Switched from using gtk_menu_item_new_with_label for the menu header to
2000-11-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-search-bar.c: Switched from using gtk_menu_item_new_with_label
	for the menu header to using gnome_stock_menu_item.

svn path=/trunk/; revision=6530
2000-11-10 10:13:00 +00:00
3e041d400f Changed the gal version number and the gal so number. Added check for
2000-11-09  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Changed the gal version number and the gal so
	number.  Added check for bonobo.

	* gal/Makefile.am: Added gal-view-menus.lo.

	* gal/widgets/e-unicode.c: Removed some unused variables.

From gal/menus/ChangeLog:

2000-11-09  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added gal-view-menus.c and gal-view-menus.h.

	* gal-view-menus.c, gal-view-menus.h: New files to create the view
	menus.

svn path=/trunk/; revision=6528
2000-11-10 02:44:25 +00:00
b4927628cf Fixed two spacing problems: first, changed the spacing around the end of
2000-11-08  Anna Marie Dirks  <anna@helixcode.com>
	* e-search-bar.c: Fixed two spacing problems: first, changed
	the spacing around the end of the text-entry widget so that
	the text entry is always aligned with the beginning of the scrollbar;
	second, trimmed down the space between the widgets in the search bar.

svn path=/trunk/; revision=6522
2000-11-09 22:21:07 +00:00
9f7ff57297 Added decomposing case insensitive utf-8 strstr
svn path=/trunk/; revision=6498
2000-11-08 02:47:35 +00:00
381e202936 gal/widgets/e-unicode.h: END_GNOME_DECLS, not BEGIN
svn path=/trunk/; revision=6469
2000-11-07 00:09:27 +00:00
93e7a43d68 Changed this to match the new EPopupMenu structre.
2000-11-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Changed this to match the new EPopupMenu
	structre.

svn path=/trunk/; revision=6467
2000-11-06 23:43:57 +00:00
3729117ec6 Add a submenu field to struct EPopupMenu.
2000-11-06  Jeffrey Stedfast  <fejj@helixcode.com>

	* gal/widgets/e-popup-menu.h: Add a submenu field to struct
	EPopupMenu.

	* gal/widgets/e-popup-menu.c (e_popup_menu_create): If the menu
	item has a submenu field, create the submenu and attach it.

	* configure.in: Bumped the micro-version because of some changes
	to e-popup-menu's structure.

svn path=/trunk/; revision=6461
2000-11-06 23:07:04 +00:00
f2178aee93 Fixed the argument comment. Removed an old enum that's not used here.
2000-11-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-search-bar.h: Fixed the argument comment.  Removed an old enum
	that's not used here.

svn path=/trunk/; revision=6457
2000-11-06 22:07:48 +00:00
a2dda6941a Added e-search-bar.c and e-search-bar.h.
2000-11-06  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-search-bar.c and e-search-bar.h.

	* e-search-bar.c, e-search-bar.h: Moved this from
	e-addressbook-search.

svn path=/trunk/; revision=6454
2000-11-06 21:52:09 +00:00
003c3fe135 Removed unnecessary .cvsignore files.
2000-11-05  Christopher James Lahey  <clahey@helixcode.com>

	* e-paned/.cvsignore, e-table/.cvsignore, e-text/.cvsignore:
	Removed unnecessary .cvsignore files.

svn path=/trunk/; revision=6412
2000-11-06 01:22:21 +00:00
1998d30b78 New files for the new define views dialog.
2000-11-05  Christopher James Lahey  <clahey@helixcode.com>

	* .cvsignore, Makefile.am, gal-define-views-dialog.c,
	gal-define-views-dialog.h, gal-define-views.glade,
	gal-define-views.glade.h: New files for the new define views
	dialog.

svn path=/trunk/; revision=6410
2000-11-06 01:17:12 +00:00
e18070f31c Made it compile again.
svn path=/trunk/; revision=6376
2000-11-03 21:00:47 +00:00
f2b590b943 Turned on proper handling of insert and delete.
2000-11-03  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: Turned on proper handling of insert
	and delete.

svn path=/trunk/; revision=6375
2000-11-03 20:56:53 +00:00
9bbf4be3ac Removed the "time_changed" signal, since it was never being emitted in the
2000-11-02  Federico Mena Quintero  <federico@helixcode.com>

	* e-dateedit.h (EDateEditClass): Removed the "time_changed"
	signal, since it was never being emitted in the first place.  Time
	values *are* both date and time together anyways, so whenever one
	changes we should notify about the whole date/time value being
	changed.
	Renamed the remaining "date_changed" signal to just "changed".

	* e-dateedit.c (e_date_edit_class_init): Do not create the
	"time_changed" signal; rename the other one to "changed".
	(set_time): Moved the core functionality from
	e_date_edit_set_time() to here.  This function just sets the
	widgets' values without emitting any signals.
	(e_date_edit_set_time): Emit the "changed" signal unconditionally.
	This is to be consistent with the rest of the GTK+ widgets, and it
	actually makes writing client code easier.
	(e_date_edit_new): Use set_time().
	(on_date_popup_now_button_clicked): Do not emit the signal here.
	(on_date_popup_none_button_clicked): Likewise.
	(e_date_edit_set_time_of_day): Emit the signal, since we do not
	call e_date_edit_set_time().

svn path=/trunk/; revision=6367
2000-11-03 18:15:54 +00:00
d9a3710f52 Since we insert at the parent->child position, we need to account for
2000-11-03  Not Zed  <NotZed@HelixCode.com>

        * e-tree-model.c (e_tree_model_node_insert): Since we insert at
        the parent->child position, we need to account for expanded nodes
        above this node to properly calculate the absolute row position of
        the node.
        (e_tree_model_node_insert): If we're inserting at the end of this
        node, then we just use the position directly.
        (e_tree_model_node_remove): Completely rewritten.  Now we delete
        all nodes at once, which should be >> faster, unfortunately still
        have to signal each removal, which is >> SLOW :(  Its still about
        2-3x faster than it was (for 25K nodes).
        (child_free): Free all data/subnodes of a given path, no
        unlinking.
        (e_tree_model_node_remove): If we are removing a lot of nodes
        [>1000 or >1/4 total nodes], then use model_changed, rather then
        removing each node.  Yay.  Now its about 500x faster than it was,
        for 25K nodes.
        (etree_pre_change): Signal handler, so we can find out when we are
        in a pre-change state.
        (etree_changed): Likewise to find when we have finished.
        (e_tree_model_construct): Link to the model*changed signals so we
        know when we are in pre/changed state.
        (e_tree_model_node_insert): Only perform a row_inserted if not in
        pre_change state.  Another significant speed improvement (200-500%)
        on big trees.
        (e_tree_model_node_remove): Do not emit row_deleted (or
        model_changed), if we are in the pre_change state.
        (add_visible_descendents_to_array): Likewise for row_inserted.
        (e_tree_model_node_sort): And here too, for consistency.

svn path=/trunk/; revision=6363
2000-11-03 09:16:41 +00:00
89beb886b9 Updated these unused glade files to better match the versions in the code.
2000-11-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-config.glade, e-table-config.glade.h: Updated these
	unused glade files to better match the versions in the code.

	* e-table.c, e-table.h: Added e_table_selected_count and
	"selection_change" signal.

	* e-tree-model.c: Fixed an out of order

svn path=/trunk/; revision=6354
2000-11-02 17:28:16 +00:00
fa3cf53363 modified or added a bunch of .cvsignore to ignore generated files, which
* modified or added a bunch of .cvsignore to ignore
generated files, which are not in repository.
* call *textdomain() in various files only when
ENABLE_NLS is defined

svn path=/trunk/; revision=6310
2000-11-01 10:44:51 +00:00
97fa2239f7 #include <string.h> to get rid of warning. Same here.
2000-10-30  Kjartan Maraas  <kmaraas@gnome.org>

	* e-calendar-item.c: #include <string.h> to get rid of warning.
	* e-clipped-label.c: Same here.

svn path=/trunk/; revision=6287
2000-10-31 13:34:13 +00:00
c3abfc7154 Do not unref the cal_popup since we already destroyed it.
2000-10-27  Federico Mena Quintero  <federico@helixcode.com>

	* e-dateedit.c (e_date_edit_destroy): Do not unref the cal_popup
	since we already destroyed it.

svn path=/trunk/; revision=6244
2000-10-28 00:48:42 +00:00
dfdfa72ec5 Added an "allow_newlines" argument.
2000-10-27  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-entry.c,
	gal/e-text/e-text-event-processor-emacs-like.c,
	gal/e-text/e-text-event-processor-emacs-like.h,
	gal/e-text/e-text-event-processor.c,
	gal/e-text/e-text-event-processor.h, gal/e-text/e-text.c: Added an
	"allow_newlines" argument.

svn path=/trunk/; revision=6226
2000-10-27 14:48:20 +00:00
b234a3141b If we are inserting into the root level, we dont have to search the whole
2000-10-27  Not Zed  <NotZed@HelixCode.com>

        * e-tree-model.c (e_tree_model_node_insert): If we are inserting
        into the root level, we dont have to search the whole array for a
        parent node we'll never find.

svn path=/trunk/; revision=6218
2000-10-27 02:31:08 +00:00
7a6e9be357 remove the save_id here, so we don't save state for nodes that no longer
2000-10-25  Chris Toshok  <toshok@helixcode.com>

	* e-tree-model.c (e_tree_model_node_remove): remove the save_id
	here, so we don't save state for nodes that no longer exist.
	(etree_destroy): remove the foreach, since all the save_id's
	should have been removed by now (don't destroy a tree without
	destroying the root node.)  also, make sure to call
	g_hash_table_destroy.

svn path=/trunk/; revision=6202
2000-10-26 06:48:09 +00:00
e05cf1d1a6 Made the column on the right click and click signals be the model column
2000-10-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Made the column on the right click and click
	signals be the model column instead of the view column.

svn path=/trunk/; revision=6172
2000-10-25 19:03:07 +00:00
5441932367 Add "click" to the list of etable signals we proxy.
* e-table-scrolled.c: Add "click" to the list of etable signals we
	proxy.

svn path=/trunk/; revision=6170
2000-10-25 18:59:25 +00:00
606c6276a8 make ETreeModel opaque, and switch from using g_new0 and g_free for
2000-10-24  Chris Toshok  <toshok@helixcode.com>

	* e-tree-model.c: make ETreeModel opaque, and switch from using
	g_new0 and g_free for ETreePath's to using g_mem_chunk routines.
	(e_tree_model_node_remove): free the path's save_id.  *
	(e_tree_model_set_expanded_default): add method to add default
	expanded status for parent nodes.
	(etree_set_expanded_recurse): make this more efficient.
	e-tree-model.h: make ETreeModel opaque.  add prototype for
	e_tree_model_set_expanded_default.

svn path=/trunk/; revision=6156
2000-10-25 00:09:18 +00:00
067991f6b4 Destroy the tooltip timeout on object destruction.
2000-10-23  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Destroy the tooltip timeout on object
	destruction.

svn path=/trunk/; revision=6137
2000-10-24 00:17:21 +00:00
4273e3adbe Made it so that it doesn't recalculate all the rows if a row is changed,
2000-10-22  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Made it so that it doesn't recalculate all the
	rows if a row is changed, inserted or deleted.

	* e-table-subset.c: Added debugging code (turned off).

svn path=/trunk/; revision=6102
2000-10-22 06:03:03 +00:00
e4e6331ee5 Made it so that rows inserted with their children nodes already in the
2000-10-21  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-sorted-variable.c: Made it so that rows inserted with
	their children nodes already in the tree get placed before their
	children nodes instead of after.

svn path=/trunk/; revision=6101
2000-10-22 02:11:38 +00:00
3e3b5fc7b8 Added e_table_set_state_object which loads the state from the given
2000-10-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c, e-table.h: Added e_table_set_state_object which loads
	the state from the given ETableState object.

svn path=/trunk/; revision=6099
2000-10-22 02:08:13 +00:00
79d19f353c remove timeouts on destroy so they don't try to write to freed data
svn path=/trunk/; revision=6032
2000-10-19 16:41:07 +00:00
4a7322cfec Made the number keys on the number pad work in ETexts and ECellTexts.
2000-10-19  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-text-event-processor-emacs-like.c: Made the number
	keys on the number pad work in ETexts and ECellTexts.

svn path=/trunk/; revision=6027
2000-10-19 04:49:47 +00:00
fc142d0110 Switched to saving the version as a double instead of a string.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-state.c: Switched to saving the version as a double
	instead of a string.

svn path=/trunk/; revision=6019
2000-10-19 02:59:14 +00:00
9bf8ac3b79 Fixed ETableFieldChooser row heights a bit.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-field-chooser-item.c, e-table-field-chooser-item.h:
	Fixed ETableFieldChooser row heights a bit.

	* e-table-header-item.c: Formatting clean up.

	* e-table-state.c: Added saving of the version of the ETableState.
	This way, if we change the format of an ETableState, we can detect
	old version numbers.

svn path=/trunk/; revision=6016
2000-10-19 02:41:55 +00:00
948024d112 Made EEntry accept focus properly.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-entry.c: Made EEntry accept focus properly.

svn path=/trunk/; revision=6015
2000-10-19 02:31:18 +00:00
0e2492ca58 Make text a different color if !(flags & E_CELL_FOCUSED).
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Make text a different color if !(flags &
	E_CELL_FOCUSED).

	* e-cell.h: Added E_CELL_FOCUSED to flags.

	* e-table-item.c: Changed the background color of selected cells
	if the widget is focused.  Send E_CELL_FOCUSED to flags if the
	widget is focused.

	* e-table.c: Repaint the window if focus changes.

svn path=/trunk/; revision=6010
2000-10-19 01:08:44 +00:00
199a9f60a0 Sped up signal propogation.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-subset.c, e-table-subset.h: Sped up signal propogation.

svn path=/trunk/; revision=6006
2000-10-18 20:58:34 +00:00
daaabd4d97 Fixed the color of the background rectangle. Made the rectangle start at
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Fixed the color of the background rectangle.  Made
	the rectangle start at the bottom of the table so that the row
	lines are still there.

svn path=/trunk/; revision=5993
2000-10-18 17:07:57 +00:00
4dca16c6e9 Make background color of ETable match the background color of item rows.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Make background color of ETable match the background
	color of item rows.

svn path=/trunk/; revision=5989
2000-10-18 11:43:16 +00:00
7794a1eb62 Removed an unnecessary glade include file.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-field-chooser-dialog.h: Removed an unnecessary glade
	include file.

	* e-table-field-chooser.c: Make sure that glade is initialized.

	* e-table.c, e-table.h: Added a white background to the ETable.

svn path=/trunk/; revision=5988
2000-10-18 11:15:55 +00:00
a19cb68422 Moved the glade file directories.
2000-10-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Moved the glade file directories.

	* e-table-header-item.c: Removed an unused variable.

svn path=/trunk/; revision=5982
2000-10-18 08:39:27 +00:00
8b23fc59ea Reworked some of the height stuff?
2000-10-16  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Reworked some of the height stuff?

svn path=/trunk/; revision=5943
2000-10-16 20:42:08 +00:00