[pybliographer/wip/gtk3: 37/42] ui: Don't generate main ui during build time



commit 9201d158f996ed75d66814e2bf902429cf6b782b
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Fri Mar 21 16:37:45 2014 -0700

    ui: Don't generate main ui during build time
    
    We can set the window icon on runtime

 Pyblio/GnomeUI/glade/Makefile.am                 |   11 +----------
 Pyblio/GnomeUI/glade/{pyblio.ui.in => pyblio.ui} |    1 -
 2 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/Pyblio/GnomeUI/glade/Makefile.am b/Pyblio/GnomeUI/glade/Makefile.am
index baf64f6..fa6d0bb 100644
--- a/Pyblio/GnomeUI/glade/Makefile.am
+++ b/Pyblio/GnomeUI/glade/Makefile.am
@@ -1,6 +1,4 @@
 gladedir = $(datadir)/$(PACKAGE)/Pyblio/GnomeUI/glade
-appicondir = $(datadir)/$(PACKAGE)/pixmaps
-
 glade_DATA =                                   \
        fields1.ui                              \
        pyblio.ui                               \
@@ -11,11 +9,4 @@ glade_DATA =                                  \
        config1.ui                              \
        openurl.ui
 
-EXTRA_DIST = $(glade_DATA) pyblio.ui.in
-
-pyblio.ui: pyblio.ui.in Makefile
-       sed -e 's^\@icondir\@^$(appicondir)^g'          \
-       < $(srcdir)/pyblio.ui.in > pyblio.ui.tmp        \
-       && mv pyblio.ui.tmp pyblio.ui
-
-DISTCLEANFILES = pyblio.ui
+EXTRA_DIST = $(glade_DATA)
diff --git a/Pyblio/GnomeUI/glade/pyblio.ui.in b/Pyblio/GnomeUI/glade/pyblio.ui
similarity index 99%
rename from Pyblio/GnomeUI/glade/pyblio.ui.in
rename to Pyblio/GnomeUI/glade/pyblio.ui
index c4eccb8..9114ee7 100644
--- a/Pyblio/GnomeUI/glade/pyblio.ui.in
+++ b/Pyblio/GnomeUI/glade/pyblio.ui
@@ -173,7 +173,6 @@
   <object class="GtkWindow" id="main">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">Pybliographer</property>
-    <property name="icon">@icondir@/pybliographic.png</property>
     <signal name="key-press-event" handler="key_pressed" swapped="no"/>
     <signal name="delete-event" handler="close_or_exit" swapped="no"/>
     <child>


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