gnome-blog r310 - trunk
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-blog r310 - trunk
- Date: Sat, 22 Mar 2008 02:32:19 +0000 (GMT)
Author: herzi
Date: Sat Mar 22 02:32:19 2008
New Revision: 310
URL: http://svn.gnome.org/viewvc/gnome-blog?rev=310&view=rev
Log:
2008-03-22 Sven Herzberg <sven imendio com>
Find the UI file even in a nonstandard prefix
* blog_applet.py: pass the datadir hint
* gnome_blog_globals.py.in: added a variable for the datadir
Modified:
trunk/ChangeLog
trunk/blog_applet.py
trunk/gnome_blog_globals.py.in
Modified: trunk/blog_applet.py
==============================================================================
--- trunk/blog_applet.py (original)
+++ trunk/blog_applet.py Sat Mar 22 02:32:19 2008
@@ -30,7 +30,7 @@
self.toggle = gtk.ToggleButton()
self.toggle.set_relief(gtk.RELIEF_NONE)
self.applet_tooltips = gtk.Tooltips()
- self.setup_menu_from_file (None, "GNOME_BlogApplet.xml",
+ self.setup_menu_from_file (gnome_blog_globals.datadir, "GNOME_BlogApplet.xml",
None, [(_("About"), self._showAboutDialog), ("Pref", self._openPrefs)])
button_box = gtk.HBox()
Modified: trunk/gnome_blog_globals.py.in
==============================================================================
--- trunk/gnome_blog_globals.py.in (original)
+++ trunk/gnome_blog_globals.py.in Sat Mar 22 02:32:19 2008
@@ -1,4 +1,5 @@
name = "gnome-blog"
version = "@VERSION@"
+datadir = "@prefix@/@DATADIRNAME@"
image_dir = "@prefix@/share/pixmaps"
-localedir = "@prefix@/@DATADIRNAME@/locale"
\ No newline at end of file
+localedir = "@prefix@/@DATADIRNAME@/locale"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]