diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-07-02 20:19:55 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-07-02 20:24:30 +0100 |
commit | 828a5f79416c4ba7a2caaa9ea4494a1845cfaefe (patch) | |
tree | fdefd68282698f62f8dd2f0d932f7f87d10f6eaf /src/totem-uri.c | |
parent | c66215e23c8f0f876193eb7e5b31cc192ff874b6 (diff) | |
download | totem-828a5f79416c4ba7a2caaa9ea4494a1845cfaefe.tar.gz |
main: Listen to "mount-removed" signals too
As we'd only get "mount-pre-unmount" signals when gvfs is used
to eject the device.
https://bugzilla.gnome.org/show_bug.cgi?id=671285
Diffstat (limited to 'src/totem-uri.c')
-rw-r--r-- | src/totem-uri.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/totem-uri.c b/src/totem-uri.c index 4b1b5078e..d293a507e 100644 --- a/src/totem-uri.c +++ b/src/totem-uri.c @@ -288,6 +288,10 @@ totem_setup_file_monitoring (Totem *totem) "mount-pre-unmount", G_CALLBACK (totem_action_on_unmount), totem); + g_signal_connect (G_OBJECT (totem->monitor), + "mount-removed", + G_CALLBACK (totem_action_on_unmount), + totem); } /* List from xine-lib's demux_sputext.c. |