projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added work offline availability.
[claws.git]
/
src
/
compose.c
diff --git
a/src/compose.c
b/src/compose.c
index 67526467eaf15ad809145e7f22a3eb6db641b9bc..b7fcada67dc467ca37be794b5453abb5715caa07 100644
(file)
--- a/
src/compose.c
+++ b/
src/compose.c
@@
-5919,6
+5919,12
@@
static void compose_send_cb(gpointer data, guint action, GtkWidget *widget)
{
Compose *compose = (Compose *)data;
gint val;
+
+ if (prefs_common.work_offline)
+ if (alertpanel(_("Offline warning"),
+ _("You're working offline. Override?"),
+ _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
+ return;
val = compose_send(compose);