Commit 65426d2b authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

install modules in */gnome-panel/modules

parent 9551272d
......@@ -2,7 +2,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
appletsdir=@libdir@/gnome-panel/applets
modulesdir=@libdir@/gnome-panel/modules
Name: libgnome-panel
Description: libgnome-panel
......
......@@ -5,7 +5,7 @@ noinst_LTLIBRARIES = \
$(NULL)
libpanel_applet_private_la_CFLAGS = \
-DAPPLETSDIR=\""$(libdir)/gnome-panel/applets"\" \
-DMODULESDIR=\""$(libdir)/gnome-panel/modules"\" \
-DDATADIR=\""$(datadir)"\" \
-DPANEL_APPLETS_DIR=\"$(appletsdir)\" \
-I$(srcdir) \
......
......@@ -78,7 +78,7 @@ load_modules (GpAppletManager *manager)
GDir *dir;
const gchar *name;
dir = g_dir_open (APPLETSDIR, 0, NULL);
dir = g_dir_open (MODULESDIR, 0, NULL);
if (!dir)
return;
......@@ -88,7 +88,7 @@ load_modules (GpAppletManager *manager)
GpModule *module;
const gchar *id;
path = g_build_filename (APPLETSDIR, name, NULL);
path = g_build_filename (MODULESDIR, name, NULL);
module = gp_module_new_from_path (path);
g_free (path);
......
......@@ -2,7 +2,7 @@ NULL =
SUBDIRS = pixmaps
clock_libdir = $(libdir)/gnome-panel/applets
clock_libdir = $(libdir)/gnome-panel/modules
clock_lib_LTLIBRARIES = clock.la
if ENABLE_EDS
......
NULL =
fish_libdir = $(libdir)/gnome-panel/applets
fish_libdir = $(libdir)/gnome-panel/modules
fish_lib_LTLIBRARIES = fish.la
fish_la_SOURCES = \
......
NULL =
notification_area_libdir = $(libdir)/gnome-panel/applets
notification_area_libdir = $(libdir)/gnome-panel/modules
notification_area_lib_LTLIBRARIES = notification-area.la
notification_area_la_CPPFLAGS = \
......
NULL =
status_notifier_libdir = $(libdir)/gnome-panel/applets
status_notifier_libdir = $(libdir)/gnome-panel/modules
status_notifier_lib_LTLIBRARIES = status-notifier.la
status_notifier_la_CPPFLAGS = \
......
NULL =
wncklet_libdir = $(libdir)/gnome-panel/applets
wncklet_libdir = $(libdir)/gnome-panel/modules
wncklet_lib_LTLIBRARIES = wncklet.la
wncklet_la_CPPFLAGS = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment