Commit Graph

719 Commits

Author SHA1 Message Date
66102bba0d Use g_ascii_strcasecmp(). (strcase_hash): Use g_ascii_tolower().
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* gal-combo-text.c (strcase_equal): Use g_ascii_strcasecmp().
	(strcase_hash): Use g_ascii_tolower().

svn path=/trunk/; revision=30868
2005-12-18 10:35:26 +00:00
fc17a49138 Use gstdio wrappers. Construct glade file name at run-time.
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* e-send-options.c: Use gstdio wrappers. Construct glade file name
	at run-time.

svn path=/trunk/; revision=30866
2005-12-18 09:48:25 +00:00
534410e7cd Construct map file name at run-time.
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* e-map.c: Construct map file name at run-time.

svn path=/trunk/; revision=30865
2005-12-18 09:47:33 +00:00
0ff898adb4 Use gstdio wrappers. Construct glade file name at run-time.
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* e-attachment.c: Use gstdio wrappers. Construct glade file name
	at run-time.

svn path=/trunk/; revision=30864
2005-12-18 09:46:32 +00:00
480464c381 Link with bootstrap libs on Win32. Use EVOLUTION_IMAGES instead of MAP_DIR
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Link with bootstrap libs on Win32. Use
	EVOLUTION_IMAGES instead of MAP_DIR for uniformity. Use
	EVOLUTION_MAIL_CFLAGS instead of E_WIDGETS_CFLAGS. Use privsolib
	instead of privlib (no difference on Unix). Use -no-undefined on
	Win32. Link with all required libraries.

svn path=/trunk/; revision=30863
2005-12-18 09:45:15 +00:00
32f88d560f Added a visual cue to search bar to indicate search filter active.
2005-12-15  Srinivasa Ragavan <sragavan@novell.com>

	* Added a visual cue to search bar to indicate search filter
	active.

svn path=/trunk/; revision=30781
2005-12-15 08:27:34 +00:00
7360a3396c Patch from Irene Huang <Irene.Huang@sun.com>.
*  Remove files that have an identical counterpart in
        libedataserver.
	*  Replace the use of such files with appropriate counterpart path.

svn path=/trunk/; revision=30758
2005-12-12 16:24:21 +00:00
c0d9d72f1b e-dateedit.c Include e-time-utils.h from libedataserver instead of using
2005-11-24  Tor Lillqvist  <tml@novell.com>

	* e-dateedit.c
	* e-cell-date-edit.c: Include e-time-utils.h from libedataserver
	instead of using evolution's copy which is going away.

svn path=/trunk/; revision=30657
2005-11-24 14:23:23 +00:00
77cf09208a Commiting Johnny Jacob's patch on EDateEdit
2005-11-24 	Srinivasa Ragavan <sragavan@novell.com>

	* Commiting Johnny Jacob's patch on EDateEdit

svn path=/trunk/; revision=30652
2005-11-24 06:24:01 +00:00
577b578fd4 Fix a division-by-zero error crasher. (Update: when in doubt, protect with
2005-11-17  Harish Krishnaswamy  <kharish@novell.com>

* e-attachment-bar.c: (update), (e_attachment_bar_set_width):
Fix a division-by-zero error crasher.
(Update: when in doubt, protect with parenthesis :-))

svn path=/trunk/; revision=30631
2005-11-17 04:41:41 +00:00
ec7081a5db Fix a division-by-zero error crasher
svn path=/trunk/; revision=30630
2005-11-17 04:29:31 +00:00
201ef5f000 Added a function to get all attachments of the attachment bar for plugin
2005-11-15  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar.[ch] (e_attachment_bar_get_all_attachments): Added
	a function to get all attachments of the attachment bar for plugin
	purposes.

svn path=/trunk/; revision=30620
2005-11-15 17:08:51 +00:00
faddd9d776 Adjusted the size of date edit widgets.
svn path=/trunk/; revision=30606
2005-11-14 14:45:42 +00:00
d47593f8d0 Set a size for the date edit widgets, so that it doesnt expand too much.
2005-11-14  Srinivasa Ragavan <sragavan@novell.com>

	* e-dateedit.c (create_children): Set a size for the date
	edit widgets, so that it doesnt expand too much.

svn path=/trunk/; revision=30604
2005-11-14 13:02:01 +00:00
4c25c6e737 gtk_pixbuf_add_alpha returns a newly allocated pixbuf, so, free the
* e-attachment-bar.c (update): gtk_pixbuf_add_alpha returns a
        newly allocated pixbuf, so, free the original one.

svn path=/trunk/; revision=30487
2005-10-04 11:47:27 +00:00
31485fd411 Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* e-charset-picker.c (e_charset_picker_new,
	e_charset_picker_bonobo_ui_populate): Use g_ascii_strcasecmp()
	instead of strcasecmp(). We are comparing to strings known to be
	plain ASCII, so just casefolding ASCII is enough. Also better for
	portability.

svn path=/trunk/; revision=30406
2005-09-28 11:35:31 +00:00
94584bf0dd Start search on category, when the category is selected.
Fixes #263269.

svn path=/trunk/; revision=30361
2005-09-20 09:34:12 +00:00
d851c3525b Fix for bug #314136. Shows filename in the remote download in composer.
2005-08-24  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment.c (e_attachment_build_remote_file):
	Fix for bug #314136. Shows filename in the remote download in
	composer.

	* e-attachment-bar.c (update): Better space management.
	Kills one extra row that happens some times.
	(e_attachment_bar_set_width): Just adjusts the size instead of
	rebuild of the bar, which is the cause for the freeze. Fixes the
	bug #313799. Remove the function e_attachment_bar_refresh

	* e-attachment-bar.h: Remove the function e_attachment_bar_refresh

svn path=/trunk/; revision=30234
2005-08-24 04:22:14 +00:00
24917fc712 cast warning away.
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * e-send-options.c (get_widgets): cast warning away.

        * e-calendar-item.c (e_calendar_item_realize): remove some unused
        vars.

svn path=/trunk/; revision=30219
2005-08-24 03:09:00 +00:00
e967f26d1a Resolve #309074
2005-08-21  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* Resolve #309074

svn path=/trunk/; revision=30179
2005-08-21 18:10:23 +00:00
cb37c563af Use camel_url to construct url (eab_icon_clicked_cb)
2005-08-17  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar.c
	eab_drag_data_get: Use camel_url to construct url
	(eab_icon_clicked_cb) (e_attachment_bar_new):
	Fixed part of bug #312224. It handles double click on a attachment
	icon and calls gnome_url_show.

	* e-attachment.[ch] (finalise) (init): Add a new member to preserve
	the stored location
	(e_attachment_new)(e_attachment_build_remote_file): Camel_url to
	construct urls

svn path=/trunk/; revision=30160
2005-08-19 05:30:15 +00:00
7966598a85 Fixed few warnings
2005-08-16  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed
	few warnings

svn path=/trunk/; revision=30128
2005-08-16 05:26:17 +00:00
eb491088f8 Fix for bug #312545
2005-08-16  Srinivasa Ragavan <sragavan@novell.com>

	* mail/em-format-html-display.c:
	* widgets/misc/e-attachment*.c: Fix for bug #312545

svn path=/trunk/; revision=30126
2005-08-16 03:47:55 +00:00
0df3a787c4 revert dobey's last patch here, it completely broke customisation of the
2005-08-03  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): revert dobey's last patch here, it
        completely broke customisation of the menu.

svn path=/trunk/; revision=30116
2005-08-15 03:15:06 +00:00
d3346e28f7 Added a function to force refresh/resize the icons.
2005-08-11  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar.[ch] (e_attachment_bar_refresh): Added a function
	to force refresh/resize the icons.

svn path=/trunk/; revision=30082
2005-08-11 04:24:17 +00:00
1b28d2f6d5 Add a11y name to the left table of config dialog. Add name to the left
2005-08-03  Li Yuan  <li.yuan@sun.com>

	* menus/gal-view-new-dialog.glade:
	Add a11y name to the left table of config dialog.
	* misc/e-multi-config-dialog.c:
	Add name to the left table of preference dialog.
	* table/e-table-config.c: (e_table_proxy_etable_shown_new),
	(e_table_proxy_etable_available_new):
	Add a11y name to "Show Fields" table and "Available Fields" table.

svn path=/trunk/; revision=29980
2005-08-04 04:56:54 +00:00
54f8da4d57 escape the "%" character correctly.
* e-attachment-bar.c: (update_remote_file): escape the "%" character correctly.

svn path=/trunk/; revision=29959
2005-08-03 04:13:29 +00:00
0725cd0609 added bug id 310488 to changelog
svn path=/trunk/; revision=29933
2005-07-29 06:48:20 +00:00
484ab15780 Void function should not return value.
2005-07-28  Mengjie Yu  <meng-jie.yu@sun.com>

        * misc/e-attachment-bar.c: (update_remote_file):
        Void function should not return value.

        Fixes #311837

svn path=/trunk/; revision=29924
2005-07-29 04:39:25 +00:00
5fae902059 used ref instead of copying the entire mime part. Also commited
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>

        * e-attachment.c: (e_attachment_new_from_mime_part) used ref instead of
        copying the entire mime part. Also commited
	(2005-07-15  Diego Gonzalez    <diego@pemas.net>) patch

svn path=/trunk/; revision=29921
2005-07-29 04:05:17 +00:00
c40a953222 Added checks for the parameters.
2005-07-25  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar,c: (e_attachment_bar_remove_selected) (e_attachment_bar_edit_selected)
	(e_attachment_bar_get_attachment) (e_attachment_bar_get_parts)
	(e_attachment_bar_get_download_count) (e_attachment_bar_attach_remote_file): Added
	checks for the parameters.

svn path=/trunk/; revision=29874
2005-07-25 05:40:44 +00:00
7b0b66588b ESendOptionsDialogClass: has a member new virtual method for default
2005-07-20  Vivek Jain  <jvivek@novell.com>

	* e-send-options.h : ESendOptionsDialogClass: has a member new virtual
	method for default callback of "sod_response"
	* e-send-options.c : introduced a new signal "sod_response"
	captures the response for the child dialog and makes it available at the
	object level (useful for the external members invoking the dialog)

svn path=/trunk/; revision=29815
2005-07-20 11:59:53 +00:00
a4e4725d36 Cleaned up most of it. Added the DnD.
2005-07-20  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar.[ch]:(remove_attachment) (update) (e_attachment_bar_get_selector)
	(e_attachment_bar_get_attachment) (destroy) (init) (e_attachment_bar_new)
	(e_attachment_bar_add_attachment) (e_attachment_bar_attach_remote_file)
	Cleaned up most of it. Added the DnD.

	* e-attachment.[ch]: (real_changed) (class_init) (init) (e_attachment_new)
	(e_attachment_new_remote_file) (e_attachment_build_remote_file): Moved the
	remote download code from bar to here and few cleanups.

svn path=/trunk/; revision=29813
2005-07-20 11:17:42 +00:00
6454ebb3b7 Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS. Added e-attachment-bar.[ch]
2005-07-11 Srinivasa Ragavan <sragavan@novell.com>

	* configure.in: Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS.
	* Added e-attachment-bar.[ch] e-attachment.[ch] e-attachment.glade to
	directory structure and the Makefile.am

svn path=/trunk/; revision=29708
2005-07-11 08:44:02 +00:00
df07f02cae Added widgets in INCLUDES.
2005-06-23  Kaushal Kumar  <kakumar@novell.com>

        * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am,
        addressbook/gui/search/Makefile.am,
        plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES.

        Updated the include paths to use misc instead of widgets/misc.

svn path=/trunk/; revision=29574
2005-06-23 09:11:11 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
2005-06-17  Kaushal Kumar  <kakumar@novell.com>

        * Retired GAL from Head. The relevant files have moved inside
        evolution. Thanks to JP Rosevear for performing the cvs surgery. The
        files have been moved in the following order.

        evolution/e-util <- gal/gal/util
        evolution/a11y <-  gal/gal/a11y
        evolution/a11y/e-table <- gal/gal/a11y/e-table
        evolution/a11y/e-text <- gal/gal/a11y/e-text
        evolution/widgets/table <- gal/gal/e-table
        evolution/widgets/text <- gal/gal/e-text
        evolution/widgets/misc <- gal/gal/widgets
        evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
        evolution/widgets/menus <- gal/gal/menus

        Following is the summary of changes done to fix the build:-
        - New files added to cvs repository,
                - a11y/e-table/Makefile.am
                - a11y/e-text/Makefile.am
                - widgets/table/Makefile.am
                - widgets/text/Makefile.am
                - widgets/misc/pixmaps/Makefile.am
                - iconv-detect.h
                - iconv-detect.c
        - Updated configure.in.
        - Updated all the relevant Makefile.am files.
        - Updated the include paths to replace all gal references.
        - Updated the marshal list to suit gal files requirements.

svn path=/trunk/; revision=29522
2005-06-17 15:20:35 +00:00
2fbe8dce2d add relation to date_button.
2005-05-31  Li Yuan  <li.yuan@sun.com>

	* e-dateedit.c:(e_date_edit_update_date_entry):
	add relation to date_button.

	Fixes #302267

svn path=/trunk/; revision=29429
2005-05-31 10:10:45 +00:00
5e58353ddd move e-error.[ch] and e-system-errors.xml to e-util/. remove test-error.
2005-05-16  Not Zed  <NotZed@Ximian.com>

        * Makefile.am: move e-error.[ch] and e-system-errors.xml to
        e-util/. remove test-error.

svn path=/trunk/; revision=29359
2005-05-16 06:09:50 +00:00
d88e794ded Add profiler so that it gets disted properly
2005-05-13  Rodney Dawes  <dobey@novell.com>

	* plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets
	disted properly

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* Makefile.am: Add new em-folder-utils.[ch] abstraction

	* em-folder-browser.c: Update for new menu layout
	Add new methods to handle the actions that were previously only
	available from the context menu when right-clicking on a folder

	* em-folder-selector.c (emfs_response): Just call emfu_folder_create
	if the user wants to create a new folder in the selector dialog
	(em_folder_selector_get_selected_path): Clean up the code to fix a
	couple potential crashes

	* em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or
	CamelFolderInfo object for the selected item in the tree
	Add a method to get a pointer to an EMFolderTreeModelStoreInfo object
	for the selected store in the tree
	Move folder operations out into em-folder-utils.[ch] so that they
	are abstracted from the tree and can be used by methods other than
	the internal context menu

	* em-folder-utils.[ch]: Move the folder operations code to here

	* em-folder-view.c: Update for the new menu layout
	Fix Mark as Read/Unread in the context menu to only show up in the list

	* mail-component.c (create_item): Just call emfu_folder_create here
	when the user requests to create a new folder from the New toolbar item

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-mailing-list-actions.xml: Update for the new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-plugin-manager.xml: Update for new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-save-attachments.xml: Update for new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* e-shell-window.c (setup_widgets): Update for the new menu layout by
	putting the "component" switching items under the "Tools" menu

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* *.xml: Update to the new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* e-filter-bar.[ch]: Update for the new menu layout

svn path=/trunk/; revision=29354
2005-05-13 21:29:28 +00:00
29bb024c1a ChangeLog
2005-05-12  Shreyas Srinivasan	<sshreyas@novell.com>

	* ChangeLog

svn path=/trunk/; revision=29341
2005-05-12 12:59:43 +00:00
6262536b11 Fixed #272005
2005-05-12  Shreyas Srinivasan	<sshreyas@novell.com>

	* e-send-options.c : Fixed #272005

svn path=/trunk/; revision=29340
2005-05-12 12:59:06 +00:00
0120f7fffd Fix the bug 303856. Enables OK button when arrow key used to change the
2005-05-12  Srinivasa Ragavan <sragavan@novell.com>
	* misc/e-dateedit.c: (on_time_entry_key_release),
	(create_children): Fix the bug 303856. Enables OK button
	when arrow key used to change the time in a appointment.

svn path=/trunk/; revision=29329
2005-05-12 05:42:18 +00:00
835ba64d0c Fixed a typo. #273095
2005-05-06  Sarfraaz Ahmed <asarfraaz@novell.com>

        * e-send-options.glade : Fixed a typo. #273095

svn path=/trunk/; revision=29294
2005-05-06 06:28:27 +00:00
b4a2742ea9 Fix for 273097
svn path=/trunk/; revision=29286
2005-05-06 05:14:48 +00:00
01babc63d8 Fixes 273096
svn path=/trunk/; revision=29283
2005-05-06 05:10:09 +00:00
21a815d86f Solaris gettext crashes on NULL input string. Fixes #260312. Patch
2005-05-06  Sarfraaz Ahmed <asarfraaz@novell.com>

        * misc/e-search-bar.c: (set_menu) Solaris gettext crashes on NULL
        input string. Fixes #260312. Patch submitted by
        Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>

svn path=/trunk/; revision=29282
2005-05-06 04:47:19 +00:00
2decafb544 Port to Windows, initial commit:
2005-04-29  Tor Lillqvist  <tml@novell.com>

	Port to Windows, initial commit:

	* configure.in: Check for Win32, define Automake conditional
	OS_WIN32. Check for regexec() perhaps in separate -lregex, define
	REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0
	>= 2.6) so that we can use the gstdio wrappers for full support of
	non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has
	ne special meaning.

	* gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency.

	* gal-zip.in: New file, used to build zipfile format distribution
	of gal for Win32.

	* configure.in
	* Makefile.am: Add gal-zip(.in).

	* */Makefile.am
	* */*.c: Harmonize -I and #include conventions. (Of course, this
	hasn't anything to do with Windows porting as such, I just got
	carried away...) Use only -I$(top_srcdir). Use paths to gal
	headers staring with "gal", except for headers from the same
	directory as the .c file, which are included as such. Include all
	gal headers using doublequotes. Sort #includes and remove
	duplicates and obvious redundancies. Include config.h first
	without any HAVE_CONFIG_H, then system headers, then other GNOME
	lib headers, than gal's own headers. Just include gtk.h instead of
	separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h
	to use e_gettext() consistently.

	* gal/Makefile.am: Use -no-undefined on Win32 so that libtool
	agrees to build a shared library. Because of the bidirectional
	dependency between libgal and libgal-a11y we can build libgal-a11y
	sanely as a shared library on Win32, so we don't install any
	separate libgal-a11y at all. So, on Win32, link the stuff that
	goes into libgal-a11y also into libgal. Link with REGEX_LIBS.

	* gal/a11y/Makefile.am: See above. Just build a dummy static
	libgal-a11y on Win32 (can't convince Automake not to build the
	library at all on one platform using Automake ifdef,
	apparently). Then (this is a gross hack) explicitly remove the
	library after installation in the install-data-local rule.

	* gal/e-table/Makefile.am
	* gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to
	GAL_GLADEDIR for consistency.

	* gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C
	library, but its localtime() *is* thread-safe.

	* gal/e-table/e-cell-text.c
	* gal/e-table/e-cell-tree.c
	* gal/e-table/e-cell-vbox.c
	* gal/e-text/e-text.c
	* gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h.

	* gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib
	macro None (whose value is zero), use the corresponding
	zero-valued enums from the appropriate GDK type.

	* gal/e-table/e-table-config.c
	* gal/e-table/e-table-field-chooser.c
	* gal/menus/gal-define-views-dialog.c
	* gal/menus/gal-view-instance-save-as-dialog.c
	* gal/menus/gal-view-new-dialog.c
	* gal/widgets/e-categories-master-list-array.c
	* gal/widgets/e-categories-master-list-dialog.c
	* gal/widgets/e-categories.c: Use g_build_filename() to construct
	pathnames at run-time instead of compile-time. On Windows the
	macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in
	order to support installing in a freely chosen location.

	* gal/e-table/e-table-item.c
	* gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use
	GDK_GRAB_SUCCESS (which has the same value).

	* gal/e-table/e-table-specification.c (e_table_specification_load_from_file)
	* gal/e-table/e-table.c (e_table_load_specification)
	* gal/e-table/e-tree-table-adapter.c (open_file)
	* gal/menus/gal-view-instance.c (load_current_view)
	* gal/menus/gal-view-instance.c (load_current_view): On Win32,
	convert filename to the locale character set before passing to
	xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio
	wrappers.

	* gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define
	GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for
	e-win32-reloc.c. Include e-win32-reloc.c on Win32.

	* gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on
	Windows.

	* gal/util/e-util.c
	* gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable
	mkstemp(). Use GLib pathname manipulation functions. Use gstdio
	wrappers.

	* gal/util/e-util-private.h: New file. Contains just Win32 bits
	for now that redefine the directory names from the Makefile as
	functions calls.

	* gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain()
	and functions to support freely chosen installation location on
	Windows.

	* gal/util/e-xml-utils.c: No fsync() in the Microsoft C library.

	* gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for
	consistency with the sibling Makefile.am files.

	* gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use
	GDK_GRAB_ALREADY_GRABBED.

svn path=/trunk/; revision=29249
2005-04-29 14:18:18 +00:00
ed13004c60 we should not do any layout adjustment if the item doesn't exist.
2005-04-28  Mengjie Yu  <meng-jie.yu@sun.com>

        * gal/widgets/e-reflow.c: (do_adjustment):
        we should not do any layout adjustment if the item doesn't exist.

        Fixes #302275

svn path=/trunk/; revision=29248
2005-04-29 08:09:55 +00:00
6c77af3cf2 add a signal "style_set" to support theme. ditto.
2005-04-28  Li Yuan  <li.yuan@sun.com>

	* gal/widgets/e-canvas-background.c: (ecb_style_set),
	(ecb_class_init):add a signal "style_set" to support theme.
	* gal/widgets/e-canvas-background.h:
	ditto.

	Fixes #301888

svn path=/trunk/; revision=29235
2005-04-28 08:09:53 +00:00
f4a4681685 use widget->style instead of hard code colors.
2005-04-28  Li Yuan  <li.yuan@sun.com>

	* misc/e-calendar-item.c: (e_calendar_item_realize),
	(e_calendar_item_set_selection_if_emission),
	(e_calendar_item_style_set):
	use widget->style instead of hard code colors.
	* misc/e-calendar-item.h:
	* misc/e-calendar.c: (e_calendar_style_set):
	call e_calendar_item_style_set when style changes.

	Fixes #6767.

svn path=/trunk/; revision=29234
2005-04-28 08:03:47 +00:00