Commit Graph

1430 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
660118fcbe Call the parent function after doing all the internal work so that when
2002-03-25  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c (e_table_memory_store_insert,
	e_table_memory_store_insert_adopt, e_table_memory_store_remove):
	Call the parent function after doing all the internal work so that
	when the changed signal goes out, our work is already done.

svn path=/trunk/; revision=16245
2002-03-25 19:22:25 +00:00
46c0e7a054 +2002-03-20 Christopher James Lahey <clahey@ximian.com>
+
+	* e-table-header-item.c: Adjust this to handle the new EPopupMenu
+	API.
+

svn path=/trunk/; revision=16223
2002-03-21 20:14:26 +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
95c4e2623b Add a GdkPixmap * cache of rendered toggle images. This should
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-toggle.c: Add a GdkPixmap * cache of rendered toggle
	images.  This should considerably speed up over the wire
	performance of ECellToggle.

svn path=/trunk/; revision=16177
2002-03-15 21:51:06 +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
a17d29d26c New function that returns the total minimum width of all the columns.
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header.c, e-table-header.h (e_table_header_min_width):
	New function that returns the total minimum width of all the
	columns.

	* e-table.c, e-table.h (set_header_width): Call
	e_table_header_min_width here instead of total_width.
	(et_size_request): Override the size_request method instead of
	doing set_usize.

svn path=/trunk/; revision=16175
2002-03-15 20:36:07 +00:00
eafda9ba48 Implemented capitalization keybindings.
2002-03-14  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c: Implemented capitalization keybindings.

	* e-tree.c (item_key_press): Added parentheses to the default case
	here.

svn path=/trunk/; revision=16168
2002-03-14 21:50:06 +00:00
4f298eab9e Made this return a boolean that returns whether the ETableSearch used the
2002-03-14  Christopher James Lahey  <clahey@ximian.com>

	* e-table-search.c, e-table-search.h (e_table_search_backspace):
	Made this return a boolean that returns whether the ETableSearch
	used the backspace at all.

	* e-table.c (group_key_press), e-tree.c (item_key_press): Used the
	new return value from e_table_search_backspace.

svn path=/trunk/; revision=16166
2002-03-14 20:40:21 +00:00
87c61411fa Don't search if any modifier but SHIFT or LOCK is pressed.
* e-tree.c (item_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.

* e-table.c (group_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.

svn path=/trunk/; revision=16161
2002-03-14 19:18:39 +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
6db2753145 Added selected_column, focused_column, and unselected_column.
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-pixbuf.c, e-cell-pixbuf.h (pixbuf_draw): Added
	selected_column, focused_column, and unselected_column.

svn path=/trunk/; revision=16149
2002-03-13 22:10:23 +00:00
84d68e4955 Added this function.
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-table-search.c, e-table-search.h (e_table_search_backspace):
	Added this function.

	* e-table.c, e-tree.c: Call the new function on backspace.

svn path=/trunk/; revision=16145
2002-03-13 20:51:44 +00:00
f474b77377 Clean up comment.
svn path=/trunk/; revision=16142
2002-03-13 17:09:59 +00:00
abd6567ea0 Replaced e_marshal_BOOL__STRING with this since the function it was used
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c, gal/util/e-util.h
	(e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with
	this since the function it was used for has been modified.

From gal/e-table/ChangeLog:

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

	* e-table-extras.c (e_string_search): Check for a NULL haystack
	here.

	* e-table-search.c, e-table-search.h: Added a parameter to the
	search signal here to pass in flags.  Specifically, added the
	E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag.  Improved the search
	behavior here.

	* e-table.c, e-tree.c: Handle the new signature for the search
	signal here.

svn path=/trunk/; revision=16139
2002-03-13 07:10:22 +00:00
e03e086323 Added ETableSearch support.
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c: Added ETableSearch support.

svn path=/trunk/; revision=16138
2002-03-13 06:02:36 +00:00
5020c3bd9a Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a column
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c, e-table-memory-store.h: Added support
	for E_TABLE_MEMORY_STORE_OBJECT which represents a column storing
	a GtkObject.

svn path=/trunk/; revision=16132
2002-03-12 22:14:56 +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
d882e4e420 Give the correct height to the subcells instead of overlapping them.
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-vbox.c (ecv_draw): Give the correct height to the
	subcells instead of overlapping them.

	* e-table-header.c, e-table-header.h (e_table_header_move,
	eth_calc_widths): Emit the dimension_changed signal with the width
	of the header.

	* e-table-memory-store.c (duplicate_value, etms_free_value):
	Handle NULL pixbufs here.

	* e-table.c, e-table.h: Connect to the dimension_changed signal
	and call set_header_width.  Did a bit of refactoring here.

svn path=/trunk/; revision=16128
2002-03-12 21:24:34 +00:00
fd4ffbd38c Added e-table-search.lo.
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo.

	* gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING):
	Added this marshal function.

From gal/e-table/ChangeLog:

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

	* Makefile.am (libetable_la_SOURCES): Added e-table-search.c.
	(libetableinclude_HEADERS): Added e-table-search.h.

	* e-cell.h: Added ETableSearchFun here.

	* e-table-col.h: Added search here.

	* e-table-column-specification.c, e-table-column-specification.h:
	Added search here.

	* e-table-extras.c, e-table-extras.h (e_table_extras_add_search):
	Added ETableSearchFuncs here.

	* e-table-memory-store.c (e_table_memory_store_insert,
	e_table_memory_store_insert_adopt): Handle row == -1 here.

	* e-table-search.c, e-table-search.h: New class to reusably handle
	the semantics of searching for a string.

	* e-table-simple.c, e-table-simple.h: Added a bunch of simple
	functions here for if your table is all strings.  Should be
	reusable.

	* e-table-utils.c (et_col_spec_to_col): Added support for searches
	here.

	* e-table.c, e-table.h: Added an ETableSearch here.

svn path=/trunk/; revision=16119
2002-03-12 14:30:53 +00:00
3994c3b9c0 Proxy request_collapse signals.
2002-03-11  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (ets_proxy_node_request_collapse): Proxy
	request_collapse signals.

svn path=/trunk/; revision=16116
2002-03-12 00:52:06 +00:00
abed3a2d41 Added e-cell-vbox.lo.
2002-03-11  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added e-cell-vbox.lo.

From gal/e-table/ChangeLog:

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

	* Makefile.am (libetable_la_SOURCES): Added e-cell-vbox.c.
	(libetableinclude_HEADERS): Added e-cell-vbox.h.

	* e-cell-vbox.c, e-cell-vbox.h: New ECell to take multiple other
	ECells and use them all in a vertical series.

svn path=/trunk/; revision=16110
2002-03-11 23:10:02 +00:00
732d4c40a0 Added this function to take a ... list of column data. The expected number
2002-03-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c (e_table_memory_store_insert_list): Added
	this function to take a ... list of column data.  The expected
	number of parameters in the ... is the number of columns in the
	table.

svn path=/trunk/; revision=16109
2002-03-11 23:05:34 +00:00
e94b86c4b5 Added a pixbuf column type.
2002-03-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c, e-table-memory-store.h
	(E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type.

	* e-table-specification.c, e-table-specification.h: Added
	horizontal-resize attribute.

	* e-table.c, e-table.h: Handle horizontal_resize.

svn path=/trunk/; revision=16108
2002-03-11 22:51:50 +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
9c939e7a99 Handle a collapse request by marking all descendents of that node as
2002-03-08  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-memory.c (etmm_node_request_collapse): Handle a collapse
	request by marking all descendents of that node as needing their
	children recomputed.

	* e-tree-model.c, e-tree-model.h
	(e_tree_model_node_request_collapse): Added this signal to request
	that the view of your tree collapse this node.

	* e-tree-selection-model.c (etsm_selected_count): Pass the root of
	the sorted model here instead of the root of the base model.

	* e-tree-table-adapter.c (etta_proxy_node_request_collapse):
	Handle a collapse request by collapsing the node in the tree.

svn path=/trunk/; revision=15990
2002-03-08 21:45:03 +00:00
8e3b9f653a Added a fill_in_children signal.
2002-03-08  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-memory.c, e-tree-memory.h (check_children): Added a
	fill_in_children signal.

svn path=/trunk/; revision=15988
2002-03-08 06:55:26 +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
f6f3d8d543 Re-disable tooltips since they're (still) fantastically obnoxious with
* e-table-item.c: Re-disable tooltips since they're (still)
	fantastically obnoxious with focus-follows-mouse. (OKed by Ettore).

svn path=/trunk/; revision=15927
2002-03-05 21:13:00 +00:00
09ab532c39 only call the cell's print method if it has one. Avoids crashing for
2002-03-04  Damon Chaplin  <damon@ximian.com>

	* e-cell.c (e_cell_print): only call the cell's print method if it has
	one. Avoids crashing for unimplemented print methods.

svn path=/trunk/; revision=15903
2002-03-04 19:30:31 +00:00
2b466c4caf If tab is hit and the cursor is still in the entry, move down into the
2002-02-28  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-completion-view.c
	(e_completion_view_key_press_handler): If tab is hit and the
	cursor is still in the entry, move down into the entry otherwise
	unbrowse.

svn path=/trunk/; revision=15878
2002-02-28 22:42:05 +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