[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/interface.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/interface.c |
Date: |
Mon, 09 May 2005 21:40:05 -0400 |
Index: graveman/current/src/interface.c
diff -u graveman/current/src/interface.c:1.43
graveman/current/src/interface.c:1.44
--- graveman/current/src/interface.c:1.43 Tue May 10 01:30:35 2005
+++ graveman/current/src/interface.c Tue May 10 01:40:03 2005
@@ -412,7 +412,6 @@
gboolean Lonlyone = TRUE;
const gchar *Llistename = glade_get_widget_name(Aliste);
GtkTreePath *Lpath = NULL;
- GtkTreeViewColumn *Lcol = NULL;
/* on cherche l'object selectionne, il peu y en avoir plusieur
* car on est en SELECTION_MULTIPLE */
@@ -546,19 +545,13 @@
if (Lcolid == 2) {
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(sc_grave_get_widget(Ag,
"popupdata_sort_name")), TRUE);
- Lcol = gtk_tree_view_get_column(GTK_TREE_VIEW(Aliste), Lcolid);
} else if (Lcolid == 3) {
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(sc_grave_get_widget(Ag,
"popupdata_sort_size")), TRUE);
- Lcol = gtk_tree_view_get_column(GTK_TREE_VIEW(Aliste), Lcolid);
+ } else if (Lcolid == 4) {
+ gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(sc_grave_get_widget(Ag,
"popupdata_sort_location")), TRUE);
} else {
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(sc_grave_get_widget(Ag,
"popupdata_sort_none")), TRUE);
}
-/* marche pas ! */
- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(sc_grave_get_widget(Ag,
"popupdata_sort_reverse")),
- (!GTK_IS_TREE_VIEW_COLUMN(Lcol) ||
gtk_tree_view_column_get_sort_order(Lcol)==GTK_SORT_ASCENDING) ?
- FALSE : TRUE
- );
-
return Lmenu;
}
@@ -1622,6 +1615,7 @@
Lcellrender = gtk_cell_renderer_text_new();
Lcell = gtk_tree_view_column_new_with_attributes(_("Location"), Lcellrender,
"text", 4, NULL);
+ gtk_tree_view_column_set_sort_column_id (Lcell, 4);
gtk_tree_view_append_column(Atreedata, Lcell);
/* icone de base dans la liste des fichiers */
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/01
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/02
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/02
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/09
- [Graveman-cvs] Changes to graveman/current/src/interface.c,
sylvain cresto <=
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/14
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/17
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/22
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/28