weston: Change path for default terminal launcher to ${prefix}/bin
If you don't have anything at ~/.config/weston-desktop-shell.ini and have weston installed somewhere other than /usr, then this patch will help. Cheers, Signed-off-by: Rodney Lorrimar <rodney@rodney.id.au>
This commit is contained in:
committed by
Kristian Høgsberg
parent
fcfc83f6ae
commit
99ff01b816
@@ -48,6 +48,7 @@ noinst_LIBRARIES = libtoytoolkit.a
|
|||||||
AM_CFLAGS = $(GCC_CFLAGS)
|
AM_CFLAGS = $(GCC_CFLAGS)
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-DDATADIR='"$(datadir)"' \
|
-DDATADIR='"$(datadir)"' \
|
||||||
|
-DBINDIR='"$(bindir)"' \
|
||||||
$(CLIENT_CFLAGS) $(CAIRO_EGL_CFLAGS)
|
$(CLIENT_CFLAGS) $(CAIRO_EGL_CFLAGS)
|
||||||
|
|
||||||
libtoytoolkit_a_SOURCES = \
|
libtoytoolkit_a_SOURCES = \
|
||||||
|
|||||||
@@ -698,7 +698,7 @@ add_default_launcher(struct desktop *desktop)
|
|||||||
wl_list_for_each(output, &desktop->outputs, link)
|
wl_list_for_each(output, &desktop->outputs, link)
|
||||||
panel_add_launcher(output->panel,
|
panel_add_launcher(output->panel,
|
||||||
DATADIR "/weston/terminal.png",
|
DATADIR "/weston/terminal.png",
|
||||||
"/usr/bin/weston-terminal");
|
BINDIR "/weston-terminal");
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|||||||
Reference in New Issue
Block a user