Commit Graph

27 Commits

Author SHA1 Message Date
351cb225cb Remove e_notice. (Moved to evolution.)
* gal/widgets/e-gui-utils.c: Remove e_notice. (Moved to
	evolution.)

svn path=/trunk/; revision=20496
2003-03-25 15:47:13 +00:00
75b60575be (e_auto_kill_popup_menu_on_selection_done): Rename from
e_auto_kill_popup_menu_on_hide().  Connect to "deactivate" instead
of destroy.
(e_popup_menu): Use e_auto_kill_popup_menu_on_selection_done()
instead of e_auto_kill_popup_menu_on_hide().

svn path=/trunk/; revision=19833
2003-02-06 23:22:50 +00:00
39d54f9d91 Just use gtk_widget_destroy as the G_CALLBACK function.
2003-02-01  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/widgets/e-gui-utils.c (e_auto_kill_popup_menu_on_hide): Just
	use gtk_widget_destroy as the G_CALLBACK function.

svn path=/trunk/; revision=19703
2003-02-02 03:01:32 +00:00
2ca00daea4 gtk_widget_destroy the menu rather than g_object_unref'ing it.
2003-01-31  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/widgets/e-gui-utils.c (kill_popup_menu): gtk_widget_destroy
	the menu rather than g_object_unref'ing it.

svn path=/trunk/; revision=19696
2003-01-31 20:55:41 +00:00
e867ad711e Fix destroy.
svn path=/trunk/; revision=19505
2003-01-17 22:18:39 +00:00
f4a7080e82 (e_notice): Use gtk_dialog_run()
instead of gtk_widget_show() so we return only after the user
acknowledges the error.

svn path=/trunk/; revision=19504
2003-01-17 21:57:08 +00:00
0ac49c9334 Add include of gnome-dialog.h
2002-11-27  Not Zed  <NotZed@Ximian.com>

        * e-charset-picker.c: Add include of gnome-dialog.h

        * *.[ch]: ran fix.sh script over everything.

svn path=/trunk/; revision=18979
2002-12-02 04:32:10 +00:00
56f74fbb19 we need to destroy the dialog after we've run it, because run doesn't do
2002-11-18  Not Zed  <NotZed@Ximian.com>

        * gal/widgets/e-gui-utils.c (e_notice): we need to destroy the
        dialog after we've run it, because run doesn't do it for us like
        gnome-dialog did.

svn path=/trunk/; revision=18816
2002-11-18 07:52:45 +00:00
0e8f42c136 convert this to wrap around GtkMessageDialog.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-gui-utils.c (e_notice): convert this to wrap
	around GtkMessageDialog.

	* gal/widgets/e-categories-master-list-dialog.c (dialog_response):
	gnome_dialog_close -> gtk_widget_destroy.

svn path=/trunk/; revision=18814
2002-11-17 08:00:40 +00:00
183eb85406 lots of GObject work.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/color-group.c: lots of GObject work.

	* gal/widgets/color-palette.[ch]: same.

	* gal/widgets/e-canvas-backgruond.[ch]: same.

	* gal/widgets/e-canvas-vbox.[ch]: same.

	* gal/widgets/e-canvas.[ch]: same.

	* e-categories-master-list-array.[ch]: same.

	* e-categories-master-list-combo.[ch]: same.

	* e-categories-master-list-dialog-model.[ch]: same.

	* e-categories-master-list-dialog.[ch]: same.

	* e-categories-master-list-option-menu.[ch]: same.

	* e-categories-master-list.[ch]: same.

	* e-categories.[ch]: same.

	* e-file-selection.[ch]: same.

	* e-gui-utils.c: same.

	* e-hscrollbar.[ch]: same.

	* e-option-menu.[ch]: same.

	* e-popup-menu.[ch]: same.

	* e-printable.[ch]: same.

	* e-reflow-sorted.[ch]: same.

	* e-reflow.[ch]: same.

	* e-scroll-frame.[ch]: same.

	* e-vscrollbar.[ch]: same.

	* gtk-combo-box.[ch]: same.

	* gtk-combo-stack.[ch]: same.

	* gtk-combo-text.[ch]: same.

	* test-e-font.c: same.

	* widget-color-combo.[ch]: same.

	* widget-pixmap-combo.[ch]: same.

svn path=/trunk/; revision=18798
2002-11-16 23:42:18 +00:00
18fc8bd2e8 Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.
* gal/widgets/color-palette.c: Replace gtk_object_(un)?ref() with
g_object_(un)?ref().
* gal/widgets/e-canvas-utils.c: Likewise.
* gal/widgets/e-canvas.c: Likewise.
* gal/widgets/e-categories-master-list-combo.c: Likewise.
* gal/widgets/e-categories-master-list-dialog-model.c: Likewise.
* gal/widgets/e-categories-master-list-dialog.c: Likewise.
* gal/widgets/e-categories-master-list-option-menu.c: Likewise.
* gal/widgets/e-categories.c: Likewise.
* gal/widgets/e-gui-utils.c: Likewise.
* gal/widgets/e-popup-menu.c: Likewise.
* gal/widgets/e-reflow-sorted.c: Likewise.
* gal/widgets/e-reflow.c: Likewise.
* gal/widgets/e-selection-model.c: Likewise.
* gal/widgets/gtk-combo-box.c: Likewise.
* gal/widgets/widget-pixmap-combo.c: Likewise.

svn path=/trunk/; revision=18705
2002-11-11 19:21:17 +00:00
613453b109 merging the gal-2 branch back to the trunk.
merging the gal-2 branch back to the trunk.

svn path=/trunk/; revision=18471
2002-10-31 21:30:57 +00:00
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
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
dc8927136a Changed the license announcement at the top of these files.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h,
	gal/e-paned/e-paned.c, gal/e-paned/e-paned.h,
	gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h,
	gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h,
	gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c,
	gal/e-text/e-completion-view.h, gal/e-text/e-completion.c,
	gal/e-text/e-completion.h, gal/e-text/e-entry-test.c,
	gal/e-text/e-entry.c, gal/e-text/e-entry.h,
	gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h,
	gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h,
	gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c,
	gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c,
	gal/e-text/e-text-model.h, gal/e-text/e-text.c,
	gal/e-text/e-text.h, gal/util/e-bit-array.c,
	gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h,
	gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c,
	gal/util/e-sorter-array.h, gal/util/e-sorter.c,
	gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c,
	gal/util/e-text-event-processor-emacs-like.h,
	gal/util/e-text-event-processor-types.h,
	gal/util/e-text-event-processor.c,
	gal/util/e-text-event-processor.h, gal/util/e-util.c,
	gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h,
	gal/widgets/color-group.c, gal/widgets/color-group.h,
	gal/widgets/color-palette.c, gal/widgets/color-palette.h,
	gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h,
	gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h,
	gal/widgets/e-canvas.c, gal/widgets/e-canvas.h,
	gal/widgets/e-categories-master-list-array.c,
	gal/widgets/e-categories-master-list-array.h,
	gal/widgets/e-categories-master-list-combo.c,
	gal/widgets/e-categories-master-list-combo.h,
	gal/widgets/e-categories-master-list-dialog-model.c,
	gal/widgets/e-categories-master-list-dialog-model.h,
	gal/widgets/e-categories-master-list-dialog.c,
	gal/widgets/e-categories-master-list-dialog.h,
	gal/widgets/e-categories-master-list.c,
	gal/widgets/e-categories-master-list.h,
	gal/widgets/e-categories.c, gal/widgets/e-categories.h,
	gal/widgets/e-colors.c, gal/widgets/e-colors.h,
	gal/widgets/e-cursors.c, gal/widgets/e-cursors.h,
	gal/widgets/e-font.c, gal/widgets/e-font.h,
	gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h,
	gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h,
	gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h,
	gal/widgets/e-printable.c, gal/widgets/e-printable.h,
	gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h,
	gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h,
	gal/widgets/e-reflow.c, gal/widgets/e-reflow.h,
	gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h,
	gal/widgets/e-selection-model-array.c,
	gal/widgets/e-selection-model-array.h,
	gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model-simple.h,
	gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h,
	gal/widgets/e-unicode.c, gal/widgets/e-unicode.h,
	gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h,
	gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h,
	gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h,
	gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h,
	gal/widgets/test-color.c, gal/widgets/test-e-font.c,
	gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c,
	gal/widgets/widget-color-combo.c,
	gal/widgets/widget-color-combo.h,
	gal/widgets/widget-pixmap-combo.c,
	gal/widgets/widget-pixmap-combo.h,
	src/e-table/e-table-sorted-variable.c, tests/test-define-views.c,
	tests/test-shortcut-bar.c, tests/test-table-1.c,
	tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c,
	tests/test-unicode.c: Changed the license announcement at the top
	of these files.

svn path=/trunk/; revision=14158
2001-10-26 18:33:33 +00:00
c59caf5159 Changed some comments here.
2001-04-16  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Changed some comments here.

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-categories-master-list-array.lo and
	widgets/e-categories-master-list.lo.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	widgets/e-categories-master-list-array.c and
	widgets/e-categories-master-list.c.
	(libwidgetsinclude_HEADERS): Added
	widgets/e-categories-master-list-array.h and
	widgets/e-categories-master-list.h.

	* gal/widgets/e-categories-master-list-array.c,
	gal/widgets/e-categories-master-list-array.h,
	gal/widgets/e-categories-master-list.c,
	gal/widgets/e-categories-master-list.h: Added
	ECategoriesMasterList and a simple local implementation of it.

	* gal/widgets/e-categories.c, gal/widgets/e-categories.h:
	Privatized this.  Switched to using ECategoriesMasterList.
	(table_right_click): Added a right click menu to add and remove
	things to and from the global category list.

	* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h: Fixed some
	comments and formatting.

	* gal/widgets/e-popup-menu.h (E_POPUP_SEPARATOR,
	E_POPUP_TERMINATOR): Added these #defines.

