[glom] 2009-06-04 Murray Cumming <murrayc murrayc-x61>
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glom] 2009-06-04 Murray Cumming <murrayc murrayc-x61>
- Date: Thu, 4 Jun 2009 16:50:54 -0400 (EDT)
commit ff85671600dd8fa8ca19d766d5d0af1a519cf570
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Jun 4 17:46:20 2009 +0200
2009-06-04 Murray Cumming <murrayc murrayc-x61>
* glom/libglom/data_structure/layout/layoutitem_portal.cc:
get_navigation_relationship_specific(): Remove unnecessary this-> to
be consistent with the rest of the code.
---
ChangeLog | 6 ++++++
.../data_structure/layout/layoutitem_portal.cc | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ea817d1..0175416 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-06-04 Murray Cumming <murrayc murrayc-x61>
+ * glom/libglom/data_structure/layout/layoutitem_portal.cc:
+ get_navigation_relationship_specific(): Remove unnecessary this-> to
+ be consistent with the rest of the code.
+
+2009-06-04 Murray Cumming <murrayc murrayc-x61>
+
Related records portal: Hide the row button when navigation is none.
* glom/libglom/data_structure/layout/layoutitem_portal.h:
diff --git a/glom/libglom/data_structure/layout/layoutitem_portal.cc b/glom/libglom/data_structure/layout/layoutitem_portal.cc
index e34f645..8c71fdf 100644
--- a/glom/libglom/data_structure/layout/layoutitem_portal.cc
+++ b/glom/libglom/data_structure/layout/layoutitem_portal.cc
@@ -104,7 +104,7 @@ void LayoutItem_Portal::change_field_item_name(const Glib::ustring& table_name,
sharedptr<UsesRelationship> LayoutItem_Portal::get_navigation_relationship_specific()
{
- if(this->get_navigation_type() == LayoutItem_Portal::NAVIGATION_SPECIFIC)
+ if(get_navigation_type() == LayoutItem_Portal::NAVIGATION_SPECIFIC)
return m_navigation_relationship_specific;
else
return sharedptr<UsesRelationship>();
@@ -112,7 +112,7 @@ sharedptr<UsesRelationship> LayoutItem_Portal::get_navigation_relationship_speci
sharedptr<const UsesRelationship> LayoutItem_Portal::get_navigation_relationship_specific() const
{
- if(this->get_navigation_type() == LayoutItem_Portal::NAVIGATION_SPECIFIC)
+ if(get_navigation_type() == LayoutItem_Portal::NAVIGATION_SPECIFIC)
return m_navigation_relationship_specific;
else
return sharedptr<UsesRelationship>();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]