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



On Sat, 2006-04-01 at 21:12 +0200, Christian Neumair wrote:
> The attached (totally untested) patch calls g_setenv before activating
> an extension action, proxying the current FMDirectoryView's screen to
> the environment of a spawning child process (NB: gtk_widget_get_screen
> returns the default screen if the widget doesn't have a current screen).
> Users complained that nautilus-open-terminal doesn't open on terminals
> the correct display.

That is a bug in the nautilus-open-terminal extension, rather than
nautilus itself.  The extension uses

	gnome_desktop_item_launch()
	g_spawn_async()

while it should be using

	gnome_desktop_item_launch_on_screen()
	gdk_spawn_on_screen()

  Federico




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]