[Xfce4-commits] [apps/xfce4-terminal] 01/01: Improve .desktop files for GNOME

noreply at xfce.org noreply at xfce.org
Fri Aug 3 17:56:04 CEST 2018


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit 7ea9e3e8ec132c8830fa75d2950b781e63b6caeb
Author: Igor <f2404 at yandex.ru>
Date:   Fri Aug 3 11:53:29 2018 -0400

    Improve .desktop files for GNOME
    
    Hide settings.desktop for it can be easily confused with the main one.
    Instead, add an action to the main desktop file that allows to open Preferences
    under GNOME (doesn't work in Xfce, though).
    
    Fixes bug #14575
---
 xfce4-terminal-settings.desktop.in | 1 +
 xfce4-terminal.desktop.in          | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/xfce4-terminal-settings.desktop.in b/xfce4-terminal-settings.desktop.in
index b3cf526..8d6cb9f 100644
--- a/xfce4-terminal-settings.desktop.in
+++ b/xfce4-terminal-settings.desktop.in
@@ -8,3 +8,4 @@ Terminal=false
 Type=Application
 Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
 StartupNotify=true
+NotShownIn=GNOME;
diff --git a/xfce4-terminal.desktop.in b/xfce4-terminal.desktop.in
index 3bb7f21..182a747 100644
--- a/xfce4-terminal.desktop.in
+++ b/xfce4-terminal.desktop.in
@@ -9,3 +9,8 @@ Terminal=false
 Type=Application
 Categories=GTK;System;TerminalEmulator;
 StartupNotify=true
+Actions=preferences;
+
+[Desktop Action preferences]
+_Name=Terminal Preferences
+Exec=xfce4-terminal --preferences

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list