[longomatch] Show the render menu before the delete one
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Show the render menu before the delete one
- Date: Wed, 24 Sep 2014 20:32:29 +0000 (UTC)
commit d64466560297925a85338d05f8b1f20139eddcca
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Sep 22 17:21:28 2014 +0200
Show the render menu before the delete one
LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs b/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs
index 74f373e..2690b7f 100644
--- a/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs
+++ b/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs
@@ -125,6 +125,12 @@ namespace LongoMatch.Gui.Component
menu = new Menu ();
+ render = new MenuItem (Catalog.GetString ("Render"));
+ render.Activated += (sender, e) => {
+ Config.EventsBroker.EmitRenderPlaylist (playlist);
+ };
+ menu.Append (render);
+
delete = new MenuItem (Catalog.GetString ("Delete"));
delete.Activated += (sender, e) => {
project.Playlists.Remove (playlist);
@@ -133,12 +139,6 @@ namespace LongoMatch.Gui.Component
};
menu.Append (delete);
- render = new MenuItem (Catalog.GetString ("Render"));
- render.Activated += (sender, e) => {
- Config.EventsBroker.EmitRenderPlaylist (playlist);
- };
- menu.Append (render);
-
menu.ShowAll ();
menu.Popup ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]