glom r1426 - in trunk: . glom/utility_widgets
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1426 - in trunk: . glom/utility_widgets
- Date: Wed, 20 Feb 2008 11:31:13 +0000 (GMT)
Author: jhs
Date: Wed Feb 20 11:31:13 2008
New Revision: 1426
URL: http://svn.gnome.org/viewvc/glom?rev=1426&view=rev
Log:
2008-02-20 Johannes Schmid <johannes schmid openismus com>
* glom/utility_widgets/flowtable.cc:
Allow dragging at below the last item of a group
Modified:
trunk/ChangeLog
trunk/glom/utility_widgets/flowtable.cc
Modified: trunk/glom/utility_widgets/flowtable.cc
==============================================================================
--- trunk/glom/utility_widgets/flowtable.cc (original)
+++ trunk/glom/utility_widgets/flowtable.cc Wed Feb 20 11:31:13 2008
@@ -1211,6 +1211,16 @@
continue;
}
+ // Allow dragging at the end
+ if (cur_item == --m_children.end())
+ {
+ if (drag_y > (rect.get_y() + rect.get_height() / 2) &&
+ drag_y < (rect.get_y() + rect.get_height()))
+ {
+ return 0;
+ }
+ }
+
if (drag_y < (rect.get_y() + rect.get_height()))
{
return &(*cur_item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]