Commit Graph

223 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
1
d4d172e933 Snotty code so we only disconnect to rules we no longer have, etc.
2001-10-31    <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): Snotty code so we only disconnect
        to rules we no longer have, etc.

svn path=/trunk/; revision=14553
2001-10-31 23:08:29 +00:00
9450e20fe2 Ref and connect to rule changed here, also clear out previous ref's.
2001-11-01  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): Ref and connect to rule changed
        here, also clear out previous ref's.
        (generate_menu): No longer connect to rules, or reset rule array.
        (set_option): Dont reset option rules array.
        (context_rule_removed): Disconnect changed event on rule.
        (clear_rules): Fujnction to clear rules from an array.
        (destroy): Disconnect from context signals, and clear rules arrays.

        * e-filter-bar.h: Remove hash table for change id's.

svn path=/trunk/; revision=14550
2001-10-31 22:27:16 +00:00
9590a301d5 emit signal when time set to none/empty.
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_set_time_of_day): emit signal when time
	set to none/empty.

svn path=/trunk/; revision=14502
2001-10-30 23:28:27 +00:00
0
08c273a628 Hook to rule changed events. (destroy): Free change id table/unconnect to
2001-10-30    <NotZed@Ximian.com>

	* e-filter-bar.c (generate_menu): Hook to rule changed events.
	(destroy): Free change id table/unconnect to signals.
	(init): Setup change id table.
	(e_filter_bar_new): Hook onto rule removed signal.
	(context_rule_removed): If rule removed, disconnect from signal handler.
	(rule_changed): For changed rules, also rebuild menu.  Fixed #12233.

svn path=/trunk/; revision=14459
2001-10-30 13:47:39 +00:00
6d9d0b02aa try to parse just a date first, and if that works we assume it is a DATE
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_set_popup_values): try to parse
	just a date first, and if that works we assume it is a DATE value,
	so we clear the time field in the popup.
	(e_cell_date_edit_on_ok_clicked): if the time field is empty, use a
	DATE value.
	Also removed some debug messages.

svn path=/trunk/; revision=14455
2001-10-30 12:50:25 +00:00
0
5677e9e40b Set the item to the option_base on it, so the current item is set. Fix for
2001-10-30    <NotZed@Ximian.com>

        * e-filter-bar.c (set_option): Set the item to the option_base on
        it, so the current item is set.  Fix for #7081.

svn path=/trunk/; revision=14451
2001-10-30 12:05:12 +00:00
4b3f1e83ea Adapt to the new ECellPopup signature.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Adapt to
	the new ECellPopup signature.

svn path=/trunk/; revision=14441
2001-10-30 07:31:34 +00:00
cf4dbf9ee3 ref the ECalendarItem and check if it gets destroyed, to try to avoid a
2001-10-29  Damon Chaplin  <damon@ximian.com>

	* e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): ref
	the ECalendarItem and check if it gets destroyed, to try to avoid a
	free memory write.

	* e-dateedit.c (e_date_edit_set_time_of_day): allow setting the time
	to empty by passing hour as -1.

svn path=/trunk/; revision=14394
2001-10-30 01:37:52 +00:00
5c99202e0b Don't add the menu item here, do this in the context_changed signal
2001-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (rule_editor_clicked): Don't add the menu item
	here, do this in the context_changed signal callback instead.
	(context_changed): rebuild the search menu.
	(set_menu): Copy the items into a default_items list so we can
	regenerate the menu when something changes. Then call
	generate_menu().
	(generate_menu): Do what set_menu() used to do.
	(e_filter_bar_new): Don't do a rule_context_load() anymore since
	we don't need to.
	(destroy): free the default_items list.

svn path=/trunk/; revision=13975
2001-10-24 03:47:10 +00:00
974cb91595 copy the translate field over as well. Should fix an uninitialized memory
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* e-search-bar.c (copy_subitems): copy the translate field over as
	well. Should fix an uninitialized memory read.

svn path=/trunk/; revision=13964
2001-10-23 22:19:05 +00:00
46dd4414b9 clear the struct tm fields to keep purify happy.
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_check_date_changed):
	(e_date_edit_check_time_changed): clear the struct tm fields to keep
	purify happy.

