summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7a37c05..8a9174b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -54,6 +54,10 @@ activate_cb (GtkApplication *app, gpointer user_data)
break;
case MODE_ENTRY:
+ /* allow for a series of tokens (or even a bash array!) to be
+ * passed as arguments so as to auto-populate the entry with
+ * a list of options as a combo-box.
+ */
results->entry_data->data = (const char **) args->argv + 1;
zenity_entry (results->data, results->entry_data);
break;