Commit Graph

1339 Commits

Author SHA1 Message Date
3703e58fa8 only set current folder when the folder_path is different from the current
2003-03-04  Mike Kestner  <mkestner@ximian.com>

	* e-shell-view.c (update_for_current_uri): only set current
	folder when the folder_path is different from the current folder.

svn path=/trunk/; revision=20152
2003-03-04 21:25:36 +00:00
c538747217 Handle p->data as a GdkAtom instead of a GdkAtom *.
* e-folder-dnd-bridge.c (find_matching_target_for_drag_context):
Handle p->data as a GdkAtom instead of a GdkAtom *.
(handle_data_received_non_path): Set the target member of the
corba_data struct to be the name of the atom.

* e-storage-set-view.c (impl_tree_drag_data_get): Pass the name of
the atom instead of the atom itself.

* Evolution-ShellComponentDnd.idl: Changed the type of Data.target
to string.

svn path=/trunk/; revision=20150
2003-03-04 20:39:02 +00:00
8895bce1e1 Swap Cancel/OK buttons as per the HIG. Also added proper response_ids.
Swap Cancel/OK
buttons as per the HIG.  Also added proper response_ids.

svn path=/trunk/; revision=20133
2003-03-03 22:55:18 +00:00
6446d0fbd3 (impl_finalize): Protect
against priv->possible_types being NULL.

svn path=/trunk/; revision=20128
2003-03-03 22:12:21 +00:00
12e852982d Add e-config-upgrade.h
2003-02-27  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am (evolution_SOURCES): Add e-config-upgrade.h

svn path=/trunk/; revision=20086
2003-02-27 15:25:26 +00:00
bf636265e0 make this more robust - only assume it's a folderlistitem node if the name
2003-02-26  Chris Toshok  <toshok@ximian.com>

	* e-folder-list.c (e_folder_list_parse_xml): make this more robust
	- only assume it's a folderlistitem node if the name of the node
	is "folder".

svn path=/trunk/; revision=20079
2003-02-26 22:37:40 +00:00
d3a45d7415 Change the type of load_http_images to INT rather than BOOL. Fixes bug
2003-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* e-config-upgrade.c: Change the type of load_http_images to INT
	rather than BOOL. Fixes bug #38767.

svn path=/trunk/; revision=20073
2003-02-26 18:35:52 +00:00
66b36e63de New routine to attempt to start each available startup wizard in priority
* e-shell-startup-wizard.c (start_wizard): New routine to attempt
        to start each available startup wizard in priority order, and
        return once it has successfully started one. (Allows Connector,
        etc, to override the mailer startup wizard.)
	(make_corba_dialog_pages): Use it.

svn path=/trunk/; revision=20072
2003-02-26 18:11:49 +00:00
2c488d4c81 Added a key for /apps/evolution/version - seems the best place to put it.
2003-02-26  Not Zed  <NotZed@Ximian.com>

        * apps_evolution_shell.schemas: Added a key for
        /apps/evolution/version - seems the best place to put it.  This
        should not return any value if unset, so i'm not sure if this is
        the right mechanism ...

        * e-config-upgrade.c: Upgrade settings from earlier versions of evolution.

        * main.c (upgrade_from_1_0_if_needed): Removed.
        (main): Call e_config_upgrade before going into gmainloop.
        (main): Turn off the --force-upgrade option, since it doesn't work
        yet ...

svn path=/trunk/; revision=20068
2003-02-26 12:49:04 +00:00
e9b3db536d Change this to let the Wizard provide an array of title/icon/control
* Evolution-Wizard.idl: Change this to let the Wizard provide an
	array of title/icon/control triplets, instead of just controls, so
	the shell doesn't need to know the name of each page a priori.

	* glade/evolution-startup-wizard.glade: Remove the mailer-specific
	pages, which are now inserted at run time based on info from the
	mailer.

	* evolution-wizard.c: Update for new idl.
	(evolution_wizard_new): Now takes no arguments.
	(evolution_wizard_add_page): New function to add page info to the
	wizard.

	* e-shell-startup-wizard.c: Various renamings to make this
	slightly less mailer-centric, though it still explicitly launches
	the mailer startup wizard.
	(make_corba_page): Replaces make_identity_page, make_receive_page,
	etc. Uses the new Wizard idl to generically create a page and
	insert it into the druid.
	(e_shell_startup_wizard_create): Update

