[cheese/three-point-oh] Fixed paths for DATADIR



commit 19b7cad7456fe3a5a2416a600fac872f4c0bd9ac
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date:   Mon Jun 7 00:55:18 2010 +0530

    Fixed paths for DATADIR

 valasrc/cheese-window.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/valasrc/cheese-window.vala b/valasrc/cheese-window.vala
index 08826eb..1a47fd4 100644
--- a/valasrc/cheese-window.vala
+++ b/valasrc/cheese-window.vala
@@ -236,9 +236,9 @@ public class Cheese.MainWindow : Gtk.Window {
 	public	void setup_ui () {
 		builder = new Builder();
 		VBox main_vbox;
-		builder.add_from_file (GLib.Path.build_filename ("../data/", "cheese-actions.ui"));
-		builder.add_from_file (GLib.Path.build_filename ("../data/", "cheese-about.ui"));
-		builder.add_from_file (GLib.Path.build_filename ("../data/", "cheese-main-window.ui"));
+		builder.add_from_file (GLib.Path.build_filename (Config.PACKAGE_DATADIR, "cheese-actions.ui"));
+		builder.add_from_file (GLib.Path.build_filename (Config.PACKAGE_DATADIR, "cheese-about.ui"));
+		builder.add_from_file (GLib.Path.build_filename (Config.PACKAGE_DATADIR, "cheese-main-window.ui"));
 		builder.connect_signals(this);
 		
 		main_vbox = (VBox) builder.get_object ("mainbox_normal");



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