Re: [PATCH] setenv "DISPLAY" when activation extension menu item
- From: Federico Mena Quintero <federico ximian com>
- To: Christian Neumair <chris gnome-de org>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] setenv "DISPLAY" when activation extension menu item
- Date: Tue, 18 Apr 2006 18:22:27 -0500
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().
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]