/*
* Dolda Connect - Modular multiuser Direct Connect-style client
- * Copyright (C) 2005 Fredrik Tolf (fredrik@dolda2000.com)
+ * Copyright (C) 2005 Fredrik Tolf <fredrik@dolda2000.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
static BonoboUIVerb ctxtmenuverbs[] =
{
BONOBO_UI_VERB("dca_pref", run_pref_dialog),
- BONOBO_UI_VERB("dca_cancel", cancel_transfer),
+ BONOBO_UI_VERB("dca_cancel", (void (*)(BonoboUIComponent*, gpointer, const char *))cancel_transfer),
BONOBO_UI_VERB_END
};
time_t now;
char buf[256];
- if(data->curdisplay == NULL)
+ if(data->curdisplay == NULL) {
+ gtk_tooltips_set_tip(data->tips, GTK_WIDGET(data->applet), _("No transfer selected"), NULL);
return(TRUE);
+ }
now = time(NULL);
if(data->curdisplay->cmptime == 0)
{