Tracker: Patches

5 4.0.4 Patch to add "Go to page..." dialog - ID: 2838175
Last Update: Comment added ( nephiel )

I just made a patch for Comix 4.0.4 to add this feature. I even added a nifty slider to the dialog.
It works for me. Feel free to play with it, I'd love to see this feature in the next release.

Changed files:
comix-4.0.4/src/main.py
comix-4.0.4/src/ui.py
comix-4.0.4/install.py

New files:
comix-4.0.4/src/pageselector.py

Changelog:
-Added new PageSelector class that handles the "Go to page..." dialog
-Added "Go to page..." menu item to the Go menu
-Added "Go to page..." button to the toolbar

Changed keyboard shortcuts/hotkeys (now these are the same as Comix v3.x.x):
-"G" hotkey now opens the "Go to page..." dialog, instead of the magnifying glass
-"Z" hotkey now toggles the magnifying glass on/off
-Replaced shortcut "G" (which is now "Go to page") with "L" in the _View->Magnifying G_lass menu item
(in Comix version 3.x.x it was Magnifying _Lens, hence the "L")


Nephiel ( nephiel ) - 2009-08-15 07:55:23 PDT

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )

Date: 2009-08-27 07:13:23 PDT
Sender: nephiel

That message during install is just a warning, should be no problem. But it
can be fixed anyway. After applying the patches, and before installing,
navigate to the ./src/ directory and run:

python -mcompileall .

to compile the new or modified .py files in the src directory, generating
the matching .pyc files.

Then install comix normally.


Date: 2009-08-26 12:37:10 PDT
Sender: nobody

Thank you very much for this patch. It works perfectly fine.
I just get the message "Could not install
/usr/share/comix/src/pageselector.pyc" during the installation process. It
doesn't seem to hinder the patch from working but I thought it was worth
mentioning.
Well, let's hope this feature will find its way to the next release. And
thanks again.


Attached File ( 1 )

Filename Description Download
GoToPage_patch.tar.gz "Go To Page..." dialog patch for Comix 4.0.4 Download

Change ( 1 )

Field Old Value Date By
File Added 339295: GoToPage_patch.tar.gz 2009-08-15 07:55:24 PDT nephiel