Patch for xfrun
fourdan at xfce.org
Tue Mar 11 21:22:45 CET 2003
I'm a bit puzzled with the need of "undefining" GTK_DISABLE_DEPRECATED
Note that on a production build wel'' remove all that DEPRECATED defines
as there is no way to tell what will be deprecated in the future. We use
it during the devel phase only, to make sure the code we write now is
not already deprecated :)
This said, would you mind asking the gtk-app-devel-list at gnome.org ?
On Tue, 2003-03-11 at 20:32, James Tappin wrote:
> Hi everyone.
> Well I've done it -- the attached patch allows xfrun to remember the
> state of the "Run in terminal" setting in it's history. Basically it just
> adds a 0 or 1 at the end of each line of the history file. It handles old
> history files by assuming a zero if it doesn't find any spaces.
> The only thing I'm not really happy about is the need to
> #undef GTK_DISABLE_DEPRECATED
> but that's really gtk+'s fault, the GtkCombo widget uses a deprecated
> GtkList and so if you need to handle signals from the list you need to
> deal with GtkList functions. This patch also bundles the open a terminal
> or file manager in a directory capability as well.
> If it looks reasonable and works for other folks, please apply.
> Best regards,
Olivier Fourdan <fourdan at xfce.org>
More information about the Xfce4-dev