Commit Graph

1390 Commits

Author SHA1 Message Date
c70fa695ca Update for e_option_menu prototype constification
* e-folder-list.c: Update for e_option_menu prototype
        constification

svn path=/trunk/; revision=20790
2003-04-09 18:02:18 +00:00
365ad25fab Add a "--setup-only" flag, to just run e_setup() and exit. (For #40889)
* main.c (main): Add a "--setup-only" flag, to just run e_setup()
        and exit. (For #40889)

svn path=/trunk/; revision=20788
2003-04-09 17:14:54 +00:00
1034abae46 Commit the right version.
svn path=/trunk/; revision=20778
2003-04-09 08:25:24 +00:00
644d694582 remove call to gtk_html_set_default_background_color, replace with calls
2003-04-09  Larry Ewing  <lewing@ximian.com>

	* e-shell-importer.c (create_html): remove call to
	gtk_html_set_default_background_color, replace with calls to
	gtk_widget_modify_style_*

svn path=/trunk/; revision=20777
2003-04-09 08:22:23 +00:00
0cdafe3604 kill an old e_utf8_gtk usage
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-search-bar.c (set_option): kill an old e_utf8_gtk usage

and remove some straggling e-font.h includes.

svn path=/trunk/; revision=20769
2003-04-08 20:44:58 +00:00
d6f441c493 (setup_bonobo_conf_private_directory): Removed.
(e_setup): Do not call here.  Also, removed hacks for
~/evolution/config and ~/evolution/local/Trash.

svn path=/trunk/; revision=20760
2003-04-08 16:05:35 +00:00
0f4485abb9 Remove the color specs so the druid will use theme colors
* glade/evolution-startup-wizard.glade: Remove the color specs so
	the druid will use theme colors

	* importer/import.glade: Likewise

svn path=/trunk/; revision=20757
2003-04-08 15:33:02 +00:00
59b13c97a6 (impl_dispose): g_object_weak_unref() the shell here.
(impl_dispose):
g_object_weak_unref() the shell here.

svn path=/trunk/; revision=20751
2003-04-08 14:50:48 +00:00
b40727e44b Fix arg types on REMOVED_SHARED_FOLDER signal. #40888
* evolution-storage.c (evolution_storage_class_init): Fix arg
	types on REMOVED_SHARED_FOLDER signal. #40888

svn path=/trunk/; revision=20734
2003-04-07 22:12:56 +00:00
320484b37f Desensitize the window's top-level container rather than desensitizing the
* evolution-folder-selector-button.c (clicked): Desensitize the
	window's top-level container rather than desensitizing the window
	itself, which causes strange problems [#40854]. Also fix up the
	code that tries to watch for the parent window being destroyed.

	* e-shell.c (impl_Shell_selectUserFolder): Use
	e_dialog_set_transient_for_xid.

	* e-shell-folder-selection-dialog.c (impl_response): Treat
	GTK_RESPONSE_DELETE_EVENT the same as GTK_RESPONSE_CANCEL.
	(e_shell_folder_selection_dialog_construct): No need to catch
	"delete_event" signal.

svn path=/trunk/; revision=20729
2003-04-07 20:20:00 +00:00
28920f9482 ignore wombat files
svn path=/trunk/; revision=20707
2003-04-07 16:14:38 +00:00
a14c9abfeb Substitute version number into the evolution binary name in the server
* Makefile.am ($(server_in_files)): Substitute version number into
	the evolution binary name in the server file
	(INCLUDES): define EVOLUTION_TOOLSDIR

	* GNOME_Evolution_Shell.server.in.in: Clean up server names. Add
	"-@VERSION@" to the end of the shell binary name

	* main.c (main): if KILL_PROCESS_CMD is defined, add a
	--force-shutdown argument that runs killev and exits.

svn path=/trunk/; revision=20702
2003-04-07 16:08:11 +00:00
cc0748768a [#40536]
2003-04-07  Not Zed  <NotZed@Ximian.com>

	[#40536]

	* evolution-shell-component.c (impl_interactive): If going
	interactive, track the view id in a private area.
	(evolution_shell_component_get_parent_view_xid): Accessor method
	to retrieve the current view xid.

svn path=/trunk/; revision=20690
2003-04-07 01:44:02 +00:00
d4d4b161a1 (update_window_icon): Get the large version of
the icon instead of the small one, so it works more nicely with
modern WMs.

svn path=/trunk/; revision=20683
2003-04-06 09:25:32 +00:00
af4b3a1ee9 Define RESPONSE_NEW for the
"New" button in the dialog.
(impl_response): Handle RESPONSE_NEW.
(e_shell_folder_selection_dialog_construct): Add the "new" button
with RESPONSE_NEW response_id.

svn path=/trunk/; revision=20675
2003-04-04 20:45:27 +00:00
e523bfb300 Remove the icon_modes schema.
* apps_evolution_shell.schemas: Remove the icon_modes schema.

* e-shell-view.c (setup_defaults): Don't set the icon modes from
GConf, they are already stored in the shortcuts.xml file.
(e_shell_view_save_defaults): Likewise, don't set it here.

* e-config-upgrade.c: Remove translation from
ShortcutBarGroup%iIconMode to
shell/view_defaults/shortcut_bar/icon_types.

svn path=/trunk/; revision=20673
2003-04-04 20:27:03 +00:00
460542ead1 added "foldertype" argument to GNOME::Evolution::Importer.
2003-04-02  Rodrigo Moya <rodrigo@ximian.com>

	* importer/GNOME_Evolution_Importer.idl:
	* importer/evolution-importer.[ch]: added "foldertype" argument to
	GNOME::Evolution::Importer.

	* importer/evolution-importer-client.[ch]
	(evolution_importer_client_load_file): added "folder_type" argument
	and use it in the call to GNOME_Evolution_Importer_loadFile.

	* e-shell-importer.c (start_import): added "folder_type" argument and
	use it in the call to evolution_importer_client_load_file.
	(folder_selected): pass in the "folder_type" argument to start_import,

svn path=/trunk/; revision=20643
2003-04-02 16:34:02 +00:00
b1dad9521d [#40652]
2003-04-02  Not Zed  <NotZed@Ximian.com>

	[#40652]

	* e-shell-view.c (setup_widgets): Pack the folder and shortcut
	bars into the paned as sizeable.

svn path=/trunk/; revision=20630
2003-04-02 03:54:10 +00:00
136cf86a7c [#39467]
2003-04-02  Not Zed  <NotZed@Ximian.com>

        [#39467]

        * e-shell.c (e_shell_construct): Change the splash logic slightly,
        so that if we can't create the splash, we dont try and cast/use
        it.
        * e-splash.c (e_splash_new): dont use a g_return* for what could
        be a valid (tho incorrect) runtime condition.

svn path=/trunk/; revision=20629
2003-04-02 03:41:57 +00:00
c1ffcc4af4 [#40590]
2003-04-02  Not Zed  <NotZed@Ximian.com>

	[#40590]

	* e-config-upgrade.c (identity_map[]): Move the signature stuff to
	a child node.
	(identity_sig_map[]): Define the signature node.  Fix
	*autogenerated_signature_%i to map to "auto".

svn path=/trunk/; revision=20615
2003-04-01 17:17:06 +00:00
9e89da7be5 [#40474]
2003-04-01  Not Zed  <NotZed@Ximian.com>

        [#40474]

        * e-config-upgrade.c (gconf_remap_list[]): The summary settings
        start at "My-Evolution", not "/My-Evolution".
        (import_bonobo_config): Same for mail summary settings, and hex
        decode the string for the strlist.  Add a few extra debug
        printf's.

svn path=/trunk/; revision=20606
2003-04-01 04:11:01 +00:00
583bbec280 (kill_old_wombat): New.
(kill_wombat): New.
(idle_cb): Call kill_old_wombat().

svn path=/trunk/; revision=20565
2003-03-28 21:52:31 +00:00
892aab7fca Renamed from update_dialog_clist, Ported to GtkTreeView.
* e-shell-offline-handler.c (update_dialog_tree_view): Renamed
from update_dialog_clist, Ported to GtkTreeView.
(update_dialog_tree_view_hash_foreach): Likewise.

* glade/e-active-connection-dialog.glade: Rename
"active_connection_clist" to "active_connection_treeview".

svn path=/trunk/; revision=20550
2003-03-27 21:01:41 +00:00
15f4e1e0ab Make Radek's surname correct, Doulík, inserted utf8 into the name string.
2003-03-27  Not Zed  <NotZed@Ximian.com>

	* e-shell-about-box.c: Make Radek's surname correct, Doulík,
	inserted utf8 into the name string.  For bug #17034.

svn path=/trunk/; revision=20542
2003-03-27 04:57:36 +00:00
d47803508b (e_shell_view_construct): Pass "evolution-1.4" as
the app name to bonobo_ui_util_set_ui() instead of "evolution".

svn path=/trunk/; revision=20527
2003-03-26 23:01:07 +00:00
7ecd4e6664 [Shell part of #7153.]
(load_folder): Call e_storage_new_folder()
instead of new_folder() here so the folder doesn't get added to
the EvolutionStorage.  Since the EvolutionStorage has its own
CORBAfied copy of the folder info [sigh] and it can't be updated,
we have to set up the EvolutionStorage after setup_stock_folders()
has been called.
(setup_corba_storage): New function to set up the CORBA storage.
(load_all_folders): Call setup_corba_storage() after
setup_stock_folders().

svn path=/trunk/; revision=20522
2003-03-26 19:31:37 +00:00
738282ff28 Use set_default_size instead of size_request so we allow the user to
2003-03-25  Not Zed  <NotZed@Ximian.com>

	* e-shell-settings-dialog.c (set_dialog_size): Use
	set_default_size instead of size_request so we allow the user to
	resize the window.  Also try using 60x30 rather than 72x35 as the
	approximate font cell size.  For bug #39706.

svn path=/trunk/; revision=20513
2003-03-26 05:31:17 +00:00
3ac718894f Fix colors again
* glade/evolution-startup-wizard.glade: Fix colors again

svn path=/trunk/; revision=20510
2003-03-25 20:47:16 +00:00
b04bd957c7 Update for e_notice move. Likewise Likewise Likewise Likewise Likewise
* e-folder-dnd-bridge.c: Update for e_notice move.
	* e-setup.c: Likewise
	* e-shell-folder-commands.c: Likewise
	* e-shell-folder-creation-dialog.c: Likewise
	* e-shell-offline-sync.c: Likewise
	* e-shell-shared-folder-picker-dialog.c: Likewise
	* e-shell-view-menu.c: Likewise
	* e-shell.c: Likewise
	* evolution-shell-component-utils.c: Likewise

	* Makefile.am (libeshell_la_LIBADD): libeshell depends on
	libeutil.

	* e-corba-storage.c: Fix warnings

svn path=/trunk/; revision=20500
2003-03-25 15:48:33 +00:00
7733348dcc add a "new_view_xid" arg, so the component has a window id to make use of
* Evolution-ShellComponent.idl (interactive): add a "new_view_xid"
	arg, so the component has a window id to make use of as a parent
	if it needs to pop up a dialog.

	* e-shell.c (set_interactive): Pass the new_view_xid when going
	interactive.
	(e_shell_set_interactive): Remove this since it wasn't being used,
	and couldn't be used for anything except lying to the components.

	* evolution-shell-component.c
	(evolution_shell_component_class_init): Update "interactive"
	signal definition
	(impl_interactive): Update prototype and signal emission

	* e-shell-marshal.list (NONE:BOOL,INT): add

svn path=/trunk/; revision=20493
2003-03-25 14:01:46 +00:00
18b70fa27b (init): grumble-grumble-non-g_new0-using-people-grumble
svn path=/trunk/; revision=20461
2003-03-21 20:52:38 +00:00
ddcacb9b09 (init): grumble-grumble-non-g_new0-using-people-grumbe
svn path=/trunk/; revision=20460
2003-03-21 20:52:20 +00:00
d66fdafdb7 If we get a second request to open a folder we're already waiting for,
* e-corba-storage.c (async_open_folder_idle): If we get a second
	request to open a folder we're already waiting for, don't send a
	second CORBA request, just remember the additional request.
	(async_open_cb): Call the callbacks for all pending requests for
	this folder.

svn path=/trunk/; revision=20456
2003-03-21 18:21:21 +00:00
9d1d52dc6b remove unused command
2003-03-20  JP Rosevear  <jpr@ximian.com>

	* e-shell-view-menu.c: remove unused command

svn path=/trunk/; revision=20446
2003-03-20 22:12:20 +00:00
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