[gnome-disk-utility/gnome-3-20] window: Set icon-name properly
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/gnome-3-20] window: Set icon-name properly
- Date: Wed, 8 Jun 2016 15:48:20 +0000 (UTC)
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]