mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
style<Welcome,PageTabBar>: re-design the style for Welcome page
This commit is contained in:
parent
b43044a7bf
commit
5ef6642306
3 changed files with 14 additions and 3 deletions
|
@ -7,6 +7,7 @@ using System.Windows.Controls;
|
|||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace SourceGit.Views.Widgets {
|
||||
|
||||
|
@ -83,6 +84,12 @@ namespace SourceGit.Views.Widgets {
|
|||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void OnExploreRepository(object sender, RoutedEventArgs e) {
|
||||
var repo = (sender as Control).DataContext as Models.Repository;
|
||||
Process.Start("explorer", repo.Path);
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void OnChangeRepositoryBookmark(object sender, RoutedEventArgs e) {
|
||||
var btn = (sender as Button);
|
||||
var repo = btn.DataContext as Models.Repository;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue