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



commit e2ad59a6c1d1a0d8f9298d82bb0e078e197a33a0
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]