2009-10-27 [colin] 3.7.3cvs9
authorColin Leroy <colin@colino.net>
Tue, 27 Oct 2009 07:28:14 +0000 (07:28 +0000)
committerColin Leroy <colin@colino.net>
Tue, 27 Oct 2009 07:28:14 +0000 (07:28 +0000)
* src/mainwindow.c
Try to fix registering as default client
on windows 7

ChangeLog
PATCHSETS
configure.ac
src/mainwindow.c

index d4ba6e91564b002806305661088de7dbc53aab5a..25f3a7252b7df8dbbca7edb6accfea6706258e87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-27 [colin]     3.7.3cvs9
+
+       * src/mainwindow.c
+               Try to fix registering as default client
+               on windows 7
+
 2009-10-21 [wwp]       3.7.3cvs8
 
        * src/common/utils.c
index 05c0c96c902fee0a2982e8e4ee34432956723627..677b4bcd3335f6f3233f63c5dd777999d0669408 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.36.2.175 -r 1.36.2.176 src/common/utils.c;  ) > 3.7.3cvs6.patchset
 ( cvs diff -u -r 1.36.2.176 -r 1.36.2.177 src/common/utils.c;  ) > 3.7.3cvs7.patchset
 ( cvs diff -u -r 1.36.2.177 -r 1.36.2.178 src/common/utils.c;  ) > 3.7.3cvs8.patchset
+( cvs diff -u -r 1.274.2.303 -r 1.274.2.304 src/mainwindow.c;  ) > 3.7.3cvs9.patchset
index 1d75c5c75d8a659e1a1c0de38327b1a08062b6b7..6022a9af640f513e1b27b4bb87d109bd1ab7e168 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=8
+EXTRA_VERSION=9
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 5352e96ea9fe5f47c5431c3cb2f72a216959acd5..b33f05106a8fdaaec4e107a7b8fd429df66bb49d 100644 (file)
@@ -5002,6 +5002,9 @@ static void set_default_client_cb(GtkAction *action, gpointer data)
        if (!r)
                r = write_w32_registry_dword ("HKCU", "Software\\Clients\\Mail\\Claws Mail\\Protocols\\mailto", 
                                "EditFlags", 2);
+       if (!r)
+               r = write_w32_registry_string ("HKCU", "Software\\Clients\\Mail\\Claws Mail\\Protocols\\mailto", 
+                               "FriendlyTypeName", "Claws-Mail URL");
        if (!r)
                r = write_w32_registry_string("HKCU", "Software\\Clients\\Mail\\Claws Mail\\Protocols\\mailto\\DefaultIcon", 
                                "", binary_icon);
@@ -5021,6 +5024,9 @@ static void set_default_client_cb(GtkAction *action, gpointer data)
        if (!r)
                r = write_w32_registry_dword ("HKCU", "Software\\Classes\\mailto", 
                                "EditFlags", 2);
+       if (!r)
+               r = write_w32_registry_string("HKCU", "Software\\Classes\\mailto", 
+                               "FriendlyTypeName", "Claws-Mail URL");
        if (!r)
                r = write_w32_registry_string("HKCU", "Software\\Classes\\mailto\\DefaultIcon", 
                                "", binary_icon);