svn path=/trunk/; revision=13959
2001-10-23 21:38:27 +00:00
f59604582d use the new ECellText methods to get the text and set the value.
2001-10-22  Damon Chaplin  <damon@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_set_popup_values):
	(e_cell_date_edit_update_cell): use the new ECellText methods to get
	the text and set the value.

	* e-cell-percent.c: new subclass of ECellText to display & edit a
	percentage value.

svn path=/trunk/; revision=13916
2001-10-22 23:47:32 +00:00
093c2a884d Keep us from reading tmp_tm uninitialized, so purify won't complain.
2001-10-20  Jon Trowbridge  <trow@ximian.com>

	* e-dateedit.c (e_date_edit_check_date_changed): Keep us from
	reading tmp_tm uninitialized, so purify won't complain.

svn path=/trunk/; revision=13831
2001-10-20 22:57:19 +00:00
3c7aba68e9 Now takes a menu path argument.
2001-10-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Now
	takes a menu path argument.

svn path=/trunk/; revision=13528
2001-10-09 21:59:21 +00:00
cec691f29f added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo
2001-10-04  Rodrigo Moya <rodrigo@ximian.com>

	* misc/Makefile.am:
	* menus/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile
	with latest Bonobo

svn path=/trunk/; revision=13407
2001-10-04 11:03:29 +00:00
ee35e29394 Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613.
2001-10-04  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Call
	gnome_canvas_world_to_window here.  Finishes fixing Ximian bug
	#2613.

svn path=/trunk/; revision=13405
2001-10-04 07:22:56 +00:00
f0c38138fa grab focus to the date entry or the time entry, depending on which is
2001-09-18  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_grab_focus): grab focus to the date entry
	or the time entry, depending on which is visible. Fixes bug #7237.

svn path=/trunk/; revision=13185
2001-09-27 03:43:07 +00:00
6d1f104d1e add prototype for e_date_edit_set_editable.
2001-09-16  Chris Toshok  <toshok@ximian.com>

	* e-dateedit.h: add prototype for e_date_edit_set_editable.

	* e-dateedit.c (e_date_edit_set_editable): new function, analogous
	to gtk_entry_set_editable: let's the user select but not edit (or
	in this case, bring up the calendar view.)

svn path=/trunk/; revision=12867
2001-09-17 02:58:58 +00:00
a24242acd4 Don't unref the old dropdown, we don't "own" it.
2001-09-13  Jeffrey Stedfast  <fejj@ximian.com>

	* e-search-bar.c (set_dropdown): Don't unref the old dropdown, we
	don't "own" it.

svn path=/trunk/; revision=12805
2001-09-13 18:59:05 +00:00
6796044313 unref the old dropdown_menu if there is one.
2001-09-13  Larry Ewing  <lewing@ximian.com>

	* e-search-bar.c (set_dropdown): unref the old dropdown_menu if
	there is one.

svn path=/trunk/; revision=12796
2001-09-13 09:12:52 +00:00
dc06d7ef54 No longer need the context in order to clone a FilterRule.
2001-09-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (menubar_activated): No longer need the context
	in order to clone a FilterRule.
	(option_changed): Same.

svn path=/trunk/; revision=12791
2001-09-13 00:13:59 +00:00
681e043977 added a default size for the saved search dialog of 600 x 300 such that it
2001-09-06  Anna Marie Dirks  <anna@ximian.com>

	* e-filter-bar.c: added a default size for the saved search
	dialog of 600 x 300 such that it opens at a usable size.
	this fixes bug #7083.

svn path=/trunk/; revision=12661
2001-09-06 22:45:14 +00:00
79f942b465 added a wee bit of padding around the find now label in response to bug
001-09-05  Anna Marie Dirks  <anna@ximian.com>

	* e-search-bar.c (add_activate_button): added a wee bit of
	padding around the find now label in response to bug #7049.

svn path=/trunk/; revision=12627
2001-09-05 20:16:04 +00:00
24a4d864f0 New prototype here.
2001-08-27  Ettore Perazzoli  <ettore@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.h
	(e_timezone_dialog_reparent): New prototype here.

svn path=/trunk/; revision=12511
2001-08-29 03:49:21 +00:00
a7da845f7f added e_date_edit_get/set_make_time_insensitive() which makes the time
2001-08-16  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c: added e_date_edit_get/set_make_time_insensitive()
	which makes the time field insensitive rather than hiding it.
	I'm not sure we're going to actually use this now, though.

