X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkfilechooserentry.h;h=dd830770978e50685ad772ff371940877176023c;hb=1247a842a228980a06893e6167ae8c73a4bb6eed;hp=df8017bacbb448efe251af5c07f841434f718fe5;hpb=350559dea8f48114796c2c895dab0d0cb66413d2;p=~andy%2Fgtk diff --git a/gtk/gtkfilechooserentry.h b/gtk/gtkfilechooserentry.h index df8017bac..dd8307709 100644 --- a/gtk/gtkfilechooserentry.h +++ b/gtk/gtkfilechooserentry.h @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ #ifndef __GTK_FILE_CHOOSER_ENTRY_H__ @@ -23,7 +21,6 @@ #include "gtkfilesystem.h" #include "gtkfilechooser.h" -#include G_BEGIN_DECLS @@ -33,19 +30,21 @@ G_BEGIN_DECLS typedef struct _GtkFileChooserEntry GtkFileChooserEntry; -GType _gtk_file_chooser_entry_get_type (void); -GtkWidget * _gtk_file_chooser_entry_new (gboolean eat_tab); +GType _gtk_file_chooser_entry_get_type (void) G_GNUC_CONST; +GtkWidget * _gtk_file_chooser_entry_new (gboolean eat_tab); void _gtk_file_chooser_entry_set_action (GtkFileChooserEntry *chooser_entry, GtkFileChooserAction action); GtkFileChooserAction _gtk_file_chooser_entry_get_action (GtkFileChooserEntry *chooser_entry); -void _gtk_file_chooser_entry_set_file_system (GtkFileChooserEntry *chooser_entry, - GtkFileSystem *file_system); void _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry, - const GtkFilePath *path); -void _gtk_file_chooser_entry_set_file_part (GtkFileChooserEntry *chooser_entry, - const gchar *file_part); -const GtkFilePath *_gtk_file_chooser_entry_get_current_folder (GtkFileChooserEntry *chooser_entry); + GFile *folder); +GFile * _gtk_file_chooser_entry_get_current_folder (GtkFileChooserEntry *chooser_entry); const gchar * _gtk_file_chooser_entry_get_file_part (GtkFileChooserEntry *chooser_entry); +gboolean _gtk_file_chooser_entry_get_is_folder (GtkFileChooserEntry *chooser_entry, + GFile *file); +void _gtk_file_chooser_entry_select_filename (GtkFileChooserEntry *chooser_entry); +void _gtk_file_chooser_entry_set_local_only (GtkFileChooserEntry *chooser_entry, + gboolean local_only); +gboolean _gtk_file_chooser_entry_get_local_only (GtkFileChooserEntry *chooser_entry); G_END_DECLS