diff options
author | raveit65 <[email protected]> | 2017-01-08 20:50:47 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-02-17 12:28:22 +0100 |
commit | 433f909b94d67f9c0d02536eb469da57f6381259 (patch) | |
tree | 1eb9594c94ac77d413ad3afcc08dbdd2e850185b /font-viewer/font-view.c | |
parent | a02d7f626da5c81de3699c921f4a965e3e37cb04 (diff) | |
download | mate-control-center-433f909b94d67f9c0d02536eb469da57f6381259.tar.bz2 mate-control-center-433f909b94d67f9c0d02536eb469da57f6381259.tar.xz |
add style class font-viewer at top level
Diffstat (limited to 'font-viewer/font-view.c')
-rw-r--r-- | font-viewer/font-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c index 6e306aa9..a7b57ea4 100644 --- a/font-viewer/font-view.c +++ b/font-viewer/font-view.c @@ -741,6 +741,11 @@ font_view_application_startup (GApplication *application) g_object_unref (menu); self->main_window = window = gtk_application_window_new (GTK_APPLICATION (application)); + + GtkStyleContext *context; + context = gtk_widget_get_style_context (GTK_WIDGET (self->main_window)); + gtk_style_context_add_class (context, "font-viewer"); + gtk_window_set_resizable (GTK_WINDOW (window), TRUE); gtk_window_set_default_size (GTK_WINDOW (window), 800, 600); gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE); |