From d55e310762a3ba82f1cadf118bf2994541199520 Mon Sep 17 00:00:00 2001 From: Jesse Pavel Date: Wed, 11 Oct 2000 21:18:37 +0000 Subject: *** empty log message *** svn path=/trunk/; revision=5865 --- calendar/ChangeLog | 23 +++++++++++++++++++++++ calendar/gui/e-itip-control.c | 32 +++++++++++++++++++++++--------- 2 files changed, 46 insertions(+), 9 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 2377a52882..972e23cec4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,25 @@ +2000-10-10 Jesse Pavel + + * gui/e-itip-control.c: set a default size for the control. + +2000-10-10 Jesse Pavel + + * gui/evolution-calendar.oafinfo: Added information about the + text/calendar MIME type, so that the evolution-calendar is called + to deal with iMIP attachments. + + * gui/e-itip-control.[ch]: These files implement a Bonobo + control that will eventually deal with iMIP/iTIP messages from + the mailer. Right now, it's not working. + + * gui/e-itip-control.glade: The Glade GUI for the above-mentioned + control. + + * gui/Makefile.am: added references to the files I created. + + * gui/main.c: called the initialization function of the Bonobo + control factory. + 2000-10-11 Tuomas Kuosmanen * gui/task-assigned-to.xpm gui/task-assigned.xpm @@ -69,6 +91,7 @@ * conduits/todo/calendar-conduit.h: same as above +>>>>>>> 1.609 2000-10-09 JP Rosevear * conduits/*: Adjust to using gnome-pilot-sync-abs conduit which diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 7c4dc22a4b..670cfed67f 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -17,13 +17,10 @@ #include "e-itip-control.h" -/* - * Bonobo::PersistStream - * - * These two functions implement the Bonobo::PersistStream load and - * save methods which allow data to be loaded into and out of the - * BonoboObject. - */ + +#define DEFAULT_WIDTH 300 +#define DEFAULT_HEIGHT 200 + typedef struct _EItipControlPrivate EItipControlPrivate; @@ -37,7 +34,7 @@ struct _EItipControlPrivate { static void -control_destroy_cb (GtkObject *object, +itip_control_destroy_cb (GtkObject *object, gpointer data) { EItipControlPrivate *priv = data; @@ -46,6 +43,21 @@ control_destroy_cb (GtkObject *object, g_free (priv); } +static void +itip_control_size_request_cb (GtkWidget *widget, GtkRequisition *requisition) +{ + requisition->width = DEFAULT_WIDTH; + requisition->height = DEFAULT_HEIGHT; +} + + +/* + * Bonobo::PersistStream + * + * These two functions implement the Bonobo::PersistStream load and + * save methods which allow data to be loaded into and out of the + * BonoboObject. + */ static char * stream_read (Bonobo_Stream stream) @@ -194,7 +206,9 @@ e_itip_control_factory (BonoboGenericFactory *Factory, void *closure) gtk_text_set_editable (GTK_TEXT (priv->text_box), FALSE); gtk_signal_connect (GTK_OBJECT (priv->main_frame), "destroy", - GTK_SIGNAL_FUNC (control_destroy_cb), priv); + GTK_SIGNAL_FUNC (itip_control_destroy_cb), priv); + gtk_signal_connect (GTK_OBJECT (priv->main_frame), "size_request", + GTK_SIGNAL_FUNC (itip_control_size_request_cb), priv); gtk_widget_show (priv->text_box); gtk_widget_show (priv->main_frame); -- cgit /npm_and_yarn/devel/electron6/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - 1) Upgrade to 1.9RC3;thierry2007-03-113-12/+7
* Add a desktop entry.thierry2007-02-142-0/+11
* Upgrade to 1.9 RC 2 - Build 20070207.thierry2007-02-083-51/+32
* Disable libtray on ! i386.thierry2007-01-191-1/+7
* - Upgrade to 1.9 RC1;thierry2007-01-064-23/+17
* Upgrade to 1.9 B10.thierry2006-12-123-99/+20
* Upgrade to 1.9 beta 8.thierry2006-11-204-101/+50
* Upgrade to 1.8 Final.thierry2006-08-212-5/+6
* Upgrade to 1.8 RC4b.thierry2006-08-043-4/+5
* Upgrade to 1.8 RC3.thierry2006-07-253-5/+6
* Upgrade to 1711 B09.thierry2006-06-183-59/+65
* Upgrade to 1711 Beta 7b.thierry2006-04-162-4/+4
* Upgrade to 1711 Actual B5b.thierry2006-02-163-6/+9
* Upgrade to 1711 B05b.thierry2006-02-063-6/+8
* - Upgrade to 1711_B04;thierry2006-01-223-17/+23
* Upgrade to 1710 Final.thierry2005-12-243-8/+8
* Upgrade to 1710 RC2b.thierry2005-12-063-20/+22
* Upgrade to 1710 B15.thierry2005-11-293-6/+4
* Upgrade to 1710 Beta 14.thierry2005-11-223-118/+5
* Upgrade to 1710 Beta 12.thierry2005-11-103-3/+7
* Move instant messaging related ports to newly created net-im category:pav2005-11-091-1/+1
* Upgrade to 1710 Beta 11.thierry2005-11-063-4/+91
* Upgrade to 1710 Beta 9b.thierry2005-10-303-3/+10
* Update pkg-descr.thierry2005-10-271-2/+11
* Upgrade to 1710_B08c.thierry2005-10-213-4/+28
* Upgrade to 1710 Beta 07 b.thierry2005-10-062-6/+5
* Upgrade to 1710 beta 4.thierry2005-09-163-3/+29
* Upgrade to 1710-beta2.thierry2005-08-293-17/+10
* Upgrade to 1709 RC13.thierry2005-07-213-8/+13
* Update to 1709 RC12c.thierry2005-07-123-3/+6
* Upgrade to 1709 RC12b (bug fixes).thierry2005-07-102-3/+4
* Upgrade to 1709 RC12.thierry2005-07-033-19/+3
* - Upgrade to 1709_RC11f;thierry2005-06-213-5/+37
* Upgrade to 1709 RC10.thierry2005-06-113-4/+8
* Upgrade to 1709 RC9a.thierry2005-06-053-5/+3
* - Upgrade to 1709_RC8;thierry2005-05-313-8/+13
* Use MASTER_SITE_LOCAL to make fetchable again.thierry2005-05-251-1/+3
* Upgrade to 1709 RC6b - Build 20050516.thierry2005-05-183-3/+5
* Upgrade to 1709_RC5.thierry2005-05-082-3/+3