summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-03-21 15:06:47 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-03-21 15:08:28 -0400
commit9dc4377c91b00585519abfd4fc1528393fe84e4a (patch)
tree9d8817aaa8d2d953d0a162a9bf45c83b98d44258 /vcl/unx
parent80652a80da6f86974a2ce0b0367d27a5e797b85d (diff)
Revert "fdo#74064 The filename gets properly highlighted in the Save As dialog."
This reverts commit 55eb86699d7d4b2151530e9a0b3ca2e99033595b, which caused a regression fdo#76466.
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 6e524b93620e..2365565ce614 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -1345,13 +1345,9 @@ void SAL_CALL SalGtkFilePicker::setValue( sal_Int16 nControlId, sal_Int16 nContr
OSL_TRACE("enable unknown control %d", nControlId);
else if( tType == GTK_TYPE_TOGGLE_BUTTON )
{
- // fdo#74064, not activating the auto_extension checkbox so that proper filename is highlighted.
- if(nControlId != ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION)
- {
- bool bChecked = false;
- rValue >>= bChecked;
- gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( pWidget ), bChecked );
- }
+ bool bChecked = false;
+ rValue >>= bChecked;
+ gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( pWidget ), bChecked );
}
else if( tType == GTK_TYPE_COMBO_BOX )
HandleSetListValue(GTK_COMBO_BOX(pWidget), nControlAction, rValue);