From: Andrea Zagli Date: Sat, 13 Feb 2010 09:36:08 +0000 (+0100) Subject: Intercepted delete-event as cancel button pressed. X-Git-Tag: 0.0.2~1 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=285e71a9e71fb201eb6da767cbaa211cd4ede43b;p=zakauthe%2Fplugins%2Fdb Intercepted delete-event as cancel button pressed. --- diff --git a/data/libaute-db/glade/autedb.glade b/data/libaute-db/glade/autedb.glade index 382a861..d68387e 100644 --- a/data/libaute-db/glade/autedb.glade +++ b/data/libaute-db/glade/autedb.glade @@ -1,6 +1,6 @@ - + True @@ -10,14 +10,15 @@ True + vertical True 5 3 2 - 3 - 3 + 5 + 5 True @@ -79,8 +80,8 @@ 5 2 2 - 3 - 3 + 5 + 5 True diff --git a/src/aute_db.c b/src/aute_db.c index 5abeb2b..c5260fe 100644 --- a/src/aute_db.c +++ b/src/aute_db.c @@ -216,6 +216,8 @@ gchar break; case GTK_RESPONSE_CANCEL: + case GTK_RESPONSE_NONE: + case GTK_RESPONSE_DELETE_EVENT: ret = g_strdup (""); break;