summaryrefslogtreecommitdiff
path: root/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-18 12:24:57 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-18 12:24:57 +0000
commitc945d27a50edba7cf6b150d5b3a6be2f590336b3 (patch)
treefac9566a5d7c54e588b700634aa41d34c8d5e756 /fpicker/source/unx/gnome/SalGtkFilePicker.hxx
parent0db71b606dd97e27c68601c1cd543d9bcf5c3b5a (diff)
INTEGRATION: CWS gtkfpicker2 (1.2.2); FILE MERGED
2004/09/16 11:42:45 cmc 1.2.2.1: #i34219# another cut at getting the gtk fpicker to not break the Hamburg build
Diffstat (limited to 'fpicker/source/unx/gnome/SalGtkFilePicker.hxx')
-rw-r--r--fpicker/source/unx/gnome/SalGtkFilePicker.hxx34
1 files changed, 19 insertions, 15 deletions
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
index 855418280c..73bce1f015 100644
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: SalGtkFilePicker.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2004-09-08 17:07:37 $
+ * last change: $Author: kz $ $Date: 2005-01-18 13:24:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -356,16 +356,11 @@ class SalGtkFilePicker :
LIST_LAST
};
- GtkWidget *m_pLists[ LIST_LAST ];
-
- enum {
- VERSION_LABEL,
- TEMPLATE_LABEL,
- IMAGE_TEMPLATE_LABEL,
- LIST_LABEL_LAST
- };
-
- GtkWidget *m_pListLabels[ LIST_LABEL_LAST ];
+ GtkWidget *m_pHBoxs[ LIST_LAST ];
+ GtkWidget *m_pAligns[ LIST_LAST ];
+ GtkWidget *m_pLists[ LIST_LAST ];
+ GtkWidget *m_pListLabels[ LIST_LAST ];
+ bool mbListVisibility[ LIST_LAST ];
::rtl::OUString m_aCurrentFilter;
@@ -378,19 +373,28 @@ class SalGtkFilePicker :
void implAddFilterGroup( const OUString& rFilter,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::StringPair>& _rFilters );
+ bool bVersionWidthUnset;
sal_Bool mbPreviewState;
gulong mHID_Preview;
+ gulong mHID_FolderChange;
+ gulong mHID_SelectionChange;
GtkWidget* m_pPreview;
sal_Int32 m_PreviewImageWidth;
sal_Int32 m_PreviewImageHeight;
- static void preview_toggled (GtkObject *cb, gpointer data);
+ void HandleSetListValue(GtkComboBox *pWidget, sal_Int16 nControlAction,
+ const ::com::sun::star::uno::Any& rValue);
+ ::com::sun::star::uno::Any HandleGetListValue(GtkComboBox *pWidget, sal_Int16 nControlAction) const;
+
+ static void preview_toggled_cb (GtkObject *cb, SalGtkFilePicker *pobjFP);
static void filter_changed_cb (GtkFileChooser *file_chooser, GParamSpec *pspec, SalGtkFilePicker *pobjFP);
- static void update_preview_cb (GtkFileChooser *file_chooser, gpointer data);
+ static void folder_changed_cb (GtkFileChooser *file_chooser, SalGtkFilePicker *pobjFP);
+ static void selection_changed_cb (GtkFileChooser *file_chooser, SalGtkFilePicker *pobjFP);
+ static void update_preview_cb (GtkFileChooser *file_chooser, SalGtkFilePicker *pobjFP);
public:
virtual ~SalGtkFilePicker();
};
-
+/* vi:set tabstop=4 shiftwidth=4 expandtab: */
#endif // _SALGTKFILEPICKER_HXX_