After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 100927 - should use GNOME mouse click settings
should use GNOME mouse click settings
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2002-12-11 10:31 UTC by Mikel Ward
Modified: 2005-01-13 14:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Patch to make fileroller act like nautilus for single/double clicking (2.35 KB, patch)
2004-08-19 15:21 UTC, John Spray
none Details | Review

Description Mikel Ward 2002-12-11 10:31:10 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).
Comment 1 Mikel Ward 2002-12-11 11:31:04 UTC
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.


Comment 2 John Spray 2004-08-19 15:21:11 UTC
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.
Comment 3 Dennis Cranston 2004-12-02 04:21:12 UTC
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.

   
Comment 4 Sebastien Bacher 2005-01-13 13:14:01 UTC
any news on this patch ?
Comment 5 Paolo Bacchilega 2005-01-13 14:13:00 UTC
patch applied, added underlining of the name column when in single click mode
and monitoring of the click policy.