Commit Graph

362 Commits

Author SHA1 Message Date
a020c2bd2f Added widgets/e-option-menu.lo.
2002-03-25  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-option-menu.lo.

	* gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this
	function from glib2.
	(GET_STRING_ARRAY_FROM_ELLIPSIS,
	GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to
	automate getting a NULL terminated array off of the stack.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	e-option-menu.c.
	(libwidgetsinclude_HEADERS): Added e-option-menu.h.

	* gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this
	function.

	* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h
	(e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new
	functions to automate pulling a widget from a GladeXML and either
	connecting a signal or setting the sensitivity.

	* gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New
	class to simplify the interface to GtkOptionMenu.

svn path=/trunk/; revision=16246
2002-03-25 19:33:20 +00:00
9eeff8bfec Add accelerators for "Find Now" and "Clear".
* e-search-bar.c (update_bonobo_menus): Add accelerators for "Find
Now" and "Clear".

* e-filter-bar.h: Change search labels as suggested in Anna's
redesign [#16246].

* folder-browser.c: Reorder folder_browser_search_menu_items
according to #16246.

svn path=/trunk/; revision=16219
2002-03-20 22:25:06 +00:00
bc11ab14a5 Remove all the SearchBar items before setting them up again.
* e-search-bar.c (update_bonobo_menus): Remove all the SearchBar
items before setting them up again.
(free_menu_items): New.
(impl_destroy): Call it.
(set_menu): Call it here too before adding the new items.

svn path=/trunk/; revision=16218
2002-03-20 21:18:08 +00:00
91c17571fd No accelerator for "FindNow". (add_button): Add a one-pixel padding to the
* e-search-bar.c (update_bonobo_menus): No accelerator for
"FindNow".
(add_button): Add a one-pixel padding to the button.

svn path=/trunk/; revision=16201
2002-03-18 21:20:57 +00:00
74eff81d8f Rename the "Search Now" menu entry to "Find Now". Rename the corresponding
* e-search-bar.c (update_bonobo_menus): Rename the "Search Now"
menu entry to "Find Now".  Rename the corresponding verb to
"ESearchBar:FindNow".
(update_sensitivity): Updated accordingly.
(setup_standard_verbs): Likewise.

svn path=/trunk/; revision=16200
2002-03-18 20:56:15 +00:00
1657404cf7 New halper function to update the sensitivity of the commands.
* e-search-bar.c (update_sensitivity): New halper function to
update the sensitivity of the commands.
(entry_changed_cb): New callback to make the activate_button and
the "Find Now" verb sensitive only if the entry has some contents.
(activate_by_subitems): Connect the callback here.
(setup_standard_verbs): Call update_sensitivity() here.

svn path=/trunk/; revision=16199
2002-03-18 20:54:36 +00:00
ad1e6e7f44 Init clear_button to NULL. (add_button): New helper function to add a
* e-search-bar.c (init): Init clear_button to NULL.
(add_button): New helper function to add a button to the search
bar with the right spacing etc.
(clear_search): New helper function.
(add_activate_button): Removed.
(clear_button_clicked_cb): New.
(e_search_bar_construct): Just add the button here using
`add_button'.  Also add a clear_button.
(clear_verb_cb): Rewritten by means of `clear_search()'.

* e-search-bar.h (ESearchBar): Add clear_button.

svn path=/trunk/; revision=16198
2002-03-18 20:37:14 +00:00
6b5f07ff01 New, implementation for a new "SearchNow" verb. (setup_standard_verbs):
* e-search-bar.c (search_now_verb_cb): New, implementation for a
new "SearchNow" verb.
(setup_standard_verbs): Create verb here.
(update_bonobo_menus): Add SearchNow menu item.

svn path=/trunk/; revision=16197
2002-03-18 20:14:42 +00:00
6f9b8ecfb3 [Search bar re-design implementation, Take 2.]
* e-search-bar.c (clear_verb_cb): New.
(setup_standard_verbs): New.
(e_search_bar_set_ui_component): Call it if a new
BonoboUIComponent is set.
(append_xml_menu_item): New helper function.
(update_bonobo_menus): Use it.  Also add a "Clear" menu item.
(e_search_bar_construct): @menu_items can be NULL now.
(e_search_bar_new): Same here.
(set_menu): Work with NULL items.

* e-filter-bar.c (menubar_activated): Don't handle
E_FILTERBAR_RESET_ID anymore.

* e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'.

* folder-browser.c: Remove E_FILTERBAR_RESET menu entry.

* gui/cal-search-bar.c: Removed `search_menu_items'.
(cal_search_bar_menu_activated): Removed.
(cal_search_bar_class_init): Don't install.
(cal_search_bar_construct): No menu items here.

* gui/component/addressbook.c (addressbook_menu_activated):
Removed.
(addressbook_factory_new_control): Don't connect anymore, as this
signal has been removed from the ESearchBar.
(addressbook_factory_new_control): No more custom menu items here.

svn path=/trunk/; revision=16194
2002-03-18 20:06:00 +00:00
066b7b5e9f Allow for per-item closures and also instead of taking a const char
2002-03-15  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/gal/widgets/e-popup-menu.c: Allow for per-item closures and
	also instead of taking a const char *pixname, take a GtkWidget
	*pixmap instead.

	* gal/widgets/e-categories.c: Update to sync up with changes made
	to the EPopupMenu Api.

svn path=/trunk/; revision=16182
2002-03-16 02:17:13 +00:00
88a322f15d Check for a style_set signal on all the contained GnomeCanvasItems.
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_style_set): Check for a
	style_set signal on all the contained GnomeCanvasItems.

From gal/e-table/ChangeLog:

2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set.

	* e-cell.c, e-cell.h (e_cell_style_set): Added this virtual
	method.

	* e-table-item.c, e-table-item.h: Call e_cell_style_set in out
	style_set signal.

svn path=/trunk/; revision=16180
2002-03-15 23:16:01 +00:00
c85ad2279b [Start implementing the new Search Bar design.]
* e-search-bar.c (init): Init various members to NULL.
(set_dropdown): Removed.
(add_dropdown): Removed.
(set_menu): New.
(add_menu_items): New.
(set_option): No need to setup the dropdown size here anymore.
(verb_cb): Function implementing the search menu verbs.
(update_bonobo_menus): New.
(e_search_bar_set_ui_component): New.

* e-search-bar.h: Remove the dropdown button stuff from struct
ESearchBar.  Add `uic' and `items' members.

* e-filter-bar.c (e_filter_bar_new): Get a @uic arg.

* folder-browser-factory.c (control_activate): Set the UI
component on the search bar.

* gui/tasks-control.c (tasks_control_activate): Call
`e_tasks_set_ui_component()' here to give it the
BonoboUIComponent.
(tasks_control_deactivate): Likewise, call it here to unset the
BonoboUIComponent.

* gui/e-tasks.c (e_tasks_set_ui_component): New.

* gui/calendar-commands.c (calendar_control_activate): Call
gnome_calendar_set_ui_component() here.
(calendar_control_deactivate): ...And here, with a NULL
BonoboUIComponent.

* gui/gnome-cal.c (gnome_calendar_set_ui_component): New.

* gui/component/addressbook.c (control_activate): Call
`e_search_bar_set_ui_component()' to set the BonoboUIComponent for
the search bar.

* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon
for the LDAP sources configuration control.

svn path=/trunk/; revision=16178
2002-03-15 22:51:13 +00:00
524e5c62c0 Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usize
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* e-multi-config-dialog.c (init): Set horizontal scroll policy to
	GTK_POLICY_NEVER here.  Don't set usize here.  Changed RGBA_COLOR
	to RGB_COLOR.  Turned on horizontal resize.

svn path=/trunk/; revision=16176
2002-03-15 20:39:43 +00:00
a18af91be5 If the charset item doesn't have a class (aka "Unknown"), don't write a
2002-03-13  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c (add_charset): If the charset item doesn't
	have a class (aka "Unknown"), don't write a class name, instead
	just give the charset name as the menu item label. Fixes bug
	#14753.

svn path=/trunk/; revision=16154
2002-03-14 00:34:35 +00:00
c7f94b862e Added alpha blending here.
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-multi-config-dialog.c: Added alpha blending here.

svn path=/trunk/; revision=16151
2002-03-13 22:13:06 +00:00
f474b77377 Clean up comment.
svn path=/trunk/; revision=16142
2002-03-13 17:09:59 +00:00
8e2b17bcab Removed Page struct. (e_multi_config_dialog_add_page): Select the initial
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* e-multi-config-dialog.c: Removed Page struct.
	(e_multi_config_dialog_add_page): Select the initial row after
	appending to the model.

svn path=/trunk/; revision=16131
2002-03-12 22:05:00 +00:00
338ad5b443 Use Use e_table_memory_store instead of e_table_memory_callbacks. Use
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* e-multi-config-dialog.c (init): Use Use e_table_memory_store
	instead of e_table_memory_callbacks.  Use e_cell_vbox to include a
	pixbuf cell and a text cell.

svn path=/trunk/; revision=16130
2002-03-12 21:36:24 +00:00
b24b3e4ecd Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close):
* e-multi-config-dialog.c (init): Use GNOME_STOCK_BUTTON_CLOSE,
not GNOME_STOCK_BUTTON_CANCEL.
(do_close): Renamed from `cancel'.
(do_apply): Renamed from `apply'.
(do_ok): Renamed from `ok'.

svn path=/trunk/; revision=16106
2002-03-11 22:16:46 +00:00
72906c59d7 Rename Page.widget -> Page.page_widget; it is now an EConfigPage instead
* e-multi-config-dialog.c: Rename Page.widget -> Page.page_widget;
it is now an EConfigPage instead of just a GtkWidget.  Add
`num_unapplied' to EMultiConfigDialogPrivate.  Derive from
GnomeDialog, not GtkWindow.
(update_buttons): New function to update the sensitiveness of the
buttons according to whether all the settings have been applied or
not.
(page_new): Likewise.
(create_page_container): Renamed from `create_page_widget'.
(init): Add Apply/OK/Cancel buttons to the dialog.  Init
->num_unapplied to zero.
(page_changed_callback): New, callback for the page's "changed"
signal.
(e_multi_config_dialog_add_page): Connect the callback, update
->num_unapplied, update the buttons by calling `update_buttons'.
(ok): New function for handling the OK button.
(apply): New function for handling the Apply button.
(cancel): New function for handling the Cancel button.
(impl_clicked): Implementation for the GnomeDialog's ::clicked
signal.
(class_init): Install.

* test-multi-config-dialog.c (add_pages): Update to use
EConfigPages instead of plain GtkWidgets.

* e-multi-config-dialog.c, e-multi-config-dialog.h: Derive from
GnomeDialog, not GtkWindow.

* e-config-page.c: New.
* e-config-page.h: New.

svn path=/trunk/; revision=16006
2002-03-10 02:57:58 +00:00
c807f01f8f Bumped version number to 0.19.99.7
2002-03-09  Chris Toshok  <toshok@ximian.com>

	* configure.in: Bumped version number to 0.19.99.7

	* gal/widgets/e-unicode.c (e_utf8_strstrcasedecomp): we want to
	return o from here on success, not p, since p is incremented one
	unicode character past the point where the substring begins.
	(e_utf8_strstrcase): same.

svn path=/trunk/; revision=16000
2002-03-09 21:28:03 +00:00
4c85b0318e Add test-multi-config-dialog.
svn path=/trunk/; revision=15976
2002-03-07 22:23:04 +00:00
cf30e93611 Don't display a header in the table on the left.
* e-multi-config-dialog.c: Don't display a header in the table on
the left.

svn path=/trunk/; revision=15975
2002-03-07 22:20:05 +00:00
38342cf57a New. New.
* test-multi-config-dialog.c: New.
* test-multi-config-dialog.h: New.

* e-multi-config-dialog.c: New.
* e-multi-config-dialog.h: New.

svn path=/trunk/; revision=15932
2002-03-05 22:49:32 +00:00
9cf2e39035 make a right click bring up the popup menu.
2002-02-27  Larry Ewing  <lewing@ximian.com>

	* misc/e-combo-button.c (impl_button_press_event): make a right
	click bring up the popup menu.

svn path=/trunk/; revision=15858
2002-02-27 20:17:08 +00:00
2641143369 preserve behavior - hook search_activated signal to the same function as
2002-02-24  Chris Toshok  <toshok@ximian.com>

        * e-filter-bar.c (init): preserve behavior - hook search_activated
        signal to the same function as query_changed.

        * e-search-bar.c (emit_search_activated): new function.
        (entry_activated_cb): use emit_search_activated instead of
        emit_query_changed.
        (subitem_activated_cb): same.
        (activate_button_clicked_cb): same.
        (class_init): add the search_activated signal.
        (idle_activate_hack): rename idle_change_hack to this, and
        emit_search_activated.
        (e_search_bar_construct): idle_change_hack -> idle_activate_hack.
        (e_search_bar_set_subitem_id): emit_search_activated instead of
        emit_query_changed.
        (e_search_bar_set_text): same.

        * e-search-bar.h (struct _ESearchBarClass): add a search_activated
        signal.

svn path=/trunk/; revision=15827
2002-02-25 10:56:33 +00:00
ea56ff65a2 gtk_widget_show() the icon_pixmap if the specified icon is not NULL.
* e-combo-button.c (set_icon): gtk_widget_show() the icon_pixmap
if the specified icon is not NULL.

svn path=/trunk/; revision=15788
2002-02-22 02:22:26 +00:00
9c5cceeeb8 New signal for when the width of the column changes.
2002-02-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h
	(column_width_changed): New signal for when the width of the
	column changes.

	* gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE):
	New marshaller.

From gal/menus/ChangeLog:

2002-02-13  Christopher James Lahey  <clahey@ximian.com>

	* gal-view-etable.c (detach_table): Set
	view->table_state_changed_id to 0.
	(detach_tree): Set view->tree_state_changed_id to 0.

svn path=/trunk/; revision=15705
2002-02-13 13:03:48 +00:00
a61a6cab20 remove briefly used files
2002-02-08  JP Rosevear  <jpr@ximian.com>

	* e-url-button.[hc]: remove briefly used files

svn path=/trunk/; revision=15623
2002-02-08 21:54:58 +00:00
350a7a3314 oops
svn path=/trunk/; revision=15621
2002-02-08 21:51:16 +00:00
caa0d5ee20 button/entry combo that launchs the gnome url handler on the entry text
2002-02-08  JP Rosevear  <jpr@ximian.com>

	* e-url-entry.[hc]: button/entry combo that launchs the gnome url
	handler on the entry text when the button is clicked

	* Makefile.am: build new files

svn path=/trunk/; revision=15620
2002-02-08 21:50:36 +00:00
1c663ab61d build new files
2002-02-08  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: build new files

	* e-url-button.[hc]: button widget that when clicked slurps the
	url of an entry and launchs the gnome url handler on the text

svn path=/trunk/; revision=15609
2002-02-08 17:16:08 +00:00
79a377ddf2 Final cleanup for the CFLAGS and LIBS in the Makefiles.
svn path=/trunk/; revision=15486
2002-01-27 17:21:36 +00:00
4eb4ae3be8 [Implement an Outlook-style "New" dropdown button. It is basically
done but it needs pretty icons so I am leaving it disabled for now.]

* e-combo-button.c: Remove member `separator' from
`EComboButtonPrivate'.  New members `icon', `label'.
(init): There shall be no separator no more.  Init `icon' and
`label' to %NULL.
(e_combo_button_construct): Set no relief.
(e_combo_button_new): Don't get a @menu arg anymore.
(e_combo_button_construct): Likewise.
(e_combo_button_set_icon): New.
(e_combo_button_set_label): New.
(e_combo_button_set_menu): New.
(impl_clicked): New, overriding the "clicked" method for
GtkButton.
(class_init): Install.
(impl_button_release_event): Removed.
(class_init): No need to override ::release_event with this
anymore.
(impl_released): New, override for the GtkButton::released method.
(class_init): Install.

* e-shell-user-creatable-items-handler.c: New member `id' in
struct `Component'.  New member `icon' in struct `MenuItem'.
(component_free): Free ->id.
(component_new): Renamed from `component_new_from_client'.  Get an
@id arg and set ->id accordingly.
(e_shell_user_creatable_items_handler_add_component): New arg @id.
Pass it to `component_new'.
(e_shell_user_creatable_items_handler_setup_menus): New arg
@current_component_id.
(e_shell_user_creatable_items_handler_update_menus): New.
(set_current_component): New helper function.
(get_component_by_id): New helper function.
(add_verbs): Renamed from `add_verbs_to_ui_component()'.  Get a
@shell_view instead of a @ui_component.  Set the SHELL_VIEW_KEY on
the ui_component of the shell_view to point to the shell_view
itself.
(ensure_menu_items): Set item->icon to NULL.
(free_menu_items): Unref item->icon.
(ensure_menu_xml): Set the icon as well.
(get_default_action_for_view): New helper function.
(find_menu_item_for_verb): New helper function.
(shell_view_view_changed_callback): New callback, set up the label
on the "New" button depending on the current component.
(e_shell_user_creatable_items_handler_attach_menus): New.  For
now, do not display the toolbar button yet.
(execute_verb): New helper function, splitting out code from
`verb_fn'.
(verb_fn): Use `execute_verb'.
(combo_button_activate_default_callback): Callback for the
"activate_default" signal on the EComboButton.
(setup_toolbar_button): Connect.

* evolution-shell-component.c: New member `icon' in
`UserCreatableItemType'.
(impl__get_userCreatableItemTypes): Put the ->icon in the
corba_type as well.
(user_creatable_item_type_new): Get a new @icon argument.
(evolution_shell_component_add_user_creatable_item): New arg
@icon.

* Evolution-ShellComponent.idl: New member `icon' in struct
`UserCreatableItemType'.

* evolution-test-component.c (register_component): Pass a NULL
@icon to `evolution_shell_component_add_user_creatable_item()'.

* e-shell-view.c (class_init): Add the signal to the class.
(e_shell_view_display_uri): Emit "view_changed".
(e_shell_view_get_current_component_id): New.

* evolution-shell-component-client.c: New member `id' in
EvolutionShellComponentClientPrivate.
(init): Init to NULL.
(impl_destroy): Free.
(evolution_shell_component_client_new_for_objref): Removed.
(evolution_shell_component_client_construct): New arg @id.
Initialize ->id from it.
(evolution_shell_component_client_get_id): New.

* e-shell-view.h: New signal "view_changed".

* evolution-activity-client.c (create_icon_from_pixbuf): Removed.
(create_corba_animated_icon_from_pixbuf_array): Removed.
(evolution_activity_client_construct): Use
`e_new_corba_animated_icon_from_pixbuf_array()' instead.

svn path=/trunk/; revision=15438
2002-01-23 22:21:24 +00:00
784886d534 Added #include <libgnome/gnome-defs.h>.
2002-01-16  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-entry.h, gal/e-text/e-table-text-model.h,
	gal/e-text/e-text-model-uri.h, gal/e-text/e-text.h,
	gal/util/e-i18n.h, gal/widgets/e-canvas-utils.h,
	gal/widgets/e-gui-utils.h, gal/widgets/e-printable.h,
	gal/widgets/gtk-combo-stack.h: Added #include
	<libgnome/gnome-defs.h>.

svn path=/trunk/; revision=15340
2002-01-16 17:21:25 +00:00
8ac60f4e7e translate timezone names, and provide a function to get back to the
2002-01-11  Damon Chaplin  <damon@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.[hc]: translate timezone names,
	and provide a function to get back to the English version.

svn path=/trunk/; revision=15303
2002-01-12 00:24:57 +00:00
f4feb97104 changed the location of the Hebrew charset in the menu
svn path=/trunk/; revision=15247
2002-01-04 20:27:09 +00:00
7cc5493195 Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu.
2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c: Added iso-8859-8 (Hebrew; Visual) to the
	list of charsets in the menu. Fixes bug #15655.

svn path=/trunk/; revision=15246
2002-01-04 19:35:24 +00:00
6cfbc6f4d9 New. New.
* e-combo-button.c: New.
* e-combo-button.h: New.

svn path=/trunk/; revision=15191
2001-12-20 06:02:29 +00:00
98a2c85627 Merging changes:
2001-12-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model-simple.c
	(e_selection_model_simple_set_row_count): Set esma->selected_row
	and esma->selected_range_end to -1 here.

	* gal/widgets/e-selection-model-array.c
	(e_selection_model_array_confirm_row_count): Set selected_row and
	selected_range_end to -1 here.
	(esma_select_single_row): Check that selected_row is within the
	range of possible rows.  This should never happen, but this check
	will help if it does.

svn path=/trunk/; revision=15142
2001-12-17 23:09:54 +00:00
4854c60dc3 Merging changes:
2001-11-08  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am: Added e-canvas-background.lo.

	* gal/widgets/Makefile.am: Added e-canvas-background.c and
	e-canvas-background.h.

	* gal/widgets/e-canvas-background.c,
	gal/widgets/e-canvas-background.h: New class, provides infinite
	background color or arbitrary rectangle of background color.

svn path=/trunk/; revision=15126
2001-12-17 19:18:28 +00:00
4ca3db91ac Merging changes:
2001-12-11  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_unrealize): Turn off idle
	handling in the unrealize function instead of the destroy
	function.

