summaryrefslogtreecommitdiff
path: root/font-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'font-viewer')
-rw-r--r--font-viewer/font-view.c5
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);