aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>2000-09-14 07:40:42 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-09-14 07:40:42 +0800
commit9964204c9c080650f79863a483a4c42886d55239 (patch)
tree3c0693385a73461319ab94b63fb15cbe80ae88e5 /composer
parent5678a57e33c55ab2622a3fbb823b42e4f80c31cc (diff)
downloadgsoc2013-evolution-9964204c9c080650f79863a483a4c42886d55239.tar.gz
gsoc2013-evolution-9964204c9c080650f79863a483a4c42886d55239.tar.zst
gsoc2013-evolution-9964204c9c080650f79863a483a4c42886d55239.zip
The Commit from hell that breaks all UI related stuff;
Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/e-msg-composer.c16
-rw-r--r--composer/e-msg-composer.h4
3 files changed, 15 insertions, 9 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index e8449a78cb..da83b8e86c 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-12 Michael Meeks <michael@helixcode.com>
+
+ * e-msg-composer.c: Update for new UI handler.
+
2000-09-12 Larry Ewing <lewing@helixcode.com>
* e-msg-composer-attachment-bar.c (add_common): add a make sure
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 4fa523e8d3..f58bcc3128 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -84,8 +84,10 @@ create_editor (EMsgComposer *composer)
{
GtkWidget *control;
- control = bonobo_widget_new_control (HTML_EDITOR_CONTROL_ID,
- bonobo_object_corba_objref (BONOBO_OBJECT (composer->uih)));
+ control = bonobo_widget_new_control (
+ HTML_EDITOR_CONTROL_ID,
+ bonobo_ui_compat_get_container (composer->uih));
+
if (control == NULL) {
g_error ("Cannot activate `%s'. Did you build gtkhtml with Bonobo and OAF support?", HTML_EDITOR_CONTROL_ID);
return NULL;
@@ -1189,7 +1191,7 @@ class_init (EMsgComposerClass *klass)
widget_class->delete_event = delete_event;
- parent_class = gtk_type_class (gnome_app_get_type ());
+ parent_class = gtk_type_class (bonobo_win_get_type ());
signals[SEND] =
gtk_signal_new ("send",
@@ -1251,7 +1253,7 @@ e_msg_composer_get_type (void)
(GtkClassInitFunc) NULL,
};
- type = gtk_type_unique (gnome_app_get_type (), &info);
+ type = gtk_type_unique (bonobo_win_get_type (), &info);
}
return type;
@@ -1274,11 +1276,11 @@ e_msg_composer_construct (EMsgComposer *composer)
gtk_window_set_default_size (GTK_WINDOW (composer),
DEFAULT_WIDTH, DEFAULT_HEIGHT);
- gnome_app_construct (GNOME_APP (composer), "e-msg-composer",
+ bonobo_win_construct (BONOBO_WIN (composer), "e-msg-composer",
_("Compose a message"));
composer->uih = bonobo_ui_handler_new ();
- bonobo_ui_handler_set_app (composer->uih, GNOME_APP (composer));
+ bonobo_ui_handler_set_app (composer->uih, BONOBO_WIN (composer));
vbox = gtk_vbox_new (FALSE, 0);
@@ -1323,7 +1325,7 @@ e_msg_composer_construct (EMsgComposer *composer)
gtk_signal_connect (GTK_OBJECT (composer->attachment_bar), "changed",
GTK_SIGNAL_FUNC (attachment_bar_changed_cb), composer);
- gnome_app_set_contents (GNOME_APP (composer), vbox);
+ bonobo_win_set_contents (BONOBO_WIN (composer), vbox);
gtk_widget_show (vbox);
e_msg_composer_show_attachments (composer, FALSE);
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index 8f8bf97c14..8903889260 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -47,7 +47,7 @@ typedef struct _EMsgComposer EMsgComposer;
typedef struct _EMsgComposerClass EMsgComposerClass;
struct _EMsgComposer {
- GnomeApp parent;
+ BonoboWin parent;
BonoboUIHandler *uih;
@@ -71,7 +71,7 @@ struct _EMsgComposer {
};
struct _EMsgComposerClass {
- GnomeAppClass parent_class;
+ BonoboWinClass parent_class;
void (* send) (EMsgComposer *composer);
void (* postpone) (EMsgComposer *composer);
n>1-4/+4 * - Update Calligra and l10n ports to 2.6.2:avilla2013-03-302-35/+4 * KDE/FreeBSD team presents KDE SC 4.10.1 ports!makc2013-03-274-31/+72 * Finish converting french to new options frameworkbapt2013-03-261-13/+10 * Fix plist.thierry2013-03-232-0/+4 * Remove french/eficas_doc.thierry2013-03-206-618/+0 * Chase Code_Aster's upgrade.thierry2013-03-201-6/+2 * Upgrade to 3.0.6.thierry2013-03-202-14/+8 * Upgrade to 6.6.0-2.thierry2013-03-204-224/+177 * Upgrading Code_Aster to 10.8.0-3.thierry2013-03-206-100/+73 * french/gibi: IGNORE for more than 6 monthseadler2013-03-198-177/+0 * - Add translation of the restricted lineeadler2013-03-191-5/+3 * Update to version 4.5.9.bsam2013-03-112-3/+2 * Update to 4.0.1.jkim2013-03-091-4/+4 * Convert USE_BISON to USES= bisonbapt2013-03-081-6/+2 * - remove german, french and japanese localization of www/MT. They wererm2013-02-243-22/+0 * Merge from area51 repository:makc2013-02-053-3/+37 * Update to 3.6.5.jkim2013-02-051-4/+4 * KDE/FreeBSD team presents KDE SC 4.9.5 ports!makc2013-02-044-49/+300 * Bump PORTREVISON after devel/py-sip and devel/qscintilla2 update.makc2013-02-047-3/+7 * Bump PORTREVISION after DESKTOP_ENTRIES updatemakc2013-01-231-1/+1 * - Change MAINTAINER addresstabthorpe2013-01-101-5/+1 * - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8beat2012-12-301-0/+3 * Decommissioning java 1.5 (EOLed since October 2009):bapt2012-12-101-6/+2 * - Update to 3.5.7.jkim2012-10-272-9/+4 * Update to version 4.5.7. This along with fixing other bugs shouldbsam2012-10-152-2/+3 * . update to version 4.5.6;bsam2012-10-032-7/+3 * - update to 2.3bapt2012-09-212-9/+3 * - update to 3.0bapt2012-09-212-14/+8 * - update to 4.6bapt2012-09-212-3/+3 * Add trytond_account_fr 2.4.0, the chart of account which is used inbsam2012-09-195-0/+46 * - Update Calligra Suite to 2.5.2.avilla2012-09-171-2/+2 * - Update Calligra to 2.5.1.avilla2012-09-012-7/+2 * The KDE/FreeBSD team is pleased to announce version 2.5 of Calligra,avilla2012-08-262-86/+5 * - Update to 3.5.6.jkim2012-08-241-4/+4 * - remove www/apache20 and devel/apr0ohauer2012-08-181-1/+1 * Update to version 4.5.5.bsam2012-07-311-2/+2 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-4/+4 * Upgrade Code_Aster to 10.6.0-3.thierry2012-07-0732-1533/+2351 * - Update Calligra to 2.4.3.avilla2012-07-051-2/+2 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-4/+4 * - Remove SITE_PERL from *_DEPENDSaz2012-06-291-2/+2 * Update to version 4.5.4.bsam2012-06-192-3/+2 * KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-153-3/+4 * - Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} orswills2012-06-111-1/+1 * - update png to 1.5.10dinoex2012-06-015-4/+5 * - Remove koffice-i18n ports, as they are not very useful withoutavilla2012-05-315-491/+0 * The KDE/FreeBSD team is pleased to announce Calligra Suite 2.4.2, KDEavilla2012-05-319-300/+140 * KDE/FreeBSD team presents long awaited KDE SC 4.8.3!makc2012-05-254-185/+339 * Chase PyQT updatemakc2012-05-257-5/+7 * Update to version 4.5.3.bsam2012-05-091-2/+2 * - upgrade to 3.5.2bapt2012-04-234-0/+22 * Update to version 4.5.2.bsam2012-04-031-2/+2 * - Bump PORTREVISION to chase the update of multimedia/libvpxashish2012-02-161-0/+1 * The KDE/FreeBSD team is pleased to announce KDE SC 4.7.4, whichavilla2012-01-251-2/+2 * - Update to 9.4.7 (English version only)hrs2012-01-221-0/+2 * Update to version 4.4.20.bsam2012-01-161-2/+2 * - change required APACHE version from 13+ to 20+ohauer2012-01-021-1/+1 * Fix a mistake in the MANUAL_PACKAGE_BUILD line.linimon2011-12-121-1/+1 * Update to version 4.4.19.bsam2011-12-061-2/+2 * - Pass maintainership to office@FreeBSD.orgsunpoet2011-11-292-2/+2 * adjust linking and comments in dependent ports after the math/atlas update;bf2011-11-221-2/+2 * The KDE on FreeBSD team is pleased to update the KDE4 ports to 4.7.3.rakuco2011-11-142-3/+2 * - Get rid FreeBSD 6 supportmiwi2011-11-071-4/+0 * The vast majority of pkg-descr files had the following format when theydougb2011-10-241-1/+1 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-172-15/+47 * Update to version 4.4.18.bsam2011-10-031-2/+2 * - Update to 4.3sunpoet2011-10-032-4/+3 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-242-5/+6 * . update to version 4.4.17;bsam2011-09-071-2/+2 * - Disallow from pointyhat: runaway python processpav2011-08-271-0/+2 * - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is definedohauer2011-08-211-2/+2 * - Set DIST_SUBDIR: move dist files to DISTDIR/mythessunpoet2011-08-182-2/+3 * - Set DIST_SUBDIR: move dist files to DISTDIR/hyphensunpoet2011-08-182-2/+3 * - Set DIST_SUBDIR: move dist files to DISTDIR/hunspellsunpoet2011-08-182-2/+3 * - Set WRKSRCsunpoet2011-08-131-1/+2 * - Unify COMMENT and pkg-descrsunpoet2011-08-132-4/+5 * - Move language prefix to PKGNAMEPREFIXsunpoet2011-07-293-41/+38 * Update to 0.1.33, which fixes the verb "chauvir".naddy2011-07-253-4/+6 * - Fix typosunpoet2011-07-251-9/+9 * Pass matainership to the new office teambapt2011-07-223-3/+3 * Add some locales thesaurusbapt2011-07-214-0/+50 * Add french hyphenation rulesbapt2011-07-204-0/+45 * Update to 5.12jlaffaye2011-07-201-5/+3 * Add french modern dictionnary for hunspellbapt2011-07-204-0/+45 * - Bump PORTREVISION for science/hdf5-18 shlib changesunpoet2011-07-152-4/+4 * It seems that Code_Aster does not support Python 2.7 on amd64.thierry2011-07-141-0/+5 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-082-2/+2 * Update KDE Software Compilation ports to 4.6.5makc2011-07-083-3/+85 * Update to version 4.4.16.bsam2011-07-041-2/+2 * - Drop MD5 supportmiwi2011-07-031-1/+0 * Rework the port, for apache22 exp-run.thierry2011-06-308-446/+421 * Chase py-mechanize's upgrade.thierry2011-06-221-1/+2 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.4. Read fullavilla2011-06-141-2/+2 * Update to version 4.4.15.bsam2011-06-021-2/+2 * Update to Adobe Reader 9.4.2 and add a hack to mitigate "RSException" crashhrs2011-05-301-2/+2 * Update KDE Software Compilation ports to 4.6.3makc2011-05-172-2/+51 * One more bunch of unmaintained expired ports removalbapt2011-05-0211-327/+0 * Bump PORTREVISION after open-mofit updatemakc2011-05-023-2/+3 * - Update KOffice to 2.3.3.avilla2011-04-134-4/+100 * The FreeBSD KDE Team is pleased to announce April updates for KDEavilla2011-04-072-2/+11 * Update to version 4.4.13.bsam2011-04-031-2/+2 * - Update KOffice to 2.3.1.avilla2011-03-254-114/+32 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.1 and KDE PIMavilla2011-03-253-26/+51 * - Revertpav2011-03-221-2/+2 * - Get Rid MD5 supportmiwi2011-03-1910-11/+2