Группа :: Graphical desktop/MATE
Пакет: mate-control-center
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mate-control-center_add-style-class-font-viewer-at-top-level.patch
Скачать
Скачать
From dc894aef117194eb087251341f03ac2d87a6f8c2 Mon Sep 17 00:00:00 2001
From: raveit65 <chat-to-me@raveit.de>
Date: Wed, 20 Apr 2016 12:37:26 +0200
Subject: [PATCH] add style class font-viewer at top level
---
font-viewer/font-view.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c
index 6e306aa..a7b57ea 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);
--
2.7.3