From gal/e-table/ChangeLog:

2001-12-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c: Turn off idle handling in the unrealize function
	instead of the destroy function.

svn path=/trunk/; revision=15102
2001-12-17 07:50:20 +00:00
9c742bd727 merge from head
2001-11-21  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (menubar_activated): Mark the dialogue as already
        up so we dont allow multiple dialogues up.  Behaviour fix part of
        #15745.

svn path=/trunk/; revision=15030
2001-12-13 23:41:15 +00:00
410f3bc629 Merging changes:
2001-12-04  Christopher James Lahey  <clahey@ximian.com>

	* configure.in (GAL_CURRENT): Bumped version number to 0.18.99.0
	and CURRENT to 19.

2001-11-21  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Handle
	selection_row_changed signal.

	* gal/widgets/e-selection-model-array.c,
	gal/widgets/e-selection-model-array.h: Properly send
	selection_row_changed signals if changing from a single row
	selected to a single other row selected or if moving the
	selection_end by a single row.

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Added selection_row_changed
	signal.
	(e_selection_model_select_as_key_press): Fixed the case statement
	here to make MULTIPLE and EXTENDED the same as BROWSE instead of
	as SINGLE.

From gal/e-table/ChangeLog:

2001-11-21  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c, e-table-item.h: Handle selection_row_changed
	signal.  Keep track of the old cursor row so that we only redraw
	two rows when the cursor changes.

	* e-table.c, e-tree.c: Handle selection_row_changed signal.

	* e-tree-selection-model.c: Properly send selection_row_changed
	signals if changing from a single row selected to a single other
	row selected or if moving the selection_end by a single row.

