summaryrefslogtreecommitdiff
path: root/src/actions/pieAction.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-03-05 12:19:59 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-03-05 12:19:59 +0100
commit98f3ef2689de06e8ab8b46a91acfa7dd2056a3a6 (patch)
treeb98e438ac1082925e12af6dfec6d9ebeb4e3035e /src/actions/pieAction.vala
parenta824c3e5bdab686901b02667609282e7d596a6af (diff)
Imported Upstream version 0.5.1
Diffstat (limited to 'src/actions/pieAction.vala')
-rw-r--r--src/actions/pieAction.vala10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/actions/pieAction.vala b/src/actions/pieAction.vala
index 5b2c81d..faf7aca 100644
--- a/src/actions/pieAction.vala
+++ b/src/actions/pieAction.vala
@@ -58,13 +58,17 @@ public class PieAction : Action {
public override string name {
get {
var referee = PieManager.all_pies[real_command];
- if (referee != null)
- return referee.name;
+ if (referee != null) {
+ owned_name = "↪" + referee.name;
+ return owned_name;
+ }
return "";
}
protected set {}
}
+ private string owned_name;
+
/////////////////////////////////////////////////////////////////////
/// Returns the icon of the referenced Pie.
/////////////////////////////////////////////////////////////////////
@@ -92,7 +96,7 @@ public class PieAction : Action {
/////////////////////////////////////////////////////////////////////
public override void activate() {
- PieManager.open_pie(real_command);
+ PieManager.open_pie(real_command, true);
}
}