Commit Graph

1599 Commits

Author SHA1 Message Date
12fb773502 Change the algorithm so that if the buttons can't be laid out perfectly
* e-sidebar.c (layout_buttons): Change the algorithm so that if
	the buttons can't be laid out perfectly rectangularly, then the
	extra space is given to the first button (ie, Mail), rather than
	the last button (eg, Connector). Also, merge the icons-only and
	icons-plus-text layout code together since they were nearly
	identical.
	(e_sidebar_add_button, e_sidebar_set_mode): Tweak things a bit so
	that in icons-only mode, the icons are centered in the buttons.

svn path=/trunk/; revision=25807
2004-05-05 15:36:37 +00:00
a4a7312a90 Fix warnings
* e-shell-importer.c (e_shell_importer_start_import): Fix warnings

svn path=/trunk/; revision=25753
2004-05-03 14:28:48 +00:00
fade26c2d6 Remove default folders, shortcut stuff, and "show folder bar".
* apps_evolution_shell.schemas.in.in: Remove default folders,
	shortcut stuff, and "show folder bar".

	* e-config-upgrade.c: Don't migrate those options either

svn path=/trunk/; revision=25724
2004-04-30 19:07:22 +00:00
abdf6717ec Don't save window state here.
* e-shell-window-commands.c (command_quit): Don't save window
	state here.

	* e-shell.c (e_shell_quit): Do it here, so it gets called if you
	quit by closing the last window via its close button too. #57529

svn path=/trunk/; revision=25723
2004-04-30 19:05:34 +00:00
2dcc01b86d Remove e-lang-utils.h include.
2004-04-30  Not Zed  <NotZed@Ximian.com>

        * e-component-registry.c:
        * e-shell-settings-dialog.c:
        * e-shell-window.c:  Remove e-lang-utils.h include.

svn path=/trunk/; revision=25701
2004-04-30 06:22:04 +00:00
be08a4a3ec do the same as below.
2004-04-30  Not Zed  <NotZed@Ximian.com>

        * e-component-registry.c (query_components): do the same as below.

        * e-shell-settings-dialog.c (load_pages): use
        gnome_i18n_get_language_list instead of e_get_language_list(), and
        use the right locale option.  Fixes #53398.

svn path=/trunk/; revision=25700
2004-04-30 06:20:24 +00:00
c086c794ae Call gnome_program_init with PACKAGE "-" BASE_VERSION so that we start up
2004-04-28  Rodney Dawes  <dobey@ximian.com>

	* main.c (main): Call gnome_program_init with PACKAGE "-" BASE_VERSION
	so that we start up the right version of evolution when we get killed
	by logout or whatever

	Fixes #54087

svn path=/trunk/; revision=25673
2004-04-28 19:42:12 +00:00
8aeb46417a init the view to NULL
2004-04-27  JP Rosevear  <jpr@ximian.com>

	* e-shell-window.c (sidebar_button_selected_callback): init the
	view to NULL

svn path=/trunk/; revision=25649
2004-04-28 02:02:36 +00:00
cce69a908c if there is a current view, use the component alias to select a sensible
2004-04-23  JP Rosevear <jpr@ximian.com>

	* e-shell-window.c (e_shell_window_show_settings): if there is a
	current view, use the component alias to select a sensible default
	config control

svn path=/trunk/; revision=25600
2004-04-23 15:14:27 +00:00
c0754b6345 take into account the position of the sidebar which isnt on the very left
2004-04-22  Trent Lloyd  <lathiat@bur.st>

	* e-sidebar.c (do_layout_text_buttons): take into account the position
	of the sidebar which isnt on the very left in right to left languages,
	otherwise the buttons are drawn in the wrong place.

svn path=/trunk/; revision=25582
2004-04-22 13:53:28 +00:00
bb6445c7f1 if we're running a local create, invoke that directly via the callback.
2004-04-21  Not Zed  <NotZed@Ximian.com>

        * e-user-creatable-items-handler.c (execute_verb): if we're
        running a local create, invoke that directly via the callback.
        (e_user_creatable_items_handler_new): add a callback for creating
        local items.