svn path=/trunk/; revision=14870
2001-12-04 21:03:28 +00:00
3270da0242 Merging changes:
2001-11-30  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.18.2 and GAL_REVISION
	to 2.

2001-11-14  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-gui-utils.c
	(e_container_change_tab_order_callback): Don't do anything if
	focus_child is NULL.  This makes tab when cycling around tab order
	not skip to the beginning of this tab order group.

svn path=/trunk/; revision=14836
2001-12-01 01:29:41 +00:00
57d95cb3b7 updated to new version from Ximian Setup Tools. Fixes bug #7641.
2001-11-28  Damon Chaplin  <damon@ximian.com>

	* e-map.c: updated to new version from Ximian Setup Tools.
	Fixes bug #7641.

2001-11-27  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
	return the last valid date entered, even if the field is currently
	empty. Fixes bug #15749.

svn path=/trunk/; revision=14817
2001-11-28 22:11:07 +00:00
f6bbfa3d44 Bumped version number to 0.18.1.
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

	* configure.in (GAL_CURRENT): Bumped version number to 0.18.1.

	* gal/widgets/e-selection-model-array.c
	(e_selection_model_array_delete_rows): Make sure the cursor row is
	selected after deleting here.

svn path=/trunk/; revision=14711
2001-11-14 22:26:46 +00:00
df3bc07361 From a patch by Yukihiro Nakai <ynakai@redhat.com>.
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

