GNOME Bugzilla – Bug 160934
[Patch] Changing terminal command is not instanteanous
Last modified: 2005-01-25 18:03:09 UTC
1. Assign a shortcut key to run terminal from (gnome-keybinding-properties) keyboard shortcut capplet (say ctrl +r) 2. clicking on ctrl+r starts gnome-terminal 3. Open gconf-editor and go to /desktop/gnome/applications/terminal and change the command to "xterm" from "gnome-terminal" 4. clicking on ctrl+r still starts gnome-terminal instead of xterm Attached a small patch which solves this problem. Thanks
Created attachment 34687 [details] [review] Patch for this problem
You are missing a cleanup_err() call there - what if you get an error from the add_dir() before this one. Otherwise the patch looks good, thanks.
Created attachment 34786 [details] [review] Updated patch for this problem Thanks for the comments Havoc. Attaching an updated patch with the above comment. Thanks.
Havoc: okay to commit?
committed.