Public
Authored by Sergey Bugaev

Gnomit merge request: move buttons to the header bar

To make it work, we have to switch GnomitWindow to be a Gtk.Window rather than Gtk.Dialog, which only makes sense for the main window.

Additionally, this adds the suggested-action CSS class to the "Commit" button, which makes it look like other "suggested action" buttons throughout the system (i.e. blue on Adwaita).

Here's a screenshot of the new UI (taken while using Gnomit to commit this very change):

image

For the reference, here's GNOME Language Settings dialog with the same theme (Adwaita Dark):

image

use-headerbar.patch 6.23 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment