Re: Help! Trying (unsuccesfully) to code a new feature
- From: Michael Meeks <michael ximian com>
- To: "Eloy A. Paris" <peloy chapus net>
- Cc: nautilus-list gnome org
- Subject: Re: Help! Trying (unsuccesfully) to code a new feature
- Date: 22 Aug 2002 09:34:49 +0100
Hi Eloy,
On Wed, 2002-08-21 at 17:33, Eloy A. Paris wrote:
> The variable use_new_window_auto_value in
> src/file-manager/fm-directory-view.c is the one that controls the
> behavior, and I have tried to change its value in key_press_event and
> button_press_event callbacks, but I have been unsuccessful.
Argh ! ;-) don't - whatever you do, do that. The auto_value - as if by
magic, reflects the contents of the gconf key, automatically - if you
change it it may change again underneath you - and it no longer reflects
the gconf key setting - very bad news. :-)
> Can someone give me a hand here? I would really appreciate any kind of
> help/suggestions. I am a bit frustrated that I haven't been able to
> accomplish anything yet.
Ok - as you say the nautilus-icon-container's key_press_event has the
modifier information; you need to pass that to activate_selected_items
by adding a suitable paramter - then onto the fm-icon-view's
icon_container_activate_callback, onto fm_directory_view_activate_files
- and then you can use it to change the behavior as you wish.
Whether that's likely to get into the standard tree depends on how
cleanly you implement the patch, and whether Alex / Dave / Darin think
it's a good idea. Good to have you hacking on Nautilus anyway,
HTH,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]