Vous n'êtes pas identifié(e).
Pages : 1
Seul Dolphin classe dans l'ordre du code hexadécimal des caractères :
Savez-vous si ce comportement est configurable ?
Hors ligne
sort_type
du fichier
.config/pcmanfm/LXDE.conf
.config/pcmanfm/pcmanfm.conf
Dernière modification par Switch (05-09-2012 11:47:28)
Hors ligne
Hors ligne
grep -nriC 5 MOT *
dans le dossier des sources pour répérer les endroits à fouiller
**
* fm_folder_view_sort
* @fv: a widget to apply
* @type: new mode of sorting (ascending or descending)
* @by: criteria of sorting
*
* Changes sorting in the view.
*
* Since: 0.1.0
*/
void fm_folder_view_sort(FmFolderView* fv, GtkSortType type, FmFolderModelViewCol by)
{
FmFolderViewInterface* iface;
FmFolderModel* model;
GtkSortType sort_type;
FmFolderModelViewCol sort_by;
g_return_if_fail(FM_IS_FOLDER_VIEW(fv));
iface = FM_FOLDER_VIEW_GET_IFACE(fv);
iface->get_sort(fv, &sort_type, &sort_by);
if(type == GTK_SORT_ASCENDING || type == GTK_SORT_DESCENDING)
sort_type = type;
if(FM_FOLDER_MODEL_COL_IS_VALID(by))
sort_by = by;
iface->set_sort(fv, sort_type, sort_by);
model = iface->get_model(fv);
if(model)
gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(model),
sort_by, sort_type);
/* model will generate signal to update config if changed */
}
Les sources sont a obtenir avec git:
git clone git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/libfm
Hors ligne
Hors ligne
Hors ligne
Pages : 1