From d1ceaa0d8cbf767a849274913403fb89d6c64a83 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Mon, 14 Jul 2008 10:37:10 +0000 Subject: bug fix: open correct message window for send when using subcontact windows git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@413 4f64403b-2f21-0410-a795-97e2b3489a10 --- metacontacts/MetaContacts.mdsp | 2 +- metacontacts/MetaContacts_9.sln | 19 ++ metacontacts/MetaContacts_9.vcproj | 543 +++++++++---------------------------- metacontacts/meta_utils.c | 4 +- metacontacts/version.h | 2 +- 5 files changed, 144 insertions(+), 426 deletions(-) create mode 100644 metacontacts/MetaContacts_9.sln (limited to 'metacontacts') diff --git a/metacontacts/MetaContacts.mdsp b/metacontacts/MetaContacts.mdsp index 54204c5..d7f19bf 100644 --- a/metacontacts/MetaContacts.mdsp +++ b/metacontacts/MetaContacts.mdsp @@ -99,4 +99,4 @@ extraResourceOptions= 1=resource.rc [Other] [History] -meta_options.c,25290 +meta_options.c,25271 diff --git a/metacontacts/MetaContacts_9.sln b/metacontacts/MetaContacts_9.sln new file mode 100644 index 0000000..29ed923 --- /dev/null +++ b/metacontacts/MetaContacts_9.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MetaContacts", "MetaContacts_9.vcproj", "{8B5D2F98-8F24-4F26-8E8B-00857F37530E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8B5D2F98-8F24-4F26-8E8B-00857F37530E}.Debug|Win32.ActiveCfg = Debug|Win32 + {8B5D2F98-8F24-4F26-8E8B-00857F37530E}.Debug|Win32.Build.0 = Debug|Win32 + {8B5D2F98-8F24-4F26-8E8B-00857F37530E}.Release|Win32.ActiveCfg = Release|Win32 + {8B5D2F98-8F24-4F26-8E8B-00857F37530E}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/metacontacts/MetaContacts_9.vcproj b/metacontacts/MetaContacts_9.vcproj index 839752a..bbd2de5 100644 --- a/metacontacts/MetaContacts_9.vcproj +++ b/metacontacts/MetaContacts_9.vcproj @@ -1,9 +1,9 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -490,91 +263,45 @@ - - - - - - - - - - - - @@ -582,176 +309,88 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -769,7 +408,7 @@ > @@ -790,13 +429,73 @@ > + + + + + + + + + + + + + + + + + + + + + + + + + + = ID_STATUS_ONLINE) { caps = proto ? CallProtoService(proto, PS_GETCAPS, (WPARAM)pflagnum, 0) : 0; if(proto && strcmp(proto, "IRC") == 0) caps |= PF1_IM; - if(proto && (caps & capability) == capability) { + if(proto && (capability == -1 || (caps & capability) == capability)) { most_online_status = DBGetContactSettingWord(most_online_contact, proto, "Status", ID_STATUS_OFFLINE); // if our default is not offline, and option to use default is set - return default @@ -528,7 +528,7 @@ HANDLE Meta_GetMostOnlineSupporting(HANDLE hMeta, int pflagnum, unsigned long ca caps = proto ? CallProtoService(proto, PS_GETCAPS, (WPARAM)pflagnum, 0) : 0; if(proto && strcmp(proto, "IRC") == 0) caps |= PF1_IM; - if(proto && (caps & capability) == capability) { + if(proto && (capability == -1 || (caps & capability) == capability)) { status = DBGetContactSettingWord(hContact, proto, "Status", ID_STATUS_OFFLINE); diff --git a/metacontacts/version.h b/metacontacts/version.h index 7b37f33..ecfffcf 100644 --- a/metacontacts/version.h +++ b/metacontacts/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 14 #define __RELEASE_NUM 0 -#define __BUILD_NUM 7 +#define __BUILD_NUM 8 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -- cgit v1.2.3