svn path=/trunk/; revision=20053
2003-02-25 15:45:53 +00:00
7a0f761f14 remove some cvs merge cruft
svn path=/trunk/; revision=20050
2003-02-25 14:45:09 +00:00
71caaeddaa Use g_signal_connect_after to connect to the "prepare" signal to work
* e-shell-startup-wizard.c (connect_page, make_importer_page): Use
	g_signal_connect_after to connect to the "prepare" signal to work
	around a GnomeDruidPageStandard bug (b.g.o 81869)
	(e_shell_startup_wizard_create): Remove the "return TRUE" that was
	added here a while back to disable the startup wizard.

	* glade/evolution-startup-wizard.glade: Change "Next" and "Finish"
	in the text to "Forward" and "Apply" to match the gnome 2 druid
	buttons.

svn path=/trunk/; revision=20049
2003-02-25 14:44:16 +00:00
eda567cddb Doh, forgot to remove the e-gray-bar.h include
2003-02-24  Rodney Dawes  <dobey@ximian.com>

	* e-shell-view.c: Doh, forgot to remove the e-gray-bar.h include

svn path=/trunk/; revision=20038
2003-02-24 18:35:08 +00:00
32f0a2a911 We don't need e-gray-bar.[ch] anymore Remove these unused files now We are
2003-02-24  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: We don't need e-gray-bar.[ch] anymore
	* e-gray-bar.[ch]: Remove these unused files now
	* e-shell-folder-title-bar.c: We are themeable now!!!!
	Use GtkArrows now instead of pixmaps
	Get rid of the hardcoded colors
	Add an expose_event to paint a flat box for the background
	* e-shell-view.c: Don't need e-gray-bar anymore

svn path=/trunk/; revision=20036
2003-02-24 16:53:22 +00:00
cd413978fc (impl_populateFolderContextMenu):
Don't release_unref the corba_uih since
bonobo_ui_component_set_container() takes ownership of the object
without reffing it.

svn path=/trunk/; revision=20032
2003-02-24 15:45:27 +00:00
2e441bc212 Update dialog to use stock response IDs.
svn path=/trunk/; revision=20029
2003-02-24 15:15:31 +00:00
6e61ef2ee4 fix the conf keys, currently unused.
2003-02-20  Not Zed  <NotZed@Ximian.com>

        * main.c (upgrade_from_1_0_if_needed): fix the conf keys, currently unused.

        * e-shell.c (save_settings_for_component): lower-case the config prefix.

svn path=/trunk/; revision=20021
2003-02-24 03:12:46 +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
6f2a8a88d9 (shortcut_item_new): Get the name from the name,
not the type.  Fixes #37952, pointed out by Lonnie Borntreger.

svn path=/trunk/; revision=19935
2003-02-18 20:52:38 +00:00
510e56ebfe plug memory leak - free path.
2003-02-17  Chris Toshok  <toshok@ximian.com>

	* e-shortcuts.c (load_shortcuts): plug memory leak - free path.

svn path=/trunk/; revision=19922
2003-02-17 09:01:16 +00:00
aaa88bb0e4 (segv_redirect): New, SIGSEGV signal handler.
(setup_segv_redirect): New function to set it up.
(main): Call setup_segv_redirect().

svn path=/trunk/; revision=19907
2003-02-13 21:11:58 +00:00
26d83d9f3a (DEFAULT_USER_PATH): Look into evolution/$BASE_VERSION
instead of evolution-$BASE_VERSION.

svn path=/trunk/; revision=19893
2003-02-12 09:41:42 +00:00
1bf4369e83 Suggest people use 1.2.x instead of 1.0.x.
2003-02-11  Joe Shaw  <joe@ximian.com>

	* main.c (show_development_warning): Suggest people use 1.2.x instead
	of 1.0.x.

svn path=/trunk/; revision=19886
2003-02-11 22:24:00 +00:00
352561d06b fix length calculation. (create_folder_directory): remove alloca usage,
2003-02-09  Larry Ewing  <lewing@ximian.com>

	* e-local-storage.c (remove_folder_directory): fix length calculation.
	(create_folder_directory): remove alloca usage, clears up crash.

svn path=/trunk/; revision=19856
2003-02-09 07:35:23 +00:00
5d961e94b2 add an activate handler that returns a response OK if the OK response
2003-02-07  Larry Ewing  <lewing@ximian.com>

	* e-shell-folder-creation-dialog.c
	(folder_name_entry_activate_cb): add an activate handler that
	returns a response OK if the OK response would be active.

svn path=/trunk/; revision=19852
2003-02-08 01:20:31 +00:00
d0ead0c4a9 s/PACKAGE/GETTEXT_PACKAGE/ in gettext init
svn path=/trunk/; revision=19818
2003-02-06 17:26:04 +00:00
4b3ff4825b use POINTER_STRING_BOOL for activate_shortcut.
* e-shortcuts-view.c (class_init): use POINTER_STRING_BOOL for
        activate_shortcut.

        * e-shell-marshal.list: Added NONE,STRING,BOOL, and
        POINTER,STRING,BOOL, removed POINTER,STRING,INT

        * evolution-shell-view.c (evolution_shell_view_class_init): Use
        STRING_BOOL for the set_message signal to match rest of command.

svn path=/trunk/; revision=19801
2003-02-06 07:25:48 +00:00
f415453303 Added NONE,STRING,STRING,STRING
2003-02-06  Not Zed  <NotZed@Ximian.com>

        * e-shell-marshal.list: Added NONE,STRING,STRING,STRING

        * evolution-shell-component.c
        (evolution_shell_component_class_init): Change the
        user_create_new_item marshaller to STRING_STRING_STRING to match
        the rest of the call.  The 'new' button should work now.

svn path=/trunk/; revision=19799
2003-02-06 04:10:43 +00:00
327fbe8316 We want to copy whats in the default user dir, not the default user dir.
2003-02-06  Not Zed  <NotZed@Ximian.com>

        * e-setup.c (copy_default_stuff): We want to copy whats in the
        default user dir, not the default user dir.

svn path=/trunk/; revision=19798
2003-02-06 02:56:10 +00:00
fefb7820db Define EVOLUTION_IMAGES using $(imagesdir). Define EVOLUTION_GLADEDIR
* Makefile.am (INCLUDES): Define EVOLUTION_IMAGES using
	$(imagesdir). Define EVOLUTION_GLADEDIR using $(gladedir)
	(eshellincludedir): Define in terms of $(privincludedir)
	(evolution_LDFLAGS): Remove this. gmodule-2's LDFLAGS include the
	equivalent of -export-dynamic for us.
	(serverdir, etspecdir): Remove. Defined in configure.in now.

	* e-folder.c: #include <string.h>
	* e-corba-config-page.c: Likewise
	* e-shell-config.c: Likewise
	* e-shell-folder-creation-dialog.c: Likewise
	* e-shell-folder-title-bar.c: Likewise
	* e-shell-startup-wizard.c: Likewise
	* evolution-activity-client.c: Likewise.
	* evolution-shell-component-client.c: Likewise
	* evolution-shell-component-utils.c: Likewise
	* evolution-storage.c: Likewise
	* evolution-test-component.c: Likewise

	* e-shortcuts-view.c (destroy_group_cb): Remove unused variable

	* importer/Makefile.am (INCLUDES): Remove -I$(includedir). Define
	EVOLUTION_GLADEDIR using $(gladedir).
	(libevolution_importerincludedir): Define in terms of
	$(privincludedir)
	(gladedir): Removed. Defined in configure.in now.

	* glade/Makefile.am (gladedir): Likewise

svn path=/trunk/; revision=19774
2003-02-05 22:25:18 +00:00
f0574ae557 s/BonoboXObject/BonoboObject/
* importer/evolution-intelligent-importer.c:
	s/BonoboXObject/BonoboObject/

svn path=/trunk/; revision=19766
2003-02-05 18:47:08 +00:00
4be1d4a1c7 s/glade_gnome_init/glade_init/
* e-folder-list.c (e_folder_list_class_init):
	s/glade_gnome_init/glade_init/

	* main.c (main): Likewise

svn path=/trunk/; revision=19761
2003-02-05 18:10:09 +00:00
38eef72722 re-enable. (prepare_importer_page): re-enable importer code.
2003-02-05  Not Zed  <NotZed@Ximian.com>

        * e-shell-startup-wizard.c (start_importers): re-enable.
        (prepare_importer_page): re-enable importer code.

        * e-shell-importer.c (druid_finish_button_change): removed, since
        its not such a hack to change anymore.  Dunno how to get an icon
        on it tho, without a stock button.
        (show_import_wizard): Change the apply button to "Import" here.

2003-01-28  Not Zed  <NotZed@Ximian.com>

        * e-local-storage.c (create_folder_directory): We can't use
        pointer arithmetic with g_path_get_*, so adjust code accordingly.

2003-01-16  Not Zed  <NotZed@Ximian.com>

        * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Hook
        onto finish instead of next on the last page.

svn path=/trunk/; revision=19753
2003-02-05 04:47:03 +00:00
a5e82f72f8 updated for e scroll frame --> gtk scrolled window
svn path=/trunk/; revision=19736
2003-02-04 19:03:02 +00:00
83ac1fc7df No need for the @true command. ($(IDL_GENERATED_C)): Likewise.
* Makefile.am ($(SELECT_NAMES_IDL_GENERATED_C)): No need for the
@true command.
($(IDL_GENERATED_C)): Likewise.
(e-shell-marshal.h, e-shell-marshal.c): Use different names for
the .tmp files so these can be generated in parallel.

* importer/Makefile.am (GNOME_Evolution_Importer-impl.o): Remove
unused rule.
($(IDL_GENERATED_C)): Remove useless @true command.
(BUILT_SOURCES): Put the .h generated files in here as well.

svn path=/trunk/; revision=19674
2003-01-28 23:20:29 +00:00
c220fb406c (Evolution-impl.o): Removed unused rule.
svn path=/trunk/; revision=19672
2003-01-28 18:38:10 +00:00
ff047f4ed5 Make this work with parallel make as well.
svn path=/trunk/; revision=19671
2003-01-28 18:17:04 +00:00
ef0b77769d Use a little trick for the IDL compilation so that
it works with parallel makes.

svn path=/trunk/; revision=19670
2003-01-28 18:09:09 +00:00
8d5640e6ce (e_shell_construct): Use
bonobo_activation_server_register() instead of
bonobo_activation_register_active_server() again, since we want to
be able to build against bonobo-activation 2.0 and the latter is
2.2-specific.
(impl_finalize): Likewise, use
bonobo_activation_active_server_unregister() instead of
bonobo_activation_unregister_active_server().

svn path=/trunk/; revision=19668
2003-01-28 17:08:05 +00:00
8cf2b93847 Set GTK_RESPONSE_OK as the default response.
* e-shell-importer.c (choose_importer_from_list): Set
GTK_RESPONSE_OK as the default response.

* Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED,
-DBONOBO_DISABLE_DEPRECATED.

* e-shortcuts.c (update_shortcut_and_emit_signal): Use
g_signal_emit() instead of gtk_signal_emit().

* e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox
to GtkMessageDialog.

* e-shell.c (get_icon_path_for_component_info): Use
gnome_program_locate_file() instead of gnome_pixmap_file().
(impl_finalize): Use bonobo_activation_unregister_active_server()
instead of bonobo_activation_active_server_register().
(e_shell_construct): Use
bonobo_activation_register_active_server() instead of
bonobo_activation_active_server_register().

* e-shell-view-menu.c (command_submit_bug): Use e_notice().
(launch_pilot_settings): Use g_find_program_in_path() instead of
gnome_is_program_in_path().
(command_submit_bug): Likewise.

* e-shell-utils.c (get_icon_path): Use g_file_test() instead of
g_file_exists().

* e-shell-startup-wizard.c (prepare_importer_page): Port from
GnomeMessageBox to GtkMessageDialog.

* e-shell-shared-folder-picker-dialog.c (show_dialog): Update for
GtkDialog.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(create_progress_dialog): Ported to GnomeDialog.

* e-shell-offline-sync.c: Add member parent_window to struct
SyncData.
(e_shell_offline_sync_all_folders): Set it from the parent_window
arg.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(setup_dialog): Create a GtkDialog instead of a GnomeDialog.
(sync_folder): Updated for GtkDialog.

* e-shell-offline-handler.c (dialog_handle_ok): Make it get a
GtkDialog instead of a GnomeDialog.
(dialog_handle_cancel): Likewise.
(dialog_clicked_cb): Removed.
(dialog_response_cb): New.
(pop_up_confirmation_dialog): Connect the new dialog_response_cb()
instead of the old dialog_clicked_cb().  Removed
gnome_dialog_set_default() call.

* e-shell-folder-creation-dialog.c (dialog_response_cb): Make
first arg a GtkDialog, not a GnomeDialog.

* e-shell-folder-commands.c (e_shell_command_delete_folder):
Expect delete_dialog() to return a GtkResponseType.
(delete_dialog): Ported to GtkMessageDialog; Return a
GtkResponseType.

* e-shell-config-default-folders.c
(e_shell_config_default_folders_create_widget): Removed unused
variable.

* e-setup.c (check_evolution_directory): Remove Evolution
directory installation message.
(e_setup): Remove check for the Executive-Summary directory.

* e-local-storage.c (create_folder_directory): Use g_file_test()
instead of g_file_exists().

* evolution-shell-component-utils.c (e_pixmaps_update): Use
g_build_filename() of g_concat_dir_and_file().
* e-folder-dnd-bridge.c (handle_data_received_path): Likewise.
* e-local-folder.c (construct_loading_metadata): Likewise.
(save_metadata): Likewise.
* e-local-storage.c (remove_folder_directory): Likewise.
(append_xfer_item_list): Likewise.
* e-setup.c (check_dir_recur): Likewise.
(e_shell_rm_dir): Likewise.
(setup_bonobo_conf_private_directory): Likewise.
* e-shell-folder-commands.c
(folder_selection_dialog_folder_selected_callback): Likewise.
(e_shell_command_rename_folder): Likewise.
* e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise.
* e-shell-settings-dialog.c (load_pages): Likewise.
* e-shell-utils.c (get_icon_path): Likewise.
* e-shell.c (setup_local_storage): Likewise.
(get_icon_path_for_component_info): Likewise.
(e_shell_construct): Likewise.
* main.c (main): Likewise.

svn path=/trunk/; revision=19658
2003-01-27 21:09:56 +00:00
6d09205d5d (timeout_callback): Pass a the context's
language to pango_context_get_metrics() instead of NULL, so the
heights are computed correctly.

