Added menu item

Added 'Backup Qubes' and 'Restore Backup' positions in the menu.
This commit is contained in:
Marta Marczykowska-Górecka 2018-01-06 02:32:19 +01:00
parent bb8abff988
commit 3699f50be3
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Exec=qubes-backup-restore
Path=/user/bin
Icon=qubes-manager
Terminal=false
Name=Restore Backup
GenericName=Restore Backup
StartupNotify=false
Categories=System;

10
qubes-backup.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Exec=qubes-backup
Path=/user/bin
Icon=qubes-manager
Terminal=false
Name=Backup Qubes
GenericName=Backup Qubes
StartupNotify=false
Categories=System;

View File

@ -43,6 +43,8 @@ cp qubesmanager/qvm_about.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
mkdir -p $RPM_BUILD_ROOT/usr/share/applications mkdir -p $RPM_BUILD_ROOT/usr/share/applications
cp qubes-global-settings.desktop $RPM_BUILD_ROOT/usr/share/applications/ cp qubes-global-settings.desktop $RPM_BUILD_ROOT/usr/share/applications/
cp qubes-vm-create.desktop $RPM_BUILD_ROOT/usr/share/applications/ cp qubes-vm-create.desktop $RPM_BUILD_ROOT/usr/share/applications/
cp qubes-backup.desktop $RPM_BUILD_ROOT/usr/share/applications/
cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
%post %post
@ -110,3 +112,5 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/applications/qubes-global-settings.desktop /usr/share/applications/qubes-global-settings.desktop
/usr/share/applications/qubes-vm-create.desktop /usr/share/applications/qubes-vm-create.desktop
/usr/share/applications/qubes-backup.desktop
/usr/share/applications/qubes-backup-restore.desktop