[devhelp/wip/wintemplate: 3/8] window: set icon name on the ui file



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

    window: 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]