Merge remote-tracking branch 'origin/pr/177'
* origin/pr/177: Added menu position with Qubes Tools to XFCE Menu
This commit is contained in:
commit
1ced452976
@ -6,4 +6,4 @@ Terminal=false
|
||||
Name=Restore Backup
|
||||
GenericName=Restore Backup
|
||||
StartupNotify=false
|
||||
Categories=System;
|
||||
Categories=Settings;X-XFCE-SettingsDialog
|
||||
|
@ -6,4 +6,4 @@ Terminal=false
|
||||
Name=Backup Qubes
|
||||
GenericName=Backup Qubes
|
||||
StartupNotify=false
|
||||
Categories=System;
|
||||
Categories=Settings;X-XFCE-SettingsDialog
|
||||
|
@ -6,4 +6,4 @@ Terminal=false
|
||||
Name=Qubes Global Settings
|
||||
GenericName=Qubes Global Settings
|
||||
StartupNotify=false
|
||||
Categories=System;
|
||||
Categories=Settings;X-XFCE-SettingsDialog
|
||||
|
@ -6,4 +6,4 @@ Terminal=false
|
||||
Name=Qube Manager
|
||||
GenericName=Qube Manager
|
||||
StartupNotify=false
|
||||
Categories=System;
|
||||
Categories=Settings;X-XFCE-SettingsDialog
|
||||
|
@ -6,4 +6,4 @@ Terminal=false
|
||||
Name=Qubes Template Manager
|
||||
GenericName=Qubes Template Manager
|
||||
StartupNotify=false
|
||||
Categories=System;
|
||||
Categories=Settings;X-XFCE-SettingsDialog
|
||||
|
6
qubes-tools.directory
Normal file
6
qubes-tools.directory
Normal file
@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Type=Directory
|
||||
Icon=qubes-manager
|
||||
|
||||
Name=Qubes Tools
|
||||
GenericName=Qubes Tools
|
17
qubes-tools.menu
Normal file
17
qubes-tools.menu
Normal 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>
|
@ -7,4 +7,4 @@ Terminal=false
|
||||
Name=Create Qubes VM
|
||||
GenericName=Create Qubes VM
|
||||
StartupNotify=false
|
||||
Categories=System;X-Xfce-Toplevel;
|
||||
Categories=Settings;X-XFCE-SettingsDialog
|
||||
|
@ -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-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
|
||||
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-qube-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@
|
||||
|
Loading…
Reference in New Issue
Block a user