aboutsummaryrefslogtreecommitdiff
path: root/src/greeter-list.vala
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2025-04-08 18:42:50 +0200
committerRobert Tari <robert@tari.in>2025-04-08 18:42:50 +0200
commite0acacd0f3bbee7a510689e1023150c458532ee0 (patch)
tree8dd238f5bdd68bff8c0b1c6a00e8b6500e84a05e /src/greeter-list.vala
parent81c3c04dec4d3ad94fc8f8e46af448aeb3699c75 (diff)
downloadarctica-greeter-e0acacd0f3bbee7a510689e1023150c458532ee0.tar.gz
arctica-greeter-e0acacd0f3bbee7a510689e1023150c458532ee0.tar.bz2
arctica-greeter-e0acacd0f3bbee7a510689e1023150c458532ee0.zip
Fix size and position of elements
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r--src/greeter-list.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala
index 04d4ed4..da4f3e9 100644
--- a/src/greeter-list.vala
+++ b/src/greeter-list.vala
@@ -283,7 +283,6 @@ public abstract class GreeterList : FadableBox
protected void redraw_greeter_box ()
{
- queue_allocate ();
Gtk.Allocation allocation;
greeter_box.get_allocation (out allocation);
queue_draw_area (allocation.x, allocation.y, allocation.width, allocation.height);
@@ -298,7 +297,6 @@ public abstract class GreeterList : FadableBox
}
selected_entry.add_message (text, is_error);
- redraw_greeter_box ();
}
public DashEntry add_prompt (string text, bool secret = false)
@@ -870,6 +868,7 @@ public abstract class GreeterList : FadableBox
/* Limit the number of characters in case a cat is sitting on the keyboard... */
entry.max_length = MAX_FIELD_SIZE;
+ queue_resize ();
}
protected virtual void authentication_complete_cb ()