ghex r1193 - in trunk: . src



Author: dobey
Date: Tue Feb 26 17:33:33 2008
New Revision: 1193
URL: http://svn.gnome.org/viewvc/ghex?rev=1193&view=rev

Log:
2008-02-26  Rodney Dawes  <dobey pwns gmail com>

	* src/ghex-window.c (ghex_window_new):
	Pass DATADIR instead of PREFIX to bonobo_ui_util_set_ui
	Patch from Yuriy Penkin <yura penkin gmail com>

	Fixes #515425



Modified:
   trunk/ChangeLog
   trunk/src/ghex-window.c

Modified: trunk/src/ghex-window.c
==============================================================================
--- trunk/src/ghex-window.c	(original)
+++ trunk/src/ghex-window.c	Tue Feb 26 17:33:33 2008
@@ -512,7 +512,7 @@
     win->uic = uic;
 	bonobo_ui_component_set_container(uic, BONOBO_OBJREF(ui_container),
                                       NULL);
-	bonobo_ui_util_set_ui(uic, PREFIX, "ghex-ui.xml", "GHex", NULL);
+	bonobo_ui_util_set_ui(uic, DATADIR, "ghex-ui.xml", "GHex", NULL);
 	bonobo_ui_component_add_verb_list_with_data(uic, ghex_verbs, win);
     
 	bonobo_ui_component_add_listener (uic, "Bytes",



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