summaryrefslogtreecommitdiff
path: root/capplet/gsm-properties-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplet/gsm-properties-dialog.c')
-rw-r--r--capplet/gsm-properties-dialog.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index 3e080ed..20ceac8 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -361,14 +361,15 @@ on_add_app_clicked (GtkWidget *widget,
char *name;
char *exec;
char *comment;
+ guint delay;
- add_dialog = gsm_app_dialog_new (NULL, NULL, NULL);
+ add_dialog = gsm_app_dialog_new (NULL, NULL, NULL, 0);
gtk_window_set_transient_for (GTK_WINDOW (add_dialog),
GTK_WINDOW (dialog));
if (gsm_app_dialog_run (GSM_APP_DIALOG (add_dialog),
- &name, &exec, &comment)) {
- gsp_app_create (name, comment, exec);
+ &name, &exec, &comment, &delay)) {
+ gsp_app_create (name, comment, exec, delay);
g_free (name);
g_free (exec);
g_free (comment);
@@ -426,16 +427,18 @@ on_edit_app_clicked (GtkWidget *widget,
char *name;
char *exec;
char *comment;
+ guint delay;
edit_dialog = gsm_app_dialog_new (gsp_app_get_name (app),
gsp_app_get_exec (app),
- gsp_app_get_comment (app));
+ gsp_app_get_comment (app),
+ gsp_app_get_delay (app));
gtk_window_set_transient_for (GTK_WINDOW (edit_dialog),
GTK_WINDOW (dialog));
if (gsm_app_dialog_run (GSM_APP_DIALOG (edit_dialog),
- &name, &exec, &comment)) {
- gsp_app_update (app, name, comment, exec);
+ &name, &exec, &comment, &delay)) {
+ gsp_app_update (app, name, comment, exec, delay);
g_free (name);
g_free (exec);
g_free (comment);