[gnome-disk-utility/gnome-3-20] window: Set icon-name properly



commit 0f0e66bf81e89e7f08f8b1b352eedcaf56955fe9
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Jun 8 10:46:40 2016 -0500

    window: Set icon-name properly
    
    This is required else we miss the icon on our app menu when shown in the
    window.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767385

 src/disks/gduwindow.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index 5539788..b3d1eab 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -1016,6 +1016,8 @@ gdu_window_constructed (GObject *object)
   if (G_OBJECT_CLASS (gdu_window_parent_class)->constructed != NULL)
     G_OBJECT_CLASS (gdu_window_parent_class)->constructed (object);
 
+  gtk_window_set_icon_name (GTK_WINDOW (window), "gnome-disks");
+
   /* load UI file */
   gdu_application_new_widget (window->application, "disks.ui", NULL, &window->builder);
 


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