mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Refactor source of Git commit build info (closes #661)
This commit is contained in:
parent
b624405b0c
commit
8b94c62697
17 changed files with 126 additions and 118 deletions
|
@ -239,14 +239,13 @@ impl JsEditorHandle {
|
|||
self.dispatch(message);
|
||||
}
|
||||
|
||||
pub fn populate_build_metadata(&self, release: String, timestamp: String, hash: String, branch: String) {
|
||||
let new = editor::communication::BuildMetadata { release, timestamp, hash, branch };
|
||||
let message = Message::PopulateBuildMetadata { new };
|
||||
pub fn request_about_graphite_dialog(&self) {
|
||||
let message = DialogMessage::RequestAboutGraphiteDialog;
|
||||
self.dispatch(message);
|
||||
}
|
||||
|
||||
pub fn request_about_graphite_dialog(&self) {
|
||||
let message = DialogMessage::RequestAboutGraphiteDialog;
|
||||
pub fn request_about_graphite_dialog_with_localized_commit_date(&self, localized_commit_date: String) {
|
||||
let message = DialogMessage::RequestAboutGraphiteDialogWithLocalizedCommitDate { localized_commit_date };
|
||||
self.dispatch(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue