2003-04-03 Not Zed <NotZed@Ximian.com>
** Bug 40536
* component-factory.c (send_receive_cb): run the warning dialogue
asynchronously. Also, set the mail send/receive dialogue to
transient for parent.
* mail-send-recv.c (mail_send_receive): return the dialogue for
send/receive.
svn path=/trunk/; revision=20691
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-06 Hans Petter Jansson <hpj@ximian.com>
Week view part of fix for #39895.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Use the UNFOCUSSED colour if we're not focused, rather than not
drawing anything.
* gui/e-week-view.c: Set up the UNFOCUSSED colour.
* gui/e-week-view.h: Add the UNFOCUSSED colour.
svn path=/trunk/; revision=20689
* e-account-list.c (gconf_accounts_changed): Don't start emitting
ACCOUNT_ADDED signals until we've added all of the new accounts to
our list. Otherwise if the signal handler calls
e_account_list_get_default_account() it will end up causing the
first account in the list to become the default. #40675
svn path=/trunk/; revision=20680
"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 Chris Toshok <toshok@ximian.com>
* acinclude.m4 (EVO_LDAP_CHECK): bleah, add "" in for the "no"
case in with_static_ldap.
svn path=/trunk/; revision=20674
* 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 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_save_draft): If the composer isn't
'dirty', then don't autosave the draft (no need to). Fixes bug
#40764.
svn path=/trunk/; revision=20671
2003-04-03 Chris Toshok <toshok@ximian.com>
* acinclude.m4 (EVO_LDAP_CHECK): the existence of libldap.la
should have no bearing on whether or not we try to statically link
ldap.
svn path=/trunk/; revision=20666
2003-04-03 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-label.c (e_minicard_label_event): set
"handle_popup" on the field to be TRUE if it's got focus, FALSE if
not.
svn path=/trunk/; revision=20665
2003-04-03 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-entry.c (e_entry_init): set handle_popup to TRUE on
the EText.
* gal/e-text/e-text.c (e_text_set_property): add setter for
handle_popup.
(e_text_get_property): add getter for handle_popup.
(e_text_event): only do our special popup handling if handle_popup
is true. otherwise, pass the event along.
(e_text_class_init): install the handle_popup property.
(e_text_init): init handle_popup to FALSE, so we get default
behavior in most cases.
* gal/e-text/e-text.h: add "handle_popup" field, so the user of an
EText can decide whether to handle popups themselves.
svn path=/trunk/; revision=20664
2003-04-03 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-label.c (e_minicard_label_construct): set
the im_context on the field's EText.
(e_minicard_label_event): remove a huge swath of #if 0'd code.
svn path=/trunk/; revision=20663
2003-04-03 Chris Toshok <toshok@ximian.com>
[ fixes bug #40715 ]
* gui/merging/e-card-merging.c (final_id_cb): add this callback,
to unref the book/free the closure after calling the user's
callback.
(final_cb): same.
(doit): use final{_id}_cb
(cancelit): same.
(response): don't free the lookup struct here.
(match_query_callback): same.
(e_card_merging_book_add_card): ref the book.
(e_card_merging_book_commit_card): same.
* gui/component/e-address-popup.c (card_picker_init): make sure to
set the "text" attribute on the cell renderer so the text actually
shows up. also, g_object_connect -> g_signal_connect *sigh*.
Lastly, get rid of the scrolled window and just make the window
size to show the text.
* gui/widgets/e-minicard.c (e_minicard_style_set): only call
set_selected if we're realized (we create all the canvas objects
that set_selected manipulates in our realize method.)
svn path=/trunk/; revision=20662
2003-04-03 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier Fernandez <serrador@arrakis.es>
svn path=/trunk/; revision=20660
2003-04-03 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_commit_cb): emit a keypress signal.
yes, i know this might not correspond to a single keypress, but..
svn path=/trunk/; revision=20659
2003-04-02 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_copy_clipboard): ifdef
gtk_widget_get_clipboard since we need to build against gtk 2.0.
(e_text_update_primary_selection): same.
(e_text_paste): same.
(e_text_do_popup): same.
svn path=/trunk/; revision=20657
2003-04-02 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_dispose): just disconnect based on
DATA, so we only need 1 call.
(e_text_event): same.
svn path=/trunk/; revision=20655
2003-04-02 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-popup.c: change all
this around so that we populate the existing popup. This means we
get the select names popup stuff on top of the normal EEntry popup
foo.
* gui/component/select-names/e-select-names-popup.h
(e_select_names_populate_popup): rename e_select_names_popup to
this.
* gui/component/select-names/e-select-names-manager.c
(populate_popup_cb): rename popup_cb here, and
e_select_names_popup -> e_select_names_populate_popup.
(e_select_names_manager_entry_new): popup -> populate_popup.
svn path=/trunk/; revision=20654
2003-04-02 Chris Toshok <toshok@ximian.com>
[ either fixes#39702 or comes damn, damn close. also, fixes EText
to not suck *nearly* as much. ]
* gal/util/e-marshal.list: add NONE:POINTER,INT,OBJECT.
* gal/e-text/e-entry.h: (struct _EEntryClass): popup ->
populate_popup.
* gal/e-text/e-entry.c (proxy_changed): rename, the old name was
too damn long.
(proxy_activate): same.
(proxy_populate_popup): same, and change from popup to
populate_popup.
(e_entry_init): track change to cb names, and populate_popup.
also, pass the ECanvas's im_context to the EText.
(e_entry_class_init): POPUP -> POPULATE_POPUP.
* gal/e-text/e-text.h (struct _EText): remove the old selection
stuff, and add im_context/reset_im_context fields.
(struct _ETextClass): popup -> populate_popup.
* gal/e-text/e-text.c (e_text_dispose): remove all the
GtkInvisible based selection stuff, and disconnect from/unref the
im_context.
(e_text_set_property): add "im_context" handling.
(e_text_get_property): same.
(e_text_event): connect/disconnect from the IM context's signals
in the FOCUS_CHANGE handler. in the KEY_PRESS/RELEASE handler,
use gtk_im_context_filter_keypress if we have an im_context.
also, use e_text_do_popup now instead of just emitting the "popup"
signal.
(e_text_copy_clipboard): new function.
(e_text_delete_selection): new function.
(e_text_cut_clipboard): new function.
(e_text_paste_clipboard): new function.
(e_text_select_all): new function.
(primary_get_cb): new function, handle requests for the primary
selection when we're the owner.
(primary_clear_cb): new function, unfinished.
(e_text_update_primary_selection): new function.
(paste_received): new function, insert pasted text.
(e_text_paste): new function,
(popup_menu_detach): new function, not needed really.
(popup_targets_received): new function, pop up the popup once we
have the selection information necessary to sensitize the c/c/p
buttons.
(e_text_do_popup): new function, request the selection.
(e_text_reset_im_context): new function.
(e_text_command): for E_TEP_SELECT, call
e_text_update_primary_selection. for E_TEP_DELETE/INSERT,
_delete_selection -> e_text_delete_selection. for E_TEP_COPY,
call e_text_copy_clipboard. for E_TEP_PASTE/E_TEP_GET_SELECTION
call e_text_paste.
(e_text_class_init): change the "popup" signal to
"populate_popup". Also, add the "im_context" property.
(e_text_commit_cb): new function. IM context callback.
(e_text_retrieve_surrounding_cb): new function. IM context
callback.
(e_text_delete_surrounding_cb): new function. IM context
callback. unfinished.
svn path=/trunk/; revision=20653
2003-04-02 Hans Petter Jansson <hpj@ximian.com>
* e-calendar-item.c (e_calendar_item_set_selection): For example;
a selection ending 2003-apr-02 does not fit into the remaining
shown days after 1969-dec. Stop assuming that it does.
svn path=/trunk/; revision=20652
2003-04-02 Jeffrey Stedfast <fejj@ximian.com>
* gui/control-factory.c (set_prop): Add a check to see if the view
should be the day-view and change the default to be whatever
calendar_config_get_default_view() returns. Should fix bug #39735.
* gui/calendar-config.h: calendar_config_write() and
calendar_config_write_on_exit() no longer exist. Removed
prototypes.
* gui/control-factory.c (set_prop): g_strcasecmp() is
deprecated. Since the values can never be anything other than all
lowercase anyway, just use strcmp.
svn path=/trunk/; revision=20649
2003-04-02 Rodrigo Moya <rodrigo@ximian.com>
Fixes#39262
* importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn):
use folder_type argument to determine what to import.
svn path=/trunk/; revision=20647