Skip to content

Commit

Permalink
Fix icon for paste history items.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpobst committed Mar 9, 2010
1 parent 0922c93 commit 51033c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Pinta.Core/Actions/EditActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ private void HandlerPintaCoreActionsEditPasteIntoNewLayerActivated (object sende

PintaCore.Workspace.Invalidate ();

// TODO: Need paste icon
AddLayerHistoryItem hist = new AddLayerHistoryItem ("Menu.Edit.EraseSelection.png", Mono.Unix.Catalog.GetString ("Paste Into New Layer"), PintaCore.Layers.IndexOf (l));
AddLayerHistoryItem hist = new AddLayerHistoryItem ("gtk-paste", Mono.Unix.Catalog.GetString ("Paste Into New Layer"), PintaCore.Layers.IndexOf (l));
PintaCore.History.PushNewItem (hist);
}

Expand Down Expand Up @@ -231,8 +230,7 @@ private void HandlerPintaCoreActionsEditPasteActivated (object sender, EventArgs

PintaCore.Workspace.Invalidate ();

// TODO: Need paste icon
PintaCore.History.PushNewItem (new SimpleHistoryItem ("Menu.Edit.EraseSelection.png", Mono.Unix.Catalog.GetString ("Paste"), old, PintaCore.Layers.CurrentLayerIndex));
PintaCore.History.PushNewItem (new SimpleHistoryItem ("gtk-paste", Mono.Unix.Catalog.GetString ("Paste"), old, PintaCore.Layers.CurrentLayerIndex));
}

private void HandlerPintaCoreActionsEditCopyActivated (object sender, EventArgs e)
Expand Down

0 comments on commit 51033c7

Please sign in to comment.