View | Details | Raw Unified | Return to bug 27946
Collapse All | Expand All

(-)icewm~ (-4 / +4 lines)
Lines 7-16 function findicon($filename, $defaultico Link Here
7
    ifeqelse($filename, "", $defaulticon, replace(replace($filename, ".xpm",""), ".png",""))
7
    ifeqelse($filename, "", $defaulticon, replace(replace($filename, ".xpm",""), ".png",""))
8
8
9
supported
9
supported
10
  x11=	"  prog \"" translate(lang(), title()) "\" \"" findicon($icon, "-") "\" " $command"\n"
10
  x11=	"  prog \"" translate(lang(), title())    ifnempty($genericname, " ("translate(lang(),$genericname)")") "\" \"" findicon($icon, "-") "\" " $command"\n"
11
  text= "  prog \"" translate(lang(), title()) "\" \"" findicon($icon, "-") "\" " term() "\n"
11
  text= "  prog \"" translate(lang(), title())    ifnempty($genericname, " ("translate(lang(),$genericname)")") "\" \"" findicon($icon, "-") "\" " term() "\n"
12
  wm=   "  restart \"" translate(lang(), title()) "\" \"" findicon($icon, "-") "\" " $command"\n"
12
  wm=   "  restart \"" translate(lang(), title()) ifnempty($genericname, " ("translate(lang(),$genericname)")") "\" \"" findicon($icon, "-") "\" " $command"\n"
13
  icewm="  prog \"" translate(lang(), title()) "\" \"" findicon($icon, "-") "\" " $command"\n"
13
  icewm="  prog \"" translate(lang(), title())    ifnempty($genericname, " ("translate(lang(),$genericname)")") "\" \"" findicon($icon, "-") "\" " $command"\n"
14
endsupported
14
endsupported
15
15
16
startmenu=ifneq($title,"ALT Linux menu",ifroot("menu \"" translate(lang(), $title) "\" \"" findicon($icon, "default_section.xpm") "\" {\n","menu \"" translate(lang(),$title) "\" \"" findicon($icon, "default_section.xpm") "\" {\n"))
16
startmenu=ifneq($title,"ALT Linux menu",ifroot("menu \"" translate(lang(), $title) "\" \"" findicon($icon, "default_section.xpm") "\" {\n","menu \"" translate(lang(),$title) "\" \"" findicon($icon, "default_section.xpm") "\" {\n"))

Return to bug 27946