• John Sullivan's avatar
    Finished task 1044 (Make "Open With Other" behave sensibly · 7f52d324
    John Sullivan authored
    	when there are no programs available for this file), and
    	some related UI tweaking.
    
    	* libnautilus-extensions/nautilus-program-chooser.c:
    	(launch_mime_capplet), (launch_mime_capplet_and_close_dialog):
    	Split old launch_mime_capplet into these two parts, so I
    	could call the simpler one from two places.
    	(run_program_configurator_callback),
    	(nautilus_program_chooser_new): Moved the "Why not visit the
    	Control Center?" box from the sub-dialog into the main dialog.
    	Also created both a "Cancel" and "Done" button, only one of
    	which is shown at a time.
    	(nautilus_program_chooser_set_is_cancellable): New function,
    	determines which of the two buttons "Cancel" and "Done" to
    	display.
    	(nautilus_program_chooser_show_no_choices_message):
    	New function, puts up a modeless dialog telling user that
    	there are no applications/viewers for this file and asking
    	if they want to go to the File Types and Programs capplet.
    
    	* libnautilus-extensions/nautilus-program-chooser.h:
    	Prototype for nautilus_program_chooser_show_no_choices_message.
    
    	* libnautilus-extensions/nautilus-program-choosing.c:
    	(any_programs_available_for_file): New helper function.
    	(nautilus_choose_component_for_file),
    	(nautilus_choose_application_for_file): Reworked a bit to
    	call nautilus_program_chooser_show_no_choices_message
    	in the case where there are no choices at all.
    7f52d324
Name
Last commit
Last update
components Loading commit data...
cut-n-paste-code Loading commit data...
data Loading commit data...
docs Loading commit data...
helper-utilities Loading commit data...
icons Loading commit data...
idl Loading commit data...
libnautilus Loading commit data...
libnautilus-extensions Loading commit data...
libnautilus-private Loading commit data...
librsvg Loading commit data...
nautilus-installer Loading commit data...
nautilus-widgets Loading commit data...
po Loading commit data...
src Loading commit data...
test Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
ChangeLog-20000414 Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
RENAMING Loading commit data...
TODO Loading commit data...
acconfig.h Loading commit data...
autogen.sh Loading commit data...
check-FIXME.pl Loading commit data...
check-config-h.pl Loading commit data...
configure.in Loading commit data...
nautilus-clean.sh Loading commit data...
nautilus.desktop Loading commit data...
nautilus.png Loading commit data...
nautilus.spec.in Loading commit data...