[glom] Print/Standard: Do print, not preview.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Print/Standard: Do print, not preview.
- Date: Thu, 13 Oct 2011 00:13:02 +0000 (UTC)
commit 9f69dfcdee489fa181a439a45cdb87bd5d063fb1
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Oct 13 02:12:56 2011 +0200
Print/Standard: Do print, not preview.
* glom/mode_data/box_data_details.cc: This is now the same as when
printing a non-standard print layout.
ChangeLog | 7 +++++++
glom/mode_data/box_data_details.cc | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 540730a..ba3e145 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-10-13 Murray Cumming <murrayc murrayc com>
+ Print/Standard: Do print, not preview.
+
+ * glom/mode_data/box_data_details.cc: This is now the same as when
+ printing a non-standard print layout.
+
+2011-10-13 Murray Cumming <murrayc murrayc com>
+
Replace Gtk::Table with Gtk::Grid in the source code.
* glom/mode_design/fields/dialog_fielddefinition.h: Use the table
diff --git a/glom/mode_data/box_data_details.cc b/glom/mode_data/box_data_details.cc
index 85d9238..2b01c9e 100644
--- a/glom/mode_data/box_data_details.cc
+++ b/glom/mode_data/box_data_details.cc
@@ -910,7 +910,7 @@ sharedptr<Field> Box_Data_Details::get_field_primary_key() const
void Box_Data_Details::print_layout()
{
- const Privileges table_privs = Privs::get_current_privs(m_table_name);
+ const Privileges table_privs = Privs::get_current_privs(m_table_name);
//Don't try to print tables that the user can't view.
if(!table_privs.m_view)
@@ -936,7 +936,7 @@ void Box_Data_Details::print_layout()
//Show the print preview window:
Application* app = Application::get_application();
PrintLayoutUtils::do_print_layout(print_layout, m_found_set,
- true /* not preview */, document, app);
+ false /* not preview */, document, app);
}
#ifndef GLOM_ENABLE_CLIENT_ONLY
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]