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
7ce2a89f
Kaydet (Commit)
7ce2a89f
authored
May 30, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
prompt to restart office when required for experimental features
Change-Id: I43051ec6b0efeaebcf4a28940f70913423b8ea9f
üst
4e673dbb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
optjava.cxx
cui/source/options/optjava.cxx
+5
-0
restartdialog.hxx
include/svtools/restartdialog.hxx
+4
-1
restartdialog.cxx
svtools/source/dialogs/restartdialog.cxx
+3
-0
restartdialog.ui
svtools/uiconfig/ui/restartdialog.ui
+15
-1
No files found.
cui/source/options/optjava.cxx
Dosyayı görüntüle @
7ce2a89f
...
...
@@ -632,6 +632,11 @@ sal_Bool SvxJavaOptionsPage::FillItemSet( SfxItemSet& /*rCoreSet*/ )
{
SvtMiscOptions
aMiscOpt
;
aMiscOpt
.
SetExperimentalSidebar
(
m_pExpSidebarCB
->
IsChecked
()
);
svtools
::
executeRestartDialog
(
comphelper
::
getProcessComponentContext
(),
this
,
svtools
::
RESTART_REASON_MODIFIED_SIDEBAR
);
bModified
=
sal_True
;
}
...
...
include/svtools/restartdialog.hxx
Dosyayı görüntüle @
7ce2a89f
...
...
@@ -29,9 +29,12 @@ enum RestartReason {
RESTART_REASON_PDF_AS_STANDARD_JOB_FORMAT
,
// For the modified default print job format to take effect,
// %PRODUCTNAME must be restarted.
RESTART_REASON_BIBLIOGRAPHY_INSTALL
RESTART_REASON_BIBLIOGRAPHY_INSTALL
,
// "For the bibliography to work properly,
// %PRODUCTNAME must be restarted."
RESTART_REASON_MODIFIED_SIDEBAR
// "For the sidebar to work properly,
// %PRODUCTNAME must be restarted."
};
// Must be called with the solar mutex locked:
...
...
svtools/source/dialogs/restartdialog.cxx
Dosyayı görüntüle @
7ce2a89f
...
...
@@ -40,6 +40,9 @@ public:
case
svtools
:
:
RESTART_REASON_BIBLIOGRAPHY_INSTALL
:
get
(
reason_
,
"reason_bibliography_install"
);
break
;
case
svtools
:
:
RESTART_REASON_MODIFIED_SIDEBAR
:
get
(
reason_
,
"reason_sidebar"
);
break
;
default
:
assert
(
false
);
// this cannot happen
}
...
...
svtools/uiconfig/ui/restartdialog.ui
Dosyayı görüntüle @
7ce2a89f
...
...
@@ -100,6 +100,20 @@
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"reason_sidebar"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"no_show_all"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
For the modified sidebar setting to take effect, %PRODUCTNAME must be restarted.
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"max_width_chars"
>
50
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
3
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label"
>
<property
name=
"visible"
>
True
</property>
...
...
@@ -110,7 +124,7 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
3
</property>
<property
name=
"position"
>
4
</property>
</packing>
</child>
</object>
...
...
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