svn path=/trunk/; revision=25544
2004-04-21 04:08:55 +00:00
2b257b4c26 added a needed #include
svn path=/trunk/; revision=25529
2004-04-19 21:51:34 +00:00
c2d1540171 Same.
2004-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-user-creatable-items-handler.c (ensure_menu_items): Same.

	* e-shell-startup-wizard.c (make_timezone_page): Same.

	* e-shell-settings-dialog.c (load_pages): Same.

	* e-shell-importer.c (e_shell_importer_start_import): Same.

	* e-component-registry.c (query_components): Don't use absolute
	pixel sizes, use the E_ICON_SIZE enums instead.

svn path=/trunk/; revision=25528
2004-04-19 21:49:10 +00:00
9b8a686094 Change component icons to use the icon theme names for icons Remove
2004-04-19  Michael Terry  <mike@mterry.name>

	* GNOME_Evolution_Test.server.in.in: Change component icons to use the
	icon theme names for icons
	* Makefile.am: Remove e-icon-factory.[ch]
	* e-component-registry.c: Use the icon theme for component icons
	* e-icon-factory.[ch]: Removed these files
	* e-shell-importer.c:
	* e-shell-settings-dialog.c:
	* e-shell-startup-wizard.c:
	* e-shell-window-commands.c:
	* e-user-creatable-items-handler.c:
	* evolution-shell-component-utils.[ch]:
	* main.c:
	* glade/evolution-startup-wizard.glade:
	* importer/import.glade: Use the icon theme via EIconFactory for all
	of the icons in the shell, and the window icons

svn path=/trunk/; revision=25512
2004-04-19 15:17:54 +00:00
a133c16ccf differentiate between user cancellation and no importer (next_file_page):
2004-04-14  JP Rosevear <jpr@ximian.com>

	* e-shell-importer.c (get_iid_for_filetype): differentiate between
	user cancellation and no importer
	(next_file_page): don't throw up a dialog if the user cancelled
	the selection process

svn path=/trunk/; revision=25461
2004-04-14 15:46:33 +00:00
f10397cffa don't unref the dialog, destroy it properly
2004-04-14  JP Rosevear <jpr@ximian.com>

	* e-shell-importer.c (start_import): don't unref the dialog,
	destroy it properly

svn path=/trunk/; revision=25460
2004-04-14 15:10:55 +00:00
cf89e7ea3f add a component name argument, so we don't use 'this_component', and
2004-04-13  Not Zed  <NotZed@Ximian.com>

        * e-user-creatable-items-handler.c (create_verb): add a component
        name argument, so we don't use 'this_component', and everything
        comes from tasks!  Fix callers to pass the component alias.
        (struct _EUserCreatableItemsHandlerPrivate): change
        default_menu_item to be fallback_menu_item for the mail message
        new fallback.  Make default_menu_item be the default for the view
        (which some code seems to think it should be).  Fixes #56866.
        (ensure_menu_items): setup the fallback_menu_item here.
        (get_default_action_for_view): use the fallback as the fallback,
        not default.
        (setup_toolbar_button): set the default menu item here for the
        current view.

svn path=/trunk/; revision=25429
2004-04-13 10:37:19 +00:00
2cc9ceb11f Don't activate the components here. (e_shell_construct): Activate them all
2004-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-shell.c (e_shell_attempt_upgrade): Don't activate the
	components here.
	(e_shell_construct): Activate them all here instead (before we
	attempt to upgrade). Fixes a bug where the shell would start up in
	online mode but never notify the components to go online.

	* main.c (idle_cb): s/Cannot access/Cannot register/

svn path=/trunk/; revision=25405
2004-04-09 21:56:34 +00:00
173ec4ea29 make sure the component is activated before calling upgradeFromVersion.
2004-04-09  Chris Toshok  <toshok@ximian.com>

	* e-shell.c (e_shell_attempt_upgrade): make sure the component is
	activated before calling upgradeFromVersion.

