[devhelp/wip/wintemplate: 3/7] Set icon name on the ui file



commit 52207a3f494ba95cf0290bce8c722d05a5484fe9
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Tue Jul 23 17:35:06 2013 +0200

    Set icon name on the ui file

 src/dh-window.c  |    2 --
 src/dh-window.ui |    1 +
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 6e6469b..a1f4092 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1346,8 +1346,6 @@ dh_window_new (DhApp *application)
 
         window_populate (window);
 
-        gtk_window_set_icon_name (GTK_WINDOW (window), "devhelp");
-
         g_signal_connect (window, "configure-event",
                           G_CALLBACK (window_configure_event_cb),
                           window);
diff --git a/src/dh-window.ui b/src/dh-window.ui
index 27da92b..7c0f95a 100644
--- a/src/dh-window.ui
+++ b/src/dh-window.ui
@@ -44,6 +44,7 @@
     <property name="can_focus">False</property>
     <property name="has_focus">False</property>
     <property name="is_focus">False</property>
+    <property name="icon_name">devhelp</property>
     <child type="titlebar">
       <object class="GtkHeaderBar" id="header_bar">
         <property name="visible">True</property>


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