After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163849 - desensitize "Write to disk..." commands when burn:/// is empty
desensitize "Write to disk..." commands when burn:/// is empty
Status: RESOLVED FIXED
Product: nautilus-cd-burner
Classification: Deprecated
Component: cd-burner
2.13.x
Other All
: Normal normal
: ---
Assigned To: Nautilus CD Burner Maintainers
Nautilus CD Burner Maintainers
: 153325 (view as bug list)
Depends on: 339273
Blocks:
 
 
Reported: 2005-01-12 19:41 UTC by Luca Ferretti
Modified: 2006-06-20 13:59 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Luca Ferretti 2005-01-12 19:41:10 UTC
Request: desensitize "Write to disk..." commands when there are no files in
burn:// location

Current behavior
1. Open File Browser and choose Go -> CD/DVD Creator and eventually remove all
file inside it.
2. Choose toolbar button or sidepane button or menu entry to start writing files
3. The "No files selected" alert appears saying you can open the CD/DVD Creator. 
4 Click "Open creator" and ... voilà! You have a new spatial CD/DVD creator window
5 Here you can select again File -> Write to Disk so you can restart from point
3 :-)

Comments
OK, users are not totally dumb, but IMHO if you can perform those action, it's a
bug, not a feature.
Comment 1 William Jon McCann 2005-02-10 21:26:28 UTC
*** Bug 153325 has been marked as a duplicate of this bug. ***
Comment 2 William Jon McCann 2005-03-16 17:36:46 UTC
I completely agree.

This looks like it is going to require some changes to nautilus.  The window
menu items (aka background_items) only seem to get updated on window creation or
a manual "Reload".  See nautilus/src/nautilus-window-menus.c:get_extension_menus().

On the other hand, the selection context menus (aka get_file_items) get updated
more often.  See nautilus/src/file-manager/fm-directory-view.c:real_update_menus().

There are many special case exceptions in
fm-directory-view.c:real_update_menus() for nautilus internal menu items.
Comment 3 Luca Ferretti 2006-01-20 13:20:02 UTC
Please note that on current (2.13.x) n-c-b, the Write to Disk button on new nautilus bar is desensitized when there are no files/folders in burn://

(Changed to 2.13.x version. Do you think I've to update Gnome-version tag to current release too?)
Comment 4 William Jon McCann 2006-06-20 13:59:35 UTC
The fix for bug #339273 makes this possible.

2006-06-20  William Jon McCann  <mccann@jhu.edu>

	* configure.in: Require nautilus 2.15.3.
	* src/burn-extension.c: (nautilus_burn_get_background_items),
	(burn_monitor_cb):
	Set sensitivity of Write to disc menu item.  Fixes #163849.