Re: [PATCH] setenv "DISPLAY" when activation extension menu item
- From: Christian Neumair <chris gnome-de org>
- To: Federico Mena Quintero <federico ximian com>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] setenv "DISPLAY" when activation extension menu item
- Date: Wed, 19 Apr 2006 10:55:50 +0200
Am Dienstag, den 18.04.2006, 18:22 -0500 schrieb Federico Mena Quintero:
> On Wed, 2006-04-19 at 01:10 +0200, Christian Neumair wrote:
> > > while it should be using
> > >
> > > gnome_desktop_item_launch_on_screen()
> > > gdk_spawn_on_screen()
> >
> > How can I get the GdkScreen associated with the activated menu item?
>
> If you can get hold of the GtkWidget, you can do
> gtk_widget_get_screen().
>
> Hmm, but this is an extension, right? I guess you can use the "window"
> argument that gets passed to NautilusMenuProvider::get_file_items().
Indeed, thanks. I still don't see why we shouldn't pre-set DISPLAY to a
meaningful value, though.
--
Christian Neumair <chris gnome-de org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]