make default to address in folder property dialog really use address completion
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 24 Dec 2001 17:40:43 +0000 (17:40 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 24 Dec 2001 17:40:43 +0000 (17:40 +0000)
ChangeLog.claws
configure.in
src/prefs_folder_item.c

index 754b0a3..b061551 100644 (file)
@@ -1,3 +1,9 @@
+2001-12-24 [alfons]    0.6.6claws18
+
+       * src/prefs_folder_item.c
+               make address completion actually work for the
+               Default To address in the Folder Property dialog.
+
 2001-12-24 [alfons]    0.6.6claws17
        
        * src/summaryview.c
index c0d081a..9fe3b9a 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws17
+EXTRA_VERSION=claws18
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index 05a038f..3112975 100644 (file)
@@ -32,6 +32,7 @@
 #include "prefs.h"
 #include "manage_window.h"
 #include "utils.h"
+#include "addr_compl.h"
 
 PrefsFolderItem tmp_prefs;
 
@@ -482,11 +483,15 @@ void prefs_folder_item_create(void *folderview, FolderItem *item)
 
        g_free(infotext);
 
+       address_completion_start(window);
+
        gtk_widget_show(window);
 }
 
 void prefs_folder_item_destroy(struct PrefsFolderItemDialog *dialog) 
 {
+       address_completion_unregister_entry(GTK_ENTRY(dialog->entry_default_to));
+       address_completion_end(dialog->window);
        gtk_widget_destroy(dialog->window);
        g_free(dialog);
 }