[prev in list] [next in list] [prev in thread] [next in thread] 

List:       klik-devel
Subject:    [klik-devel] [klikclient commit] r1276 - in trunk/client/trunk: .
From:       codesite-noreply () google ! com
Date:       2008-02-29 0:57:32
Message-ID: 001636e0a64a04474185f871091cef6 () google ! com
[Download RAW message or body]

Author: KillerKiwi2005
Date: Thu Feb 28 16:57:05 2008
New Revision: 1276

Added:
   trunk/client/trunk/install/application-x-application-cmg.png
      - copied unchanged from r1275, /trunk/client/trunk/install/application-x-application-cmg
Removed:
   trunk/client/trunk/install/application-x-application-cmg
Modified:
   trunk/client/trunk/install.py
   trunk/client/trunk/klikclient/bin/klik

Log:
Rename icon to new mimetype

Modified: trunk/client/trunk/install.py
==============================================================================
--- trunk/client/trunk/install.py	(original)
+++ trunk/client/trunk/install.py	Thu Feb 28 16:57:05 2008
@@ -203,7 +203,7 @@
 #Default icon for mimetype
 print ""
 print "Register file type icon (.cmg) with system ..."
-cmg_icon = os.path.join(klik_files_path , "install", "application-x-extension-cmg.png")
+cmg_icon = os.path.join(klik_files_path , "install", "application-x-application-cmg.png")
 xdg.mime_icon_install( "48", cmg_icon, "application-x-extension-cmg")

 # RECIPIE MIMETYPE

Modified: trunk/client/trunk/klikclient/bin/klik
==============================================================================
--- trunk/client/trunk/klikclient/bin/klik	(original)
+++ trunk/client/trunk/klikclient/bin/klik	Thu Feb 28 16:57:05 2008
@@ -106,12 +106,15 @@
 	s = KlikSettings()

 	if not mode:
+
 		print "Documentation by :"
 		print "  " + "\n  ".join(s.documenters)
 	
 		print ""
+
 		print "Created by :"
 		print "  " + "\n  ".join(s.authors)
+
 	
 		print ""
 		print "Website : " + s.website
@@ -169,8 +172,9 @@
 					print "Error: Could not extract icon"

 			elif first_arg == "shell":
+				print "boom"
 				cmg = KlikCmg( klik, args[0] )
-				cmg.execute_shell()
+				cmg.execute_shell(None)

 			elif first_arg == "pack":
 				cmg = KlikCmg( klik, args[0] )
@@ -241,6 +245,7 @@

 	except Exception, inst:
 		usage( first_arg )
+		traceback.print_exc()
 		if klik.settings.debug:
 			print "DEBUG - Error occurred:", inst
 			traceback.print_exc()
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic