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
6b398581
Kaydet (Commit)
6b398581
authored
Eki 21, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#33598 don't show filter list any more
Change-Id: I4100600455f1cc48c6d8957dacfe232192895e50
üst
75ffeadb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
24 deletions
+4
-24
SalGtkFilePicker.cxx
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+4
-24
No files found.
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
Dosyayı görüntüle @
6b398581
...
...
@@ -239,22 +239,6 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference< uno::XComponentContext
gtk_container_add
(
GTK_CONTAINER
(
m_pFilterExpander
),
scrolled_window
);
gtk_widget_show
(
scrolled_window
);
OString
sExpand
(
getenv
(
"SAL_EXPANDFPICKER"
));
sal_Int32
nExpand
=
sExpand
.
toInt32
();
switch
(
nExpand
)
{
default
:
case
0
:
break
;
case
1
:
gtk_expander_set_expanded
(
GTK_EXPANDER
(
m_pFilterExpander
),
true
);
break
;
case
2
:
expandexpanders
(
GTK_CONTAINER
(
m_pDialog
));
gtk_expander_set_expanded
(
GTK_EXPANDER
(
m_pFilterExpander
),
true
);
break
;
}
m_pFilterStore
=
gtk_list_store_new
(
4
,
G_TYPE_STRING
,
G_TYPE_STRING
,
G_TYPE_STRING
,
G_TYPE_STRING
);
m_pFilterView
=
gtk_tree_view_new_with_model
(
GTK_TREE_MODEL
(
m_pFilterStore
));
...
...
@@ -1339,9 +1323,7 @@ throw( uno::RuntimeException, std::exception )
GtkWidget
*
pWidget
;
if
(
nControlId
==
ExtendedFilePickerElementIds
::
LISTBOX_FILTER_SELECTOR
)
gtk_expander_set_expanded
(
GTK_EXPANDER
(
m_pFilterExpander
),
bEnable
);
else
if
(
(
pWidget
=
getWidget
(
nControlId
)
)
)
if
(
(
pWidget
=
getWidget
(
nControlId
)
)
)
{
if
(
bEnable
)
{
...
...
@@ -1971,11 +1953,9 @@ void SalGtkFilePicker::SetFilters()
}
}
// Hide the expander if there's no choice to be made there
if
(
gtk_tree_model_iter_n_children
(
GTK_TREE_MODEL
(
m_pFilterStore
),
NULL
)
>
1
)
gtk_widget_show
(
m_pFilterExpander
);
else
gtk_widget_hide
(
m_pFilterExpander
);
// We always hide the expander now and depend on the user using the glob
// list, or type a filename suffix, to select a filter by inference.
gtk_widget_hide
(
m_pFilterExpander
);
// set the default filter
if
(
!
sPseudoFilter
.
isEmpty
())
...
...
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