linuxmint / xviewer

A generic Image viewer
GNU General Public License v2.0
75 stars 37 forks source link

User Preferences Questions Before Adding Mouse-wheel Configuration #100

Closed programmer-ceds closed 4 years ago

programmer-ceds commented 4 years ago
 * Xviewer version 2.6.0
 * Distribution - (Mint 19.1

I am considering adding a tab to the User Preferences dialog to allow the user to control the actions of the mouse scroll wheel and tilt wheel (this would be used to address issues #59 and #17).

What I was proposing to add is the ability for the user to set the action for scroll, scroll + shift, scroll + control and scroll + shit + control using drop-down boxes. Similarly for tilt.

The actions for each of the above 8 combinations would be:

zoom pan vertically pan horizontally move to the next/previous image

The default settings would replicate the existing ones.

I have two questions before I can proceed:

Firstly the user preferences dialog seems to be defined in data/xviewer-preferences-dialog.ui but this file says that it is generated by Glade (an older one than is current). My first question is where is the file that glade used to generate this?

UPDATE - please ignore the following question - it must be my problem. I have just downloaded a version of 2.4.3 from a fork and this doesn't show the plugins either

Second question is that having downloaded and built V2.6.0 the plugins page of the user preferences dialog is empty (no plugins are listed). Is this something that I have done wrong? I did try looking to download the code for an earlier version but only seemed to end up with the link for the latest version.

programmer-ceds commented 4 years ago

I think that the answer to my first question above is that the file data/xviewer-preferences-dialog.ui is not the result of processing a 'source' file with Glade but is actually the 'source' - Glade just stores it's version number and the fact that it was generated by Glade in the file. If I'm wrong I'll just have to copy the edits back to a source file.