svn path=/trunk/; revision=19651
2003-01-27 17:01:45 +00:00
f79b9679ae #if 0'ed out for now, since it seems to cause trouble for local
* evolution-shell-component.c (owner_ping_callback): #if 0'ed out
for now, since it seems to cause trouble for local components.
(setup_owner_pinging): Likewise.

* e-shell-user-creatable-items-handler.c
(get_default_action_for_view): Return default_menu_item [instead
of NULL] if there is no view displayed.  [#32736]

svn path=/trunk/; revision=19650
2003-01-27 16:57:17 +00:00
eba0af0c6a (get_max_clipped_label_width): Use
clipped_label->layout instead of creating a new PangoLayout; this
way we respect the actual font being used.

svn path=/trunk/; revision=19603
2003-01-23 21:45:03 +00:00
392239818d Update for new args to e_clipped_label_new().
* e-shell-view.c (create_label_for_empty_page): Update for new
args to e_clipped_label_new().

* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Make the title label bold and larger using the new args to
e_clipped_label_new().

svn path=/trunk/; revision=19592
2003-01-23 19:31:23 +00:00
7542d81fcf [Port fix for #34129 from evolution-1-2-branch, unread count in
shortcut bar doesn't update properly.]

* e-shortcuts.c (update_shortcuts_by_path): Use
e_shell_parse_uri() so we handle default shortcuts properly as
well.
(update_shortcut_and_emit_signal): Use shortcut_item_update()
once, and use the return value from it.  [Thanks to Leon Zhang
<leon.zhang@sun.com> for pointing out the brokenness of this
code.]

svn path=/trunk/; revision=19585
2003-01-23 17:09:33 +00:00
6582de79d5 Update copyright year.
svn path=/trunk/; revision=19583
2003-01-23 16:03:51 +00:00
63d803aa5e removed *.oaf.in that were left
svn path=/trunk/; revision=19582
2003-01-23 06:32:04 +00:00
9d14474e02 Install the shell executable as evolution-$(BASE_VERSION) using an
* Makefile.am: Install the shell executable as
evolution-$(BASE_VERSION) using an install-exec-local hack.  Also
put libeshell in $(privlibdir) instead of $(libdir).
(eshellincludedir): Version using $(BASE_VERSION).
(INCLUDES): Update for the new locations of things.
(etspecdir): Likewise.

* e-shell-view.c (e_shell_view_construct): Get evolution.xml from
EVOLUTION_UIDIR.

* importer/Makefile.am: Install libevolution-importer in
$(privlibdir) instead of $(libdir).
(INCLUDES): Updated for the new versioned paths.  Define
EVOLUTION_UIDIR.
(libevolution_importerincludedir): Version using $(BASE_VERSION).
(gladedir): Likewise.

* glade/Makefile.am (gladedir): Version using $(BASE_VERSION).

* e-setup.c (DEFAULT_USER_PATH): New #define.
(check_evolution_directory): Use it.
(copy_default_stuff): Likewise.  Also, remove old shortcuts.xml
removal cruft.

svn path=/trunk/; revision=19565
2003-01-22 20:25:15 +00:00
673b336514 pass pango_context_get_language (context) to pango_context_get_metrics.
2003-01-17  Chris Toshok  <toshok@ximian.com>

	* e-shell-settings-dialog.c (set_dialog_size): pass
	pango_context_get_language (context) to
	pango_context_get_metrics.

svn path=/trunk/; revision=19506
2003-01-17 23:22:23 +00:00
b186b72199 Make dialog New/Cancel/OK to match HIG.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Make dialog
New/Cancel/OK to match HIG.

* glade/e-shell-folder-creation-dialog.glade: Swap Cancel/OK
buttons to match HIG.

* e-shell-importer.c (choose_importer_from_list): Make dialog
Cancel/OK to match HIG.

* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Make dialog Cancel/OK
to match HIG.

svn path=/trunk/; revision=19465
2003-01-14 22:29:41 +00:00