Re: [PATCH] setenv "DISPLAY" when activation extension menu item



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]