diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-23 04:07:51 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-23 04:07:51 +0800 |
commit | bc61f8e11ccdb24c8a5ad4efafb31cfb097733fe (patch) | |
tree | 21301790bbead821c66310484253c57636936c1e /calendar/gui/dialogs | |
parent | 274026702024e9ff9ab593e263b662d37ab4316e (diff) | |
download | gsoc2013-evolution-bc61f8e11ccdb24c8a5ad4efafb31cfb097733fe.tar.gz gsoc2013-evolution-bc61f8e11ccdb24c8a5ad4efafb31cfb097733fe.tar.zst gsoc2013-evolution-bc61f8e11ccdb24c8a5ad4efafb31cfb097733fe.zip |
Use EVOLUTION_GALVIEWSDIR.
* gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.
* gui/e-tasks.c (e_tasks_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.
* cal-util/Makefile.am: Install libcal-util.la in $(privlibdir)
instead of $(libdir).
* gui/dialogs/comp-editor.c (setup_widgets): Get
evolution-comp-editor.xml from EVOLUTION_UIDIR.
(comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR.
* gui/tasks-control.c (tasks_control_activate): Get
evolution-tasks.xml from EVOLUTION_UI_DIRECTORY.
* gui/calendar-commands.c (calendar_control_activate): Get
evolution-calendar.xml from EVOLUTION_UI_DIRECTORY.
* pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION).
* importers/Makefile.am: Install evolution-calendar-importer in
$(libexecdir)/evolution/$(BASE_VERSION).
(sounddir): Remove.
* gui/dialogs/Makefile.am (iconsdir): Version using
$(BASE_VERSION).
(gladedir): Likewise.
(etspecdir): Likewise.
* gui/Makefile.am (help_base): Remove.
(install-data-local): Do not make the $(help_base)/C directory.
(etspecdir): Version using $(BASE_VERSION).
(gladedir): Likewise.
(iconsdir): Likewise.
(INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned,
and add a -DEVOLUTION_GALVIEWSDIR.
* cal-util/Makefile.am: Install evolution-alarm-notify in
$(libexecdir)/evolution/$(BASE_VERSION).
* cal-util/Makefile.am (libcal_utilincludedir): Version using
$(BASE_VERSION).
* gui/alarm-notify/Makefile.am (iconsdir): Likewise.
(gladedir): Likewise.
* cal-client/Makefile.am: Install libcal-client.la in privlibdir
instead of libdir.
(libcal_clientincludedir): Version using $(BASE_VERSION).
svn path=/trunk/; revision=19553
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/Makefile.am | 7 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/Makefile.am b/calendar/gui/dialogs/Makefile.am index 31c785c16a..cf7772c6d0 100644 --- a/calendar/gui/dialogs/Makefile.am +++ b/calendar/gui/dialogs/Makefile.am @@ -29,6 +29,7 @@ INCLUDES = \ -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\" \ -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \ + -DEVOLUTION_UIDIR=\""$(evolutionuidir)"\" \ -DGNOMELOCALEDIR=\""$(localedir)"\" \ $(EVOLUTION_CALENDAR_CFLAGS) @@ -77,9 +78,9 @@ libcal_dialogs_a_SOURCES = \ task-page.c \ task-page.h -iconsdir = $(datadir)/evolution/images +iconsdir = $(datadir)/evolution-$(BASE_VERSION)/images -gladedir = $(datadir)/evolution/glade +gladedir = $(datadir)/evolution-$(BASE_VERSION)/glade glade_DATA = \ alarm-options.glade \ alarm-page.glade \ @@ -92,7 +93,7 @@ glade_DATA = \ task-details-page.glade \ task-page.glade -etspecdir = $(datadir)/evolution/etspec/ +etspecdir = $(datadir)/evolution-$(BASE_VERSION)/etspec/ etspec_DATA = meeting-page.etspec CLEANFILES = $(BUILT_SOURCES) diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 46a08da33d..24fdf3396f 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -197,7 +197,7 @@ setup_widgets (CompEditor *editor) bonobo_ui_component_add_verb_list_with_data (priv->uic, verbs, editor); bonobo_ui_util_set_ui (priv->uic, EVOLUTION_DATADIR, - "evolution-comp-editor.xml", + EVOLUTION_UIDIR "/evolution-comp-editor.xml", "evolution-calendar", NULL); e_pixmaps_update (priv->uic, pixmaps); @@ -1094,15 +1094,20 @@ comp_editor_merge_ui (CompEditor *editor, EPixmap *component_pixmaps) { CompEditorPrivate *priv; + char *path; g_return_if_fail (editor != NULL); g_return_if_fail (IS_COMP_EDITOR (editor)); priv = editor->priv; - bonobo_ui_util_set_ui (priv->uic, EVOLUTION_DATADIR, filename, "evolution-calendar", NULL); + path = g_strconcat (EVOLUTION_UIDIR "/", filename); + + bonobo_ui_util_set_ui (priv->uic, EVOLUTION_DATADIR, path, "evolution-calendar", NULL); bonobo_ui_component_add_verb_list_with_data (priv->uic, verbs, editor); + g_free (path); + if (component_pixmaps != NULL) e_pixmaps_update (priv->uic, component_pixmaps); } |