mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-29 20:34:04 +02:00
Rename links and references in code to match new repository setup
This commit is contained in:
parent
8cfb6ab4f5
commit
e8dea023ac
@ -12,7 +12,7 @@ public FormAbout(){
|
|||||||
StringBuilder build = new StringBuilder();
|
StringBuilder build = new StringBuilder();
|
||||||
build.Append(@"\fs22").Append(Program.BrandName).Append(@" was created by chylex as a replacement to the discontinued TweetDeck client for Windows, and is released under the MIT license.\par ");
|
build.Append(@"\fs22").Append(Program.BrandName).Append(@" was created by chylex as a replacement to the discontinued TweetDeck client for Windows, and is released under the MIT license.\par ");
|
||||||
build.Append(@"Official Website: ").Append(RichTextLabel.AddLink(Program.Website)).Append(@"\line ");
|
build.Append(@"Official Website: ").Append(RichTextLabel.AddLink(Program.Website)).Append(@"\line ");
|
||||||
build.Append(@"Source Code: ").Append(RichTextLabel.AddLink("https://github.com/chylex/TweetDick"));
|
build.Append(@"Source Code: ").Append(RichTextLabel.AddLink("https://github.com/chylex/TweetDuck"));
|
||||||
|
|
||||||
labelAbout.Rtf = RichTextLabel.Wrap(build.ToString());
|
labelAbout.Rtf = RichTextLabel.Wrap(build.ToString());
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,7 @@ public static void Log(string data){
|
|||||||
StringBuilder build = new StringBuilder();
|
StringBuilder build = new StringBuilder();
|
||||||
|
|
||||||
if (!File.Exists(LogFile)){
|
if (!File.Exists(LogFile)){
|
||||||
build.Append("Please, report all issues to: https://github.com/chylex/TweetDick/issues\r\n\r\n");
|
build.Append("Please, report all issues to: https://github.com/chylex/TweetDuck/issues\r\n\r\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
build.Append("[").Append(DateTime.Now.ToString("G")).Append("]\r\n");
|
build.Append("[").Append(DateTime.Now.ToString("G")).Append("]\r\n");
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
var fontSizeClasses = [ "txt-base-smallest", "txt-base-small", "txt-base-medium", "txt-base-large", "txt-base-largest" ];
|
var fontSizeClasses = [ "txt-base-smallest", "txt-base-small", "txt-base-medium", "txt-base-large", "txt-base-largest" ];
|
||||||
|
|
||||||
//
|
//
|
||||||
// Variable: Says whether TweetDick events was initialized.
|
// Variable: Says whether TweetD*ck events was initialized.
|
||||||
//
|
//
|
||||||
var isInitialized = false;
|
var isInitialized = false;
|
||||||
|
|
||||||
@ -15,9 +15,9 @@
|
|||||||
var prevFontSizeClass;
|
var prevFontSizeClass;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Function: Initializes TweetDick events. Called after the website app is loaded.
|
// Function: Initializes TweetD*ck events. Called after the website app is loaded.
|
||||||
//
|
//
|
||||||
var initializeTweetDick = function(){
|
var initializeTweetDck = function(){
|
||||||
// Settings button hook
|
// Settings button hook
|
||||||
$("[data-action='settings-menu']").click(function(){
|
$("[data-action='settings-menu']").click(function(){
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
@ -26,13 +26,13 @@
|
|||||||
|
|
||||||
menu.children(".drp-h-divider").last().after('<li class="is-selectable" data-std><a href="#" data-action>'+$TD.brandName+'</a></li><li class="drp-h-divider"></li>');
|
menu.children(".drp-h-divider").last().after('<li class="is-selectable" data-std><a href="#" data-action>'+$TD.brandName+'</a></li><li class="drp-h-divider"></li>');
|
||||||
|
|
||||||
var tweetDickBtn = menu.children("[data-std]").first();
|
var tweetDckBtn = menu.children("[data-std]").first();
|
||||||
|
|
||||||
tweetDickBtn.on("click","a",function(){
|
tweetDckBtn.on("click","a",function(){
|
||||||
$TD.openSettingsMenu();
|
$TD.openSettingsMenu();
|
||||||
});
|
});
|
||||||
|
|
||||||
tweetDickBtn.hover(function(){
|
tweetDckBtn.hover(function(){
|
||||||
$(this).addClass("is-selected");
|
$(this).addClass("is-selected");
|
||||||
},function(){
|
},function(){
|
||||||
$(this).removeClass("is-selected");
|
$(this).removeClass("is-selected");
|
||||||
@ -57,7 +57,7 @@
|
|||||||
refreshColumnObservers();
|
refreshColumnObservers();
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// Popup notifications
|
// Force popup notification settings
|
||||||
window.TD.controller.notifications.hasNotifications = function(){
|
window.TD.controller.notifications.hasNotifications = function(){
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
@ -158,7 +158,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
// Block: Observe the app <div> element and initialize TweetDick whenever possible.
|
// Block: Observe the app <div> element and initialize TweetD*ck whenever possible.
|
||||||
//
|
//
|
||||||
var app = $("body").children(".js-app");
|
var app = $("body").children(".js-app");
|
||||||
|
|
||||||
@ -167,7 +167,7 @@
|
|||||||
isInitialized = false;
|
isInitialized = false;
|
||||||
}
|
}
|
||||||
else if (!isInitialized && !app.hasClass("is-hidden")){
|
else if (!isInitialized && !app.hasClass("is-hidden")){
|
||||||
initializeTweetDick();
|
initializeTweetDck();
|
||||||
}
|
}
|
||||||
}).observe(app[0],{
|
}).observe(app[0],{
|
||||||
attributes: true,
|
attributes: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user