From 0cbb825713bb897942a709b09f98d0f123075794 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 1 Nov 2003 13:35:53 +0000 Subject: Don't set the persist key on object construction time. Fixes bug #125589. 2003-11-01 Christian Persch * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_get_persist_key), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Don't set the persist key on object construction time. Fixes bug #125589. --- lib/ephy-file-chooser.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'lib/ephy-file-chooser.h') diff --git a/lib/ephy-file-chooser.h b/lib/ephy-file-chooser.h index f4061e9fc..7702c41d2 100644 --- a/lib/ephy-file-chooser.h +++ b/lib/ephy-file-chooser.h @@ -54,12 +54,17 @@ typedef struct GtkFileChooserDialogClass parent_class; } EphyFileChooserClass; -GType ephy_file_chooser_get_type (void); +GType ephy_file_chooser_get_type (void); -EphyFileChooser *ephy_file_chooser_new (const char *title, - GtkWidget *parent, - GtkFileChooserAction action, - const char *persist_key); +EphyFileChooser *ephy_file_chooser_new (const char *title, + GtkWidget *parent, + GtkFileChooserAction action, + const char *persist_key); + +void ephy_file_chooser_set_persist_key (EphyFileChooser *dialog, + const char *key); + +const char *ephy_file_chooser_get_persist_key (EphyFileChooser *dialog); G_END_DECLS -- cgit v1.2.3