denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shortcuts text colour and Command Center window problems on Puppy Li


From: Lib Lists
Subject: Re: Shortcuts text colour and Command Center window problems on Puppy Linux
Date: Tue, 3 Mar 2020 18:59:11 +0200

On Tue, 3 Mar 2020 at 17:34, Richard Shann <address@hidden> wrote:
>
> On Tue, 2020-03-03 at 15:31 +0200, Lib Lists wrote:
> > On Mon, 2 Mar 2020 at 20:55, Lib Lists <address@hidden> wrote:
> > >
> > > On Mon, 2 Mar 2020 at 14:48, Richard Shann <address@hidden
> > > > wrote:
> > > >
> > > > On Mon, 2020-03-02 at 14:18 +0200, Lib Lists wrote:
> > > > > On Mon, 2 Mar 2020 at 12:08, Richard Shann <address@hidden
> > > > > .com>
> > > > > wrote:
> > > > > >
> > > > > > On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> > > > > > >
> > > > > >
> > > > > > [...]
> > > > > > > > > > The color of the keyboard shortcuts is hard wired,
> > > > > > > > > > unfortunately,
> > > > > > > > > > and I
> > > > > > > > > > see from your picture that it doesn't work well with
> > > > > > > > > > themes
> > > > > > > > > > that
> > > > > > > > > > use a
> > > > > > > > > > dark background with light colored lettering. The
> > > > > > > > > > menu
> > > > > > > > > > background
> > > > > > > > > > color
> > > > > > > > > > and the color of the labels in the menus is not hard-
> > > > > > > > > > wired
> > > > > > > > > > by
> > > > > > > > > > Denemo
> > > > > > > > > > however, so theming should work for them. I've not
> > > > > > > > > > explored
> > > > > > > > > > how
> > > > > > > > > > themes
> > > > > > > > > > can be chosen under Gtk though so I can't really go
> > > > > > > > > > beyond
> > > > > > > > > > saying
> > > > > > > > > > it
> > > > > > > > > > should work :( Do other Gtk-based applications change
> > > > > > > > > > appropriately
> > > > > > > > > > on
> > > > > > > > > > that virtual machine?
> > > > > > > > >
> > > > > > > > > Hi, just tested with Abiword
> > > > > > > >
> > > > > > > > is that a Gtk based program (or Qt for example)?
> > > > > > >
> > > > > > > Yes it's a Gtk program.
> > > > > >
> > > > > > and the background color of pop-up menus in Abiword changes
> > > > > > when
> > > > > > you
> > > > > > change theme but does not in Denemo?
> > > > >
> > > > > Sorry my mistake, Abiword behaves like Denemo i.e. only the
> > > > > title bar
> > > > > changes, while the menus don't. However, Gnumeric works well.
> > > > > After
> > > > > some research it seems that the installed version of Abiword is
> > > > > a
> > > > > Gtk3
> > > > > program, while Gnumeric (version 1.10.17) is a Gtk2 program.
> > > >
> > > > You can build Denemo against Gtk2 but there are some features
> > > > that are
> > > > not so good. IIRC Gtk3 has switched to using cascading style
> > > > sheets (or
> > > > some such terminology) where you can specify the style of things
> > > > at an
> > > > extremely granular level - Denemo is exploiting this internally,
> > > > e.g.
> > > > to paint the background of the frames differently for the
> > > > different
> > > > types of Denemo Directive in the Score/Movement/Staff/etc
> > > > editors.
> > > > Ideally this would be done by providing a style sheet with Denemo
> > > > that
> > > > the user could then adjust, but, as I say, I haven't delved so
> > > > deeply
> > > > into how that would work.
> > > > I think the installed Gtk3 libraries that you have will include a
> > > > variety of styles and something to specify the default, so, short
> > > > of
> > > > finding a Gtk3 theme chooser program you could directly alter
> > > > that
> > > > default (probably by putting the choice in some .config file in
> > > > your
> > > > home directory).
> > >
> > > Hi Richard,
> > > thank you for your suggestion! I'll give it a try and report.
> >
> > Hi,
> > I tried to modify various gtk3 .css files but didn't succeed.
> > However,
> > I noticed that in Abiword's menus the keyboard shortcuts are light
> > grey and not dark blue as in Denemo. Otherwise the menu colours are
> > exactly the same. Could it be that in Denemo the shortcut colour
> > number is hardcoded?
>
> it is - I mentioned this earlier (first sentence above!)

Hi, oops, I completely skipped that sentence, sorry about that.
>
> >
> > Talking about colours, is it possible to modify the background colour
> > of both the editing
> >  and print view windows?
>
> The "editing window" that is, the Denemo Display, can have its color
> set from Scheme - I forget the syntax, ask if you need it - while the
> Print View is (IIRC) just the default i.e. theme-able.

It'd be nice to be able change the background colour of the Denemo Display.

>
> >
> > Finally, I just noticed that in the version compiled by myself syntax
> > highlighting
>
> LilyPond syntax highlighting?

Yes

>
> >  doesn't work, while it works in the appimage downloaded
> > from Denemo website. Any hint?
> The Gtk widget involved is GtkSourceView which has refers to a file
> containing the syntax highlighting rules
> do you get this warning
>
> g_warning ("No syntax highlighting for LilyPond");

Yes, exactly, that's the message I get.
Thanks!

>
> the code doing this stuff is in src/export/exportlilypond.c if that
> helps.
>
> HTH
>
> Richard
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]