From a patch by Yukihiro Nakai <ynakai@redhat.com>.

	* gal/widgets/e-canvas.c (e_canvas_realize): Handle
	GDK_IM_PREEDIT_POSITION here.

svn path=/trunk/; revision=14703
2001-11-14 20:56:53 +00:00
9ab4c3e6cd set both the date and the time of day in one call, creating only a single
2001-11-05  JP Rosevear  <jpr@ximian.com>

	* e-dateedit.c (e_date_edit_set_date_and_time_of_day): set both
	the date and the time of day in one call, creating only a single
	changed signal

	* e-dateedit.h: add proto

svn path=/trunk/; revision=14602
2001-11-06 00:05:54 +00:00
c81e771e3b Based on a patch by Damon Chaplin <damon@ximian.com>
2001-11-05  Christopher James Lahey  <clahey@ximian.com>

Based on a patch by Damon Chaplin <damon@ximian.com>

	* e-cell-date-edit.c: Connect to the button_press signal on the
	popup and do the grab correctly so that this dialog behaves
	properly when the user clicks it away.  Also, changed all
	instances of setting of popup_shown field of ECellPopup to call
	e_cell_popup_set_shown.  Fixes Ximian bug #14016.

svn path=/trunk/; revision=14594
2001-11-05 20:12:44 +00:00