Commit 57e9dea1 authored by Maciej Stachowiak's avatar Maciej Stachowiak
Browse files

Remove unnecessary debugging statement.

	* components/tree/main.c (main): Remove unnecessary debugging
	statement.

	* components/tree/nautilus-tree-view.c
	(nautilus_tree_view_insert_file): Partly fix bugzilla task 1524 -
	show icons in tree view. Still need to
parent ad236624
2000-07-01 Maciej Stachowiak <mjs@eazel.com>
* components/tree/main.c (main): Remove unnecessary debugging
statement.
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_file): Partly fix bugzilla task 1524 -
show icons in tree view. Still need to
2000-07-01 J Shane Culpepper <pepper@eazel.com>
* components/services/install/command-line/.cvsignore:
......
......@@ -76,8 +76,6 @@ main (int argc, char *argv[])
CORBA_ORB orb;
BonoboGenericFactory *factory;
puts ("XXX: In tree component.");
/* Make criticals and warnings stop in the debugger if NAUTILUS_DEBUG is set.
* Unfortunately, this has to be done explicitly for each domain.
*/
......
......@@ -42,8 +42,10 @@
#include <libnautilus-extensions/nautilus-file.h>
#include <libnautilus-extensions/nautilus-link.h>
#include <libnautilus-extensions/nautilus-string.h>
#include <libnautilus-extensions/nautilus-icon-factory.h>
#include <libgnomevfs/gnome-vfs.h>
#include <stdio.h>
#define DISPLAY_TIMEOUT_INTERVAL_MSECS 500
......@@ -532,6 +534,8 @@ nautilus_tree_view_insert_file (NautilusTreeView *view, NautilusFile *file)
char *name;
char *text[2];
char *canonical_uri;
GdkPixmap *pixmap;
GdkBitmap *mask;
canonical_uri = nautilus_tree_view_get_canonical_uri (nautilus_file_get_uri (file));
......@@ -551,14 +555,22 @@ nautilus_tree_view_insert_file (NautilusTreeView *view, NautilusFile *file)
node = g_hash_table_lookup (view->details->uri_to_node_map, canonical_uri);
if (node == NULL) {
/* FIXME bugzilla.eazel.com 1524: still need to
respond to icon theme changes. */
nautilus_icon_factory_get_pixmap_and_mask_for_file (file,
NAUTILUS_ICON_SIZE_FOR_MENUS,
&pixmap,
&mask);
node = gtk_ctree_insert_node (GTK_CTREE (view->details->tree),
parent_node,
previous_sibling_node,
text,
TREE_SPACING,
/* FIXME bugzilla.eazel.com 1524:
get proper icons here maybe */
NULL, NULL, NULL, NULL,
pixmap, mask, pixmap, mask,
FALSE,
/* FIXME bugzilla.eazel.com 1525: should
......
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