summaryrefslogtreecommitdiff
path: root/src/pies
diff options
context:
space:
mode:
authorJörg Frings-Fürst <jff@merkur>2014-07-23 11:40:09 +0200
committerJörg Frings-Fürst <jff@merkur>2014-07-23 11:40:09 +0200
commit6dbb3a7c8f19291de04fc898cef243164fba1ee6 (patch)
tree773ada7d8adb1d3e3ffdd39a3c32f6ea116be867 /src/pies
parent4aad8c4dc20299a461cadfce208ef42ea7758c81 (diff)
parent6edfb34cb3eee958e392a433ae9ac4f240279d09 (diff)
Merge tag 'upstream/0.5.5'
Upstream version 0.5.5
Diffstat (limited to 'src/pies')
-rw-r--r--src/pies/pieManager.vala8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pies/pieManager.vala b/src/pies/pieManager.vala
index f574085..83a8309 100644
--- a/src/pies/pieManager.vala
+++ b/src/pies/pieManager.vala
@@ -81,7 +81,7 @@ public class PieManager : GLib.Object {
/// Opens the Pie with the given ID, if it exists.
/////////////////////////////////////////////////////////////////////
- public static void open_pie(string id, bool at_last_position = false) {
+ public static void open_pie(string id) {
if (!a_pie_is_active) {
Pie? pie = all_pies[id];
@@ -92,11 +92,7 @@ public class PieManager : GLib.Object {
var window = new PieWindow();
window.load_pie(pie);
- if (at_last_position) {
- window.open_at(last_x, last_y);
- } else {
- window.open();
- }
+ window.open();
opened_windows.add(window);