[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 6 18:54:55 UTC 2021
vcl/unx/gtk3/gtkdata.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 5733166e7aeb7c1e08a3cd785d633e1e252e9c88
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 6 15:20:48 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 6 20:54:18 2021 +0200
gtk4: adapt small-button for replacement of GtkToolbar by GtkBox
Change-Id: I265665f13c2a5221bd1ce1a32747acd82120c6ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118514
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtkdata.cxx b/vcl/unx/gtk3/gtkdata.cxx
index d4f3622337d5..cb37d7764fd4 100644
--- a/vcl/unx/gtk3/gtkdata.cxx
+++ b/vcl/unx/gtk3/gtkdata.cxx
@@ -441,7 +441,8 @@ static GtkStyleProvider* CreateStyleProvider()
1.a) little close button in menubar to close back to start-center
1.b) and small buttons in view->data sources (button.small-button)
- 1.c) small toolbar button in infobars (toolbar.small-button button)
+ 1.c.1) gtk3 small toolbar button in infobars (toolbar.small-button button)
+ 1.c.2) gtk4 small toolbar button in infobars (box.small-button button)
1.d) comboboxes in the data browser for tdf#137695 (box#combobox button.small-button,
which would instead be combobox button.small-button if we didn't replace GtkComboBox,
see GtkInstanceComboBox for an explanation for why we do that)
@@ -453,7 +454,8 @@ static GtkStyleProvider* CreateStyleProvider()
*/
GtkCssProvider* pStyleProvider = gtk_css_provider_new();
static const gchar data[] =
- "button.small-button, toolbar.small-button button, combobox.small-button *.combo, box#combobox.small-button *.combo, entry.small-button { "
+ "button.small-button, toolbar.small-button button, box.small-button button, "
+ "combobox.small-button *.combo, box#combobox.small-button *.combo, entry.small-button { "
"padding: 0; margin-left: 0px; margin-right: 0px;"
"min-height: 18px; min-width: 18px; }"
"notebook.overflow > header.top > tabs > tab:checked { "
More information about the Libreoffice-commits
mailing list