gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gcmd-dev] again: file execution


From: Oliver Lange
Subject: [gcmd-dev] again: file execution
Date: Mon, 17 Nov 2003 03:32:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031110

Hello,

Possible solution for the 'dont execute unknown
stuff problem', for use as dblclick/return action:

//
// ELF or .sh filetypes may well be configured
// with a default action (execute), so:
//
if(no_default_action_defined_for_this_filetype)
{
  if(file_is_executable)
  {
    if(prefs_allow_executing_undefined_filetypes)
    {
      execute_file;
    }
  }
}

Writing again about this topic just because GnomeCommander
is also a fine tool for unexperienced users.

Cheers..






reply via email to

[Prev in Thread] Current Thread [Next in Thread]