mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-09-14 10:32:10 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
d53eff6043 | |||
f064912ac9 | |||
f9f0677da3 |
@@ -153,7 +153,10 @@ namespace TweetDck.Core{
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ownerHadFocus = owner.ContainsFocus && owner.WindowState != FormWindowState.Minimized;
|
||||||
TopMost = true;
|
TopMost = true;
|
||||||
|
|
||||||
|
if (ownerHadFocus)owner.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void timerHideProgress_Tick(object sender, EventArgs e){
|
private void timerHideProgress_Tick(object sender, EventArgs e){
|
||||||
|
@@ -22,7 +22,7 @@ namespace TweetDck{
|
|||||||
public const string Website = "http://tweetdick.chylex.com";
|
public const string Website = "http://tweetdick.chylex.com";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public const string VersionTag = "1.1";
|
public const string VersionTag = "1.1.1";
|
||||||
|
|
||||||
public static readonly string StoragePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),BrandName);
|
public static readonly string StoragePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),BrandName);
|
||||||
private static readonly LockManager LockManager = new LockManager(Path.Combine(StoragePath,".lock"));
|
private static readonly LockManager LockManager = new LockManager(Path.Combine(StoragePath,".lock"));
|
||||||
|
@@ -33,7 +33,7 @@ using TweetDck;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.1.0.0")]
|
[assembly: AssemblyVersion("1.1.1.0")]
|
||||||
[assembly: AssemblyFileVersion("1.1.0.0")]
|
[assembly: AssemblyFileVersion("1.1.1.0")]
|
||||||
|
|
||||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
[assembly: NeutralResourcesLanguageAttribute("en")]
|
@@ -127,16 +127,16 @@
|
|||||||
var html = $(tweet.outerHTML);
|
var html = $(tweet.outerHTML);
|
||||||
var body = html.find(".tweet-body").first();
|
var body = html.find(".tweet-body").first();
|
||||||
|
|
||||||
if (html.find(".icon-reply").length > 0){
|
|
||||||
return; // ignore sent messages
|
|
||||||
}
|
|
||||||
|
|
||||||
body.children("div.js-quote-detail").each(function(){
|
body.children("div.js-quote-detail").each(function(){
|
||||||
$(this).html("(quoted tweet)");
|
$(this).html("(quoted tweet)");
|
||||||
});
|
});
|
||||||
|
|
||||||
body.children().not("p,span,div.js-quote-detail").remove();
|
body.children().not("p,span,div.js-quote-detail").remove();
|
||||||
|
|
||||||
|
if (html.find(".icon-reply").length > 0){
|
||||||
|
return; // ignore sent messages
|
||||||
|
}
|
||||||
|
|
||||||
var characters = html.find(".js-tweet-text:first").text().length;
|
var characters = html.find(".js-tweet-text:first").text().length;
|
||||||
if (characters == 0)return;
|
if (characters == 0)return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user