Commit Graph

121 Commits

Author SHA1 Message Date
aee2630d06 Add preconditions. Make sure garbage or NULL data doesn't get used.
2004-06-22  Hans Petter Jansson  <hpj@ximian.com>

	* misc/e-source-selector.c (e_source_selector_peek_primary_selection):
	Add preconditions. Make sure garbage or NULL data doesn't get used.

svn path=/trunk/; revision=26454
2004-06-22 19:12:13 +00:00
229b9765d3 (pixbuf_cell_data_func): fix the appearance a little.
svn path=/trunk/; revision=26316
2004-06-11 18:20:45 +00:00
a27609a6b3 (pixbuf_cell_data_func): clean up warnings. (double bad larry).
svn path=/trunk/; revision=26315
2004-06-11 18:07:54 +00:00
a5cbaf1e09 (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).
svn path=/trunk/; revision=26314
2004-06-11 18:06:25 +00:00
ef03909b15 make the source selector use a colock block instead of setting the
2004-06-11  Larry Ewing  <lewing@ximian.com>

	* misc/e-source-selector.c: make the source selector use a colock
	block instead of setting the foreground to indicate the source
	color.

svn path=/trunk/; revision=26313
2004-06-11 18:01:25 +00:00
cbe504718b Use the activate signal, instead of changed, for the combo box
2004-05-20  Rodney Dawes  <dobey@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct):
	Use the activate signal, instead of changed, for the combo box
	(on_map_motion): Set the text in the combo's entry when we mouse over
	one of the points on the map, as a preview for the timezone
	(on_map_leave): Reset the combo's entry to the timezone we started with
	when we leave the map

	Fixes #57122

svn path=/trunk/; revision=26020
2004-05-20 20:13:12 +00:00
24c56f1757 Set the border widths on the dialog's vbox and action area to be
2004-04-09  Rodney Dawes  <dobey@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.c
	(e_timezone_dialog_construct): Set the border widths on the dialog's
	vbox and action area to be HIG-complaint
	Get rid of the timezone preview widget in here
	Point the internal 'table' to the right widget
	(on_map_motion): Get rid of the extra-hacky code to set the preview
	widget's label to the timezone, now that that widget is gone
	(on_map_leave): Update the comment to not reference the preview
	widget that is now gone
	Get rid of the code to set the preview widget's label to empty string
	* e-timezone-dialog/e-timezone-dialog.glade: Update for HIG-compliance

2004-04-09  Rodney Dawes  <dobey@ximian.com>

	* e-charset-picker.c: Include gtkhbox.h in here to avoid the warnings
	(activate_other):
	(e_charset_picker_dialog): Make these dialogs be more HIG-compliant
	* e-filter-bar.c (do_advanced):
	(menubar_activated): Make these dialogs be more HIG-compliant

svn path=/trunk/; revision=25468
2004-04-14 21:30:54 +00:00
2fe63c34bb don't reference uninitialized memory
2004-02-26  JP Rosevear <jpr@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.c
	(e_timezone_dialog_dispose): don't reference uninitialized memory

svn path=/trunk/; revision=24892
2004-02-26 18:24:16 +00:00
a3b04be4f0 Use e_source_equal() instead of comparing pointers. This allows user to
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* misc/e-source-option-menu.c (select_source_foreach_menu_item):
	Use e_source_equal() instead of comparing pointers. This allows user
	to pass in a source that was obtained from somewhere else. Set the
	matching internal source as "selected" instead of the one passed in.
	(select_source): Emit signal only if we found a match. Don't ref/unref
	anything, since the selected source will always be from our internal
	list.

svn path=/trunk/; revision=23954
2003-12-17 00:50:03 +00:00
c074252e4f NULL out priv->instance when we unref it. Bug #51713.
2003-12-10  Not Zed  <NotZed@Ximian.com>

        * menus/gal-view-menus.c (remove_instance): NULL out
        priv->instance when we unref it.  Bug #51713.

svn path=/trunk/; revision=23895
2003-12-10 01:12:42 +00:00
f6b7ede5b1 Remove hard coded disable deprecated flags
2003-12-06  JP Rosevear <jpr@ximian.com>

	* */Makefile.am: Remove hard coded disable deprecated flags

svn path=/trunk/; revision=23658
2003-12-06 18:08:00 +00:00
8d5e7bed5e don't include toplevel libical
2003-11-07  JP Rosevear <jpr@ximian.com>

	* e-timezone-dialog/Makefile.am: don't include toplevel libical

svn path=/trunk/; revision=23228
2003-11-07 17:58:04 +00:00
200606f928 Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
2003-11-07 05:52:24 +00:00
2edd5bcefd INCLUDE path fixes for changes made to libical build.
2003-10-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-timezone-dialog/Makefile.am: INCLUDE path fixes for changes
	made to libical build.

	* e-timezone-dialog.h: #include <libical/ical.h>

svn path=/trunk/; revision=22841
2003-10-09 20:56:35 +00:00
88d4fd5eac Fixes #1245. ECalendar should be usable with the keyboard
2003-09-19  Bolian Yin <bolian.yin@sun.com>

        Fixes #1245. ECalendar should be usable with the keyboard

        *misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler.
        (e_calendar_item_key_press_event): new func, key press event handler
        (e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers.
        (e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission):
         add the flag to control if we should emit e-calendar signals.
        (e_calendar_item_class_init): register focus handler.
        (e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS.

        *misc/e-calendar.c (e_calendar_focus): new func, focus handler
        (e_calendar_button_has_focus): new func, if prev/next button has focus.
        (e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler
         for prev/next buttons.
        (e_calendar_set_focusable): set if the e-calendar is focusable

        *misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard.

svn path=/trunk/; revision=22632
2003-09-22 03:19:00 +00:00
15c8a15ba1 Fixes #15638.
2003-08-27  Hans Petter Jansson  <hpj@ximian.com>

	Fixes #15638.

	* misc/e-dateedit.c (rebuild_time_popup): Make 12-hour time format
	not be zero-padded. Right-align time labels so digits line up.

svn path=/trunk/; revision=22394
2003-08-28 14:27:46 +00:00
52454e6b7c add dependency on a11y/widgets. a11y init. (e_calendar_item_bounds): new
2003-08-27  Bolian Yin <bolian.yin@sun.com>

        * misc/Makefile.am: add dependency on a11y/widgets.
        * misc/e-calendar-item.c (e_calendar_item_class_init): a11y init.
          (e_calendar_item_bounds): new func, impl the bounds virtual func.

svn path=/trunk/; revision=22386
2003-08-27 03:38:14 +00:00
fd2f3a6d7a Roll over ChangeLogs.
svn path=/trunk/; revision=21387
2003-06-09 17:31:26 +00:00
0a590f3a85 HIG-ified the spacing, padding, alignment of this dialog. Fixes bug #41148
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.glade: HIG-ified the
	spacing, padding, alignment of this dialog. Fixes bug #41148

svn path=/trunk/; revision=21253
2003-05-19 15:45:55 +00:00
d49d8a2f15 guard against multiple destroys
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-combo-button.c (impl_destroy): guard against multiple destroys

2003-05-14  JP Rosevear  <jpr@ximian.com>

	* menus/gal-view-menus.c (gvm_finalize): unref the component

svn path=/trunk/; revision=21178
2003-05-14 18:42:38 +00:00
990d1ba48a (gal_view_menus_unmerge): Guard against
the BonoboUIComponent not having a container to prevent a warning.

svn path=/trunk/; revision=21155
2003-05-13 16:11:26 +00:00
8910fc09d9 Don't convert the label charset from UTF-8 into the locale charset.
2003-04-23  Jeffrey Stedfast  <fejj@ximian.com>

	* menus/gal-view-menus.c (build_menus): Don't convert the label
	charset from UTF-8 into the locale charset.

svn path=/trunk/; revision=20985
2003-04-28 17:48:02 +00:00
fd2a3bcf17 *misc/e-multi-config-dialog.c : add appropriate padding and spacing to the
2003-04-22  Anna Dirks  <anna@ximian.com>

	*misc/e-multi-config-dialog.c : add appropriate padding
	and spacing to the settings dialog. Fixes #41392.

svn path=/trunk/; revision=20942
2003-04-23 19:17:54 +00:00
8e56e45ae6 add ... to "Define Views" and "Save Custom View" menuitem labels.
2003-04-10  Mike Kestner  <mkestner@ximian.com>

	* menus/gal-view-menus.c (build menus): add ... to "Define Views"
	and "Save Custom View" menuitem labels.

svn path=/trunk/; revision=20802
2003-04-10 15:22:13 +00:00
a4f6a54e0a (set_state): Removed debugging message.
svn path=/trunk/; revision=20548
2003-03-27 16:39:32 +00:00
aa46ddf806 Swap OK/Cancel buttons to comply with the HIG.
svn path=/trunk/; revision=20339
2003-03-18 17:16:22 +00:00
3f486d99c6 Don't crash if there's no timezone set initially. #39783
* e-timezone-dialog/e-timezone-dialog.c (on_map_motion): Don't
	crash if there's no timezone set initially. #39783

svn path=/trunk/; revision=20313
2003-03-17 19:47:34 +00:00
bbde1e136a Various cleanups. (e_timezone_dialog_get_timezone): Return an
* e-timezone-dialog/e-timezone-dialog.c: Various cleanups.
        (e_timezone_dialog_get_timezone): Return an icaltimezone.
        (e_timezone_dialog_set_timezone): Take an icaltimezone
        (e_timezone_dialog_construct): Set a minimum size on the scrolled
        window

svn path=/trunk/; revision=20255
2003-03-11 22:23:07 +00:00
3de88468be Use G_GNUC_FUNCTION instead of __FUNCTION__.
* menus/gal-view-menus.c (gal_view_menus_unmerge): Use
G_GNUC_FUNCTION instead of __FUNCTION__.

* e-dropdown-button.c (menu_deactivate_cb): Removed debugging
spew.

svn path=/trunk/; revision=20200
2003-03-06 17:24:22 +00:00
986f2ace07 Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamic
libraries, so they can be portably linked into the (shared library)
components. (Part 1 of N.)

svn path=/trunk/; revision=19971
2003-02-20 16:48:43 +00:00
9032dac041 Set response_ids on the OK/Cancel buttons
* e-timezone-dialog/e-timezone-dialog.glade: Set response_ids on
	the OK/Cancel buttons

svn path=/trunk/; revision=19827
2003-02-06 19:40:41 +00:00
fe4da718f0 Remove unneeded MAP_DIR define. (gladedir): Remove. Defined in
* e-timezone-dialog/Makefile.am (INCLUDES): Remove unneeded
	MAP_DIR define.
	(gladedir): Remove. Defined in configure.in now.

	* menus/gal-view-menus.c: #include <string.h>

svn path=/trunk/; revision=19773
2003-02-05 22:04:48 +00:00
a07108638c (gladedir): Version using
$(BASE_VERSION).
(INCLUDES): Update the MAP_DIR define with versioning.

svn path=/trunk/; revision=19567
2003-01-22 20:33:53 +00:00
89862745a8 Images are now in $(datadir)/evolution/images instead of
Images are now in
$(datadir)/evolution/images instead of
$(datadir)/images/evolution.

svn path=/trunk/; revision=19293
2003-01-08 22:35:47 +00:00
b75c80d63f use GtkDialog's ::response instead of GnomeDialog's ::clicked.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* menus/gal-view-menus.c (define_views): use GtkDialog's
	::response instead of GnomeDialog's ::clicked.
	(dialog_response): use response id's.
	(gvm_finalize): fix warning.

svn path=/trunk/; revision=18768
2002-11-15 00:26:42 +00:00
d023f5d548 menus/gal-view-menus.h GObjectified.
* menus/gal-view-menus.h
* menus/gal-view-menus.c: GObjectified.

* e-timezone-dialog/e-timezone-dialog.h
* e-timezone-dialog/e-timezone-dialog.c: GObjectified.

svn path=/trunk/; revision=18747
2002-11-13 22:53:58 +00:00
b8ecec622d Converted to Glade 2.
svn path=/trunk/; revision=18740
2002-11-13 18:50:31 +00:00
d9b4457fa6 gnome-xml->libxml
2002-11-13  Not Zed  <NotZed@Ximian.com>

        * menus/gal-view-menus.c: gnome-xml->libxml

        * menus/gal-view-menus.h: gnome-xml->libxml

svn path=/trunk/; revision=18734
2002-11-13 09:42:55 +00:00
6f1ef0ffdd (e_timezone_dialog_get_builtin_timezone): Constify arg
display_name.

svn path=/trunk/; revision=18508
2002-11-03 16:16:31 +00:00
9c73777f22 First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken).

Weeeeee!

svn path=/trunk/; revision=18503
2002-11-02 08:25:03 +00:00
48c16713cc ref/unref the gvm
2002-08-15  Mike Kestner  <mkestner@ximian.com>

	* menus/gal-view-menus.c (build_stuff): ref/unref the gvm

svn path=/trunk/; revision=17780
2002-08-15 15:23:17 +00:00
515ebfd45c Install libversit.a so that people compiling against the addressbook can
2002-07-09  Peter Williams  <peterw@ximian.com>

       * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so
       that people compiling against the addressbook can do so successfully.

       * Makefile.am: create our *Conf.sh files and dist them and install
       them.

       * configure.in: Define and subst some variables that the Conf.sh
       file need.

 2002-07-08  Peter Williams  <peterw@ximian.com>

       * backend/ebook/Makefile.am: Install libebook-static.la.
       Also change --all-static to -all-static, which is the right flag.

       * backend/pas/Makefile.am: Install the PAS headers in
       $(includedir)/evolution/pas. Install libpas.a


2002-07-08  Peter Williams  <peterw@ximian.com>

       * cal-util/Makefile.am: Install libcal-util-static.la
       and fix the -all-static flag to make it install statically.

       * pcs/Makefile.am: Install libpcs.a and its headers.

       * pcs/cal-backend-util.h: Same sort of include namespacing fix,
       but for pcs.

       * pcs/cal.h:
       * pcs/query.h:
       * pcs/cal-factory.h:
       * pcs/cal-backend.h:
       * pcs/cal-backend-file.h: Same.

2002-07-17  Peter Williams  <peterw@ximian.com>

       * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're
       using libtool as our LD, we can reference .la's and libtool
       will DTRT for us.

       * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here.


2002-07-03  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Install libeutil, libeconduit, and libedb3util and
       their headers.


2002-07-08  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Reference the new libefilterbar.a.

 2002-07-12  Peter Williams  <peterw@ximian.com>

       * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical
       for the generated ical.h (some headers rely on this because
       they too get installed.)


2002-07-09  Peter Williams  <peterw@ximian.com>

       * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical;
       some headers that we rely on get installed, so they point to the ical.h that
       gets generated and installed; consequently we need to be able to find the
       generated ical.h

       * misc/Makefile.am: Install libemiscwidgets.a and its headers. However,
       break EFilterBar into a separate libefilterbar.a because we don't want
       the installed library to depend on libfilter.

svn path=/trunk/; revision=17496
2002-07-17 21:03:19 +00:00
41a5db238a (e_timezone_dialog_init):
Make not floating.

svn path=/trunk/; revision=17374
2002-07-05 18:41:15 +00:00
ad1e5a3b6a Added this function to let you disable the define views dialog.
2002-06-04  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c, menus/gal-view-menus.h
	(gal_view_menus_set_show_define_views): Added this function to let
	you disable the define views dialog.

svn path=/trunk/; revision=17111
2002-06-04 22:12:08 +00:00
c1dadee81a Don't show this dialog more than once per collection.
2002-06-04  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c (define_views): Don't show this dialog
	more than once per collection.

svn path=/trunk/; revision=17106
2002-06-04 17:16:57 +00:00
eec3b5a2f3 Made it so that if the current_id doesn't match any of the given ids, it
2002-05-14  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c (build_menus): Made it so that if the
	current_id doesn't match any of the given ids, it treats it the
	same as a NULL id.
	(gal_view_menus_apply): Added a check for gvm->priv == NULL here.
	(gal_view_menus_apply, collection_changed, instance_changed):
	Removed calls to set_radio after build_stuff, since the last thing
	build_stuff does is calls set_radio.

svn path=/trunk/; revision=16781
2002-05-14 07:04:49 +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
757d9ab56d New function to handle unmerging menus at control deactivation time. (d):
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c, menus/gal-view-menus.h
	(gal_view_menus_unmerge): New function to handle unmerging menus
	at control deactivation time.
	(d): Turned off debugging output here.
	(build_menus): Gave the separators names and marked them with f=""
	to make them work better with bonobo 1.

svn path=/trunk/; revision=15599
2002-02-07 20:39:09 +00:00
b7ac37f6b1 Bumped the required version of gal.
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the required version of gal.

From addressbook/ChangeLog:

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

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_setup_menus): Changed this function to use the
	new GalViewMenus which takes a GalViewInstance, instead of a
	GalViewCollection.

From calendar/ChangeLog:

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

	* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
	(gnome_calendar_setup_view_menus): Made these use the new
	GalViewMenus stuff.

From mail/ChangeLog:

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

	* folder-browser.c, folder-browser.h, folder-browser-ui.c,
	folder-browser-ui.h
	(folder_browser_ui_setup_view_menus,
	folder_browser_ui_discard_view_menus): Changed this to use the new
	GalViewMenus stuff.  Made these exported functions.

	* mail-callbacks.c, message-browser.c: Changed these to not pass
	the now removed row parameter to message_list_select.

	* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
	Refactored this out of mail_config_folder_to_cachename.

	* message-list.c, message-list.h (message_list_select): Removed
	the row argument.  Changed this to use the new function in ETree
	for finding the next cursor row that matches a test.
	(message_list_construct): Handle a failed construction of the
	ETree here.
	(message_list_setup_etree, save_tree_state): Don't load or save
	the header state.  folder-browser-ui.c deals with this now.

From views/ChangeLog:

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

	* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
	tasks/galview.xml: Added default-view parameters.

	* mail/As_Sent_Folder.galview: New galview.

	* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
	galview.

From widgets/ChangeLog:

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

	* menus/gal-view-menus.c, menus/gal-view-menus.h
	(gal_view_menus_new): Made this take a GalViewInstance instead of
	a GalViewCollection.  Reworked most of this to utilize the
	interfaces provided by GalViewInstance.

svn path=/trunk/; revision=15592
2002-02-07 11:24: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