aboutsummaryrefslogtreecommitdiff
path: root/src/greeter-list.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r--src/greeter-list.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala
index a0ae6da..d4a5db1 100644
--- a/src/greeter-list.vala
+++ b/src/greeter-list.vala
@@ -120,11 +120,11 @@ public abstract class GreeterList : FadableBox
get
{
/* First, get grid row number as if menubar weren't there */
- var row = (MainWindow.MENUBAR_HEIGHT + get_allocated_height ()) / grid_size;
+ var row = (ArcticaGreeter.MENUBAR_HEIGHT + get_allocated_height ()) / grid_size;
row = row - DEFAULT_BOX_HEIGHT; /* and no default dash box */
row = row / 2; /* and in the middle */
/* Now calculate y pixel spot keeping in mind menubar's allocation */
- return row * grid_size - MainWindow.MENUBAR_HEIGHT;
+ return row * grid_size - ArcticaGreeter.MENUBAR_HEIGHT;
}
}