svn path=/trunk/; revision=25400
2004-04-09 19:01:21 +00:00
e03ebc5235 unref the component registry
* e-shell.c (impl_dispose): unref the component registry

svn path=/trunk/; revision=25398
2004-04-09 18:07:23 +00:00
65a076f8dc use BASE_VERSION to supply the major/minor version, and use
2004-04-09  Chris Toshok  <toshok@ximian.com>

	* e-shell.c (e_shell_attempt_upgrade): use BASE_VERSION to supply
	the major/minor version, and use UPGRADE_REVISION for the
	revision.
	(attempt_upgrade): store the key based on BASE_VERSION and
	UPGRADE_REVISION.

svn path=/trunk/; revision=25386
2004-04-09 17:20:51 +00:00
7f2badb024 Change this a lot. Now each component will maintain its own
* e-user-creatable-items-handler.c: Change this a lot. Now each
	component will maintain its own EUserCreatableItemsHandler and
	merge the button and menus in and out of the UI as its controls
	are activated and deactivated. (This lets the connector component
	display the correct default for the New button). Also, update to
	the Product Design Team's new organization (separating object
	types from folder types)

	* e-shell.c: Remove all creatable_items_handler references

	* e-shell-window.c (e_shell_window_new): Remove
	creatable_items_handler reference

	* Makefile.am: Move e-user-creatable-items-handler from evolution
	to libeshell, and make libeshell depend on libemiscwidgets (for
	the combo button)

	* Evolution-Component.idl: add another field to CreatableItemType
	so we can distinguish object types from folder types.

svn path=/trunk/; revision=25379
2004-04-09 15:46:00 +00:00
5ffbd12053 Removed the "apply" method.
2004-04-07  Jeffrey Stedfast  <fejj@ximian.com>

	* Evolution-ConfigControl.idl: Removed the "apply" method.

	* e-corba-config-page.c: We can probably remove this entire file,
	it seems pretty useless. But until I know for sure, I guess I
	won't bother.
	(impl_apply): Removed, no longer a valid interface.
	(listener_event_callback): Huh? calls a non-existant function if
	the event name was "changed". Uhm, yea...ok. Removed.
	(setup_listener): Removed. Did nothing but to setup the above
	listener.

	* evolution-config-control.c: No longer needs to keep 'changed'
	state.
	(evolution_config_control_changed): Removed.
	(impl_apply): Removed. No lonegr a valid interface.

svn path=/trunk/; revision=25361
2004-04-07 20:48:40 +00:00
331fe02266 Remove dialog separators Change the border with of the dialog's vbox and
2004-03-31  Rodney Dawes  <dobey@ximian.com>

	* e-shell-importer.c (choose_importer_from_list):
	(start_import):
	(prepare_intelligent_page): Remove dialog separators
	* e-shell-offline-handler.c (pop_up_confirmation_dialog): Change the
	border with of the dialog's vbox and action area to be HIG-compliant
	* e-shell-settings-dialog.c (init): Remove the dialog separator
	* e-shell-startup-wizard.c (prepare_importer_page): Remove the dialog
	separator to be more HIG-compliant
	(key_press_event_callback): Fix compile warnings and cast to the
	correct widget types for calling various gtk api
	Remove the dialog separator to be more HIG-compliant
	* main.c (show_development_warning): Make the devel warning dialog
	that pops up for unstable versions be HIG-compliant
	* glade/e-active-connection-dialog.glade: Make the active connection
	dialog for going off-line be HIG-compliant
	* importer/intelligent.c (create_gui): Remove the dialog separator
	and set the dialog's vbox and action area border widths to be more
	compliant with the HIG

