diff options
author | Ghee Teo <Ghee.Teo@Sun.COM> | 2009-08-28 12:00:09 +0100 |
---|---|---|
committer | Ghee Teo <Ghee.Teo@Sun.COM> | 2009-08-28 12:00:09 +0100 |
commit | 64275dcf3b1fea7e6bbeb3fae45fa3ad4830f410 (patch) | |
tree | be606566afdcbb647cd8dc00332fe5d9ca3081a5 /usr/src/cmd/print | |
parent | 83140133e013ea231c89c64244af78d841303f44 (diff) | |
download | illumos-gate-64275dcf3b1fea7e6bbeb3fae45fa3ad4830f410.tar.gz |
6763154 Malformed desktop files present in snv_101
6782264 Adminstration->Solaris LP Print Manager still present on menu when CUPS is the print system
Diffstat (limited to 'usr/src/cmd/print')
-rw-r--r-- | usr/src/cmd/print/printmgr/Makefile | 9 | ||||
-rw-r--r-- | usr/src/cmd/print/printmgr/solaris-print-manager.desktop | 61 | ||||
-rw-r--r-- | usr/src/cmd/print/scripts/desktop-print-management-applet.desktop | 4 |
3 files changed, 3 insertions, 71 deletions
diff --git a/usr/src/cmd/print/printmgr/Makefile b/usr/src/cmd/print/printmgr/Makefile index 4d3bc72a77..ef82fd7feb 100644 --- a/usr/src/cmd/print/printmgr/Makefile +++ b/usr/src/cmd/print/printmgr/Makefile @@ -46,17 +46,13 @@ ROOTDIRS = $(ROOT)/usr/sadm/admin \ ROOTBIN = $(ROOT)/usr/sadm/admin/printmgr/classes ROOTBINPROG = $(PROG:%=$(ROOTBIN)/%) -ROOTAPPDIR = $(ROOT)/usr/share/applications -ROOTAPPFILE = $(ROOTAPPDIR)/solaris-print-manager.desktop - -$(ROOTAPPFILE):= FILEMODE = 444 $(ROOTBINPROG):= FILEMODE = 644 .KEEP_STATE: all: $(SUBDIRS) -install: $(SUBDIRS) $(ROOTDIRS) $(ROOTBINPROG) $(ROOTAPPFILE) .WAIT links +install: $(SUBDIRS) $(ROOTDIRS) $(ROOTBINPROG) .WAIT links links: $(RM) $(ROOTUSRSBIN)/printmgr @@ -79,9 +75,6 @@ $(PROG): FRC com/sun/admin/pm/server/*class 2>/dev/null; \ fi -$(ROOTAPPDIR)/%: % - $(INS.file) - $(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) diff --git a/usr/src/cmd/print/printmgr/solaris-print-manager.desktop b/usr/src/cmd/print/printmgr/solaris-print-manager.desktop deleted file mode 100644 index 11adf71a11..0000000000 --- a/usr/src/cmd/print/printmgr/solaris-print-manager.desktop +++ /dev/null @@ -1,61 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (the "License"). -# You may not use this file except in compliance with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -[Desktop Entry] -Encoding=UTF-8 -# SUN_BRANDING -Name=Solaris LP Print Manager -Name[cs]=Správce tisku -Name[de]=Druck-Manager -Name[es]=Administrador de impresión -Name[fr]=Gestionnaire d'impression -Name[hu]=Nyomtató-kezelő -Name[it]=Gestione stampa -Name[ja]=印刷マネージャ -Name[ko]=인쇄 관리자 -Name[pl]=Menedżer wydruku -Name[pt_BR]=Gerenciador Impressoras -Name[ru]=Менеджер печати -Name[sv]=Utskriftshanterare -Name[zh_CN]=打印管理器 -Name[zh_HK]=印表機總管 -Name[zh_TW]=印表機總管 -# SUN_BRANDING -Comment=Add and remove LP printers and queues -Comment[de]=Hinzufügen und Entfernen von Druckern und Warteschlangen -Comment[es]=Agregar y quitar impresoras y colas -Comment[fr]=Ajouter ou supprimer des imprimantes et des files d'attente -Comment[it]=Aggiungi e rimuovi stampanti e code -Comment[ja]=プリンタやキューを追加や削除する -Comment[ko]=프린터 및 대기열 추가 및 제거 -Comment[pt_BR]=Adição e remoção de impressoras e filas -Comment[ru]=Добавление и удаление принтеров и очередей -Comment[zh_CN]=添加和删除打印机和队列 -Comment[zh_HK]=增加和移除印表機和佇列 -Comment[zh_TW]=增加和移除印表機和佇列 -Exec=gksu /usr/sbin/printmgr -Icon=print-manager -Terminal=false -Type=Application -StartupNotify=true -Categories=Application;System;Settings diff --git a/usr/src/cmd/print/scripts/desktop-print-management-applet.desktop b/usr/src/cmd/print/scripts/desktop-print-management-applet.desktop index 087b9645d6..e227313fb2 100644 --- a/usr/src/cmd/print/scripts/desktop-print-management-applet.desktop +++ b/usr/src/cmd/print/scripts/desktop-print-management-applet.desktop @@ -20,7 +20,7 @@ # # -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -28,7 +28,7 @@ Encoding=UTF-8 Name=Desktop Printing Monitoring applet Comment=Show balloon dialog for printers -Icon=print-manager.png +Icon=print-manager Exec=env DESKTOP_LAUNCHED=true /usr/bin/desktop-print-management-applet Terminal=false Type=Application |