svn path=/trunk/; revision=12135
2001-08-16 23:25:45 +00:00
791c2bec7e Set the horizontal usize of the entry to 4.
* e-search-bar.c (activate_by_subitems): Set the horizontal usize
of the entry to 4.

svn path=/trunk/; revision=12132
2001-08-16 22:28:24 +00:00
fef28ce070 Boost scoring on an exact nickname match. Manually addressify match.
2001-08-16  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(match_nickname): Boost scoring on an exact nickname match.
	Manually addressify match.
	(match_name): Manually addressify matches.
	(book_query_score): Remove automatic addressification.

	* gui/component/addressbook.c (addressbook_query_changed): Minor
	tweak to avoid a crash if we have a negative subid with id
	ESB_CATEGORY.  This should never happen.
	(addressbook_menu_activated): Reset the entry/option when we
	select "Clear".
	Some changes to reflect renaming in ESearchBar.

	* gui/component/select-names/e-select-names-bonobo.c
	(entry_set_property_fn): Cardify after importing destinations.
	This might fix a problem that Damon is having.

2001-08-16  Jon Trowbridge  <trow@ximian.com>

	* e-filter-bar.c (option_changed): Adjusted for renamed ESearchBar
	functions.
	(menubar_activated): Adjusted for renamed ESearchBar functions.

	* e-search-bar.c: Renames some of the horrible function names:
	s/option_choice/item_id/, s/suboption_choice/subitem_id/.

2001-08-16  Jon Trowbridge  <trow@ximian.com>

	* gui/cal-search-bar.c: Changed to reflect my renaming of some of
	the more hideously-named functions in the ESearchBar API.

svn path=/trunk/; revision=12081
2001-08-16 06:17:18 +00:00
f6ae871a73 Destroy, do not unref, the popup_window.
2001-08-14  Federico Mena Quintero  <federico@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not
	unref, the popup_window.

svn path=/trunk/; revision=12022
2001-08-14 18:32:33 +00:00
84eb55399b Correctness fixes for when the entry and submenu must be interchanged.
2001-08-14  Federico Mena Quintero  <federico@ximian.com>

	* e-search-bar.c (activate_by_subitems): Correctness fixes for
	when the entry and submenu must be interchanged.

svn path=/trunk/; revision=12019
2001-08-14 17:48:08 +00:00
f8473e11f7 *Please* add accessor functions instead of just object arguments!
2001-08-14  Federico Mena Quintero  <federico@ximian.com>

	*Please* add accessor functions instead of just object arguments!

	* e-search-bar.c (e_search_bar_set_option_choice): New function.
	(e_search_bar_set_suboption_choice): New function.
	(e_search_bar_set_text): New function.
	(impl_set_arg): Use the functions above instead of setting things
	directly.
	(add_dropdown): If the item is a separator, set it as insensitive.
	(activate_by_subitems): Handle the translate field in the subitem
	structure.  Also, allow the creation of separators by having NULL
	text strings in the subitems.
	(set_option): If the item is a separator, set it as insensitive.
	(set_option): Do not use the subitem_garbage hack.  Do proper
	memory management instead.
	(e_search_bar_set_suboption): New function to change the suboption
	items in a search bar.

	* e-search-bar.h (ESearchBarSubitem): Added a `translate' field.
	This API sucks so much it is not funny.
	(ESearchBar): Removed the subitem_garbage hack.  Please do proper
	memory management.

svn path=/trunk/; revision=12014
2001-08-14 16:04:33 +00:00
9086989f20 Add "Any Category" option for category searches.
2001-08-14  Jon Trowbridge  <trow@ximian.com>

	* gui/component/addressbook.c (addressbook_factory_new_control):
	Add "Any Category" option for category searches.
	(addressbook_query_changed): Do the right thing on an
	"Any Category" search.

2001-08-14  Jon Trowbridge  <trow@ximian.com>

	* e-search-bar.c (activate_by_subitems): Oops... initial
        suboption_choice should be subitems[0].id, not 0.

svn path=/trunk/; revision=12013
2001-08-14 15:48:39 +00:00