[f13-branch] Startup notification in live installer (#530908).

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

 



Also depends on the fix for 580481 ('usermode' package). This patch mostly
deals with the need to have i18n support for the notification name.
---
 liveinst/console.apps/liveinst |    2 ++
 po/POTFILES.in                 |    1 +
 po/Rules-liveinst              |   10 ++++++++--
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/liveinst/console.apps/liveinst b/liveinst/console.apps/liveinst
index ef32d30..e7f621e 100644
--- a/liveinst/console.apps/liveinst
+++ b/liveinst/console.apps/liveinst
@@ -1,3 +1,5 @@
 USER=root
 PROGRAM=/usr/sbin/liveinst
 SESSION=true
+STARTUP_NOTIFICATION_NAME="Starting Install to Hard Drive"
+DOMAIN=anaconda
\ No newline at end of file
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1adea80..e515d7d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -112,6 +112,7 @@ textw/zipl_text.py
 
 # liveinst source files
 liveinst/liveinst.desktop.in.h
+liveinst/console.apps/liveinst.h
 
 # Glade definition files
 ui/GroupSelector.glade.h
diff --git a/po/Rules-liveinst b/po/Rules-liveinst
index f9a178a..2e359e3 100644
--- a/po/Rules-liveinst
+++ b/po/Rules-liveinst
@@ -1,5 +1,5 @@
-LIVEINST_SRCS = $(top_srcdir)/liveinst/liveinst.desktop.in
-LIVEINST_HDRS = $(top_builddir)/liveinst/liveinst.desktop.in.h
+LIVEINST_SRCS = $(top_srcdir)/liveinst/liveinst.desktop.in $(top_srcdir)/liveinst/console.apps/liveinst
+LIVEINST_HDRS = $(top_builddir)/liveinst/liveinst.desktop.in.h $(top_srcdir)/liveinst/console.apps/liveinst.h
 
 %.desktop.in.h: %.desktop.in
 	@cd $(top_builddir)/liveinst ; \
@@ -7,5 +7,11 @@ LIVEINST_HDRS = $(top_builddir)/liveinst/liveinst.desktop.in.h
 	mv tmp/*h . ; \
 	rmdir tmp
 
+%liveinst.h : %liveinst
+	@cd $(top_builddir)/liveinst/console.apps ; \
+	intltool-extract -q --type=gettext/quoted -l $(notdir $<) ; \
+	mv tmp/*h . ; \
+	rmdir tmp        
+
 mostlyclean-liveinst:
 	rm -f $(LIVEINST_HDRS)
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux