aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-nautilus-view.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-04 00:51:29 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-04 00:51:29 +0800
commit3f4726c21f495297332c5cedae66e636ba88a1a0 (patch)
tree8a640bf6d7bf43d70b76566f913026c14742ec2e /src/ephy-nautilus-view.c
parent14e235f2eb930212dcdf8eca1dccfdcf56cd933e (diff)
downloadgsoc2013-epiphany-3f4726c21f495297332c5cedae66e636ba88a1a0.tar
gsoc2013-epiphany-3f4726c21f495297332c5cedae66e636ba88a1a0.tar.gz
gsoc2013-epiphany-3f4726c21f495297332c5cedae66e636ba88a1a0.tar.bz2
gsoc2013-epiphany-3f4726c21f495297332c5cedae66e636ba88a1a0.tar.lz
gsoc2013-epiphany-3f4726c21f495297332c5cedae66e636ba88a1a0.tar.xz
gsoc2013-epiphany-3f4726c21f495297332c5cedae66e636ba88a1a0.tar.zst
gsoc2013-epiphany-3f4726c21f495297332c5cedae66e636ba88a1a0.zip
Search for ui files in the share dir
2003-05-03 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_bonobo_control_activate_cb): Search for ui files in the share dir * src/statusbar.c: (statusbar_set_message): Strip \n \r from messages * src/toolbar.c: Allow reorder of bookmarks
Diffstat (limited to 'src/ephy-nautilus-view.c')
-rw-r--r--src/ephy-nautilus-view.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ephy-nautilus-view.c b/src/ephy-nautilus-view.c
index a0e90e52b..56b0edb06 100644
--- a/src/ephy-nautilus-view.c
+++ b/src/ephy-nautilus-view.c
@@ -277,9 +277,9 @@ ephy_nautilus_view_instance_init (EphyNautilusView *view)
p->popup_ui = bonobo_control_get_popup_ui_component (p->control);
g_assert (BONOBO_IS_UI_COMPONENT (p->popup_ui));
- bonobo_ui_util_set_ui (p->popup_ui, DATADIR,
- "nautilus-epiphany-view.xml",
- "EphyNutilusView", NULL);
+ bonobo_ui_util_set_ui (p->popup_ui, SHARE_DIR,
+ "nautilus-epiphany-view.xml",
+ "EphyNautilusView", NULL);
p->popup = ephy_embed_popup_control_new (p->control);
ephy_embed_popup_connect_verbs (EPHY_EMBED_POPUP (p->popup), p->popup_ui);
g_object_set_data (G_OBJECT (p->popup), "NautilisView", view);
@@ -478,8 +478,8 @@ gnv_bonobo_control_activate_cb (BonoboControl *control, gboolean state, EphyNaut
{
EphyNautilusViewPrivate *p = view->priv;
- p->ui = nautilus_view_set_up_ui (NAUTILUS_VIEW (view), DATADIR,
- "nautilus-epiphany-view.xml", "EphyNutilusView");
+ p->ui = nautilus_view_set_up_ui (NAUTILUS_VIEW (view), SHARE_DIR,
+ "nautilus-epiphany-view.xml", "EphyNautilusView");
g_return_if_fail (BONOBO_IS_UI_COMPONENT (p->ui));
ephy_embed_utils_build_charsets_submenu (p->ui,