Index: trunk/src/hid/gtk/gui-dialog-print.c =================================================================== --- trunk/src/hid/gtk/gui-dialog-print.c (revision 1308) +++ trunk/src/hid/gtk/gui-dialog-print.c (revision 1309) @@ -397,7 +397,9 @@ } if (no_exporter) { - gui->log(_("Can't find a suitable exporter HID")); + GtkWidget *label; + label = gtk_label_new("No exporter found. Check your plugins!"); + gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); } gtk_widget_show_all(export_dialog); Index: trunk/src/hid/lesstif/dialogs.c =================================================================== --- trunk/src/hid/lesstif/dialogs.c (revision 1308) +++ trunk/src/hid/lesstif/dialogs.c (revision 1309) @@ -963,7 +963,7 @@ HID_Attribute *opts; HID *printer, **hids; HID_Attr_Val *vals; - int n, i; + int n, i, count; Widget prev = 0; Widget w; @@ -973,6 +973,7 @@ n = 0; stdarg(XmNtitle, "Export HIDs"); selector = create_form_ok_dialog("export", 0); + count = 0; for (i = 0; hids[i]; i++) { if (hids[i]->exporter) { n = 0; @@ -989,11 +990,23 @@ XtManageChild(w); XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) dialog_callback, (XtPointer) ((size_t) i + 1)); prev = w; + count++; } } + if (count == 0) { + Widget label; + n = 0; + stdarg(XmNlabelString, XmStringCreatePCB("No exporter found. Check your plugins!")); + stdarg(XmNtopAttachment, XmATTACH_FORM); + stdarg(XmNrightAttachment, XmATTACH_FORM); + stdarg(XmNleftAttachment, XmATTACH_FORM); + label = XmCreateLabel(selector, "label", args, n); + XtManageChild(label); + } selector = XtParent(selector); } + i = wait_for_dialog(selector); if (i <= 0)