runsqlrun icon indicating copy to clipboard operation
runsqlrun copied to clipboard

Allow changing font size and keyboard shortcuts

Open pkkid opened this issue 10 years ago • 8 comments

Two core configurations I would love to see implemented (even if just in a config file).

  • Allow changing the font and size.
  • Allow changing keyboard shortcuts.

BTW: I am loving some of the enhancements over Crunchyfrog. Tab complete is awesome! Loading the last editor state on startup is awesome, and the simplistic view is nice.

pkkid avatar Nov 23 '15 04:11 pkkid

Thanks for the feedback! I really appreciate it.

I'll add some configuration options for the next release. But I've just committed a change that uses the default monospace font of your system (when using the GNOME desktop).

Change font/font size and keyboard shortcuts are both very high on my list.

andialbrecht avatar Nov 23 '15 19:11 andialbrecht

Font size can now be changed using the preference dialog.

andialbrecht avatar Dec 09 '16 17:12 andialbrecht

Forgive my ignorance. I just pulled the latest code, and don't see any button or menu item to open the preference dialog.

pkkid avatar Jan 12 '17 18:01 pkkid

The drop-down menu on the application name in Gnome's app bar:

bildschirmfoto vom 2017-01-24 13-11-50

andialbrecht avatar Jan 24 '17 12:01 andialbrecht

Weird, I don't have that option. I see the following on branch master..

  • New SQL Editor (which is dimmed out)
  • Close SQL Editor
  • Quit

The last commit I have pulled down locally is:

commit 6191326b87af8fb6ae97528dcba80599cd4eb61c Author: Andi Albrecht [email protected] Date: Mon Jan 9 08:49:20 2017 +0100 Insert UUID at cursor.

pkkid avatar Jan 24 '17 14:01 pkkid

Maybe you'll have to run make compile-resources before launching the app. This recompiles the UI stuff.

Michael Shepanski [email protected] schrieb am Di., 24. Jan. 2017 um 15:06 Uhr:

Weird, I don't have that option. I see the following on branch master..

  • New SQL Editor (which is dimmed out)
  • Close SQL Editor
  • Quit

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andialbrecht/runsqlrun/issues/15#issuecomment-274811198, or mute the thread https://github.com/notifications/unsubscribe-auth/AABkIACEys_f16GlpZxpO9Vzs_12Z620ks5rVgVogaJpZM4GnRyF .

andialbrecht avatar Jan 24 '17 14:01 andialbrecht

That was it. :+1:

I need to get used to compiling python code I suppose!

pkkid avatar Jan 24 '17 14:01 pkkid

That's actually a GTK thing. I create parts of the UI using Glade ( https://glade.gnome.org/). The UI definitions are stored in the data/*.ui files. Those (XML) files need to be compiled to some binary stuff, that can be loaded into the GTK framework.

Michael Shepanski [email protected] schrieb am Di., 24. Jan. 2017 um 15:10 Uhr:

That was it. 👍

I need to get used to compiling python code I suppose!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andialbrecht/runsqlrun/issues/15#issuecomment-274811993, or mute the thread https://github.com/notifications/unsubscribe-auth/AABkIFOQyhbXrBf3wHAX6GM4CAlh0CoTks5rVgYzgaJpZM4GnRyF .

andialbrecht avatar Jan 24 '17 14:01 andialbrecht