aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-view-menu.c5
-rw-r--r--shell/e-shell-view.c5
3 files changed, 14 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 2a6293c485..bc87bec543 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,11 @@
+2001-07-15 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-shell-view-menu.c (e_shell_view_menu_setup): Connect the
+ "line_status_changed" signal with
+ `gtk_signal_connect_while_alive()' for the shell views, so we
+ don't crash if a view gets destroyed.
+ * e-shell-view.c (e_shell_view_construct): Likewise.
+
2001-07-12 Jason Leach <jleach@ximian.com>
* e-shell-view-menu.c (command_submit_bug): Because
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 2d7cd8e4a9..f8a0368d64 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -776,7 +776,8 @@ e_shell_view_menu_setup (EShellView *shell_view)
SHORTCUT_BAR_TOGGLE_PATH);
/* Set up the work online / work offline menu item. */
- gtk_signal_connect (GTK_OBJECT (shell), "line_status_changed",
- GTK_SIGNAL_FUNC (shell_line_status_changed_cb), shell_view);
+ gtk_signal_connect_while_alive (GTK_OBJECT (shell), "line_status_changed",
+ GTK_SIGNAL_FUNC (shell_line_status_changed_cb), shell_view,
+ GTK_OBJECT (shell_view));
update_offline_menu_item (shell_view, e_shell_get_line_status (shell));
}
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 689a299871..ba9022cb8a 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1216,8 +1216,9 @@ e_shell_view_construct (EShellView *shell_view,
bonobo_ui_component_thaw (priv->ui_component, NULL);
- gtk_signal_connect (GTK_OBJECT (shell), "line_status_changed",
- GTK_SIGNAL_FUNC (shell_line_status_changed_cb), view);
+ gtk_signal_connect_while_alive (GTK_OBJECT (shell), "line_status_changed",
+ GTK_SIGNAL_FUNC (shell_line_status_changed_cb), view,
+ GTK_OBJECT (view));
return view;
}
class='deletions'>-262/+475 * Fix dependencies:pb2004-04-121-3/+2 * BROKEN on sparc64: Does not buildkris2004-04-121-1/+7 * rpm2cpio is an EXTRACT_DEPENDS, not BUILD_DEPENDSkris2004-04-121-1/+1 * Add a missing USE_XLIBkris2004-04-121-0/+1 * Stop installing xine-bugreport and xine-check that have insecurenobutaka2004-04-123-5/+11 * * Update to 1-rc3c.nobutaka2004-04-1110-82/+426 * Update to 1.0lioux2004-04-113-9/+55 * Update to 1.0lioux2004-04-113-34/+6 * Tidy up whitespace.trevor2004-04-111-1/+0 * Add kino.pb2004-04-111-0/+1 * Kino 0.7.0.pb2004-04-1137-0/+1709 * Add py-gstreamer, Python bindings around the GStreamer multimedia system.marcus2004-04-109-0/+183 * Fix build on AMD64arved2004-04-105-8/+67 * Update to 0.8.7lioux2004-04-102-3/+3 * - Support intlhackkrion2004-04-101-4/+3 * - Update the Ruby/GNOME2 suite to 0.9.1.knu2004-04-092-4/+4 * - Fix buildkrion2004-04-091-0/+2 * Update to 0.6.10.pb2004-04-094-30/+65 * Update to 0.7.0, and unbreak.marcus2004-04-084-16/+61 * Bump PORTREVISION due to PLIST change in previous commitlioux2004-04-081-0/+1 * o Uphold portlint by moving WRKSRC out of the 1st Makefile blocklioux2004-04-082-3/+3 * Chase the gstreamer shared lib version, but mark BROKEN until it can be updatedmarcus2004-04-081-1/+3 * Use stat instead of lstat to get DSP device information. This should fixmarcus2004-04-074-0/+24 * Fix the libshout dependency.marcus2004-04-072-2/+2 * - Update to version 1.0.0krion2004-04-076-39/+56 * - Add distfiles for encoding patchkrion2004-04-061-0/+2 * - update to 0.1.0dinoex2004-04-062-3/+3 * Remove the httpsrc plug-in. It is no longer supported.marcus2004-04-064-28/+0 * Update to 0.4.0blioux2004-04-064-20/+26 * libzvbi got updated - libversion got changedoliver2004-04-051-2/+2 * Fix dependency on libcdioarved2004-04-051-1/+1 * Remove a patch that is no longer needed.marcus2004-04-051-36/+0 * Update to 0.8.0.marcus2004-04-057-121/+13 * Add gstreamer-ffmpeg, a GStreamer plug-in for manipulating MPEG video streams.marcus2004-04-0517-0/+349 * Remove acme now that it has been rolled into gnomecontrolcenter2.marcus2004-04-056-122/+0 * Chase the glib20 update, and bump all affected ports' PORTREVISIONs.marcus2004-04-0523-15/+23 * Add a patch forgotten by the merge script.marcus2004-04-051-0/+36 * Presenting GNOME 2.6.0. The FreeBSD GNOME Team feels this our best releasemarcus2004-04-0554-632/+1646 * Update to 0.7.20arved2004-04-053-13/+24 * - Use /dev/acd0[c] as a default CD/DVD devicepav2004-04-031-0/+34 * Sync with ports (Fix a configure check)lofi2004-04-022-2/+6 * Remove category pkg/COMMENT files in favour of a COMMENT variable in thekris2004-04-022-1/+3 * Add acidrip, a Perl/Gtk2 frontend for mencoder for ripping DVDs into DivX.pav2004-04-025-0/+75 * - Respect CXX and CXXFLAGSkrion2004-04-011-2/+3 * Add lsdvd, a small utility to list content of DVD in human readable form.pav2004-03-314-0/+55 * - Remove old SIZE entrieskrion2004-03-311-2/+0 * - Fix buffer overflow attack and remote exploit addressed tokrion2004-03-312-4/+5 * SIZEify (maintainer timeout)trevor2004-03-3120-0/+48 * Add size data.trevor2004-03-311-0/+1 * - Use USE_ICONV knobkrion2004-03-316-9/+8 * correct typo in my previous commiteik2004-03-301-1/+1 * Mark forbidden due to an entry in the VuXML database. Don'teik2004-03-291-0/+2 * - SIZEifymarkus2004-03-291-0/+1 * Update to 0.4.2arved2004-03-285-11/+37 * Respect WITHOUT_FOO.lofi2004-03-282-72/+12 * Update pkg-message:pav2004-03-281-13/+2 * Add a bunch of missing gconf entries.adamw2004-03-282-1/+37 * o Remove BROKEN: update is fetchablelioux2004-03-272-8/+6 * - make PKGNAMESUFFIX more flexibledinoex2004-03-272-14/+6 * - make PKGNAMESUFFIX more flexibledinoex2004-03-272-6/+8 * Update WWW tag.osa2004-03-261-1/+1 * Add y4mscaler, a general-purpose video scaler which operates on YUV4MPEG2pav2004-03-264-0/+80 * - IGNORE for perl < 5.6pav2004-03-261-4/+2 * Update to 1.0alpha-3.marcus2004-03-263-13/+12 * Make dependency on audio/lame optional and default to off so we canlofi2004-03-2410-18/+58 * BROKEN: Unfetchablekris2004-03-231-0/+2 * - Update to 0.5.1clement2004-03-2310-82/+93 * - make portlint happydinoex2004-03-222-37/+25 * - update to 0.7.1dinoex2004-03-218-436/+68 * 1) Enable shared postprocess per defaultlioux2004-03-216-38/+38 * Remove ports/multimedia/ffmpeg045 in favor of better latest versionlioux2004-03-2115-684/+0 * Add size data, approved by maintainers.trevor2004-03-211-0/+1 * Add WITHOUT_ARTS knob. Furthermore, it takes precedence over WITH_ARTSlioux2004-03-202-12/+18 * Remove BROKEN: fix build in 5.x-CURRENTlioux2004-03-201-6/+5 * Fix build on 5.x-CURRENT: fix libebml port header files locationlioux2004-03-201-1/+1 * - Utilize USE_SDL to prevent libraries chase in the futurekrion2004-03-191-6/+2 * Unbreak dependency on SDL in WITH_SDL=yes case. Look for properkan2004-03-191-1/+1 * BROKEN on ia64: Fails to linkkris2004-03-191-1/+7 * BROKEN on i386 5.x: Does not compilekris2004-03-192-0/+8 * BROKEN on 5.x: Does not compilekris2004-03-191-0/+4 * - s/USE_SDL=yes/USE_SDL=sdllofi2004-03-192-1/+18 * Add size data, approved by maintainers.trevor2004-03-191-0/+1 * Add SIZEarved2004-03-181-0/+1 * - Add SIZE to GNOME portspav2004-03-181-0/+1 * BROKEN on 5.x: Does not compilekris2004-03-181-0/+4 * - Add SIZEpav2004-03-181-0/+1 * SIZEifyijliao2004-03-183-0/+3 * SIZEify.lofi2004-03-181-0/+1 * SIZEify.trevor2004-03-183-0/+4 * Fix build with freetype2-2.1.7.lofi2004-03-171-0/+12 * BROKEN on ia64: Does not compilekris2004-03-171-1/+7 * Fix build with freetype2-2.1.7.marcus2004-03-172-0/+24 * Log:znerd2004-03-163-15/+74 * Chase library bump of libSDL-1.1 for all ports which were dependingedwin2004-03-1629-29/+29 * Don't use PORTREVISION in dependency filenames.lofi2004-03-151-1/+1 * ia64 doesn't have bktr supportkris2004-03-151-1/+1 * ONLY_FOR_ARCHS=alpha i386 ia64, and IGNORE on alpha 4.xkris2004-03-151-1/+9 * - mark BROKEN on alpha 4.xdinoex2004-03-152-0/+14 * - Chase libdv shlib versionpav2004-03-151-1/+1 * o Play nice in FreeBSD series before 5.x, defaulting on all mkvtoolnixlioux2004-03-142-10/+12 * Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-1432-32/+32 * o Fix "make deinstall reinstall": "unfix" some header files insidelioux2004-03-142-0/+8 * Support moved header files in FreeBSD 5.x branch: the header fileslioux2004-03-142-0/+10 * o Work around compiler BUGlioux2004-03-141-0/+6 * o Chase libdv shared library version bump [1]lioux2004-03-142-4/+4 * Chase libdv shared library version bumplioux2004-03-146-8/+8 * o Update to 0.101lioux2004-03-143-20/+9 * BROKEN on !i386: Does not compilekris2004-03-131-1/+7 * - Fix problmes when -lpthread does exist.dinoex2004-03-132-4/+6 * - Proper handle installation of OMF files as described inkrion2004-03-122-0/+3 * - Use PORTDOCS [1]krion2004-03-121-10/+4 * Update to 0.4lioux2004-03-124-27/+22 * fix patch when perl <= 5.6.0ijliao2004-03-121-1/+1 * Unbreak WITH_ENCODING_PATCH by updating it to version 27.3.kan2004-03-112-22/+1 * Fix plist.lofi2004-03-111-1/+1 * Fix plist, bump PORTREVISION.lofi2004-03-101-1/+1 * Fix PKGNAME. Bump PORTREVISION.lofi2004-03-101-1/+1 * Unbreak from previous commit by fixing author's bugs. Also, the configlinimon2004-03-104-1/+27 * Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-1013-84/+110 * /tmp/cvs7Yiceweik2004-03-101-1/+1 * Add noatun-plugins, various plugins for noatun (part of kdemultimedia).lofi2004-03-095-0/+76 * BROKEN on alpha and amd64: Does not compilekris2004-03-091-1/+7 * - Add missing manpagekrion2004-03-091-1/+4 * - Switch to my FreeBSD.org addresspav2004-03-091-1/+1 * Properly use SDL everywhere:edwin2004-03-089-29/+27 * Make ports/multimedia use the USE_SDL macroedwin2004-03-087-29/+12