[maemo-commits] [maemo-commits] r15892 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Aug 26 15:15:11 EEST 2008
- Previous message: [maemo-commits] r15891 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
- Next message: [maemo-commits] r15893 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: yangli Date: 2008-08-26 15:15:02 +0300 (Tue, 26 Aug 2008) New Revision: 15892 Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c Log: fix the bug about no filtering in open dialog Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c =================================================================== --- projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c 2008-08-26 11:49:12 UTC (rev 15891) +++ projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c 2008-08-26 12:15:02 UTC (rev 15892) @@ -1112,7 +1112,10 @@ gtk_widget_hide(priv->hbox_items); gtk_widget_set_size_request(GTK_WIDGET(priv->filetree), FILE_SELECTION_WIDTH_TOTAL, - FILE_SELECTION_HEIGHT); + FILE_SELECTION_HEIGHT); + hildon_file_selection_set_invisible_files(priv->filetree, + priv->invisible_files); + hildon_file_selection_set_filter(priv->filetree, NULL); gtk_widget_show(GTK_WIDGET(priv->filetree)); hildon_file_selection_show_content_pane(priv->filetree); hildon_file_selection_hide_navigation_pane(priv->filetree); @@ -1319,7 +1322,7 @@ priv = HILDON_FILE_CHOOSER_DIALOG(dialog)->priv; g_assert(HILDON_IS_FILE_SELECTION(priv->filetree)); - hildon_file_selection_set_invisible_files(priv->filetree, + hildon_file_selection_set_invisible_files(priv->filetree, priv->invisible_files); hildon_file_selection_set_filter(priv->filetree, NULL); sync_current_folders(self, HILDON_FILE_CHOOSER_DIALOG(dialog)); @@ -2384,7 +2387,7 @@ NULL); hildon_file_selection_set_invisible_files(priv->filetree, - priv->invisible_files); + priv->invisible_files); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(obj)->vbox), priv->hbox_address, FALSE, TRUE, 0);
- Previous message: [maemo-commits] r15891 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
- Next message: [maemo-commits] r15893 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]