Skip to content
Snippets Groups Projects
Commit 28d92884 authored by Benedikt Meurer's avatar Benedikt Meurer
Browse files

2006-11-26 Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-window.c(thunar_window_init): Add shortcuts <control>1,
	  <control>2 and <control>3 to switch between icon, detailed list and
	  compact list view. Bug #2600.




(Old svn revision: 23959)
parent ef935d30
No related branches found
No related tags found
No related merge requests found
2006-11-26 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-window.c(thunar_window_init): Add shortcuts <control>1,
<control>2 and <control>3 to switch between icon, detailed list and
compact list view. Bug #2600.
2006-11-12 Benedikt Meurer <benny@xfce.org> 2006-11-12 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-launcher.c(thunar_launcher_dispose): Fix a possible * thunar/thunar-launcher.c(thunar_launcher_dispose): Fix a possible
......
...@@ -606,21 +606,21 @@ thunar_window_init (ThunarWindow *window) ...@@ -606,21 +606,21 @@ thunar_window_init (ThunarWindow *window)
*/ */
radio_action = gtk_radio_action_new ("view-as-icons", _("View as _Icons"), _("Display folder content in an icon view"), radio_action = gtk_radio_action_new ("view-as-icons", _("View as _Icons"), _("Display folder content in an icon view"),
NULL, THUNAR_TYPE_ICON_VIEW); NULL, THUNAR_TYPE_ICON_VIEW);
gtk_action_group_add_action (window->action_group, GTK_ACTION (radio_action)); gtk_action_group_add_action_with_accel (window->action_group, GTK_ACTION (radio_action), "<control>1");
gtk_radio_action_set_group (radio_action, NULL); gtk_radio_action_set_group (radio_action, NULL);
group = gtk_radio_action_get_group (radio_action); group = gtk_radio_action_get_group (radio_action);
g_object_unref (G_OBJECT (radio_action)); g_object_unref (G_OBJECT (radio_action));
radio_action = gtk_radio_action_new ("view-as-detailed-list", _("View as _Detailed List"), _("Display folder content in a detailed list view"), radio_action = gtk_radio_action_new ("view-as-detailed-list", _("View as _Detailed List"), _("Display folder content in a detailed list view"),
NULL, THUNAR_TYPE_DETAILS_VIEW); NULL, THUNAR_TYPE_DETAILS_VIEW);
gtk_action_group_add_action (window->action_group, GTK_ACTION (radio_action)); gtk_action_group_add_action_with_accel (window->action_group, GTK_ACTION (radio_action), "<control>2");
gtk_radio_action_set_group (radio_action, group); gtk_radio_action_set_group (radio_action, group);
group = gtk_radio_action_get_group (radio_action); group = gtk_radio_action_get_group (radio_action);
g_object_unref (G_OBJECT (radio_action)); g_object_unref (G_OBJECT (radio_action));
radio_action = gtk_radio_action_new ("view-as-compact-list", _("View as _Compact List"), _("Display folder content in a compact list view"), radio_action = gtk_radio_action_new ("view-as-compact-list", _("View as _Compact List"), _("Display folder content in a compact list view"),
NULL, THUNAR_TYPE_COMPACT_VIEW); NULL, THUNAR_TYPE_COMPACT_VIEW);
gtk_action_group_add_action (window->action_group, GTK_ACTION (radio_action)); gtk_action_group_add_action_with_accel (window->action_group, GTK_ACTION (radio_action), "<control>3");
gtk_radio_action_set_group (radio_action, group); gtk_radio_action_set_group (radio_action, group);
group = gtk_radio_action_get_group (radio_action); group = gtk_radio_action_get_group (radio_action);
g_object_unref (G_OBJECT (radio_action)); g_object_unref (G_OBJECT (radio_action));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment