[gnome-logs] Set default icon (for when app-menu is broken).



commit ee18025cdc05b1a8c6160300bd7ab5db0ce5ff58
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Nov 20 03:13:48 2015 +0100

    Set default icon (for when app-menu is broken).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758408

 src/gl-application.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-application.c b/src/gl-application.c
index 7ef6ea2..b4984aa 100644
--- a/src/gl-application.c
+++ b/src/gl-application.c
@@ -202,6 +202,7 @@ gl_application_startup (GApplication *application)
 
     /* gtk_init() calls setlocale(), so gettext must be called after that. */
     g_set_application_name (_(PACKAGE_NAME));
+    gtk_window_set_default_icon_name (PACKAGE_TARNAME);
 
     /* Must register custom types before using them from GtkBuilder. */
     gl_window_get_type ();


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