X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgui-shell%2Fdsh.c;h=bad942a37e3d7aee3166e2f814259f0371cd868c;hb=d20e3861df83a21da251d54ddcbe4ba0319b0c0b;hp=e5bb9bbeee547029dab6da9bd3f85dc0ec7ed637;hpb=43edea91c0417cbe78b1f3ec738798a411d771e3;p=doldaconnect.git diff --git a/clients/gui-shell/dsh.c b/clients/gui-shell/dsh.c index e5bb9bb..bad942a 100644 --- a/clients/gui-shell/dsh.c +++ b/clients/gui-shell/dsh.c @@ -263,6 +263,7 @@ void dcfdcb(gpointer data, gint source, GdkInputCondition cond) dc_uimisc_handlenotify(resp); updatetrinfo(); } + dc_freeresp(resp); } updatewrite(); } @@ -376,6 +377,19 @@ void dolcon(void) } } +void cb_shm_dolconf_activate(GtkWidget *uu1, gpointer uu2) +{ + int i; + + if((dcpid = fork()) == 0) { + for(i = 3; i < FD_SETSIZE; i++) + close(i); + execlp("dolconf", "dolconf", NULL); + perror("dolconf"); + exit(127); + } +} + void cb_shm_dolcon_activate(GtkWidget *uu1, gpointer uu2) { dolcon();