Commit Graph

1356 Commits

Author SHA1 Message Date
4ac5734af0 *** empty log message ***
svn path=/trunk/; revision=20378
2003-03-20 10:07:51 +00:00
d9d1469a92 (get_name_from_component_info): Look for the
"evolution:menu_name" property instead of "evolution:menu-name".
[#39692]

svn path=/trunk/; revision=20370
2003-03-19 20:30:37 +00:00
ec3cf6dfcd If you can't get a pixbuf icon for the folder's type, do not crash.
* evolution-folder-selector-button.c (set_folder): If you can't
get a pixbuf icon for the folder's type, do not crash.  [#39599]

* e-shell.c (impl_Shell__get_displayName): Removed.  [#38974]
(e_shell_class_init): Do not install anymore.

* Evolution-Shell.idl: Remove displayName attribute.

svn path=/trunk/; revision=20359
2003-03-19 18:32:52 +00:00
35ff6769cb Add (e_storage_declare_has_subfolders): Rename from
* e-storage.c (e_storage_get_has_subfolders): Add
	(e_storage_declare_has_subfolders): Rename from
	e_storage_has_subfolders to make it clearer that this is a setter,
	not a getter. (Can't call it e_storage_set_has_subfolders because
	that sounds like it belongs in e-storage-set.)

	* e-corba-storage.c (impl_StorageListener_notifyHasSubfolders):
	update for e_storage_declare_has_subfolders name change
	(get_folder): Override the default EStorage implementation: if
	asked for a folder under a not-yet-expanded folder, attempt to
	force the parent(s) to expand so that the child is available.
	Fixes part of #30415

svn path=/trunk/; revision=20302
2003-03-14 19:58:36 +00:00
0f75c96936 add a Bonobo::Listener to this like the other async interfaces, rather
* Evolution-Storage.idl (asyncOpenFolder): add a Bonobo::Listener
	to this like the other async interfaces, rather than having a
	hacky way to signal failure.

	* evolution-storage.c (impl_Storage_asyncOpenFolder): Update to
	take a listener and emit it as part of the signal
	(evolution_storage_class_init): update OPEN_FOLDER signal
	prototype.

	* e-shell-marshal.list (NONE:POINTER,STRING): add, for changed
	EvolutionStorage open_folder signal

	* e-storage.c (e_storage_async_open_folder): add a callback arg
	(impl_async_open_folder): call the callback with NOTIMPLEMENTED.
	(class_init): remove the CLOSE_FOLDER signal
	(e_storage_has_subfolders): Don't emit CLOSE_FOLDER since it
	doesn't exist any more, and this function is used for that side
	effect any more anyway.

	* e-corba-storage.c (async_open_folder): add the callback arg and
	create a proper closure.
	(async_open_folder_idle): Call the callback in case of error.
	Create a listener and pass that to the CORBA call.
	(async_open_cb): Listener callback.

	* e-storage-set.c (storage_set_view_folder_opened): Pass a
	callback to e_storage_async_open_folder.
	(async_open_cb): emit CLOSE_FOLDER if the open failed
	(storage_close_folder_cb): Remove this since the signal no longer
	exists.

svn path=/trunk/; revision=20297
2003-03-14 18:13:58 +00:00
2ac9216ba1 If the wizard factory returns NULL, we'll get a NIL wizard but no
* e-shell-startup-wizard.c (start_wizard): If the wizard factory
        returns NULL, we'll get a NIL wizard but no exception. Deal with
        that case. (ie, try the next wizard).
        (finish_func): Simplify for e-timezone-dialog changes.
        (prepare_timezone_page): If there is already a timezone set in
        gconf, set the map to point to it. (For connector autoconfig.)

svn path=/trunk/; revision=20257
2003-03-11 22:25:47 +00:00
647671b615 ** reverted the following patch from ettore, this is a gnome 2.2 api
2003-03-07  Not Zed  <NotZed@Ximian.com>

        ** reverted the following patch from ettore, this is a gnome 2.2
        api change, and shouldn't be used yet.

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

svn path=/trunk/; revision=20214
2003-03-07 02:26:11 +00:00
8f3ca8febc (impl_Shell_selectUserFolder): At least for now,
disable the nasty XWMHints trick to fool WMs; it is not needed now
that everything is in-proc.

svn path=/trunk/; revision=20211
2003-03-06 19:44:13 +00:00
12cf52d717 (e_shell_folder_name_is_valid): Do not allow
names with a "#" in them either.

svn path=/trunk/; revision=20210
2003-03-06 19:32:46 +00:00
d039f69326 (update_other_users_folder_items_sensitivity):
New function to toggle the "open other user's folder" menu item
sensitivity on or off depending on whether there are any storages
that actually support that.
(storage_set_removed_storage_callback): New callback for the
EStorageSet's "removed_storage" signal; it updates the sensitivity
if necessary.
(storage_set_new_storage_callback): Likewise, new callback for the
EStorageSet's "new_storage" signal.
(e_shell_view_construct): Connect these two signal callbacks here.
Also, call update_other_users_folder_items_sensitivity() to set up
the initial sensitivity of the menu item.
(update_for_current_uri): Add a missing EStorageSetView cast here.

svn path=/trunk/; revision=20209
2003-03-06 19:25:20 +00:00
bfb03e8441 (folder_name_entry_changed_callback): New callback to set the
sensitivity of the OK button according to whether the folder name
entry is empty or not.
(show_dialog): Connect here.  Pop up an error message if no user
is selected.

svn path=/trunk/; revision=20208
2003-03-06 18:53:34 +00:00
6681286707 (impl_finalize): Use
bonobo_activation_unregister_active_server() instead of
bonobo_activatino_active_server_unregister().
(e_shell_construct): Use
bonobo_activation_register_active_server() instead of
bonobo_activation_active_server_register().

svn path=/trunk/; revision=20198
2003-03-06 17:22:10 +00:00
f451e0990a (IN): Use G_GNUC_FUNCTION instead of
__FUNCTION__.
(OUT): Likewise.

svn path=/trunk/; revision=20197
2003-03-06 17:21:55 +00:00
42261b4c8a [Patch from Not Zed <NotZed@Ximian.com>]
(show_development_warning): Separated the current stable
version number from the warning prompt, and fixed a minor
grammatical error.  For bug #38775.

svn path=/trunk/; revision=20196
2003-03-06 16:53:31 +00:00
1f0f670580 (import_bonobo_config): Protect from val
being NULL when printf()ing -- should fix #39096 (Solaris-specific
crash).

svn path=/trunk/; revision=20195
2003-03-06 16:42:00 +00:00
e51771e50c Added icon for "/popups/NewPopup/Folder".
svn path=/trunk/; revision=20176
2003-03-05 17:48:07 +00:00
bc48dcb0a2 (BUILT_SOURCES): $(IDL_GENERATED), not
$(IDL_GENERATED_H).
(CLEANFILES): Make the same as $(BUILT_SOURCES).
(GNOME_Evolution_Importer-impl.o): Removed useless rule.

svn path=/trunk/; revision=20175
2003-03-05 17:46:48 +00:00
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