[nautilus] Reorder assignments in mime application chooser
- From: Andrew Walton <awalton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Reorder assignments in mime application chooser
- Date: Mon, 3 Aug 2009 18:46:04 +0000 (UTC)
commit cfa61d576da08590bec118ce1ed03e7189a974b2
Author: A. Walton <awalton gnome org>
Date: Mon Aug 3 14:44:39 2009 -0400
Reorder assignments in mime application chooser
Writing over toggle_renderer with the wrong cell renderer.
.../nautilus-mime-application-chooser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-mime-application-chooser.c b/libnautilus-private/nautilus-mime-application-chooser.c
index ea586d7..641b8f9 100644
--- a/libnautilus-private/nautilus-mime-application-chooser.c
+++ b/libnautilus-private/nautilus-mime-application-chooser.c
@@ -258,6 +258,7 @@ create_tree_view (NautilusMimeApplicationChooser *chooser)
COLUMN_DEFAULT,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
+ chooser->details->toggle_renderer = renderer;
renderer = gtk_cell_renderer_pixbuf_new ();
g_object_set (renderer, "stock-size", GTK_ICON_SIZE_LARGE_TOOLBAR, NULL);
@@ -268,7 +269,6 @@ create_tree_view (NautilusMimeApplicationChooser *chooser)
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
- chooser->details->toggle_renderer = renderer;
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes (_("Name"),
renderer,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]