virt-manager/virtman-desktop.diff

37 lines
1.2 KiB
Diff

Index: virt-manager--devel/src/virt-manager.desktop.in.in
===================================================================
--- virt-manager--devel.orig/src/virt-manager.desktop.in.in
+++ virt-manager--devel/src/virt-manager.desktop.in.in
@@ -1,9 +1,15 @@
[Desktop Entry]
_Name=Virtual Machine Manager
_Comment=Manage virtual machines
-Icon=::ICONDIR::/::PACKAGE::-icon.svg
-Exec=::PACKAGE::
+Icon=yast-vm-management
+Exec=/usr/bin/virt-manager -c xen
Type=Application
Terminal=false
Encoding=UTF-8
-Categories=System;
+Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;
+X-SuSE-YaST-Call=/usr/bin/virt-manager -- -c xen --yast
+X-SuSE-YaST-Group=Virtualization
+X-SuSE-YaST-Argument=
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-Geometry=
+X-SuSE-YaST-SortKey=
Index: virt-manager--devel/src/Makefile.am
===================================================================
--- virt-manager--devel.orig/src/Makefile.am
+++ virt-manager--devel/src/Makefile.am
@@ -14,7 +14,7 @@ libexec_SCRIPTS = $(PACKAGE)-launch
gladedir = $(pkgdatadir)
glade_DATA = $(wildcard $(srcdir)/*.glade)
-desktopdir = $(datadir)/applications
+desktopdir = $(datadir)/applications/YaST2/
desktop_SOURCES = $(PACKAGE).desktop.in.in
desktop_DATA = $(PACKAGE).desktop