svn path=/trunk/; revision=9392
2001-04-16 22:39:58 +00:00
8940bcc90c Fix headers. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Same. Ditto. Same
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* gal/e-text/e-entry.c: Fix headers.
	* gal/e-text/e-table-text-model.[ch]: Ditto.
	* gal/e-text/e-table-text-model-uri.c: Ditto.
	* gal/e-text/e-text-model-uri.[ch]: Ditto.
	* gal/e-text/e-text-model.[ch]: Ditto.
	* gal/e-text/e-text.[ch]: Ditto.
	* gal/util/e-text-event-processor-emacs-like.[ch]: Ditto.
	* gal/util/e-text-event-processor.[ch]: Same.
	* gal/util/e-util.h: Ditto.
	* gal/util/e-xml-utils.[ch]: Same here.
	* gal/widgets/color-group.[ch]: Ditto.
	* gal/widgets/color-palette.[ch]: Ditto.
	* gal/widgets/e-canvas-utils.h: Ditto.
	* gal/widgets/e-canvas-vbox.[ch]: Ditto.
	* gal/widgets/e-canvas.[ch]: Ditto.
	* gal/widgets/e-categories.h: Ditto.
	* gal/widgets/e-colors.[ch]: Ditto.
	* gal/widgets/e-cursors.c: Ditto.
	* gal/widgets/e-gui-utils.c: Ditto
	* gal/widgets/e-popup-menu.[ch]: Same.
	* gal/widgets/e-reflow-sorted.c: Same.
	* gal/widgets/e-reflow.[ch]: Same.
	* gal/widgets/e-selection-model.c: Same
	* gal/widgets/e-unicode.[ch]: Same.
	* gal/widgets/gtk-combo-stack.[ch]: Same.
	* gal/widgets/widget-color-combo.[ch]: Same.
	* gal/widgets/widget-pixmap-combo.[ch]: Same.

svn path=/trunk/; revision=9168
2001-04-04 07:33:09 +00:00
51e975bf37 Make this more robust: do not assume that the GdkEvent will be either a
2001-02-27  Miguel de Icaza  <miguel@ximian.com>

	* gal/widgets/e-gui-utils.c (e_popup_menu): Make this more robust:
	do not assume that the GdkEvent will be either a GdkEventButton of
	some sort or a GdkEventKey: deal gracefully with other possible

svn path=/trunk/; revision=8423
2001-02-28 04:07:54 +00:00
7ed4e6f182 s/GdkEventButton/GdkEvent/
* gal/widgets/e-popup-menu.c (e_popup_menu_run):
	s/GdkEventButton/GdkEvent/

	* gal/widgets/e-gui-utils.c (e_popup_menu): ditto, and deal with
	key events as well

svn path=/trunk/; revision=7660
2001-01-20 00:19:18 +00:00
15349adfcc Added e_container_focus_nth_entry.
2000-10-12  Christopher James Lahey  <clahey@helixcode.com>

	* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h: Added
	e_container_focus_nth_entry.

svn path=/trunk/; revision=5893
2000-10-12 22:47:14 +00:00
a3de274f7c Moved files, fixed header files and paths - Federico
svn path=/trunk/; revision=5513
2000-09-19 22:57:58 +00:00
9b6c32ad66 Remove e_create_image_widget function
2000-09-17  JP Rosevear  <jpr@helixcode.com>

	* src/widgets/e-gui-utils.c: Remove e_create_image_widget function

	* src/widgets/e-canvas-vbox.c: Fix headers

svn path=/trunk/; revision=5479
2000-09-17 19:36:42 +00:00
5b1da3b439 Added e_container_change_tab_order.
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
2000-08-07 20:20:37 +00:00
f62df6f7d7 Added e_container_foreach_leaf.
2000-05-19  Christopher James Lahey  <clahey@helixcode.com>

	* e-gui-utils.c, e-gui-utils.h: Added e_container_foreach_leaf.

svn path=/trunk/; revision=3130
2000-05-19 04:13:37 +00:00
4c08e67f41 Add imagesdir support.
2000-05-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Add imagesdir support.

	* e-gui-utils.c, e-gui-utils.h: Added e_create_image_widget for
	glade use.

svn path=/trunk/; revision=3120
2000-05-18 22:23:46 +00:00
d53eea370b Add the unicode libraries as well.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add
	the unicode libraries as well.

	* camel/camel-provider.c (camel_provider_register_as_module): Add
	error reporting here.  Desire to use Solaris increases.  Hair loss
	in the last two hours: 5,400.

	* camel/providers/mbox/camel-mbox-provider.c
	(camel_mbox_get_provider): Renamed function.

	* camel/camel.h: All include files use camel/ now here.

	* camel/providers/mbox/Makefile.am: Drop all the dynamism from
	Camel, and make this a standard library.

	* configure.in: set the UNICODE_LIBS variable here.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* folder-browser.c (folder_browser_load_folder): New routine,
	loads a camel folder.
	(folder_browser_set_uri): redo.

	* session.c: new file.  Implements SessionStores to keep track of
	a Session/Store tuple.

svn path=/trunk/; revision=1783
2000-02-15 17:28:34 +00:00
dcc0e7dcde More missing files
svn path=/trunk/; revision=1541
2000-01-07 00:30:34 +00:00