[gnome-font-viewer] font-view: add an icon name to the window



commit 4b3ede4a288ff17841316f53ea1e338e89b167bf
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Tue Jul 5 16:50:20 2016 -0700

    font-view: add an icon name to the window
    
    This is useful when e.g. the fallback app menu shows in the window
    corner.

 src/font-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/font-view.c b/src/font-view.c
index 8a30f2d..ac356e0 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -824,6 +824,7 @@ font_view_application_startup (GApplication *application)
     self->main_window = window = gtk_application_window_new (GTK_APPLICATION (application));
     gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
     gtk_window_set_default_size (GTK_WINDOW (window), 800, 600);
+    gtk_window_set_icon_name (GTK_WINDOW (window), "preferences-desktop-font");
 
     self->header = gtk_header_bar_new ();
     gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (self->header), TRUE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]