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 754b0a3bab69a8338daa48803c7c0d5f0184f048..b06155189558640fcc73b3e4e9324b1ad984513c 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
 2001-12-24 [alfons]    0.6.6claws17
        
        * src/summaryview.c
index c0d081a717ff4df02232c9a64d96b68807900c63..9fe3b9ab8e5bd8f953a85e8999d8f5ca5fe132af 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
 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
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index 05a038f0768bfec9f5af84a6f071664b0e7d026f..3112975376e41b5f8658c0283ffcdc155df9f937 100644 (file)
@@ -32,6 +32,7 @@
 #include "prefs.h"
 #include "manage_window.h"
 #include "utils.h"
 #include "prefs.h"
 #include "manage_window.h"
 #include "utils.h"
+#include "addr_compl.h"
 
 PrefsFolderItem tmp_prefs;
 
 
 PrefsFolderItem tmp_prefs;
 
@@ -482,11 +483,15 @@ void prefs_folder_item_create(void *folderview, FolderItem *item)
 
        g_free(infotext);
 
 
        g_free(infotext);
 
+       address_completion_start(window);
+
        gtk_widget_show(window);
 }
 
 void prefs_folder_item_destroy(struct PrefsFolderItemDialog *dialog) 
 {
        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);
 }
        gtk_widget_destroy(dialog->window);
        g_free(dialog);
 }