Changeset 654
- Timestamp:
- 06/27/08 12:18:39 (2 months ago)
- Files:
-
- cdd-utils/trunk/debian/changelog (modified) (1 diff)
- cdd-utils/trunk/lib/menu.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cdd-utils/trunk/debian/changelog
r651 r654 1 cdd-utils (0.12. 2) 64studio; urgency=low1 cdd-utils (0.12.3) 64studio; urgency=low 2 2 3 3 * [lib]: cdd-utils/trunk/lib/menu.sh
r647 r654 10 10 set_key "$key" "$sep" "$val" "$cfg" 11 11 done 12 } 13 14 # Set icons 15 icon () { 16 entry=$1 17 icon=$2 18 if nullstr "$entry"; then warning "No menu entry given"; return; fi 19 if nullstr "$icon"; then warning "No icon given"; return; fi 20 21 cfg=/usr/share/applications/$entry.desktop 22 if ! exists $cfg; then warning "$cfg not found"; return; fi 23 24 key="Icon" 25 sep="=" 26 val="$icon" 27 add_key "$key" "$sep" "$cfg" 28 set_key "$key" "$sep" "$val" "$cfg" 12 29 } 13 30
