[maemo-commits] [maemo-commits] r8319 - in projects/haf/trunk/python-hildon: . defs
From: www-data at stage.maemo.org www-data at stage.maemo.orgDate: Fri Nov 24 23:20:39 EET 2006
- Previous message: [maemo-commits] r8318 - in projects/haf/trunk/python-hildon: . defs examples
- Next message: [maemo-commits] r8320 - in projects/haf/branches/hildon-fm/1.x: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: luciano
Date: 2006-11-24 23:20:30 +0200 (Fri, 24 Nov 2006)
New Revision: 8319
Added:
projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs
projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs
projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs
projects/haf/trunk/python-hildon/defs/hildon-file-system-common.defs
projects/haf/trunk/python-hildon/defs/hildon-file-system-info.defs
Modified:
projects/haf/trunk/python-hildon/defs/hildon-file-system-model.defs
projects/haf/trunk/python-hildon/hildon-types.h
projects/haf/trunk/python-hildon/hildon.defs
projects/haf/trunk/python-hildon/setup.py
Log:
Including file manager support (need to fix filter problem)
Added: projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs 2006-11-24 21:20:30 UTC (rev 8319)
@@ -0,0 +1,91 @@
+;; -*- scheme -*-
+; object definitions ...
+(define-object FileChooserDialog
+ (in-module "Hildon")
+ (parent "GtkDialog")
+ (c-name "HildonFileChooserDialog")
+ (gtype-id "HILDON_TYPE_FILE_CHOOSER_DIALOG")
+)
+
+;; Enumerations and flags ...
+
+
+;; From hildon-file-chooser-dialog.h
+
+(define-function hildon_file_chooser_dialog_get_type
+ (c-name "hildon_file_chooser_dialog_get_type")
+ (return-type "GType")
+)
+
+(define-function hildon_file_chooser_dialog_new
+ (c-name "hildon_file_chooser_dialog_new")
+ (is-constructor-of "HildonFileChooserDialog")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ '("GtkFileChooserAction" "action")
+ )
+)
+
+(define-function hildon_file_chooser_dialog_new_with_properties
+ (c-name "hildon_file_chooser_dialog_new_with_properties")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ '("const-gchar*" "first_property")
+ )
+ (varargs #t)
+)
+
+(define-method focus_to_input
+ (of-object "HildonFileChooserDialog")
+ (c-name "hildon_file_chooser_dialog_focus_to_input")
+ (return-type "none")
+)
+
+(define-method set_safe_folder
+ (of-object "HildonFileChooserDialog")
+ (c-name "hildon_file_chooser_dialog_set_safe_folder")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "local_path")
+ )
+)
+
+(define-method set_safe_folder_uri
+ (of-object "HildonFileChooserDialog")
+ (c-name "hildon_file_chooser_dialog_set_safe_folder_uri")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "uri")
+ )
+)
+
+(define-method get_safe_folder
+ (of-object "HildonFileChooserDialog")
+ (c-name "hildon_file_chooser_dialog_get_safe_folder")
+ (return-type "gchar*")
+)
+
+(define-method get_safe_folder_uri
+ (of-object "HildonFileChooserDialog")
+ (c-name "hildon_file_chooser_dialog_get_safe_folder_uri")
+ (return-type "gchar*")
+)
+
+(define-method set_show_upnp
+ (of-object "HildonFileChooserDialog")
+ (c-name "hildon_file_chooser_dialog_set_show_upnp")
+ (return-type "none")
+ (parameters
+ '("gboolean" "value")
+ )
+)
+
+(define-method get_show_upnp
+ (of-object "HildonFileChooserDialog")
+ (c-name "hildon_file_chooser_dialog_get_show_upnp")
+ (return-type "gboolean")
+)
+
+
Added: projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs 2006-11-24 21:20:30 UTC (rev 8319)
@@ -0,0 +1,57 @@
+;; -*- scheme -*-
+; object definitions ...
+(define-object FileDetailsDialog
+ (in-module "Hildon")
+ (parent "GtkDialog")
+ (c-name "HildonFileDetailsDialog")
+ (gtype-id "HILDON_TYPE_FILE_DETAILS_DIALOG")
+)
+
+;; Enumerations and flags ...
+
+
+;; From hildon-file-details-dialog.h
+
+(define-function hildon_file_details_dialog_get_type
+ (c-name "hildon_file_details_dialog_get_type")
+ (return-type "GType")
+)
+
+;(define-function hildon_file_details_dialog_new
+; (c-name "hildon_file_details_dialog_new")
+; (is-constructor-of "HildonFileDetailsDialog")
+; (return-type "GtkWidget*")
+; (parameters
+; '("GtkWindow*" "parent")
+; '("const-gchar*" "filename")
+; )
+;)
+
+(define-function hildon_file_details_dialog_new_with_model
+ (c-name "hildon_file_details_dialog_new_with_model")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ '("HildonFileSystemModel*" "model")
+ )
+)
+
+(define-method set_file_iter
+ (of-object "HildonFileDetailsDialog")
+ (c-name "hildon_file_details_dialog_set_file_iter")
+ (return-type "none")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ )
+)
+
+(define-method get_file_iter
+ (of-object "HildonFileDetailsDialog")
+ (c-name "hildon_file_details_dialog_get_file_iter")
+ (return-type "gboolean")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ )
+)
+
+
Added: projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs 2006-11-24 21:20:30 UTC (rev 8319)
@@ -0,0 +1,286 @@
+;; -*- scheme -*-
+; object definitions ...
+(define-object FileSelection
+ (in-module "Hildon")
+ (parent "GtkContainer")
+ (c-name "HildonFileSelection")
+ (gtype-id "HILDON_TYPE_FILE_SELECTION")
+)
+
+;; Enumerations and flags ...
+
+;(define-enum FileSelectionMode
+; (in-module "Hildon")
+; (c-name "HildonFileSelectionMode")
+; (gtype-id "HILDON_TYPE_FILE_SELECTION_MODE")
+; (values
+; '("list" "HILDON_FILE_SELECTION_MODE_LIST")
+; '("thumbnails" "HILDON_FILE_SELECTION_MODE_THUMBNAILS")
+; )
+;)
+
+;(define-enum FileSelectionSortKey
+; (in-module "Hildon")
+; (c-name "HildonFileSelectionSortKey")
+; (gtype-id "HILDON_TYPE_FILE_SELECTION_SORT_KEY")
+; (values
+; '("name" "HILDON_FILE_SELECTION_SORT_NAME")
+; '("type" "HILDON_FILE_SELECTION_SORT_TYPE")
+; '("modified" "HILDON_FILE_SELECTION_SORT_MODIFIED")
+; '("size" "HILDON_FILE_SELECTION_SORT_SIZE")
+; )
+;)
+
+;(define-enum FileSelectionPane
+; (in-module "Hildon")
+; (c-name "HildonFileSelectionPane")
+; (gtype-id "HILDON_TYPE_FILE_SELECTION_PANE")
+; (values
+; '("navigation" "HILDON_FILE_SELECTION_PANE_NAVIGATION")
+; '("content" "HILDON_FILE_SELECTION_PANE_CONTENT")
+; )
+;)
+
+;(define-enum FileSelectionVisibleColumns
+; (in-module "Hildon")
+; (c-name "HildonFileSelectionVisibleColumns")
+; (gtype-id "HILDON_TYPE_FILE_SELECTION_VISIBLE_COLUMNS")
+; (values
+; '("name" "HILDON_FILE_SELECTION_SHOW_NAME")
+; '("modified" "HILDON_FILE_SELECTION_SHOW_MODIFIED")
+; '("size" "HILDON_FILE_SELECTION_SHOW_SIZE")
+; '("all" "HILDON_FILE_SELECTION_SHOW_ALL")
+; )
+;)
+
+
+;; From hildon-file-selection.h
+
+(define-function hildon_file_selection_get_type
+ (c-name "hildon_file_selection_get_type")
+ (return-type "GType")
+)
+
+(define-function hildon_file_selection_new_with_model
+ (c-name "hildon_file_selection_new_with_model")
+ (return-type "GtkWidget*")
+ (parameters
+ '("HildonFileSystemModel*" "model")
+ )
+)
+
+(define-method set_mode
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_set_mode")
+ (return-type "none")
+ (parameters
+ '("HildonFileSelectionMode" "mode")
+ )
+)
+
+(define-method get_mode
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_mode")
+ (return-type "HildonFileSelectionMode")
+)
+
+(define-method set_sort_key
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_set_sort_key")
+ (return-type "none")
+ (parameters
+ '("HildonFileSelectionSortKey" "key")
+ '("GtkSortType" "order")
+ )
+)
+
+(define-method get_sort_key
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_sort_key")
+ (return-type "none")
+ (parameters
+ '("HildonFileSelectionSortKey*" "key")
+ '("GtkSortType*" "order")
+ )
+)
+
+(define-method set_current_folder
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_set_current_folder")
+ (return-type "gboolean")
+ (parameters
+ '("const-GtkFilePath*" "folder")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_current_folder
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_current_folder")
+ (return-type "GtkFilePath*")
+)
+
+;(define-method get_current_content_iter
+; (of-object "HildonFileSelection")
+; (c-name "hildon_file_selection_get_current_content_iter")
+; (return-type "gboolean")
+; (parameters
+; '("GtkTreeIter*" "iter")
+; )
+;)
+
+;(define-method get_current_folder_iter
+; (of-object "HildonFileSelection")
+; (c-name "hildon_file_selection_get_current_folder_iter")
+; (return-type "gboolean")
+; (parameters
+; '("GtkTreeIter*" "iter")
+; )
+;)
+
+;(define-method get_active_content_iter
+; (of-object "HildonFileSelection")
+; (c-name "hildon_file_selection_get_active_content_iter")
+; (return-type "gboolean")
+; (parameters
+; '("GtkTreeIter*" "iter")
+; )
+;)
+
+;(define-method content_iter_is_selected
+; (of-object "HildonFileSelection")
+; (c-name "hildon_file_selection_content_iter_is_selected")
+; (return-type "gboolean")
+; (parameters
+; '("GtkTreeIter*" "iter")
+; )
+;)
+
+(define-method select_path
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_select_path")
+ (return-type "gboolean")
+ (parameters
+ '("const-GtkFilePath*" "path")
+ '("GError**" "error")
+ )
+)
+
+(define-method unselect_path
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_unselect_path")
+ (return-type "none")
+ (parameters
+ '("const-GtkFilePath*" "path")
+ )
+)
+
+(define-method select_all
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_select_all")
+ (return-type "none")
+)
+
+(define-method unselect_all
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_unselect_all")
+ (return-type "none")
+)
+
+(define-method clear_multi_selection
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_clear_multi_selection")
+ (return-type "none")
+)
+
+(define-method get_selected_paths
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_selected_paths")
+ (return-type "GSList*")
+)
+
+(define-method set_select_multiple
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_set_select_multiple")
+ (return-type "none")
+ (parameters
+ '("gboolean" "select_multiple")
+ )
+)
+
+(define-method get_select_multiple
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_select_multiple")
+ (return-type "gboolean")
+)
+
+(define-method set_column_headers_visible
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_set_column_headers_visible")
+ (return-type "none")
+ (parameters
+ '("gboolean" "visible")
+ )
+)
+
+(define-method get_column_headers_visible
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_column_headers_visible")
+ (return-type "gboolean")
+)
+
+;(define-method set_filter
+; (of-object "HildonFileSelection")
+; (c-name "hildon_file_selection_set_filter")
+; (return-type "none")
+; (parameters
+; '("GtkFileFilter*" "filter")
+; )
+;)
+
+(define-method get_filter
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_filter")
+ (return-type "GtkFileFilter*")
+)
+
+(define-method dim_current_selection
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_dim_current_selection")
+ (return-type "none")
+)
+
+(define-method undim_all
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_undim_all")
+ (return-type "none")
+)
+
+(define-method get_active_pane
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_get_active_pane")
+ (return-type "HildonFileSelectionPane")
+)
+
+(define-method hide_content_pane
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_hide_content_pane")
+ (return-type "none")
+)
+
+(define-method show_content_pane
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_show_content_pane")
+ (return-type "none")
+)
+
+(define-method move_cursor_to_uri
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_move_cursor_to_uri")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "uri")
+ )
+)
+
+
Added: projects/haf/trunk/python-hildon/defs/hildon-file-system-common.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-system-common.defs 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-system-common.defs 2006-11-24 21:20:30 UTC (rev 8319)
@@ -0,0 +1,36 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+(define-enum FileSystemModelItemType
+ (in-module "Hildon")
+ (c-name "HildonFileSystemModelItemType")
+ (gtype-id "HILDON_TYPE_FILE_SYSTEM_MODEL_ITEM_TYPE")
+ (values
+ '("unknown" "HILDON_FILE_SYSTEM_MODEL_UNKNOWN")
+ '("file" "HILDON_FILE_SYSTEM_MODEL_FILE")
+ '("folder" "HILDON_FILE_SYSTEM_MODEL_FOLDER")
+ '("safe-folder-images" "HILDON_FILE_SYSTEM_MODEL_SAFE_FOLDER_IMAGES")
+ '("safe-folder-videos" "HILDON_FILE_SYSTEM_MODEL_SAFE_FOLDER_VIDEOS")
+ '("safe-folder-sounds" "HILDON_FILE_SYSTEM_MODEL_SAFE_FOLDER_SOUNDS")
+ '("safe-folder-documents" "HILDON_FILE_SYSTEM_MODEL_SAFE_FOLDER_DOCUMENTS")
+ '("safe-folder-games" "HILDON_FILE_SYSTEM_MODEL_SAFE_FOLDER_GAMES")
+ '("mmc" "HILDON_FILE_SYSTEM_MODEL_MMC")
+ '("gateway" "HILDON_FILE_SYSTEM_MODEL_GATEWAY")
+ '("local-device" "HILDON_FILE_SYSTEM_MODEL_LOCAL_DEVICE")
+ )
+)
+
+
+;; From hildon-file-system-common.h
+
+(define-function hildon_file_system_create_backend
+ (c-name "hildon_file_system_create_backend")
+ (return-type "GtkFileSystem*")
+ (parameters
+ '("const-gchar*" "name")
+ '("gboolean" "use_fallback")
+ )
+)
+
+
Added: projects/haf/trunk/python-hildon/defs/hildon-file-system-info.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-system-info.defs 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-system-info.defs 2006-11-24 21:20:30 UTC (rev 8319)
@@ -0,0 +1,68 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-file-system-info.h
+
+(define-function hildon_file_system_info_async_new
+ (c-name "hildon_file_system_info_async_new")
+ (is-constructor-of "HildonFileSystemInfoAsync")
+ (return-type "HildonFileSystemInfoHandle*")
+ (parameters
+ '("const-gchar*" "uri")
+ '("HildonFileSystemInfoCallback" "callback")
+ '("gpointer" "data")
+ )
+)
+
+(define-method get_display_name
+ (of-object "HildonFileSystemInfo")
+ (c-name "hildon_file_system_info_get_display_name")
+ (return-type "const-gchar*")
+)
+
+(define-method get_icon
+ (of-object "HildonFileSystemInfo")
+ (c-name "hildon_file_system_info_get_icon")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("GtkWidget*" "ref_widget")
+ )
+)
+
+(define-method get_icon_at_size
+ (of-object "HildonFileSystemInfo")
+ (c-name "hildon_file_system_info_get_icon_at_size")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("GtkWidget*" "ref_widget")
+ '("gint" "size")
+ )
+)
+
+(define-function hildon_file_system_info_async_cancel
+ (c-name "hildon_file_system_info_async_cancel")
+ (return-type "none")
+ (parameters
+ '("HildonFileSystemInfoHandle*" "handle")
+ )
+)
+
+;(define-function hildon_file_system_info_new
+; (c-name "hildon_file_system_info_new")
+; (is-constructor-of "HildonFileSystemInfo")
+; (return-type "HildonFileSystemInfo*")
+; (parameters
+; '("const-gchar*" "uri")
+; '("GError**" "error")
+; )
+;)
+
+;(define-method free
+; (of-object "HildonFileSystemInfo")
+; (c-name "hildon_file_system_info_free")
+; (return-type "none")
+;)
+
+
Modified: projects/haf/trunk/python-hildon/defs/hildon-file-system-model.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-system-model.defs 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-system-model.defs 2006-11-24 21:20:30 UTC (rev 8319)
@@ -1,45 +1,63 @@
+;; -*- scheme -*-
+; object definitions ...
(define-object FileSystemModel
(in-module "Hildon")
+ (parent "GObject")
(c-name "HildonFileSystemModel")
(gtype-id "HILDON_TYPE_FILE_SYSTEM_MODEL")
)
-(define-enum FileSystemModelColumns
- (in-module "Hildon")
- (c-name "HildonFileSystemModelColumns")
- (gtype-id "HILDON_TYPE_FILE_SYSTEM_MODEL_COLUMNS")
- (values
- '("column-gtk-path" "HILDON_FILE_SYSTEM_MODEL_COLUMN_GTK_PATH")
- '("column-local-path" "HILDON_FILE_SYSTEM_MODEL_COLUMN_LOCAL_PATH")
- '("column-uri" "HILDON_FILE_SYSTEM_MODEL_COLUMN_URI")
- '("column-file-name" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FILE_NAME")
- '("column-display-name" "HILDON_FILE_SYSTEM_MODEL_COLUMN_DISPLAY_NAME")
- '("column-sort-key" "HILDON_FILE_SYSTEM_MODEL_COLUMN_SORT_KEY")
- '("column-mime-type" "HILDON_FILE_SYSTEM_MODEL_COLUMN_MIME_TYPE")
- '("column-file-size" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FILE_SIZE")
- '("column-file-time" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FILE_TIME")
- '("column-is-folder" "HILDON_FILE_SYSTEM_MODEL_COLUMN_IS_FOLDER")
- '("column-is-available" "HILDON_FILE_SYSTEM_MODEL_COLUMN_IS_AVAILABLE")
- '("column-has-local-path" "HILDON_FILE_SYSTEM_MODEL_COLUMN_HAS_LOCAL_PATH")
- '("column-type" "HILDON_FILE_SYSTEM_MODEL_COLUMN_TYPE")
- '("column-icon" "HILDON_FILE_SYSTEM_MODEL_COLUMN_ICON")
- '("column-icon-expanded" "HILDON_FILE_SYSTEM_MODEL_COLUMN_ICON_EXPANDED")
- '("column-icon-collapsed" "HILDON_FILE_SYSTEM_MODEL_COLUMN_ICON_COLLAPSED")
- '("column-thumbnail" "HILDON_FILE_SYSTEM_MODEL_COLUMN_THUMBNAIL")
- '("column-load-ready" "HILDON_FILE_SYSTEM_MODEL_COLUMN_LOAD_READY")
- '("column-free-space" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FREE_SPACE")
- '("column-title" "HILDON_FILE_SYSTEM_MODEL_COLUMN_TITLE")
- '("column-author" "HILDON_FILE_SYSTEM_MODEL_COLUMN_AUTHOR")
- '("column-is-hidden" "HILDON_FILE_SYSTEM_MODEL_COLUMN_IS_HIDDEN")
- '("num-columns" "HILDON_FILE_SYSTEM_MODEL_NUM_COLUMNS")
- )
-)
+;; Enumerations and flags ...
+;(define-enum FileSystemModelColumns
+; (in-module "Hildon")
+; (c-name "HildonFileSystemModelColumns")
+; (gtype-id "HILDON_TYPE_FILE_SYSTEM_MODEL_COLUMNS")
+; (values
+; '("column-gtk-path" "HILDON_FILE_SYSTEM_MODEL_COLUMN_GTK_PATH")
+; '("column-local-path" "HILDON_FILE_SYSTEM_MODEL_COLUMN_LOCAL_PATH")
+; '("column-uri" "HILDON_FILE_SYSTEM_MODEL_COLUMN_URI")
+; '("column-file-name" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FILE_NAME")
+; '("column-display-name" "HILDON_FILE_SYSTEM_MODEL_COLUMN_DISPLAY_NAME")
+; '("column-sort-key" "HILDON_FILE_SYSTEM_MODEL_COLUMN_SORT_KEY")
+; '("column-mime-type" "HILDON_FILE_SYSTEM_MODEL_COLUMN_MIME_TYPE")
+; '("column-file-size" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FILE_SIZE")
+; '("column-file-time" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FILE_TIME")
+; '("column-is-folder" "HILDON_FILE_SYSTEM_MODEL_COLUMN_IS_FOLDER")
+; '("column-is-available" "HILDON_FILE_SYSTEM_MODEL_COLUMN_IS_AVAILABLE")
+; '("column-has-local-path" "HILDON_FILE_SYSTEM_MODEL_COLUMN_HAS_LOCAL_PATH")
+; '("column-type" "HILDON_FILE_SYSTEM_MODEL_COLUMN_TYPE")
+; '("column-icon" "HILDON_FILE_SYSTEM_MODEL_COLUMN_ICON")
+; '("column-icon-expanded" "HILDON_FILE_SYSTEM_MODEL_COLUMN_ICON_EXPANDED")
+; '("column-icon-collapsed" "HILDON_FILE_SYSTEM_MODEL_COLUMN_ICON_COLLAPSED")
+; '("column-thumbnail" "HILDON_FILE_SYSTEM_MODEL_COLUMN_THUMBNAIL")
+; '("column-load-ready" "HILDON_FILE_SYSTEM_MODEL_COLUMN_LOAD_READY")
+; '("column-free-space" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FREE_SPACE")
+; '("column-title" "HILDON_FILE_SYSTEM_MODEL_COLUMN_TITLE")
+; '("column-author" "HILDON_FILE_SYSTEM_MODEL_COLUMN_AUTHOR")
+; '("column-is-hidden" "HILDON_FILE_SYSTEM_MODEL_COLUMN_IS_HIDDEN")
+; '("column-unavailable-reason" "HILDON_FILE_SYSTEM_MODEL_COLUMN_UNAVAILABLE_REASON")
+; '("column-failed-access-message" "HILDON_FILE_SYSTEM_MODEL_COLUMN_FAILED_ACCESS_MESSAGE")
+; '("column-sort-weight" "HILDON_FILE_SYSTEM_MODEL_COLUMN_SORT_WEIGHT")
+; '("column-extra-info" "HILDON_FILE_SYSTEM_MODEL_COLUMN_EXTRA_INFO")
+; '("num-columns" "HILDON_FILE_SYSTEM_MODEL_NUM_COLUMNS")
+; )
+;)
+
+
+;; From hildon-file-system-model.h
+
(define-function hildon_file_system_model_get_type
(c-name "hildon_file_system_model_get_type")
(return-type "GType")
)
+;(define-method finished_loading
+; (of-object "HildonFileSystemModel")
+; (c-name "hildon_file_system_model_finished_loading")
+; (return-type "gboolean")
+;)
+
(define-method search_local_path
(of-object "HildonFileSystemModel")
(c-name "hildon_file_system_model_search_local_path")
@@ -69,7 +87,7 @@
(c-name "hildon_file_system_model_search_path")
(return-type "gboolean")
(parameters
- '("GtkFilePath*" "path")
+ '("const-GtkFilePath*" "path")
'("GtkTreeIter*" "iter")
'("GtkTreeIter*" "start_iter")
'("gboolean" "recursive")
@@ -101,7 +119,7 @@
(c-name "hildon_file_system_model_load_path")
(return-type "gboolean")
(parameters
- '("GtkFilePath*" "path")
+ '("const-GtkFilePath*" "path")
'("GtkTreeIter*" "iter")
)
)
Modified: projects/haf/trunk/python-hildon/hildon-types.h
===================================================================
--- projects/haf/trunk/python-hildon/hildon-types.h 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/hildon-types.h 2006-11-24 21:20:30 UTC (rev 8319)
@@ -27,6 +27,7 @@
#include <glib.h>
#include <glib/gtypes.h>
#include <gtk/gtkuimanager.h>
+#include <gtk/gtkfilefilter.h>
#include <hildon-base-lib/hildon-base-dnotify.h>
#include <hildon-base-lib/hildon-base-types.h>
#include <hildon-widgets/hildon-add-home-dialog.h>
@@ -47,7 +48,6 @@
#include <hildon-widgets/hildon-defines.h>
#include <hildon-widgets/hildon-dialoghelp.h>
#include <hildon-widgets/hildon-file-handling-note.h>
-#include <hildon-widgets/hildon-file-system-model.h>
#include <hildon-widgets/hildon-find-toolbar.h>
#include <hildon-widgets/hildon-font-selection-dialog.h>
#include <hildon-widgets/hildon-get-password-dialog.h>
@@ -76,6 +76,13 @@
#include <hildon-widgets/hildon-window-private.h>
#include <hildon-widgets/hildon-wizard-dialog.h>
+#include <hildon-fm/hildon-widgets/hildon-file-chooser-dialog.h>
+#include <hildon-fm/hildon-widgets/hildon-file-details-dialog.h>
+#include <hildon-fm/hildon-widgets/hildon-file-selection.h>
+#include <hildon-fm/hildon-widgets/hildon-file-system-common.h>
+#include <hildon-fm/hildon-widgets/hildon-file-system-info.h>
+#include <hildon-fm/hildon-widgets/hildon-file-system-model.h>
+
#ifndef HILDON_DISABLE_DEPRECATED
#include <hildon-widgets/hildon-search.h>
#include <hildon-widgets/hildon-find-object-dialog.h>
Modified: projects/haf/trunk/python-hildon/hildon.defs
===================================================================
--- projects/haf/trunk/python-hildon/hildon.defs 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/hildon.defs 2006-11-24 21:20:30 UTC (rev 8319)
@@ -18,7 +18,6 @@
(include "defs/hildon-defines.defs")
(include "defs/hildon-dialoghelp.defs")
;;(include "defs/hildon-file-handling-note.defs")
-(include "defs/hildon-file-system-model.defs")
(include "defs/hildon-find-toolbar.defs")
(include "defs/hildon-font-selection-dialog.defs")
(include "defs/hildon-get-password-dialog.defs")
@@ -47,3 +46,9 @@
(include "defs/hildon-window.defs")
(include "defs/hildon-wizard-dialog.defs")
+(include "defs/hildon-file-chooser-dialog.defs")
+(include "defs/hildon-file-details-dialog.defs")
+(include "defs/hildon-file-selection.defs")
+(include "defs/hildon-file-system-common.defs")
+(include "defs/hildon-file-system-info.defs")
+(include "defs/hildon-file-system-model.defs")
Modified: projects/haf/trunk/python-hildon/setup.py
===================================================================
--- projects/haf/trunk/python-hildon/setup.py 2006-11-24 18:01:33 UTC (rev 8318)
+++ projects/haf/trunk/python-hildon/setup.py 2006-11-24 21:20:30 UTC (rev 8319)
@@ -15,6 +15,8 @@
-hildon-types.c.in"""
# Generate enum/flags run-time information
HILDON_TYPE_FILES = includedir+'/hildon-fm/hildon-widgets/hildon-file-system-model.h \
+ '+includedir+'/hildon-fm/hildon-widgets/hildon-file-system-common.h \
+ '+includedir+'/hildon-fm/hildon-widgets/hildon-file-selection.h \
'+includedir+'/hildon-widgets/hildon-date-editor.h \
'+includedir+'/hildon-widgets/hildon-font-selection-dialog.h \
'+includedir+'/hildon-widgets/hildon-grid-item.h \
@@ -39,6 +41,7 @@
--register '+defsdir+'/gdk.defs \
--register '+defsdir+'/gtk-types.defs \
--register '+defsdir+'/gtk.defs \
+ --register '+defsdir+'/gtk-base.defs \
--register '+defsdir+'/pango-types.defs \
--register defs/hildon-grid-item.defs \
--override '+filename+'.override \
- Previous message: [maemo-commits] r8318 - in projects/haf/trunk/python-hildon: . defs examples
- Next message: [maemo-commits] r8320 - in projects/haf/branches/hildon-fm/1.x: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
