Kaydet (Commit) 599de54e authored tarafından Caolán McNamara's avatar Caolán McNamara

remove unused resources and add some mnemonic widgets

Change-Id: Ie6331aa0551da5e6617b8bf407126aa3838031ec
üst 38b35f40
...@@ -46,7 +46,6 @@ $(eval $(call gb_SrsTarget_add_files,sd/res,\ ...@@ -46,7 +46,6 @@ $(eval $(call gb_SrsTarget_add_files,sd/res,\
sd/source/ui/app/toolbox.src \ sd/source/ui/app/toolbox.src \
sd/source/ui/dlg/animobjs.src \ sd/source/ui/dlg/animobjs.src \
sd/source/ui/dlg/brkdlg.src \ sd/source/ui/dlg/brkdlg.src \
sd/source/ui/dlg/custsdlg.src \
sd/source/ui/dlg/dlgass.src \ sd/source/ui/dlg/dlgass.src \
sd/source/ui/dlg/dlg_char.src \ sd/source/ui/dlg/dlg_char.src \
sd/source/ui/dlg/dlgfield.src \ sd/source/ui/dlg/dlgfield.src \
......
...@@ -70,6 +70,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/simpress,\ ...@@ -70,6 +70,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/simpress,\
)) ))
$(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\
sd/uiconfig/simpress/ui/definecustomslideshow \
sd/uiconfig/simpress/ui/presentationdialog \ sd/uiconfig/simpress/ui/presentationdialog \
sd/uiconfig/simpress/ui/printeroptions \ sd/uiconfig/simpress/ui/printeroptions \
sd/uiconfig/simpress/ui/photoalbum \ sd/uiconfig/simpress/ui/photoalbum \
......
...@@ -75,9 +75,6 @@ ...@@ -75,9 +75,6 @@
#define HID_SD_WIN_PRESENTATION "SD_HID_SD_WIN_PRESENTATION" #define HID_SD_WIN_PRESENTATION "SD_HID_SD_WIN_PRESENTATION"
#define HID_DLG_DEFINE_CUSTOMSHOW "SD_HID_DLG_DEFINE_CUSTOMSHOW"
#define HID_DLG_DEFINE_CUSTOMSHOW_CTL "SD_HID_DLG_DEFINE_CUSTOMSHOW_CTL"
#define HID_CTL_ACTION_DLG_1 "SD_HID_CTL_ACTION_DLG_1" #define HID_CTL_ACTION_DLG_1 "SD_HID_CTL_ACTION_DLG_1"
#define HID_CTL_ACTION_DLG_2 "SD_HID_CTL_ACTION_DLG_2" #define HID_CTL_ACTION_DLG_2 "SD_HID_CTL_ACTION_DLG_2"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
#include "custsdlg.hxx" #include "custsdlg.hxx"
#include "custsdlg.hrc"
#include "strings.hrc" #include "strings.hrc"
#include "sdresid.hxx" #include "sdresid.hxx"
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "custsdlg.hrc"
#include "app.hrc"
#include "helpids.h"
ModalDialog DLG_DEFINE_CUSTOMSHOW
{
HelpID = HID_DLG_DEFINE_CUSTOMSHOW ;
OutputSize = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 248 , 117 ) ;
Moveable = TRUE ;
Closeable = TRUE ;
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 187 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
DefButton = TRUE ;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT ( 187 , 23 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT ( 187 , 43 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
FixedText FT_NAME
{
Pos = MAP_APPFONT ( 6 , 8 ) ;
Size = MAP_APPFONT ( 30 , 10 ) ;
Text [ en-US ] = "Name" ;
};
Edit EDT_NAME
{
HelpID = "sd:Edit:DLG_DEFINE_CUSTOMSHOW:EDT_NAME";
Border = TRUE ;
Pos = MAP_APPFONT ( 38 , 6 ) ;
Size = MAP_APPFONT ( 141 , 12 ) ;
TabStop = TRUE ;
};
MultiListBox LB_PAGES
{
HelpID = "sd:MultiListBox:DLG_DEFINE_CUSTOMSHOW:LB_PAGES";
Border = TRUE ;
Pos = MAP_APPFONT ( 6 , 35 ) ;
Size = MAP_APPFONT ( 75 , 75 ) ;
TabStop = TRUE ;
SimpleMode = TRUE ;
};
PushButton BTN_ADD
{
HelpID = "sd:PushButton:DLG_DEFINE_CUSTOMSHOW:BTN_ADD";
Pos = MAP_APPFONT ( 84 , 67 ) ;
Size = MAP_APPFONT ( 14 , 14 ) ;
Text = "~>>" ;
TabStop = TRUE ;
};
Control LB_CUSTOM_PAGES
{
HelpID = HID_DLG_DEFINE_CUSTOMSHOW_CTL ;
Border = TRUE ;
Pos = MAP_APPFONT ( 103 , 35 ) ;
Size = MAP_APPFONT ( 75 , 75 ) ;
TabStop = TRUE ;
};
PushButton BTN_REMOVE
{
HelpID = "sd:PushButton:DLG_DEFINE_CUSTOMSHOW:BTN_REMOVE";
Pos = MAP_APPFONT ( 84 , 95 ) ;
Size = MAP_APPFONT ( 14 , 14 ) ;
Text = "~<<" ;
TabStop = TRUE ;
};
FixedText FT_PAGES
{
Pos = MAP_APPFONT ( 6 , 24 ) ;
Size = MAP_APPFONT ( 83 , 10 ) ;
Text [ en-US ] = "Existing slides" ;
};
FixedText FT_CUSTOM_PAGES
{
Pos = MAP_APPFONT ( 103 , 24 ) ;
Size = MAP_APPFONT ( 80 , 10 ) ;
Text [ en-US ] = "Selected slides" ;
};
Text [ en-US ] = "Define Custom Slide Show" ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sfx2/sfx.hrc>
#define DLG_DEFINE_CUSTOMSHOW 890
#define BTN_OK 1
#define BTN_NEW 1
#define BTN_EDIT 2
#define BTN_REMOVE 3
#define BTN_COPY 4
#define BTN_HELP 1
#define LB_PAGES 1
#define LB_CUSTOM_PAGES 2
#define FT_NAME 1
#define EDT_NAME 1
#define FT_PAGES 2
#define FT_CUSTOM_PAGES 3
#define BTN_CANCEL 2
#define BTN_ADD 1
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">6</property> <property name="spacing">6</property>
<child> <child>
<object class="GtkTreeView" id="customshowlist"> <object class="GtkTreeView" id="customshowlist:border">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hexpand">True</property> <property name="hexpand">True</property>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<!-- interface-requires gtk+ 3.0 --> <!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkDialog" id="DefineCustomSlideShow"> <object class="GtkDialog" id="DefineCustomSlideShow">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">5</property> <property name="border_width">6</property>
<property name="type_hint">dialog</property>
<property name="title" translatable="yes">Define Custom Slide Show</property> <property name="title" translatable="yes">Define Custom Slide Show</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox"> <child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1"> <object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property> <property name="can_focus">False</property>
...@@ -18,13 +19,11 @@ ...@@ -18,13 +19,11 @@
<child> <child>
<object class="GtkButton" id="ok"> <object class="GtkButton" id="ok">
<property name="label">gtk-ok</property> <property name="label">gtk-ok</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="has_default">True</property> <property name="has_default">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
</object> </object>
<packing> <packing>
...@@ -36,11 +35,9 @@ ...@@ -36,11 +35,9 @@
<child> <child>
<object class="GtkButton" id="cancel"> <object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property> <property name="label">gtk-cancel</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
</object> </object>
<packing> <packing>
...@@ -52,11 +49,9 @@ ...@@ -52,11 +49,9 @@
<child> <child>
<object class="GtkButton" id="help"> <object class="GtkButton" id="help">
<property name="label">gtk-help</property> <property name="label">gtk-help</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
</object> </object>
<packing> <packing>
...@@ -77,21 +72,23 @@ ...@@ -77,21 +72,23 @@
<object class="GtkBox" id="box1"> <object class="GtkBox" id="box1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<property name="hexpand">True</property> <property name="hexpand">True</property>
<property name="vexpand">True</property> <property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child> <child>
<object class="GtkBox" id="box3"> <object class="GtkBox" id="box3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="spacing">6</property> <property name="hexpand">True</property>
<property name="spacing">12</property>
<child> <child>
<object class="GtkLabel" id="label1"> <object class="GtkLabel" id="label1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">_Name:</property> <property name="label" translatable="yes">_Name:</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="mnemonic_widget">customname</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -103,6 +100,7 @@ ...@@ -103,6 +100,7 @@
<object class="GtkEntry" id="customname"> <object class="GtkEntry" id="customname">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="invisible_char"></property> <property name="invisible_char"></property>
</object> </object>
<packing> <packing>
...@@ -122,6 +120,8 @@ ...@@ -122,6 +120,8 @@
<object class="GtkGrid" id="grid1"> <object class="GtkGrid" id="grid1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="row_spacing">6</property> <property name="row_spacing">6</property>
<property name="column_spacing">6</property> <property name="column_spacing">6</property>
<child> <child>
...@@ -131,6 +131,7 @@ ...@@ -131,6 +131,7 @@
<property name="halign">start</property> <property name="halign">start</property>
<property name="label" translatable="yes">_Existing slides</property> <property name="label" translatable="yes">_Existing slides</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="mnemonic_widget">pages:border</property>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
...@@ -146,6 +147,7 @@ ...@@ -146,6 +147,7 @@
<property name="halign">start</property> <property name="halign">start</property>
<property name="label" translatable="yes">_Selected slides</property> <property name="label" translatable="yes">_Selected slides</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="mnemonic_widget">custompages:border</property>
</object> </object>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">2</property>
...@@ -155,10 +157,9 @@ ...@@ -155,10 +157,9 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkTreeView" id="pages"> <object class="GtkTreeView" id="pages:border">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="model">liststore1</property>
<property name="hexpand">True</property> <property name="hexpand">True</property>
<property name="vexpand">True</property> <property name="vexpand">True</property>
<child internal-child="selection"> <child internal-child="selection">
...@@ -175,11 +176,14 @@ ...@@ -175,11 +176,14 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="svtlo-SvTreeListBox" id="custompages"> <object class="svtlo-SvTreeListBox" id="custompages:border">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hexpand">True</property> <property name="hexpand">True</property>
<property name="vexpand">True</property> <property name="vexpand">True</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="Tree List-selection1"/>
</child>
</object> </object>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">2</property>
...@@ -198,11 +202,9 @@ ...@@ -198,11 +202,9 @@
<child> <child>
<object class="GtkButton" id="add"> <object class="GtkButton" id="add">
<property name="label" translatable="yes">&gt;&gt;</property> <property name="label" translatable="yes">&gt;&gt;</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -213,11 +215,9 @@ ...@@ -213,11 +215,9 @@
<child> <child>
<object class="GtkButton" id="remove"> <object class="GtkButton" id="remove">
<property name="label" translatable="yes">&lt;&lt;</property> <property name="label" translatable="yes">&lt;&lt;</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment