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-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 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 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
* 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-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-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-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-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-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-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-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-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-06 JP Rosevear <jpr@ximian.com>
* importer/intelligent.c (get_intelligent_importers): use base
version for importers
svn path=/trunk/; revision=24665
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-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-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 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 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
* 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-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-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-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-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-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-26 Rodney Dawes <dobey@ximian.com>
* e-shell-window.c (setup_widgets): Add panded widget to
EShellWindowPrivate and handle state saving of position (#52049)
* e-task-bar.c (init): Switch to EClippedLabel instead of GtkLabel
for the status bar text (#52937)
Fixes#52049 and #52937
svn path=/trunk/; revision=24448
2004-01-23 Rodney Dawes <dobey@ximian.com>
* main.c (idle_cb): Move uri_list loop into a separate function
so we don't duplicate code in both instances where we are creating
a new shell or using a current one, and don't open a new shell window
if we are passing in a uri and a shell is already up
Fixes#53216
svn path=/trunk/; revision=24394
2004-01-15 JP Rosevear <jpr@ximian.com>
* e-config-upgrade.c: remove calendar and task keys for upgrade,
its done in the calendar now
svn path=/trunk/; revision=24247
2004-01-15 Rodrigo Moya <rodrigo@ximian.com>
* e-shell-view-menu.c: added ForgetPasswords menu item.
(command_forget_passwords): callback for the new menu item.
* e-shell-window-commands.c: (command_forget_passwords): ditto.
svn path=/trunk/; revision=24246
2004-01-15 JP Rosevear <jpr@ximian.com>
* main.c (detect_version): move version detection here
* e-config-upgrade.c: remove it from here; clean out all the
mailer and bonobo conf conversion stuff, its been moved to the
mailer and e-util
* e-config-upgrade.h: remove proto
svn path=/trunk/; revision=24242
2004-01-15 Not Zed <NotZed@Ximian.com>
* e-config-upgrade.c (e_upgrade_detect_version): fix the check for
~/evolution being a directory.
svn path=/trunk/; revision=24232
2004-01-13 JP Rosevear <jpr@ximian.com>
* main.c (attempt_upgrade): detect the version more completely
with the new util routine
(main): don't upgrade the config db here
* e-shell.h: update proto
* e-shell.c (e_shell_attempt_upgrade): take the current version as
numerical params
* e-config-upgrade.h: update prototypes
* e-config-upgrade.c (e_config_upgrade): remove version detection
and saving code
(e_upgrade_detect_version): routine to do the version detection
* e-config-upgrade.c: drop my-evolution upgrade code
svn path=/trunk/; revision=24205
2004-01-12 JP Rosevear <jpr@ximian.com>
* evolution-test-component.[hc]: Complete rewrite to match current
component api
* Makefile.am: conditionally build the test component
svn path=/trunk/; revision=24166
2004-01-11 JP Rosevear <jpr@ximian.com>
* e-sidebar.c (button_new): track hbox and label widget
(button_free): unref them
(do_layout_text_buttons): layout buttons with text
(do_layout_icon_buttons): layout icon only buttons
(do_layout): layout based on mode
(impl_size_request): distinguish between horizontal and vertical
padding
(init): set a default mode
(e_sidebar_add_button): align the button text to the left, only
add the text if we are in the text mode
(e_sidebar_get_mode): accessor
(e_sidebar_set_mode): accessor
* e-sidebar.h: add prototype and mode enum
svn path=/trunk/; revision=24163
2004-01-11 JP Rosevear <jpr@ximian.com>
* GNOME_Evolution_Test.server.in.in: proper server file for test
components
* Makefile.am: allow the test component to be built and installed
* evolution-test-component.[hc]: new test component to match
current api
svn path=/trunk/; revision=24151