Pablo Hdez-M. Saiz wrote:
> How can I change the default view to list mode ?
> I have tried at line 301 in thunar-window.c but it doesn't work.(I'm not
> a programmer)

Not sure what you tried to change in line 301. Attached to this mail is
a simple patch to change the default view to the details view.

> thanks.

HTH,
Benedikt
Index: thunar-window.c
===================================================================
--- thunar-window.c	(revision 18428)
+++ thunar-window.c	(working copy)
@@ -244,6 +244,7 @@
   gtk_action_group_add_action (window->action_group, GTK_ACTION (radio_action));
   gtk_radio_action_set_group (radio_action, group);
   group = gtk_radio_action_get_group (radio_action);
+  gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (radio_action), TRUE);
   g_object_unref (G_OBJECT (radio_action));
 
   window->ui_manager = gtk_ui_manager_new ();
_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to