svn path=/trunk/; revision=25267
2004-03-31 17:05:52 +00:00
b4dc945f6e We don't need this really (class_init): We don't need to have our own
2004-03-26  Rodney Dawes <dobey@ximian.com>

	* e-shell-settings-dialog.c (impl_realize): We don't need this really
	(class_init): We don't need to have our own realize impl for setting
	the default window size of the dialog, especially since we are setting
	the size before we actually get realized, anyway
	(init): Set the dialog size here, and don't set the border width of the
	dialog

2004-03-26  Rodney Dawes  <dobey@ximian.com>

	* e-multi-config-dialog.c (init): Remove the dialog separator
	Set the border widths of the dialog's vbox and action area to be more
	HIG-compliant
	Set the border width of the dialog's child to 12 for HIG-compliance

svn path=/trunk/; revision=25197
2004-03-26 17:12:05 +00:00
2f3af438ae added (c) symbol and 2004 and changed to Novell to the copyright notice in
2004-03-18  Not Zed  <NotZed@Ximian.com>

        * e-shell-about-box.c: added (c) symbol and 2004 and changed to
        Novell to the copyright notice in the about box.

svn path=/trunk/; revision=25108
2004-03-18 04:13:20 +00:00
f61aa6b19c when we check the evolution dir exists, check the evolution dir exists,
2004-03-12  Not Zed  <NotZed@Ximian.com>

        * e-shell.c (detect_version): when we check the evolution dir
        exists, check the evolution dir exists, not the config.xmldb file.
        Move filename building/usage into the else condition so it can't
        happen again.  Fixes #53277.

svn path=/trunk/; revision=25040
2004-03-12 07:58:20 +00:00
e8e1b0b823 Used the stock icon in confirm dialog.
2004-03-10  Bill Zhu  <bill.zhu@sun.com>

	* e-shell-startup-wizzard.c (key_press_event_callback): Used the
stock
	icon in confirm dialog.

	Fixes #55063

svn path=/trunk/; revision=25008
2004-03-10 16:07:25 +00:00
b866d48f55 Check that app is not NULL before trying to open the quickref document.
2004-03-06  Pratik V. Parikh <pratikvp@despammed.com>

	* e-shell-window-commands.c (command_quick_reference): Check that
	app is not NULL before trying to open the quickref document.

	Fixes #55106

svn path=/trunk/; revision=24989
2004-03-08 16:58:41 +00:00
07d79a59b8 Use @BASE_VERSION@ for the binary
2004-02-15  Rodney Dawes  <dobey@ximian.com>

	* evolution-nognome.in: Use @BASE_VERSION@ for the binary

	Fixes #54796

svn path=/trunk/; revision=24866
2004-02-25 18:37:54 +00:00
bfe2a883b6 remove id, and use info->id for create_progress_listener. Fixes #53649.
2004-02-18  Not Zed  <NotZed@Ximian.com>

        * e-shell-offline-handler.c (prepare_for_offline): remove id, and
        use info->id for create_progress_listener.  Fixes #53649.

svn path=/trunk/; revision=24766
2004-02-18 01:36:57 +00:00
5597ba679c Remove dead files
2004-02-10  JP Rosevear <jpr@ximian.com>

	* Remove dead files

svn path=/trunk/; revision=24692
2004-02-10 22:21:35 +00:00
19864e8202 use base version for intelligent importers
2004-02-06  JP Rosevear <jpr@ximian.com>

	* importer/intelligent.c (get_intelligent_importers): use base
	version for intelligent importers

	* e-shell-importer.c (get_intelligent_importers): ditto

	Fixes #54004

svn path=/trunk/; revision=24666
2004-02-07 01:25:21 +00:00
b6485cd1e4 use base version for importers
2004-02-06  JP Rosevear <jpr@ximian.com>

	* importer/intelligent.c (get_intelligent_importers): use base
	version for importers

svn path=/trunk/; revision=24665
2004-02-07 01:20:15 +00:00
5868c475f9 Really make this work with gnome-vfs 2.2, instead of using gnome-vfs 2.4
2004-02-06  Rodney Dawes  <dobey@ximian.com>

	* e-shell-window-commands.c (command_quick_reference): Really make
	this work with gnome-vfs 2.2, instead of using gnome-vfs 2.4 api,
	fixes #53566 more completely so snapshots can build again (doh)

svn path=/trunk/; revision=24650
2004-02-06 17:24:25 +00:00
5752d6268a remove step numbers
2004-02-06  JP Rosevear <jpr@ximian.com>

	* importer/import.glade: remove step numbers

svn path=/trunk/; revision=24646
2004-02-06 13:44:11 +00:00
fdd316cd24 Use gnome-vfs directly, instead of relying on gnome_url_show (), to launch
2004-02-05  Rodney Dawes  <dobey@ximian.com>

	* e-shell-window-commands.c (command_quick_reference): Use gnome-vfs
	directly, instead of relying on gnome_url_show (), to launch the
	application for the quick reference, since we can run on gnome 2.2
	mostly, and gnome_url_show () only handles the uri method there

	Fixes #53566

svn path=/trunk/; revision=24640
2004-02-05 23:18:27 +00:00
1771797074 pass in a parent for the dialogs, use e_notice (import_druid_finish): we
2004-02-04  JP Rosevear <jpr@ximian.com>

	* e-shell-importer.c (start_import): pass in a parent for the
	dialogs, use e_notice
	(import_druid_finish): we carry the filename around with us now
	(next_file_page): check the file here and store the name; put up
	gui dialogs
	(e_shell_importer_start_import): set the druid as a transient for
	the shell

svn path=/trunk/; revision=24624
2004-02-04 22:02:28 +00:00
7a316616d6 add extra page
2004-02-04  JP Rosevear <jpr@ximian.com>

	* importer/import.glade: add extra page

	* importer/evolution-importer.h: update protos

	* importer/evolution-importer.c: hold the createControl function
	(impl_GNOME_Evolution_Importer_createControl): implement
	(impl_GNOME_Evolution_Importer_loadFile): remove dead args

	* importer/evolution-importer-client.h: update/add protos

	* importer/evolution-importer-client.c
	(evolution_importer_client_create_control): wrapper
	(evolution_importer_client_load_file): we don't take physical_uri
	and folder_type as args any more

	* importer/GNOME_Evolution_Importer.idl: add createControl method
	and remove extraneous loadFile args

	* e-shell-window-commands.c (command_import): uncomment

	* e-shell-importer.h: update proto

	* e-shell-importer.c: remove DEPRECATED hack and tidy includes
	(get_iid_for_filetype): use query define
	(start_import): we don't take a file name and client directly now
	(create_plugin_menu): user query define
	(importer_dest_page_new): create vbox
	(import_druid_finish): we no longer do folder selection here
	(next_file_page): create the client here
	(prepare_dest_page): show the importer control
	(next_dest_page): skip to the finish
	(back_finish_page): back to the destination page
	(e_shell_importer_start_import): set up the destination page

	* Makefile.am: build import files again

svn path=/trunk/; revision=24619
2004-02-04 21:08:31 +00:00
8360a36e2d remove dead files
2004-02-04  JP Rosevear <jpr@ximian.com>

	* e-shell-view-menu[hc]: remove dead files

svn path=/trunk/; revision=24618
2004-02-04 20:47:21 +00:00
984ebf4e06 make this C89 compliant
2004-02-04  JP Rosevear <jpr@ximian.com>

	* e-shell.c (e_shell_quit): make this C89 compliant

svn path=/trunk/; revision=24617
2004-02-04 20:45:45 +00:00
3a96d74c2b ** See bug #53683.
2004-02-04  Not Zed  <NotZed@Ximian.com>

	** See bug #53683.

	* Evolution-Component.idl: added EvolutionComponent::quit() call.

	* main.c (quit_box_new): removed, dont show quit box anymore at
	the end, we've already shutdown by now with the new shutdown
	sequence.

	* e-shell-window-commands.c (command_quit): call e_shell_quit to
	quit.

	* e-shell.c (e_shell_prepare_for_quit): renamed es_run_quit, now
	internal, and a gtktimeout function, so return code inverted.
	(e_shell_quit): new public entry, find out if we can shutdown, if
	so, then trigger a shutdown.
	(e_shell_request_close_window): just call e_shell_quit to exit
	when we've run out of windows.
	(e_shell_quit): desensitise all of the app windows before running
	shutdown.  looks a bit weird, but not doing so looks worse.

svn path=/trunk/; revision=24609
2004-02-04 10:55:25 +00:00
ed8f202a40 Moved to misc/widgets since they depend on libemiscwidgets now, and aren't
* e-activity-handler.c:
	* e-activity-handler.h:
	* e-task-bar.c:
	* e-task-bar.h:
	* e-task-widget.c:
	* e-task-widget.h: Moved to misc/widgets since they depend on
	libemiscwidgets now, and aren't actually used by the shell itself.

	* Makefile.am (eshell_HEADERS, libeshell_la_SOURCES): Update

svn path=/trunk/; revision=24590
2004-02-03 17:33:26 +00:00
04d688c182 don't generate a g_warning if button_icon == NULL. (component_info_free):
2004-02-02  Chris Toshok  <toshok@ximian.com>

	* e-component-registry.c (component_info_new): don't generate a
	g_warning if button_icon == NULL.
	(component_info_free): unref the button_icon if it's != NULL.

svn path=/trunk/; revision=24573
2004-02-02 21:57:37 +00:00
8fdd1935b6 turn development stuff back on
2004-01-29  JP Rosevear <jpr@ximian.com>

	* main.c: turn development stuff back on

svn path=/trunk/; revision=24519
2004-01-29 14:36:39 +00:00
e2ad337fd3 g_message this (destroy_config): remove the various pieces to create a
2004-01-28  JP Rosevear <jpr@ximian.com>

	* main.c (kill_dataserver): g_message this
	(destroy_config): remove the various pieces to create a cleanish
	state for re-migrating from 1.4.x
	(main): add --force-migrate option when in development mode

svn path=/trunk/; revision=24504
2004-01-29 00:48:34 +00:00
3af02b087f First argument to gtk_hbox_new () is a boolean, not an int, don't show the
2004-01-28  Rodney Dawes  <dobey@ximian.com>

	* e-task-bar.c (init): First argument to gtk_hbox_new () is a boolean,
	not an int, don't show the hbox for activities by default
	(e_task_bar_prepend_task): Show the hbox for activities when we add
	tasks to the taskbar
	(e_task_bar_remove_task): If we have no tasks left to display, don't
	show the empty hbox

svn path=/trunk/; revision=24500
2004-01-28 20:20:49 +00:00
95b0453457 Expand the label, this fixes the problem that people were having in the
2004-01-27  Rodney Dawes  <dobey@ximian.com>

	* e-task-bar.c (init): Expand the label, this fixes the problem
	that people were having in the shell window with the preview pane
	and the weird warning from ECLippedLabel for urls

	Fixes #52937 for good

svn path=/trunk/; revision=24484
2004-01-28 00:58:38 +00:00
385d87f37d add definition for EVOLUTION_HELPDIR
2004-01-26  David Trowbridge <trowbrds@cs.colorado.edu>

 	* Makefile.am: add definition for EVOLUTION_HELPDIR

 	* e-shell-window-commands.c: add handling for new "Quick
	Reference" menu

svn path=/trunk/; revision=24472
2004-01-27 20:55:28 +00:00
2cf803cfc6 attempt the upgrade before trying to startup the wizard.
2004-01-21  Not Zed  <NotZed@Ximian.com>

        * e-shell.c (attempt_upgrade, detect_version, e_shell_construct):
        attempt the upgrade before trying to startup the wizard.

        * main.c (detect_version, attempt_upgrade): move to e-shell.c
        (idle_cb): remove call to attempt_upgrade.

svn path=/trunk/; revision=24461
2004-01-27 12:31:22 +00:00