Merge remote-tracking branch 'origin/pr/177'

* origin/pr/177:
  Added menu position with Qubes Tools to XFCE Menu
This commit is contained in:
Marek Marczykowski-Górecki 2019-08-28 16:50:59 +02:00
commit 1ced452976
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
9 changed files with 37 additions and 6 deletions

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Restore Backup Name=Restore Backup
GenericName=Restore Backup GenericName=Restore Backup
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Backup Qubes Name=Backup Qubes
GenericName=Backup Qubes GenericName=Backup Qubes
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Qubes Global Settings Name=Qubes Global Settings
GenericName=Qubes Global Settings GenericName=Qubes Global Settings
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Qube Manager Name=Qube Manager
GenericName=Qube Manager GenericName=Qube Manager
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Qubes Template Manager Name=Qubes Template Manager
GenericName=Qubes Template Manager GenericName=Qubes Template Manager
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

6
qubes-tools.directory Normal file
View File

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Directory
Icon=qubes-manager
Name=Qubes Tools
GenericName=Qubes Tools

17
qubes-tools.menu Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<Menu>
<Name>Qubes Tools</Name>
<Directory>qubes-tools.directory</Directory>
<Include>
<Filename>qubes-vm-create.desktop</Filename>
<Filename>qubes-backup.desktop</Filename>
<Filename>qubes-backup-restore.desktop</Filename>
<Filename>qubes-global-settings.desktop</Filename>
<Filename>qubes-qube-manager.desktop</Filename>
<Filename>qubes-template-manager.desktop</Filename>
</Include>
</Menu>
</Menu>

View File

@ -7,4 +7,4 @@ Terminal=false
Name=Create Qubes VM Name=Create Qubes VM
GenericName=Create Qubes VM GenericName=Create Qubes VM
StartupNotify=false StartupNotify=false
Categories=System;X-Xfce-Toplevel; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -52,6 +52,12 @@ cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/ cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
cp qubes-template-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/ cp qubes-template-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
mkdir -p $RPM_BUILD_ROOT/usr/share/desktop-directories/
cp qubes-tools.directory $RPM_BUILD_ROOT/usr/share/desktop-directories/
mkdir -p $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/
cp qubes-tools.menu $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/
%post %post
update-desktop-database &> /dev/null || : update-desktop-database &> /dev/null || :
@ -140,6 +146,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/applications/qubes-backup-restore.desktop /usr/share/applications/qubes-backup-restore.desktop
/usr/share/applications/qubes-qube-manager.desktop /usr/share/applications/qubes-qube-manager.desktop
/usr/share/applications/qubes-template-manager.desktop /usr/share/applications/qubes-template-manager.desktop
/usr/share/desktop-directories/qubes-tools.directory
/etc/xdg/menus/applications-merged/qubes-tools.menu
%changelog %changelog
@CHANGELOG@ @CHANGELOG@