SVN: vfmg/trunk/VFMG/e16_out.pm

sparky sparky at pld-linux.org
Sat Dec 2 22:58:17 CET 2006


Author: sparky
Date: Sat Dec  2 22:58:17 2006
New Revision: 8042

Modified:
   vfmg/trunk/VFMG/e16_out.pm
Log:
- use VFMG::Icons


Modified: vfmg/trunk/VFMG/e16_out.pm
==============================================================================
--- vfmg/trunk/VFMG/e16_out.pm	(original)
+++ vfmg/trunk/VFMG/e16_out.pm	Sat Dec  2 22:58:17 2006
@@ -2,6 +2,7 @@
 
 use strict;
 use warnings;
+use VFMG::Icons;
 
 sub destdir {
 	if ( $main::o_output eq "enlightenment" ) {
@@ -30,8 +31,7 @@
 		my $d = $main::desktop[$entry];
 		my $name = main::encode($main::opt{encoding},$$d{Name});
 		$name=~s/\"/\'/g;
-		my $icon = "";
-		$icon = main::scale_icon($$d{Icon}) if $main::opt{icons};
+		my $icon = &$VFMG::Icons::scale_icon($$d{Icon});
 		if ($main::menu[$no]{$entry} < 0) {
 			$apps .= qq("$name" "$icon" exec "$$d{Exec}"\n);
 		} else {
@@ -44,7 +44,9 @@
 }
 
 sub do_menu() {
+	VFMG::Icons::init();
 	e16( $main::opt{strip}, "index", "Enlightenment");
+	VFMG::Icons::do_fork();
 }
 
 1;


More information about the pld-cvs-commit mailing list