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
4dfb3378
Kaydet (Commit)
4dfb3378
authored
Agu 07, 2013
tarafından
Olivier Hallot
Kaydeden (comit)
Caolán McNamara
Agu 08, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use new file load error dialog in widget UI
Change-Id: Ifa31cb9113fc497992d029f401cdadb12cf83c96
üst
d39feeb2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
17 deletions
+53
-17
UIConfig_cui.mk
cui/UIConfig_cui.mk
+1
-0
tpbitmap.cxx
cui/source/tabpages/tpbitmap.cxx
+3
-2
tpcolor.cxx
cui/source/tabpages/tpcolor.cxx
+3
-3
tpgradnt.cxx
cui/source/tabpages/tpgradnt.cxx
+3
-2
tphatch.cxx
cui/source/tabpages/tphatch.cxx
+5
-7
tplneend.cxx
cui/source/tabpages/tplneend.cxx
+3
-1
querynoloadfiledialog.ui
cui/uiconfig/ui/querynoloadfiledialog.ui
+33
-0
querysavelistdialog.ui
cui/uiconfig/ui/querysavelistdialog.ui
+2
-2
No files found.
cui/UIConfig_cui.mk
Dosyayı görüntüle @
4dfb3378
...
...
@@ -93,6 +93,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/querydeletedictionarydialog \
cui/uiconfig/ui/querydeletelineenddialog \
cui/uiconfig/ui/queryduplicatedialog \
cui/uiconfig/ui/querynoloadedfiledialog \
cui/uiconfig/ui/querysavelistdialog \
cui/uiconfig/ui/scriptorganizer \
cui/uiconfig/ui/securityoptionsdialog \
...
...
cui/source/tabpages/tpbitmap.cxx
Dosyayı görüntüle @
4dfb3378
...
...
@@ -814,8 +814,9 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ClickLoadHdl_Impl)
else
{
LeaveWait
();
ErrorBox
(
GetParentDialog
(),
WinBits
(
WB_OK
),
String
(
ResId
(
RID_SVXSTR_READ_DATA_ERROR
,
rMgr
)
)
).
Execute
();
MessageDialog
(
GetParentDialog
()
,
"NoLoadedFileDialog"
,
"cui/ui/querynoloadedfiledialog.ui"
).
Execute
();
}
}
}
...
...
cui/source/tabpages/tpcolor.cxx
Dosyayı görüntüle @
4dfb3378
...
...
@@ -179,9 +179,9 @@ IMPL_LINK_NOARG(SvxColorTabPage, ClickLoadHdl_Impl)
}
else
{
ErrorBox
aErrorBox
(
mpTopDlg
,
WinBits
(
WB_OK
),
String
(
ResId
(
RID_SVXSTR_READ_DATA_ERROR
,
rMgr
)
)
);
aErrorBox
.
Execute
();
MessageDialog
(
mpTopDlg
,
"NoLoadedFileDialog"
,
"cui/ui/querynoloadedfiledialog.ui"
)
.
Execute
();
}
}
}
...
...
cui/source/tabpages/tpgradnt.cxx
Dosyayı görüntüle @
4dfb3378
...
...
@@ -683,8 +683,9 @@ IMPL_LINK_NOARG(SvxGradientTabPage, ClickLoadHdl_Impl)
else
{
LeaveWait
();
ErrorBox
(
GetParentDialog
(),
WinBits
(
WB_OK
),
String
(
ResId
(
RID_SVXSTR_READ_DATA_ERROR
,
rMgr
)
)
).
Execute
();
MessageDialog
(
GetParentDialog
()
,
"NoLoadedFileDialog"
,
"cui/ui/querynoloadedfiledialog.ui"
).
Execute
();
}
}
}
...
...
cui/source/tabpages/tphatch.cxx
Dosyayı görüntüle @
4dfb3378
...
...
@@ -673,9 +673,7 @@ IMPL_LINK_NOARG(SvxHatchTabPage, ClickLoadHdl_Impl)
if
(
nReturn
!=
RET_CANCEL
)
{
::
sfx2
::
FileDialogHelper
aDlg
(
com
::
sun
::
star
::
ui
::
dialogs
::
TemplateDescription
::
FILEOPEN_SIMPLE
,
0
);
::
sfx2
::
FileDialogHelper
aDlg
(
com
::
sun
::
star
::
ui
::
dialogs
::
TemplateDescription
::
FILEOPEN_SIMPLE
,
0
);
String
aStrFilterType
(
"*.soh"
);
aDlg
.
AddFilter
(
aStrFilterType
,
aStrFilterType
);
INetURLObject
aFile
(
SvtPathOptions
().
GetPalettePath
()
);
...
...
@@ -720,8 +718,9 @@ IMPL_LINK_NOARG(SvxHatchTabPage, ClickLoadHdl_Impl)
*
pnHatchingListState
&=
~
CT_MODIFIED
;
}
else
ErrorBox
(
GetParentDialog
(),
WinBits
(
WB_OK
),
String
(
ResId
(
RID_SVXSTR_READ_DATA_ERROR
,
rMgr
)
)
).
Execute
();
MessageDialog
(
GetParentDialog
()
,
"NoLoadedFileDialog"
,
"cui/ui/querynoloadedfiledialog.ui"
).
Execute
();
}
}
...
...
@@ -745,8 +744,7 @@ IMPL_LINK_NOARG(SvxHatchTabPage, ClickLoadHdl_Impl)
IMPL_LINK_NOARG
(
SvxHatchTabPage
,
ClickSaveHdl_Impl
)
{
::
sfx2
::
FileDialogHelper
aDlg
(
com
::
sun
::
star
::
ui
::
dialogs
::
TemplateDescription
::
FILESAVE_SIMPLE
,
0
);
::
sfx2
::
FileDialogHelper
aDlg
(
com
::
sun
::
star
::
ui
::
dialogs
::
TemplateDescription
::
FILESAVE_SIMPLE
,
0
);
String
aStrFilterType
(
"*.soh"
);
aDlg
.
AddFilter
(
aStrFilterType
,
aStrFilterType
);
...
...
cui/source/tabpages/tplneend.cxx
Dosyayı görüntüle @
4dfb3378
...
...
@@ -578,7 +578,9 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickLoadHdl_Impl)
*
pnLineEndListState
&=
~
CT_MODIFIED
;
}
else
ErrorBox
(
GetParentDialog
(),
WinBits
(
WB_OK
),
OUString
(
ResId
(
RID_SVXSTR_READ_DATA_ERROR
,
rMgr
)
)
).
Execute
();
MessageDialog
(
GetParentDialog
()
,
"NoLoadedFileDialog"
,
"cui/ui/querynoloadedfiledialog.ui"
).
Execute
();
}
}
...
...
cui/uiconfig/ui/querynoloadfiledialog.ui
0 → 100644
Dosyayı görüntüle @
4dfb3378
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.6 -->
<object
class=
"GtkMessageDialog"
id=
"NoLoadedFileDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"title"
translatable=
"yes"
>
No loaded file
</property>
<property
name=
"type_hint"
>
dialog
</property>
<property
name=
"skip_taskbar_hint"
>
True
</property>
<property
name=
"message_type"
>
error
</property>
<property
name=
"buttons"
>
ok
</property>
<property
name=
"text"
translatable=
"yes"
>
The file could not be loaded!
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"messagedialog-vbox"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
24
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"messagedialog-action_area"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
</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>
</object>
</child>
</object>
</interface>
cui/uiconfig/ui/querysavelistdialog.ui
Dosyayı görüntüle @
4dfb3378
...
...
@@ -3,7 +3,7 @@
<!-- interface-requires gtk+ 3.6 -->
<object
class=
"GtkMessageDialog"
id=
"AskSaveList"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"title"
translatable=
"yes"
>
Save list?
</property>
<property
name=
"type_hint"
>
dialog
</property>
<property
name=
"skip_taskbar_hint"
>
True
</property>
...
...
@@ -15,7 +15,7 @@
<object
class=
"GtkBox"
id=
"messagedialog-vbox"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
2
</property>
<property
name=
"spacing"
>
2
4
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"messagedialog-action_area"
>
<property
name=
"can_focus"
>
False
</property>
...
...
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