ALT Linux Bugzilla
– Attachment 2220 Details for
Bug 13011
menu-methods/fluxbox не добавляет Icon
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
fluxbox.patch
fluxbox.patch (text/plain), 1.55 KB, created by
Sergey V Turchin
on 2007-10-09 19:32:33 MSD
(
hide
)
Description:
fluxbox.patch
Filename:
MIME Type:
Creator:
Sergey V Turchin
Created:
2007-10-09 19:32:33 MSD
Size:
1.55 KB
patch
obsolete
>--- fluxbox~ 2006-07-18 18:04:56 +0400 >+++ fluxbox 2007-10-09 18:49:48 +0400 >@@ -8,26 +8,19 @@ compat="menu-1" > > compat="menu-2" > >-function findIcon($name) = >- ifnempty($name, >- ifelsefile("/usr/share/pixmaps/" stripdir($name), " </usr/share/pixmaps/" stripdir($name) ">", >- ifelsefile("/usr/share/icons/hicolor/16x16/apps/" stripdir($name), " </usr/share/icons/hicolor/16x16/apps/" stripdir($name) ">", >- ifelsefile("/usr/share/icons/" stripdir($name), " </usr/share/icons/" stripdir($name) ">", >- ifelsefile("/usr/share/icons/mini/" stripdir($name), " </usr/share/icons/mini/" stripdir($name) ">", ""))))); >- > function X11Command() = >- nstring(level(), " ") "[exec] (" esc(title(), ")") ") {" $command "}" findIcon($icon) "\n"; >+ nstring(level(), " ") "[exec] (" esc(title(), ")") ") {" $command "} <" locate_icon("16", $icon) "> \n"; > > function embededCommand() = > nstring(level(), " ") "[" $command "] (" translate(lang(), title()) ")\n"; > > function textCommand() = >- nstring(level(), " ") "[exec] (" esc(title(), ")") ") {" term() "}" findIcon($icon) "\n"; >+ nstring(level(), " ") "[exec] (" esc(title(), ")") ") {" term() "} <" locate_icon("16", $icon) "> \n"; > > function BeginSection() = > ifelse($basesection, > ifempty($command, >- nstring(level(), " ") "[submenu] (" translate(lang(), title()) ")" findIcon($icon) "\n"), >+ nstring(level(), " ") "[submenu] (" translate(lang(), title()) ") <" locate_icon("16", $icon) "> \n"), > "\n[begin] (ALT Linux)\n[include] (~/.fluxbox/usermenu)\n"); > > function EndSection() =
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13011
:
2220
|
2221