[gnome-todo] task-row: Don't assign height request
- From: Gitlab Administrative User <gitlab src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] task-row: Don't assign height request
- Date: Wed, 1 Nov 2017 09:39:19 +0000 (UTC)
commit 142da244e36a27955031707b1d979d61fbec5552
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Nov 1 07:24:39 2017 -0200
task-row: Don't assign height request
src/gtd-task-row.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gtd-task-row.c b/src/gtd-task-row.c
index 0ddbf1a..75e4bfb 100644
--- a/src/gtd-task-row.c
+++ b/src/gtd-task-row.c
@@ -99,6 +99,10 @@ create_transient_row (GtdTaskRow *self)
gtk_revealer_set_transition_duration (new_row->revealer, 0);
gtk_revealer_set_reveal_child (new_row->revealer, TRUE);
+ gtk_widget_set_size_request (GTK_WIDGET (new_row),
+ gtk_widget_get_allocated_width (GTK_WIDGET (self)),
+ -1);
+
return GTK_WIDGET (new_row);
}
@@ -226,9 +230,6 @@ drag_begin_cb (GtkWidget *event_box,
*/
new_row = create_transient_row (self);
- gtk_widget_set_size_request (new_row,
- gtk_widget_get_allocated_width (widget),
- gtk_widget_get_allocated_height (widget));
gtk_drag_set_icon_widget (context, new_row, self->clicked_x, self->clicked_y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]