Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
0039c859
Kaydet (Commit)
0039c859
authored
Nis 16, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert browser options to .ui
Change-Id: Ia3672c43b0e80e45ff3404fa84a11182cd6c03a0
üst
cb7412b8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
40 deletions
+49
-40
UIConfig_cui.mk
cui/UIConfig_cui.mk
+1
-0
optinet2.cxx
cui/source/options/optinet2.cxx
+5
-7
optinet2.hrc
cui/source/options/optinet2.hrc
+0
-7
optinet2.hxx
cui/source/options/optinet2.hxx
+1
-2
optinet2.src
cui/source/options/optinet2.src
+0
-24
optbrowserpage.ui
cui/uiconfig/ui/optbrowserpage.ui
+42
-0
No files found.
cui/UIConfig_cui.mk
Dosyayı görüntüle @
0039c859
...
...
@@ -39,6 +39,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/optaccessibilitypage \
cui/uiconfig/ui/optadvancedpage \
cui/uiconfig/ui/optappearancepage \
cui/uiconfig/ui/optbrowserpage \
cui/uiconfig/ui/optfltrpage \
cui/uiconfig/ui/optfontspage \
cui/uiconfig/ui/optgeneralpage \
...
...
cui/source/options/optinet2.cxx
Dosyayı görüntüle @
0039c859
...
...
@@ -953,11 +953,9 @@ void SvxSecurityTabPage::Reset( const SfxItemSet& )
}
MozPluginTabPage
::
MozPluginTabPage
(
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
:
SfxTabPage
(
pParent
,
CUI_RES
(
RID_SVXPAGE_INET_MOZPLUGIN
),
rSet
),
aMSWordGB
(
this
,
CUI_RES
(
GB_MOZPLUGIN
)
),
aWBasicCodeCB
(
this
,
CUI_RES
(
CB_MOZPLUGIN_CODE
)
)
:
SfxTabPage
(
pParent
,
"OptBrowserPage"
,
"cui/ui/optbrowserpage.ui"
,
rSet
)
{
FreeResource
(
);
get
(
m_pWBasicCodeCB
,
"display"
);
}
MozPluginTabPage
::~
MozPluginTabPage
()
...
...
@@ -972,7 +970,7 @@ SfxTabPage* MozPluginTabPage::Create( Window* pParent,
sal_Bool
MozPluginTabPage
::
FillItemSet
(
SfxItemSet
&
)
{
sal_Bool
hasInstall
=
isInstalled
();
sal_Bool
hasChecked
=
aWBasicCodeCB
.
IsChecked
();
sal_Bool
hasChecked
=
m_pWBasicCodeCB
->
IsChecked
();
if
(
hasInstall
&&
(
!
hasChecked
)){
//try to uninstall
uninstallPlugin
();
...
...
@@ -988,8 +986,8 @@ sal_Bool MozPluginTabPage::FillItemSet( SfxItemSet& )
}
void
MozPluginTabPage
::
Reset
(
const
SfxItemSet
&
)
{
aWBasicCodeCB
.
Check
(
isInstalled
());
aWBasicCodeCB
.
SaveValue
();
m_pWBasicCodeCB
->
Check
(
isInstalled
());
m_pWBasicCodeCB
->
SaveValue
();
}
#ifdef WNT
...
...
cui/source/options/optinet2.hrc
Dosyayı görüntüle @
0039c859
...
...
@@ -72,13 +72,6 @@
#define PB_MAILERURL 5
#define STR_DEFAULT_FILENAME 6
// plugin
#define GB_MOZPLUGIN 1
#define CB_MOZPLUGIN_CODE 2
#endif // #ifndef _SVX_OPTINET_HRC
// ******************************************************************* EOF
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
cui/source/options/optinet2.hxx
Dosyayı görüntüle @
0039c859
...
...
@@ -193,8 +193,7 @@ public:
class
MozPluginTabPage
:
public
SfxTabPage
{
FixedLine
aMSWordGB
;
CheckBox
aWBasicCodeCB
;
CheckBox
*
m_pWBasicCodeCB
;
sal_Bool
isInstalled
(
void
);
sal_Bool
installPlugin
(
void
);
...
...
cui/source/options/optinet2.src
Dosyayı görüntüle @
0039c859
...
...
@@ -28,30 +28,6 @@
/* */
/************************************************************************/
TabPage RID_SVXPAGE_INET_MOZPLUGIN
{
HelpID = "cui:TabPage:RID_SVXPAGE_INET_MOZPLUGIN";
OutputSize = TRUE ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
SVLook = TRUE ;
Hide = TRUE ;
FixedLine GB_MOZPLUGIN
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text[ en-US ] = "Browser Plug-in";
};
CheckBox CB_MOZPLUGIN_CODE
{
HelpID = "cui:CheckBox:RID_SVXPAGE_INET_MOZPLUGIN:CB_MOZPLUGIN_CODE";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Display documents in browser" ;
};
};
TabPage RID_SVXPAGE_INET_PROXY
{
HelpId = HID_OPTIONS_PROXY ;
...
...
cui/uiconfig/ui/optbrowserpage.ui
0 → 100644
Dosyayı görüntüle @
0039c859
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object
class=
"GtkFrame"
id=
"OptBrowserPage"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkCheckButton"
id=
"display"
>
<property
name=
"label"
translatable=
"yes"
>
_Display documents in browser
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"valign"
>
start
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Browser Plug-in
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</object>
</interface>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment