Re: Custom Home Button



On Fri, 2009-12-11 at 13:06 -0600, Eric Pruitt wrote:
> Hello,
> 
> I modified Nautilus to make it so that the Home button will take the
> user to a custom directory if the environment variable "NAUTILUS_HOME"
> is set with the following code:
> File: nautilus-window-manage-views.c, Line 682
> 
> if !(g_getenv ("NAUTILUS_HOME"))
> {
>     home = g_file_new_for_path (g_get_home_dir ());
> } else {
>     home = g_file_new_for_path (g_getenv ("NAUTILUS_HOME"));
> }
> 
> How would I go about trying to get the feature implemented in Nautilus
> since I have already created a patch?

What exactly is your usecase here? You can already change the HOME env
var and nautilus should pick up that.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's a suicidal Amish boxer with a secret. She's a plucky Buddhist pearl diver 
looking for love in all the wrong places. They fight crime! 



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