[Patch] for adress-book.c bugs
- From: Emmanuel <e allaud wanadoo fr>
- To: balsa-list gnome org
- Subject: [Patch] for adress-book.c bugs
- Date: Tue, 3 Jul 2001 18:54:16 +0200
Hi all,
the patch attached :
- removes a useless test in balsa_address_book_select_recipient(...),
-
add an assertion in address_book_entry_new(...).
Still to be corrected (really fast) : in
balsa_address_book_menu_changed(...) we have to toggle a button
according to its new state (toggle callback) but we set it to TRUE in
either case of the if test. I don't know which one has to be changed
FALSE (moreover I can't compile, because of libgnome dependencies pbs).
Bye
Manu
--- ../../balsa-1.1.6/src/address-book.c Thu Feb 1 23:19:57 2001
+++ address-book.c Tue Jul 3 18:45:25 2001
@@ -522,12 +522,9 @@
if ( event == NULL )
return;
- if (event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) {
- if ( ab->composing ) {
- balsa_address_book_swap_clist_entry(GTK_CLIST(ab->recipient_clist),
- GTK_CLIST(ab->address_clist));
- }
- }
+ if (event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS)
+ balsa_address_book_swap_clist_entry(GTK_CLIST(ab->recipient_clist),
+ GTK_CLIST(ab->address_clist));
}
/*
@@ -758,6 +755,7 @@
AddressBookEntry *abe;
abe = g_new(AddressBookEntry, 1);
+ g_assert(abe!=NULL);
gtk_object_ref(GTK_OBJECT(address));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]