Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request feature : be able to change visualisation of tab for currently opened file #2046

Closed
piscvau opened this issue Jan 14, 2019 · 8 comments

Comments

@piscvau
Copy link

piscvau commented Jan 14, 2019

Several times ran into serious problems (scratching a file) because I confuse the highlight in red of the unsaved files' tab with the highlight of the currentlly displaid file. I would like to be able to inverse the parameters, that is:
have in red the tab's title of the currentlys displaid file
have inversed background for the tab of not yet saved files.

@elextr
Copy link
Member

elextr commented Jan 14, 2019

Need more info, please post the first three lines of Menu->Help->Debug Messages

@b4n
Copy link
Member

b4n commented Jan 14, 2019

@piscvau https://www.geany.org/manual/#customizing-geany-s-appearance-using-gtk-3-css should help you, you can define yourself how they should look.
Note: the documentation isn't very clear here, but it also works with GTK2. See geany.gtkrc for GTK2 inspiration, or geany.css for GTK3 inspiration.

@elextr
Copy link
Member

elextr commented Jan 14, 2019

And the information I requested will tell you if you are using GTK2 or GTK3.

@piscvau
Copy link
Author

piscvau commented Jan 18, 2019

Sorry for the delay in answering
here is the information about my configuration
14:22:56: Geany INFO : Geany 1.32, fr_FR.UTF-8
14:22:56: Geany INFO : GTK 3.22.30, GLib 2.56.3
14:22:56: Geany INFO : System data dir: /usr/share/geany
Thanks for the info. I followed the instructions : copy the CSS fie into ~.config.geany . But it does not seem to be loaded. Any modification to do in preferences?
Another problem is that it does not seem possible to change the display of the current tab.

@elextr
Copy link
Member

elextr commented Jan 18, 2019

@b4n where is the Geany CSS used to set tab text colour, this suggests to me it uses the theme colour, not the geany setting?

@elextr
Copy link
Member

elextr commented Jan 18, 2019

@b4n, Ignore my last, I found it.

@elextr
Copy link
Member

elextr commented Jan 18, 2019

@piscvau changing the geany-status-changed value WFM. Geany only controls the tab text colour, not the tab, you will have to set that by the normal GTK theme name/path for the active tab. Not sure what its called.

@elextr
Copy link
Member

elextr commented Apr 6, 2019

Closed because its working existing functionality.

@elextr elextr closed this as completed Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants