2002-11-27 Not Zed <NotZed@Ximian.com>
* main.c (show_development_warning): changed to use a gtkdialog
instead of a gnome one.
(warning_dialog_response_callback): clicked->response.
* e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h
* e-shell-folder-creation-dialog.c: include gnome-dialog.h
(dialog_response_cb): gtk_entry_get_text now returns const. Dont
free result.
* e-setup.c: include gnome-messagebox.h
* *.c: (re)run fix.sh over all, for e_notice changes & pick up
some deprecated functions.
* e-shell-shared-folder-picker-dialog.c
(shared_folder_discovery_callback): reformat e_notice call for
script.
* e-shell-offline-sync.c
(impl_SyncFolderProgressListener_reportFailure): Fix e_notice
call, we weren't passing type in.
* e-shell-folder-commands.c (xfer_result_callback): changed around
slightly to save some processing & allow a script to run.
(e_shell_command_rename_folder): reformat e_notice call to help script.
Include gnome-messagebox.h
svn path=/trunk/; revision=18977
* main.c (upgrade_from_1_0_if_needed): Disabled for now.
* e-shell-startup-wizard.c: Removed member config_listener from
struct SWData.
(e_shell_startup_wizard_create): Updated accordingly, just use
GConf, checking the /apps/evolution/mail/account-list key.
(finish_func): Use GConf.
* e-shell-config-default-folders.c: Removed member config_listener
in struct EvolutionDefaultFolderConfig.
(e_shell_config_default_folders_create_widget): Do not initialize
here. GConfified the paths.
(config_control_destroy_notify): No unref of the config_listener
anymore.
(config_control_apply_cb): Use GConf.
(setup_folder_selector): Likewise.
* e-shell-config-autocompletion.c: Removed member config_listener
from EvolutionAutocompletionConfig.
(config_control_destroy_notify): Do not unref.
(config_control_apply_callback): Use a GConfClient.
* e-folder-list.c (e_folder_list_init): Add missing cast.
* main.c (show_development_warning): Use GConf.
* e-setup.c (e_setup_check_config): Removed arg @listener.
GConfified.
* e-shell-view.c (e_shell_view_save_defaults): New.
(e_shell_view_save_settings): Removed.
(e_shell_view_load_settings): Removed.
(setup_defaults): New helper function.
(e_shell_view_construct): New arg @uri.
(e_shell_view_new): New arg @uri.
* e-shell.c: Removed member config_listener in struct
EShellPrivate.
(impl_dispose): Do not unref.
(init): Do not initialize.
(get_config_start_offline): New helper function.
(e_shell_construct): Use this to get the startup mode in case
E_SHELL_STARTUP_LINE_MODE_CONFIG.
(save_misc_settings): Changed to use GConfClient instead of
EConfigListener.
(e_shell_create_view_from_settings): Removed.
(e_shell_restore_from_settings): Removed.
(e_shell_get_config_listener): Removed.
(e_shell_disconnect_db): Removed.
(parse_default_uri): Use GConf.
* main.c (idle_cb): Simplified the logic here. Always assume that
the view will be created with the default folder open by just
using e_shell_create_view().
svn path=/trunk/; revision=18844
2002-11-16 Chris Toshok <toshok@ximian.com>
* e-folder-list.c (e_folder_list_init): force the scrolled table
to be shown, apparently a bug in libglade2.
* e-shell-config-default-folders.c (setup_folder_selector): same,
but with the evolution-folder-selector-button's.
svn path=/trunk/; revision=18810
* *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into
g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*()
into g_signal_connect_*(). [Except for some case where we have
gtk_signal_connect_full() or gtk_signal_connect_while_alive()
calls that cannot be trivially ported to use the g_signal_*
functions, we'll have to fix those later.]
* e-splash.c (impl_finalize): Finalize implementation, copied over
from impl_destroy.
(impl_destroy): Removed.
(class_init): Override finalize, not destroy.
* e-activity-handler.c: Ported from GtkObject to GObject.
* evolution-storage.c: Likewise.
* e-corba-shortcuts.c: Likewise.
* evolution-session.h: Likewise.
* evolution-config-control.c: Likewise.
* evolution-shell-component-dnd.c: Likewise.
* evolution-shell-component.c: Likewise.
* evolution-shell-view.c: Likewise.
* evolution-storage-set-view.c: Likewise.
* evolution-wizard.c: Likewise.
svn path=/trunk/; revision=18513
* e-shell-view (storage_set_view_box_button_release_event_cb): Pop
down the popup folder bar if it's a toplevel node.
(folder_bar_popup_map_callback): Connect to the "folder_opened"
signal on the storage_set_view.
[#32032]
* e-folder-list.c (create_display_string): Don't turn the string
from UTF-8 to GTK.
svn path=/trunk/; revision=18437
2002-09-17 Kjartan Maraas <kmaraas@gnome.org>
* e-folder-list.c (create_display_string): Mark a string for
translation.
svn path=/trunk/; revision=18086
* e-folder-list.c (e_folder_list_construct): Use
bonobo_object_ref() instead of bonobo_object_client_ref() as the
former only refs the CORBA object [Sigh].
* e-shell-config-autocompletion.c
(e_shell_config_autocompletion_create_widget): Don't unref the
shell_client here, as we need it. :-)
svn path=/trunk/; revision=17046
2002-05-28 Chris Toshok <toshok@ximian.com>
* e-folder-list.c (e_folder_list_set_items): skip folders that
aren't valid uri's.
(e_folder_list_get_items): didn't update this to track the change
in model columns. bad toshok.
svn path=/trunk/; revision=17028
2002-05-24 Chris Toshok <toshok@ximian.com>
[ fixes 90% of #25047 ]
* e-folder-list.c (get_folder_for_uri): shamelessly lifted from
evolution-folder-selector-button.c.
(create_display_string): modeled again after
evolution-folder-selector-button.c, so we can give a little more
context (and make the table look like the folder selector
buttons.)
(SPEC): add a pixbuf column, also remove the sorting behavior.
(columns): add a pixbuf column and another string column (for the
display string).
(add_clicked): create the display string and get the proper
pixbuf, and insert both.
(edit_clicked): removed.
(update_buttons): remove edit button handling from here.
(e_folder_list_init): remove the hooking up of button-edit's
"clicked" signal.
(e_folder_list_construct): get a reference to the storage registry
so we can look up folders.
(e_folder_list_set_items): analogous change to add_clicked - get
the display string and pixbuf and insert them.
* glade/e-folder-list.glade: remove the edit button.
* glade/e-shell-config-default-folders.glade: remove the
frame/vbox, since we embed it in a notebook and the tab has the
title already.
* e-shell-config.c (config_control_factory_cb): the only config
control we deal with here now is the folder settings control.
* e-shell-config-default-folders.c
(e_shell_config_default_folders_create_widget): rename
e_shell_config_default_folders_create_control to this, return the
widget, and take the config control to use as an arg.
* e-shell-config-offline.c (e_shell_config_offline_create_widget):
make an analogous change here as with
default_folders_create_widget.
* e-shell-config-default-folders.h
(e_shell_config_default_folders_create_widget): track change to
prototype.
* e-shell-config-offline.h (e_shell_config_offline_create_widget): same.
* GNOME_Evolution_Shell.oaf.in: remove the DefaultFolders and
OfflineFolders controls and add a FolderSettings_Control.
* Makefile.am (evolution_SOURCES): add
e-shell-config-folder-settings.[ch] and
e-shell-config-autocompletion.[ch].
* e-shell-config-folder-settings.[ch]: new files, embed (after a
fashion) the default folder, offline, and autocompletion UI's in a
notebook.
* e-shell-config-autocompletion.[ch]: Basically copy over and
shell-ize the addressbook autocompletion config control so it can
be embedded more easily with the other folder settings.
svn path=/trunk/; revision=17000
2002-05-03 Christopher James Lahey <clahey@ximian.com>
* e-folder-list.c: Use bonobo_object_client_(un)?ref instead of
gtk_object_(un)?ref.
(add_clicked): Don't pass NULL to
evolution_shell_client_user_select_folder.
* glade/Makefile.am: Added e-folder-list.glade
* glade/e-folder-list.glade: The glade file for e-folder-list.
svn path=/trunk/; revision=16678
2002-05-03 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (eshellinclude_HEADERS): Added e-folder-list.h.
(libeshell_la_SOURCES): Added e-folder-list.c.
* e-folder-list.c, e-folder-list.h: New widget for editing a list
of folder uris.
svn path=/trunk/; revision=16677