GNOME Bugzilla – Bug 100927
should use GNOME mouse click settings
Last modified: 2005-01-13 14:13:00 UTC
I have Nautilus configured to "activate items with single-click", which means (for instance) when I single-click on a folder, it is opened. When I single-click an archive file, File Roller is opened. File Roller looks like it is meant to be a Nautilus extension (or at least emulate its look and feel), yet I must double-click to open folders within an archive. Please make File Roller use the same mouse click activation settings as other GNOME applications (this might mean reading the appropriate Nautilus setting).
I just fired up the GConf editor, and it looks like the relevant key is: desktop->gnome->peripherals->mouse->single_click (bool) Goodness knows why the preference is in Nautilus, but it looks like it is indeed a GNOME-wide setting, as one would hope.
Created attachment 30756 [details] [review] Patch to make fileroller act like nautilus for single/double clicking If /apps/nautilus/preferences/click_policy is set to "single", then file_button_press_cb calls row_activated_cb for single clicks (but not if shift or ctrl is held). This brings file-roller into line with nautilus behaviour. I don't know what /desktop/gnome/peripherals/mouse/single_click is for, but it's not what nautilus prefs dialog sets.
I have not tried the patch, but I have a couple comments. 1. Your patch contains: + if(!(event->state&GDK_CONTROL_MASK||event->state&GDK_CONTROL_MASK)){ Should the second GDK_CONTROL_MASK be GDK_SHIFT_MASK? 2. To be consistant with nautilus the name column needs to be underlined when in single click to activate mode.
any news on this patch ?
patch applied, added underlining of the name column when in single click mode and monitoring of the click policy.