2004-08-19 Hans Petter Jansson <hpj@ximian.com>
Makes the contact image selector use GtkFileChooser if available.
* gui/contact-editor/e-contact-editor.c (image_selected_cb): Take just
the editor as an argument, so we can call from other places without
having to supply dummy args. Rename to image_selected, since it's no
longer strictly a callback. Include optional code to use the new
GtkFileChooser.
(image_cleared_cb): Ditto. Rename to image_cleared.
(file_chooser_response): Optional response handling for GtkFileChooser.
(image_clicked): Include optional code to use the new GtkFileChooser.
Move common strings to variables. For GtkFileSelection, swap callback
parameters for the modified image_selected () and image_cleared ().
svn path=/trunk/; revision=26979
2004-08-19 Chris Toshok <toshok@ximian.com>
[ likely fixes#61500 ]
* addressbook-errors.xml (remove-addressbook): remove the
secondary text, since we don't have the gerror text to supply it
anymore.
* gui/component/addressbook-view.c (book_removed): new function,
move the error handling here.
(delete_addressbook_cb): create a closure with necessary data, and
call the e_book_async_remove instead of e_book_remove.
svn path=/trunk/; revision=26975
2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/select-names/e-select-names.c (e_select_names_init) :
select names dialog can not be modal as password dialogs can come up while
user is in this dialog for address books which require authentication
like groupwise and LDAP
FIxes#63257
svn path=/trunk/; revision=26971
2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/alarm-notify/alarm-notify.c (alarm-notify_init) :
initialize the mutext needed to prevent concurrect access
priv->uri_clients_hash. Also install a timeout handler for
loading sources which requires auth later
(alarm_notify_finalize) : free the new mutex
(load_calendars_cb) : call back which adds sources again after
one minute
(alarm_notify_add_calendar) : lock ad unlock the new mutex
before and after accessing uri_clients_hash
svn path=/trunk/; revision=26962
2004-08-16 Not Zed <NotZed@Ximian.com>
** See bug #62963.
* message-list.c (build_tree, build_flat): define selected in
declaration block, not inline. Spotted by Vincent Noel
<vnoel@cox.net>
svn path=/trunk/; revision=26959
2004-08-17 Rodney Dawes <dobey@novell.com>
* e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct):
Connect to the "changed" signal instead of "activate"
Fixes#62970
svn path=/trunk/; revision=26956
2004-08-16 JP Rosevear <jpr@ximian.com>
Fixes#62706
* gui/e-cal-model.c (e_cal_model_set_timezone): set the default
timezone on the server
svn path=/trunk/; revision=26955
2004-08-11 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (app_delete_event_cb):
Remove the custom prompt-to-save dialogs from here - use
eab_prompt_save_dialog (), and then only if the contact actually
changed.
svn path=/trunk/; revision=26950
2004-08-16 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-gui-util.c (eab_show_multiple_contacts):
reinstate the ngettext patch that was part of the #53464 commit of
2004-03-24 by dsegan@gmx.net.
svn path=/trunk/; revision=26949
2004-08-16 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/alarm-notify/alarm-notify.h : change the prototype of
alarm_notify_add_calendar to take Esource instead of uri
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar) :
use auth_new_cal_from_source instead of _from_uri to create cal client
also do not try to load the cal backend which require auth and for which
there is no password availble in e-password seesion
(list_changed_cb) (load_calendars) : pass Esource insted of uri
to alarm_notify_add_calendar
svn path=/trunk/; revision=26947
2004-08-14 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/e-tasks.c (e_tasks_init) : initialize priv->default_lcient
(default_client_cal_opened_cb) : unref priv->default_client
and make it NULL
(client_cal_opened_cb) : don't unref client
explicitly as removing from priv->clients already does that.
Remove client based on uid instead of uri
(backend_died_cb) : Remove client based on uid insted of uri
Fixes#62869
svn path=/trunk/; revision=26943
2004-08-13 Not Zed <NotZed@Ximian.com>
* em-utils.c (em_utils_message_to_html): don't include the
terminating NUL in the data length.
(em_utils_part_to_html): nor here.
svn path=/trunk/; revision=26942