[vinagre/gnome-3-0] Fix reverse-vnc GtkBuilder file search path



commit 782d9e9ab0d0e4276b625216f294aa3a15cef180
Author: David King <amigadave amigadave com>
Date:   Sat Apr 16 23:19:18 2011 +0200

    Fix reverse-vnc GtkBuilder file search path

 Makefile.am                                        |    3 ++-
 .../vinagre-reverse-vnc-listener-dialog.c          |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d10a152..0b50671 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -267,7 +267,8 @@ endif
 
 libreversevnc_la_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
-	-I$(top_srcdir)
+	-I$(top_srcdir) \
+	-DVINAGRE_REVERSE_VNC_DATADIR=\"$(reversevncuidir)\"
 
 libreversevnc_la_SOURCES = \
 	plugins/reverse-vnc/vinagre-reverse-vnc-plugin.h \
diff --git a/plugins/reverse-vnc/vinagre-reverse-vnc-listener-dialog.c b/plugins/reverse-vnc/vinagre-reverse-vnc-listener-dialog.c
index 46ef932..0910ce3 100644
--- a/plugins/reverse-vnc/vinagre-reverse-vnc-listener-dialog.c
+++ b/plugins/reverse-vnc/vinagre-reverse-vnc-listener-dialog.c
@@ -210,7 +210,7 @@ vinagre_reverse_vnc_listener_dialog_show (GtkWindow *parent)
   gboolean always;
   gchar *filename;
 
-  filename = g_build_filename (DATADIR, "reverse-vnc.ui", NULL);
+  filename = g_build_filename (VINAGRE_REVERSE_VNC_DATADIR, "reverse-vnc.ui", NULL);
 
   xml = vinagre_utils_get_builder (filename);
   g_free (filename);



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