___/\_______________________________________________________________________ Ich darf nicht während der Schulstunde schlafen. |\/\/\/| | | Bart. | (O)(O) bart neeneenee de C _) | ,_/ Linux for Designers - http://my.opera.com/area42/blog/ | / SweeTS delicious Typo3 development - http://typo3.area42.de/ / \ |
Hi,
I wrote the External Tool below to turn "word wrap" on and off using a keyboard shortcut. It does this perfectly well.
I would like the bottom panel to disappear after the script runs. The last 2 lines should do this. In fact, they work fine in another tool I wrote to open the current directory.
Any ideas how to get them working here?
The script:
#!/bin/sh
x=`gconftool-2 -g /apps/gedit-2/preferences/editor/wrap_mode/wrap_mode`
echo $x
[ $x = "GTK_WRAP_NONE" ] && gconftool-2 -s -t string /apps/gedit-2/preferences/editor/wrap_mode/wrap_mode GTK_WRAP_WORD || gconftool-2 -s -t string /apps/gedit-2/preferences/editor/wrap_mode/wrap_mode GTK_WRAP_NONE
x=`gconftool-2 -g /apps/gedit-2/preferences/editor/wrap_mode/wrap_mode`
echo $x
x=`gconftool-2 -g /apps/gedit-2/preferences/ui/bottom_panel/bottom_panel_visible`
[ $x = "true" ] && gconftool-2 -s -t bool /apps/gedit-2/preferences/ui/bottom_panel/bottom_panel_visible false
_______________________________________________ gedit-list mailing list gedit-list gnome org http://mail.gnome.org/mailman/listinfo/gedit-list