FileActions.cs (pinta-1.7) | : | FileActions.cs (pinta-1.7.1) | ||
---|---|---|---|---|
skipping to change at line 58 | skipping to change at line 58 | |||
public event EventHandler BeforeQuit; | public event EventHandler BeforeQuit; | |||
public event EventHandler<ModifyCompressionEventArgs> ModifyCompr ession; | public event EventHandler<ModifyCompressionEventArgs> ModifyCompr ession; | |||
public event EventHandler<DocumentCancelEventArgs> SaveDocument; | public event EventHandler<DocumentCancelEventArgs> SaveDocument; | |||
public FileActions () | public FileActions () | |||
{ | { | |||
New = new Gtk.Action ("New", Catalog.GetString ("New...") , null, Stock.New); | New = new Gtk.Action ("New", Catalog.GetString ("New...") , null, Stock.New); | |||
NewScreenshot = new Gtk.Action ("NewScreenshot", Catalog. GetString ("New Screenshot..."), null, Stock.Fullscreen); | NewScreenshot = new Gtk.Action ("NewScreenshot", Catalog. GetString ("New Screenshot..."), null, Stock.Fullscreen); | |||
Open = new Gtk.Action ("Open", Catalog.GetString ("Open.. ."), null, Stock.Open); | Open = new Gtk.Action ("Open", Catalog.GetString ("Open.. ."), null, Stock.Open); | |||
OpenRecent = new RecentAction ("OpenRecent", Catalog.GetS tring ("Open Recent"), null, Stock.Open, RecentManager.Default); | OpenRecent = new RecentAction ("OpenRecent", Catalog.GetS tring ("Open Recent"), null, Stock.Open, RecentManager.Default); | |||
// Show tooltip on selected file displaying the full path | ||||
OpenRecent.ShowTips = true; | ||||
RecentFilter recentFilter = new RecentFilter (); | RecentFilter recentFilter = new RecentFilter (); | |||
recentFilter.AddApplication ("Pinta"); | recentFilter.AddApplication ("Pinta"); | |||
(OpenRecent as RecentAction).AddFilter (recentFilter); | (OpenRecent as RecentAction).AddFilter (recentFilter); | |||
Close = new Gtk.Action ("Close", Catalog.GetString ("Clos e"), null, Stock.Close); | Close = new Gtk.Action ("Close", Catalog.GetString ("Clos e"), null, Stock.Close); | |||
Save = new Gtk.Action ("Save", Catalog.GetString ("Save") , null, Stock.Save); | Save = new Gtk.Action ("Save", Catalog.GetString ("Save") , null, Stock.Save); | |||
SaveAs = new Gtk.Action ("SaveAs", Catalog.GetString ("Sa ve As..."), null, Stock.SaveAs); | SaveAs = new Gtk.Action ("SaveAs", Catalog.GetString ("Sa ve As..."), null, Stock.SaveAs); | |||
Print = new Gtk.Action ("Print", Catalog.GetString ("Prin t"), null, Stock.Print); | Print = new Gtk.Action ("Print", Catalog.GetString ("Prin t"), null, Stock.Print); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |