summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2016-07-22 11:50:57 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-07-22 15:35:28 +0000
commitd7da58ae362b661c03fc754e4e8f4a89798b0127 (patch)
tree9c4640870e204fcca73d1fa2161f16d9aca6cbc7 /sd
parentb920fa5e90343a7e9ca6e9f1934f22b527ed9791 (diff)
GSoC notebookbar: better default page handling
+ selected default tab page in the Impress + the default tab page is set when context isn't supported + switching between unsupported contexts is not causing switch to default tab to avoid closing of tab which was recently used by user Change-Id: Ieeda8a79e6c67708551351f9bb49d8b006c0e74f Reviewed-on: https://gerrit.libreoffice.org/27432 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/uiconfig/simpress/ui/notebookbar.ui4
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/uiconfig/simpress/ui/notebookbar.ui b/sd/uiconfig/simpress/ui/notebookbar.ui
index dd6c0eaa3fd5..bd081e652ad1 100644
--- a/sd/uiconfig/simpress/ui/notebookbar.ui
+++ b/sd/uiconfig/simpress/ui/notebookbar.ui
@@ -1476,6 +1476,10 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Home</property>
<property name="use_underline">True</property>
+ <style>
+ <class name="context-default"/>
+ <class name="context-any"/>
+ </style>
</object>
<packing>
<property name="position">1</property>