Use PROGNAME_PROPERTIES for properties(1)
This commit is contained in:
parent
6c292d976c
commit
d72009c6a6
|
@ -59,6 +59,10 @@
|
||||||
# define BINDIR PREFIX "/bin"
|
# define BINDIR PREFIX "/bin"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PROGNAME_PROPERTIES
|
||||||
|
# define PROGNAME_PROPERTIES "properties"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Volumes */
|
/* Volumes */
|
||||||
/* private */
|
/* private */
|
||||||
|
@ -998,8 +1002,8 @@ static void _volumes_on_properties(GtkWidget * widget, gpointer data)
|
||||||
Volumes * volumes = data;
|
Volumes * volumes = data;
|
||||||
BrowserPluginHelper * helper = volumes->helper;
|
BrowserPluginHelper * helper = volumes->helper;
|
||||||
gchar * mountpoint;
|
gchar * mountpoint;
|
||||||
char * argv[] = { BINDIR "/properties", "properties", "--", NULL,
|
char * argv[] = { BINDIR "/" PROGNAME_PROPERTIES, PROGNAME_PROPERTIES,
|
||||||
NULL };
|
"--", NULL, NULL };
|
||||||
const unsigned int flags = G_SPAWN_FILE_AND_ARGV_ZERO;
|
const unsigned int flags = G_SPAWN_FILE_AND_ARGV_ZERO;
|
||||||
GError * error = NULL;
|
GError * error = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user