[Github-comments] [geany/geany] Make status bar thinner by using GtkBox instead of GtkStatusBar (PR #3058)

Jiří Techet notifications at xxxxx
Sat Dec 18 16:32:23 UTC 2021


I'm not sure how others but I personally just HATE the huge status bar
of GTK 3. It's such a colossal waste of precious vertical space and not
making the height adjustable is a terrible design choice IMO.

Anyway, end of ranting, the GTK status bar is just a GtkBox and a label
(plus some message stack that Geany doesn't even use) so it's no problem
to replace the statusbar with these and set the height to a sane amount
of pixels.

To me, the result is MUCH better and from the themes I tried, it looks
the same like the original status bar (apart from the height of course).

There might be a problem with plugins that try to access the status bar
directly and don't use msgwin_status_add(). The only plugin that seems
to do that (correctly) is the "web helper" plugin but from the code
it appears it falls back to creating a fake status bar if it doesn't
locate the one from Geany so it won't crash.

What do you think?
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/3058

-- Commit Summary --

  * Make status bar thinner by using GtkBox instead of GtkStatusBar

-- File Changes --

    M data/geany.glade (18)
    M src/libmain.c (2)
    M src/ui_utils.c (39)
    M src/ui_utils.h (3)

-- Patch Links --

https://github.com/geany/geany/pull/3058.patch
https://github.com/geany/geany/pull/3058.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3058
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3058 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211218/f9cf99f2/attachment.htm>


More information about the Github-comments mailing list