virt-manager/virtman-desktop.diff

39 lines
1.2 KiB
Diff
Raw Normal View History

Index: virt-manager-0.4.0/src/virt-manager.desktop.in
===================================================================
--- virt-manager-0.4.0.orig/src/virt-manager.desktop.in
+++ virt-manager-0.4.0/src/virt-manager.desktop.in
@@ -1,9 +1,17 @@
[Desktop Entry]
+Version=1.0
Name=Virtual Machine Manager
Comment=The virtual machine management tool
-Icon=::ICONDIR::/::PACKAGE::-icon.svg
-Exec=::PACKAGE::
+Exec=/usr/bin/virt-manager -c xen
Type=Application
Terminal=false
Encoding=UTF-8
-Categories=System;
+Categories=Qt;X-SuSE-YaST;
+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=
+Icon=yast-vm-management
+X-SuSE-translate=true
Index: virt-manager-0.4.0/src/Makefile.am
===================================================================
--- virt-manager-0.4.0.orig/src/Makefile.am
+++ virt-manager-0.4.0/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
desktop_DATA = $(PACKAGE).desktop