fbgm updates c/- han

This commit is contained in:
rathnor 2004-08-05 10:51:40 +00:00
parent c39338e713
commit c11ddef7b5
2 changed files with 33 additions and 20 deletions

View file

@ -1,5 +1,10 @@
(Format: Year/Month/Day) (Format: Year/Month/Day)
Changes for 0.9.10: Changes for 0.9.10:
*04/08/05:
* Check if init is consistent with menufile location (Han)
fluxbox-generate_menu.in
* Russion translation updates (thanks Roman Yepishev)
fluxbox-generate_menu.in
*04/08/03: *04/08/03:
* Fixed pixmap filename expansion for menu pixmaps (Thanks Mathias Gumz) * Fixed pixmap filename expansion for menu pixmaps (Thanks Mathias Gumz)
FbTk/MenuItem.cc FbTk/MenuItem.cc

View file

@ -22,7 +22,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE. # DEALINGS IN THE SOFTWARE.
# #
# $Id: fluxbox-generate_menu.in,v 1.23 2004/06/12 14:30:50 rathnor Exp $ # $Id: fluxbox-generate_menu.in,v 1.24 2004/08/05 10:51:40 rathnor Exp $
# #
# Portability notes: # Portability notes:
@ -284,37 +284,37 @@ case ${LC_ALL} in
# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff # $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl # email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENU='Backgrounds (CHANGE ME!)' BACKGROUNDMENU='ïÂÏÉ'
BACKGROUNDMENUTITLE='Set the Background (CHANGE ME!)' BACKGROUNDMENUTITLE='õÓÔÁÎÏ×ÉÔØ ÏÂÏÉ'
BROWSERMENU='âÒÁÕÚÅÒÙ' BROWSERMENU='âÒÁÕÚÅÒÙ'
CONFIGUREMENU='îÁÓÔÒÏÊËÁ' CONFIGUREMENU='îÁÓÔÒÏÊËÁ'
EDITORMENU='òÅÄÁËÔÏÒÙ' EDITORMENU='òÅÄÁËÔÏÒÙ'
EXITITEM='÷ÙÊÔÉ' EXITITEM='÷ÙÊÔÉ'
FBSETTINGSMENU='FB-ÎÁÓÔÒÏÊËÉ' FBSETTINGSMENU='FB-ÎÁÓÔÒÏÊËÉ'
FILEUTILSMENU='File utils (CHANGE ME!)' FILEUTILSMENU='æÁÊÌÏ×ÙÅ ÕÔÉÌÉÔÙ'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)' FLUXBOXCOMMAND='÷ÙÐÏÌÎÉÔØ ËÏÍÁÎÄÕ'
GAMESMENU='Games (CHANGE ME!)' GAMESMENU='éÇÒÙ'
GNOMEMENUTEXT='Gnome-ÍÅÎÀ' GNOMEMENUTEXT='Gnome-ÍÅÎÀ'
GRAPHICMENU='çÒÁÆÉËÁ' GRAPHICMENU='çÒÁÆÉËÁ'
KDEMENUTEXT='KDE-ÍÅÎÀ' KDEMENUTEXT='KDE-ÍÅÎÀ'
LOCKSCREEN='Lock screen (CHANGE ME!)' LOCKSCREEN='úÁÂÌÏËÉÒÏ×ÁÔØ ÜËÒÁÎ'
MISCMENU='ðÒÏÞÅÅ' MISCMENU='ðÒÏÞÅÅ'
MUSICMENU='ú×ÕË' MUSICMENU='ú×ÕË'
NETMENU='óÅÔØ' NETMENU='óÅÔØ'
OFFICEMENU='Office (CHANGE ME!)' OFFICEMENU='ïÆÉÓÎÙÅ ÐÒÉÌÏÖÅÎÉÑ'
RANDOMBACKGROUND='Random Background (CHANGE ME!)' RANDOMBACKGROUND='óÌÕÞÁÊÎÙÅ ÏÂÏÉ'
REGENERATEMENU='Regen Menu (CHANGE ME!)' REGENERATEMENU='óÏÚÄÁÔØ ÍÅÎÀ ÚÁÎÏ×Ï'
RELOADITEM='ðÅÒÅÎÁÓÔÒÏÉÔØ' RELOADITEM='ðÅÒÅÎÁÓÔÒÏÉÔØ'
RESTARTITEM='ðÅÒÅÚÁÐÕÓÔÉÔØ' RESTARTITEM='ðÅÒÅÚÁÐÕÓÔÉÔØ'
RUNCOMMAND='Run (CHANGE ME!)' RUNCOMMAND='÷ÙÐÏÌÎÉÔØ'
SCREENSHOT='Screenshot (CHANGE ME!)' SCREENSHOT='óÎÉÍÏË ÜËÒÁÎÁ'
STYLEMENUTITLE='÷ÙÂÅÒÉÔÅ ÓÔÉÌØ' STYLEMENUTITLE='÷ÙÂÅÒÉÔÅ ÓÔÉÌØ'
SYSTEMSTYLES='óÔÉÌÉ' SYSTEMSTYLES='óÉÓÔÅÍÎÙÅ ÓÔÉÌÉ'
TERMINALMENU='ôÅÒÍÉÎÁÌÙ' TERMINALMENU='ôÅÒÍÉÎÁÌÙ'
TOOLS='Tools (CHANGE ME!)' TOOLS='õÔÉÌÉÔÙ'
USERSTYLES='óÔÉÌÉ' USERSTYLES='ðÏÌØÚÏ×ÁÔÅÌØÓËÉÅ ÓÔÉÌÉ'
WINDOWMANAGERS='WindowManagers (CHANGE ME!)' WINDOWMANAGERS='íÅÎÅÄÖÅÒÙ ÏËÏÎ'
WINDOWNAME='Window name (CHANGE ME!)' WINDOWNAME='éÍÑ ÏËÎÁ'
WORKSPACEMENU='òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á' WORKSPACEMENU='òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á'
XUTILSMENU='X-ÕÔÉÌÉÔÙ' XUTILSMENU='X-ÕÔÉÌÉÔÙ'
;; ;;
@ -870,7 +870,7 @@ while [ $# -gt 0 ]; do
-g) GNOMEMENU=yes; shift;; -g) GNOMEMENU=yes; shift;;
-t) MY_TERM=${2}; testoption ex $1 $2; shift 2;; -t) MY_TERM=${2}; testoption ex $1 $2; shift 2;;
-b) MY_BROWSER=${2}; testoption ex $1 $2; shift 2;; -b) MY_BROWSER=${2}; testoption ex $1 $2; shift 2;;
-o) MENUFILENAME=${2}; testoption fi $1 $2; shift 2;; -o) MENUFILENAME=${2}; shift 2; CHECKINIT=NO ;;
-p) PREFIX=${2}; testoption di $1 $2; shift 2;; -p) PREFIX=${2}; testoption di $1 $2; shift 2;;
-n) GNOME_PREFIX=${2}; testoption di $1 $2; shift 2;; -n) GNOME_PREFIX=${2}; testoption di $1 $2; shift 2;;
-q) KDE_PREFIX=${2}; testoption di $1 $2; shift 2;; -q) KDE_PREFIX=${2}; testoption di $1 $2; shift 2;;
@ -1065,7 +1065,7 @@ append_submenu "${NETMENU}"
append_menu_end append_menu_end
append_submenu P2P append_submenu P2P
normal_find gtk-gnutella lopster nicotine pyslsk xmule amule normal_find gtk-gnutella lopster nicotine pyslsk xmule amule dcgui-qt
find_it TekNap append "[exec] (TekNap) {${DEFAULT_TERM} -e TekNap}" find_it TekNap append "[exec] (TekNap) {${DEFAULT_TERM} -e TekNap}"
find_it giFTcurs append "[exec] (giFTcurs) {${DEFAULT_TERM} -e giFTcurs}" find_it giFTcurs append "[exec] (giFTcurs) {${DEFAULT_TERM} -e giFTcurs}"
append_menu_end append_menu_end
@ -1079,7 +1079,7 @@ append_submenu "${NETMENU}"
find_it yafc append "[exec] (yafc) {${DEFAULT_TERM} -e yafc}" find_it yafc append "[exec] (yafc) {${DEFAULT_TERM} -e yafc}"
append_menu_end append_menu_end
normal_find pan xnmap normal_find pan xnmap skype
append_menu_end append_menu_end
@ -1286,3 +1286,11 @@ fi
echo 'Menu successfully generated.' echo 'Menu successfully generated.'
echo 'Use fluxbox-generate_menu -h to read about all the latest features.' echo 'Use fluxbox-generate_menu -h to read about all the latest features.'
if [ -z "$CHECKINIT" ]; then
INITMENUFILENAME=`awk '/menuFile/ {print $2}' $HOME/.fluxbox/init`
cmp $INITMENUFILENAME $MENUFILENAME 2> /dev/null
if [ $? -ne 0 ]; then
echo "Warning: Your $HOME/.fluxbox/init does not point to $MENUFILENAME but to $INITMENUFILENAME" >&2
fi
fi