summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-08 15:48:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-08 15:48:25 +0100
commitb78f61458be8f1428e0f3acaed373659854415ba (patch)
treeede64cc834f8de70ec66d8a840b48beea2917de5 /svx
parent3cb6587abbf6888ac9fb3b0cccc9a5aa0dc29b55 (diff)
little tweak to get the two hidden frames shown in draw/impress
Change-Id: Icd4b81749a369828c45101b1b82f4e3a5e8ebb9a
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/helpid.hrc1
-rw-r--r--svx/source/dialog/optgrid.cxx1
-rw-r--r--svx/uiconfig/ui/optgridpage.ui27
3 files changed, 26 insertions, 3 deletions
diff --git a/svx/inc/helpid.hrc b/svx/inc/helpid.hrc
index ddfb233047cf..e9e1666bcdac 100644
--- a/svx/inc/helpid.hrc
+++ b/svx/inc/helpid.hrc
@@ -143,7 +143,6 @@
#define HID_MNU_ZOOM_OPTIMAL "SVX_HID_MNU_ZOOM_OPTIMAL"
#define HID_MNU_ZOOM_PAGE_WIDTH "SVX_HID_MNU_ZOOM_PAGE_WIDTH"
#define HID_MNU_ZOOM_WHOLE_PAGE "SVX_HID_MNU_ZOOM_WHOLE_PAGE"
-#define HID_OPTIONS_GRID "SVX_HID_OPTIONS_GRID"
#define HID_PASSWORD "SVX_HID_PASSWORD"
#define HID_POPUP_COLOR "SVX_HID_POPUP_COLOR"
#define HID_POPUP_COLOR_CTRL "SVX_HID_POPUP_COLOR_CTRL"
diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx
index 662f4ecf108c..95350c2373b5 100644
--- a/svx/source/dialog/optgrid.cxx
+++ b/svx/source/dialog/optgrid.cxx
@@ -139,6 +139,7 @@ SvxGridTabPage::SvxGridTabPage( Window* pParent, const SfxItemSet& rCoreSet) :
get(pNumFldDivisionY,"numflddivisiony");
get(pCbxSynchronize,"synchronize");
+ get(pSnapFrames,"snapframes");
get(pCbxSnapHelplines,"snaphelplines");
get(pCbxSnapBorder,"snapborder");
get(pCbxSnapFrame,"snapframe");
diff --git a/svx/uiconfig/ui/optgridpage.ui b/svx/uiconfig/ui/optgridpage.ui
index db7101118ebe..f027e830373a 100644
--- a/svx/uiconfig/ui/optgridpage.ui
+++ b/svx/uiconfig/ui/optgridpage.ui
@@ -31,6 +31,7 @@
<object class="GtkBox" id="OptGridPage">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="border_width">6</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
@@ -404,14 +405,15 @@
</packing>
</child>
<child>
- <object class="GtkBox" id="box3">
- <property name="sensitive">False</property>
+ <object class="GtkBox" id="snapframes">
<property name="can_focus">False</property>
+ <property name="no_show_all">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkFrame" id="frame4">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="hexpand">True</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
@@ -560,6 +562,7 @@
<object class="GtkFrame" id="frame5">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="hexpand">True</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
@@ -621,6 +624,9 @@
<property name="invisible_char">●</property>
<property name="adjustment">adjustment4</property>
<property name="digits">2</property>
+ <accessibility>
+ <relation type="labelled-by" target="rotate"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -638,6 +644,9 @@
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
+ <accessibility>
+ <relation type="label-for" target="mtrfldangle:0.00 degrees"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -714,4 +723,18 @@
</packing>
</child>
</object>
+ <object class="GtkSizeGroup" id="sizegroup1">
+ <property name="ignore_hidden">True</property>
+ <widgets>
+ <widget name="frame2"/>
+ <widget name="frame4"/>
+ </widgets>
+ </object>
+ <object class="GtkSizeGroup" id="sizegroup2">
+ <property name="ignore_hidden">True</property>
+ <widgets>
+ <widget name="frame3"/>
+ <widget name="frame5"/>
+ </widgets>
+ </object>
</interface>