Commit 89f2aab3 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Display compact view after list view, rather than before it. Fixes

2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-icon-view.c (fm_icon_view_register),
	(fm_compact_view_register):
	* src/file-manager/fm-icon-view.h:
	* src/nautilus-application.c (nautilus_application_instance_init):
	* src/nautilus-file-management-properties.c:
	* src/nautilus-file-management-properties.glade:
	Display compact view after list view, rather than before it. Fixes
	keybindings, and #543934. Thanks to Diego Escalante Urrelo.

svn path=/trunk/; revision=14384
parent 2d8d5b33
2008-07-21 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-icon-view.c (fm_icon_view_register),
(fm_compact_view_register):
* src/file-manager/fm-icon-view.h:
* src/nautilus-application.c (nautilus_application_instance_init):
* src/nautilus-file-management-properties.c:
* src/nautilus-file-management-properties.glade:
Display compact view after list view, rather than before it. Fixes
keybindings, and #543934. Thanks to Diego Escalante Urrelo.
2008-07-21 Christian Neumair <cneumair@gnome.org>
* src/nautilus-location-bar.c (editable_activate_callback),
......
......@@ -3023,7 +3023,12 @@ fm_icon_view_register (void)
{
TRANSLATE_VIEW_INFO (fm_icon_view)
nautilus_view_factory_register (&fm_icon_view);
}
void
fm_compact_view_register (void)
{
TRANSLATE_VIEW_INFO (fm_compact_view)
nautilus_view_factory_register (&fm_compact_view);
}
......@@ -116,5 +116,6 @@ void fm_icon_view_filter_by_screen (FMIconView *icon_view, gboolean filter);
gboolean fm_icon_view_is_compact (FMIconView *icon_view);
void fm_icon_view_register (void);
void fm_compact_view_register (void);
#endif /* FM_ICON_VIEW_H */
......@@ -217,6 +217,7 @@ nautilus_application_instance_init (NautilusApplication *application)
fm_icon_view_register ();
fm_desktop_icon_view_register ();
fm_list_view_register ();
fm_compact_view_register ();
#if ENABLE_EMPTY_VIEW
fm_empty_view_register ();
#endif /* ENABLE_EMPTY_VIEW */
......
......@@ -79,8 +79,8 @@
static const char * const default_view_values[] = {
"icon_view",
"compact_view",
"list_view",
"compact_view",
NULL
};
......
......@@ -168,8 +168,8 @@
<widget class="GtkComboBox" id="default_view_combobox">
<property name="visible">True</property>
<property name="items" translatable="yes">Icon View
Compact View
List View</property>
List View
Compact View</property>
<property name="add_tearoffs">False</property>
<property name="focus_on_click">True</property>
</widget>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment