From notzed@ximian.com Fri Oct 1 03:48:33 2004 Return-Path: Received: by lists.ximian.com (Postfix, from userid 38) id A00D7124A99; Fri, 1 Oct 2004 03:48:33 -0400 (EDT) Received: from peabody.ximian.com (peabody.ximian.com [130.57.169.10]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client did not present a certificate) by lists.ximian.com (Postfix) with ESMTP id 996FF124A97 for ; Fri, 1 Oct 2004 03:48:29 -0400 (EDT) Received: (qmail 14713 invoked from network); 1 Oct 2004 07:48:25 -0000 Received: from localhost (HELO lostzed.per-novell.com.au) (notzed@127.0.0.1) by localhost with SMTP; 1 Oct 2004 07:48:25 -0000 From: Not Zed To: asdf Content-Type: multipart/mixed; boundary="=-oYkoic9SeNXlmvAhtWLw" Date: Fri, 01 Oct 2004 15:43:09 +0800 Message-Id: <1096616589.20496.7.camel@lostzed.mmc.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.1.0 X-Spam-Status: No, hits=-8.1 required=5.0 tests=BAYES_10,PATCH_UNIFIED_DIFF,RCVD_IN_ORBS autolearn=ham version=2.53 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Subject: [evolution-patches] head, cal/contacts: hookable popup menu for e source selector Sender: evolution-patches-admin@lists.ximian.com Errors-To: evolution-patches-admin@lists.ximian.com X-BeenThere: evolution-patches@lists.ximian.com X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: patches against evolution go here List-Unsubscribe: , List-Archive: --=-oYkoic9SeNXlmvAhtWLw Content-Type: multipart/related; type="multipart/alternative"; boundary="=-6r98ALCkmFOhJUR3Av62" --=-6r98ALCkmFOhJUR3Av62 Content-Type: multipart/alternative; boundary="=-uYJJVdhCJxclDjSDh63H" --=-uYJJVdhCJxclDjSDh63H Content-Type: text/plain Content-Transfer-Encoding: 7bit This changes: - e-source-selector to do popup events differently, so they're more re-usable - tasks/calendar/addressbook to use e-popup for the source-selector popup menus - makes them use e-error for 'delete this source' boxes (higifying them). Only issues might be that the source target contains usable info, but it should contain enough for a start. some of the documentation comments are busted, but eh, thats the way it goes. -- Michael Zucchi "born to die, live to work, it's all downhill from here" Novell's Evolution and Free Software Developer --=-uYJJVdhCJxclDjSDh63H Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
This changes:
- e-source-selector to do popup events differently, so they're more re-usable
- tasks/calendar/addressbook to use e-popup for the source-selector popup menus
- makes them use e-error for 'delete this source' boxes (higifying them).

Only issues might be that the source target contains usable info, but it should contain enough for a start.

some of the documentation comments are busted, but eh, thats the way it goes.

--
Michael Zucchi <notzed@ximian.com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer
--=-uYJJVdhCJxclDjSDh63H-- --=-6r98ALCkmFOhJUR3Av62 Content-ID: <1096616271.20472.0.camel@lostzed.mmc.com.au> Content-Disposition: attachment; filename=zed-48.small.jpg Content-Type: application/octet-stream; name=zed-48.small.jpg Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4p LSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09P T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wAARCAAwADADASIA AhEBAxEB/8QAGQAAAwEBAQAAAAAAAAAAAAAAAwQFAgYB/8QALhAAAgEDAgUEAQIHAAAAAAAAAQID BBEhABIFEzFBURQigZEGYXE0UmJyobHx/8QAFwEBAQEBAAAAAAAAAAAAAAAABAMCAf/EAB0RAAID AQEAAwAAAAAAAAAAAAABAgMREjEiMkH/2gAMAwEAAhEDEQA/AK8sEEq35nLaP3e1cW/m8kfdtAfh 824L7I1YFrnaRt8+L40U1ECxiGjLzSCocRYuQhubW7jIxrcFZRzU7q3sh3e8deWvX67/AKX0Xegi TixevoZdxjhnkk2xBj2Z7DIA74Gs+kgpoaamPLllqE5yPuO4i1+nix7+NS3qatikPNZa+idmjLGx YE+7r16DHgnTEtRWTVIraiknUrE42mJvYTY/IyfjT66YZjNzkzSSRTrEYTuz0tbpg6oV1V62op5G 3QhV9yn+7t8DXPDiZlaepq0AYIBGEFtuRc2/WwH7aroXho98jNG5RVa4wDYNbzqNsefqdcnmM0J0 pp1kKyRywsdpU46EX/19aT4ioWgmanATG0Mpvcd89750arjMg2L1DfQtnSixTMW5hO0ZBZsEg5t5 xodU+8fhit7jZz4ChQWS99U1lC0H8RNZx74xK2DkAG48ePOtU0UUsQLC6kki/wC+jqtMpeLapjYg XJyNLcxyr1EUHaWaEspHXPbXVcNkUcCUOjvNv2kAdAehOkVo4LrDEFG9hcnPe+rlUsNNSenUIWkk ZHfbflqFC475IvqdnyWaRsgl6MNwysp13y8uLG3cTk6LBwCmliFR6lw7XBKdMdj50t+X8RkWOnhV rbnLfX/dUPx1ivAoTJnmFm+CdIVEIx6XpFQSZxVVH6KrkRRaAudn9I8HXhniSPcyC/ntqzxOjMNS 6uNyMbqT0I1Ogoad6pF5S23C4t1zqOa8Y7xbEDSxmesguHDId4DKQDjGqMqHmNLGygFnujAZF8DF 820/xYpQ8RWcRLtkBINuh6Ef5B0tNRH0L7UEjGzCVTZirDBGfJ+NasrcMf4CnLp6f//Z --=-6r98ALCkmFOhJUR3Av62-- --=-oYkoic9SeNXlmvAhtWLw Content-Disposition: attachment; filename=source-selector-popup.diff Content-Type: text/plain; name=source-selector-popup.diff; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Index: addressbook/ChangeLog =================================================================== RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v retrieving revision 1.1839 diff -u -p -r1.1839 ChangeLog --- addressbook/ChangeLog 29 Sep 2004 19:48:02 -0000 1.1839 +++ addressbook/ChangeLog 1 Oct 2004 07:40:23 -0000 @@ -1,3 +1,21 @@ +2004-10-01 Not Zed + + * util/eab-popup.[ch]: addressbook popup driver. + + * gui/component/addressbook-view.c (delete_addressbook_cb): use + e-error for the message prompt. don't bother keeping it around, + it can never be re-sensitised anyway. + (book_removed): no longer destroy the original dialogue. + + * addressbook-errors.xml: add ask-delete for deleting + addressbooks. + + * gui/component/addressbook-view.c (addressbook_view_init): + connect to popup_event rather than fill_popup_menu now. + (fill_popup_menu_callback): renamed to popup_event_callback, + changed to use epopup. + (add_popup_menu_item): remove, no longer needed. + 2004-09-29 Not Zed Fixes bug #66520. Index: addressbook/addressbook-errors.xml =================================================================== RCS file: /cvs/gnome/evolution/addressbook/addressbook-errors.xml,v retrieving revision 1.3 diff -u -p -r1.3 addressbook-errors.xml --- addressbook/addressbook-errors.xml 24 Sep 2004 04:50:00 -0000 1.3 +++ addressbook/addressbook-errors.xml 1 Oct 2004 07:40:23 -0000 @@ -32,6 +32,13 @@ Could not remove addressbook. + + Delete address book '{0}'? + This address book will be removed permanently. +