[atomix/wip/gtk3-port] Moved icon name setting to builder



commit 32cac18082f1ba686f2b29ad9fd59d98c50d560c
Author: Robert Roth <robert roth off gmail com>
Date:   Sat Dec 26 03:49:01 2015 +0200

    Moved icon name setting to builder

 data/ui/interface.ui |    1 +
 src/main.c           |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/interface.ui b/data/ui/interface.ui
index aa9e2ea..e0950a9 100644
--- a/data/ui/interface.ui
+++ b/data/ui/interface.ui
@@ -7,6 +7,7 @@
     <property name="height_request">520</property>
     <property name="can_focus">False</property>
     <property name="border_width">6</property>
+    <property name="icon_name">atomix</property>
     <property name="title" translatable="yes">Atomix</property>
     <child>
       <object class="GtkBox" id="win_content">
diff --git a/src/main.c b/src/main.c
index 9232e46..a0a313c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -649,8 +649,6 @@ static AtomixApp *create_gui (void)
 
   g_object_unref (builder);
 
-  gtk_window_set_icon_name (GTK_WINDOW (app->mainwin), "atomix");
-
   gtk_widget_show_all (GTK_WIDGET (app->mainwin));
 
   return app;


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