[Libreoffice-commits] core.git: libreofficekit/qa
Pranav Kant
pranavk at collabora.co.uk
Mon Jan 23 17:49:17 UTC 2017
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 18fe7c8687182a1c5e6e497ec433d57b010d2e55
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Mon Jan 23 23:14:20 2017 +0530
gtktiledviewer: Make edit mode the default one
This is a testing tool, most of the time developers want to do
something with the document to test some functionality, lets keep
edit mode on by default and save them a second.
Change-Id: I61bbd2b85054b7ebdd14e69ca170674e260368e5
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index b53789b..03f0852 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -1470,6 +1470,8 @@ static void openDocumentCallback (GObject* source_object, GAsyncResult* res, gpo
gtk_widget_show_all(rWindow.m_pStatusBar);
gtk_widget_hide(rWindow.m_pProgressBar);
+
+ gtk_toggle_tool_button_set_active(GTK_TOGGLE_TOOL_BUTTON(rWindow.m_pEnableEditing), TRUE);
}
/**
More information about the Libreoffice-commits
mailing list