Skip to content
Snippets Groups Projects
Forked from Jonathan Wilkes / purr-data
Source project has a limited visibility.
  • Albert Gräf's avatar
    4763c674
    Invoke desktop actions via /bin/sh. · 4763c674
    Albert Gräf authored
    We do this to prevent extra arguments to be passed from the DE.
    
    At least on KDE, it seems that the desktop file itself gets passed if the
    action is invoked by right-clicking the icon on the desktop (this doesn't
    happen with panel icons). Maybe this is a bug in KDE, but we need to prevent
    this, because otherwise Purr Data tries to open the desktop file as a patch,
    which of course will cause a bunch of ugly error messages in the main window.
    4763c674
    History
    Invoke desktop actions via /bin/sh.
    Albert Gräf authored
    We do this to prevent extra arguments to be passed from the DE.
    
    At least on KDE, it seems that the desktop file itself gets passed if the
    action is invoked by right-clicking the icon on the desktop (this doesn't
    happen with panel icons). Maybe this is a bug in KDE, but we need to prevent
    this, because otherwise Purr Data tries to open the desktop file as a patch,
    which of course will cause a bunch of ugly error messages in the main window.