GNOME Bugzilla – Bug 333263
Notify property change when changing drive
Last modified: 2006-03-22 17:02:42 UTC
The most excellent library libgconf-bridge relies on gobject properties emiting notify when they change to sync the properties to GConf. However, NautilusBurnDriveSelector never does this. Attaching a patch, which would be *really nice* to have in 2.14 (so I don't have to revert some code).
Created attachment 60576 [details] [review] Add notify calls I think I've got just the right number of calls, not too many and not too few.
Looks OK. If it works for you then go for it. Thanks.
Committed, thanks.
Bummer. This triggers a crash in n-c-b and rhythmbox. Backtrace was generated from '/home/gnome/bin/nautilus-cd-burner' Using host libthread_db library "/lib/libthread_db.so.1". `shared object read from target memory' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1208387904 (LWP 24772)] 0x00769402 in __kernel_vsyscall ()
+ Trace 66911
Thread 1 (Thread -1208387904 (LWP 24772))
Looks like we are doing something odd in nautilus_burn_drive_selection_set_recorders_only(): /* Force a signal out */ combo_device_changed (NULL, (gpointer) selection); http://cvs.gnome.org/viewcvs/nautilus-cd-burner/bacon-cd-selection.c?hideattic=0&r1=1.15&r2=1.16 Which was a fix for bug #157387.
Created attachment 61190 [details] [review] minimal fix
Actually, Ross, why aren't we doing the notify on the Selection object in this case (as we are in the others)?
Created attachment 61191 [details] [review] better fix?
Looks good to me. Doh.