diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 12:53:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 14:11:01 +0000 |
commit | 95beca723e2f41681c8ee69a6d2db617f09514bf (patch) | |
tree | 68af595e8664479fbfa9432bd3fd58c3664aecc0 /cui | |
parent | df942dcf9d271cb95b17ad4b4616626e9b15b575 (diff) |
make event assign dialog horizontal
Change-Id: Iea4d43b8f3dc52b4ec77a145347552bbcf09f062
Diffstat (limited to 'cui')
-rw-r--r-- | cui/UIConfig_cui.mk | 1 | ||||
-rw-r--r-- | cui/source/tabpages/macroass.cxx | 3 | ||||
-rw-r--r-- | cui/uiconfig/ui/eventassigndialog.ui | 82 |
3 files changed, 85 insertions, 1 deletions
diff --git a/cui/UIConfig_cui.mk b/cui/UIConfig_cui.mk index 71fa803b745d..d57d8835b816 100644 --- a/cui/UIConfig_cui.mk +++ b/cui/UIConfig_cui.mk @@ -38,6 +38,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\ cui/uiconfig/ui/cuiimapdlg \ cui/uiconfig/ui/dimensionlinestabpage \ cui/uiconfig/ui/editdictionarydialog \ + cui/uiconfig/ui/eventassigndialog \ cui/uiconfig/ui/eventassignpage \ cui/uiconfig/ui/formatnumberdialog \ cui/uiconfig/ui/gradientpage \ diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index f968f25b9f4d..6c99eabccc4a 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -469,7 +469,8 @@ SfxTabPage* SfxMacroTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet SfxMacroAssignDlg::SfxMacroAssignDlg(Window* pParent, const Reference< XFrame >& rxDocumentFrame, const SfxItemSet& rSet) - : SfxSingleTabDialog(pParent, rSet) + : SfxSingleTabDialog(pParent, rSet, "EventAssignDialog", + "cui/ui/eventassigndialog.ui") { SfxMacroTabPage* pPage = CreateSfxMacroTabPage(get_content_area(), rSet); pPage->SetFrame( rxDocumentFrame ); diff --git a/cui/uiconfig/ui/eventassigndialog.ui b/cui/uiconfig/ui/eventassigndialog.ui new file mode 100644 index 000000000000..2121d6a602c4 --- /dev/null +++ b/cui/uiconfig/ui/eventassigndialog.ui @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.16.0 on Thu Jan 23 12:51:57 2014 --> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkDialog" id="EventAssignDialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes">Assign Macro</property> + <property name="type_hint">normal</property> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="ok"> + <property name="label">gtk-ok</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> + <property name="receives_default">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="cancel"> + <property name="label">gtk-cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="help"> + <property name="label">gtk-help</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </object> + </child> + <action-widgets> + <action-widget response="0">ok</action-widget> + <action-widget response="0">cancel</action-widget> + <action-widget response="0">help</action-widget> + </action-widgets> + </object> +</interface> |