Commit graph

7200 commits

Author SHA1 Message Date
Dave Camp
71a7d61351 Removed.
2002-02-25  Dave Camp  <dave@ximian.com>

	* components/news/nautilus-news-pixmaps.h: Removed.

	* components/news/Makefile.am: Build
	nautilus-cell-renderer-news.c, don't build
	nautilus-news-pixmaps.h.

	* components/news/nautilus-news.c:
	(toggle_open_state), (rss_logo_callback),
	(set_bonobo_properties), (rss_read_done_callback),
	(max_items_changed), (set_views_for_mode), (switch_page),
	(configure_button_clicked), (add_site_button_clicked),
	(add_site_from_fields), (remove_selected_site),
	(nautilus_news_load_location), (empty_message_size_allocate),
	(set_up_edit_widgets), (set_up_configure_widgets),
	(set_up_main_widgets), (make_news_view): use a GtkNotebook to
	store the pages of the news view, and switch between them instead
	of individually hiding and showing the widgets when pages are
	flipped.  This allowed all the size negotiation code to go away,
	as the GtkNotebook takes care of it.

	* components/news/nautilus-news.c: (update_node),
	(get_channel_markup), (get_item_markup), (set_bonobo_properties),
	(do_destroy), (go_to_uri), (set_row_widths), (wrap_idle),
	(nautilus_news_size_allocate), (node_data_for_path),
	(nautilus_news_activate_path), (nautilus_news_row_activated),
	(nautilus_news_button_release_event), (nautilus_news_set_title),
	(free_rss_data_item), (free_channel),
	(nautilus_news_set_news_changed), (clear_channel_changed_flags),
	(nautilus_news_make_channel_document), (rss_logo_callback),
	(extract_items), (has_matching_uri), (mark_new_items),
	(extract_rss_title), (extract_scripting_news_title),
	(rss_read_done_callback), (nautilus_news_insert_channel),
	(nautilus_news_load_channel), (detach_items), (remove_items),
	(update_channels), (update_items),
	(nautilus_news_make_new_channel), (nautilus_news_add_channels),
	(nautilus_news_load_images), (nautilus_news_cell_data_func),
	(nautilus_news_row_expanded), (nautilus_news_row_collapsed),
	(max_items_changed),
	(add_channel_to_remove_list), (add_site_from_fields),
	(remove_selected_site), (add_command_buttons),
	(nautilus_news_load_location), (add_channel_entry),
	(empty_message_size_allocate), (make_remove_widgets),
	(set_up_configure_widgets), (set_up_main_widgets),
	(make_news_view):  Use a GtkTreeView to render the news.

	(make_news_view): Remove the #ifdef GNOME2_CONVERSION_COMPLETE
	and send the proper arguments to bonobo_control_set_properties.
	(nautilus_news_set_news_changed): Remove the #ifdef
	GNOME2_CONVERSION_COMPLETE and replace
	bonobo_property_bag_notify_listeners with a
	bonobo_event_source_notify_listeners_full call.
2002-02-27 06:40:17 +00:00
Alexander Larsson
4b6f6e0a63 Fix typo that used NAUTILUS_ZOOM_LEVEL_STANDARD instead of
2002-02-26  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-icon-factory.c (load_icon_for_scaling):
	Fix typo that used NAUTILUS_ZOOM_LEVEL_STANDARD instead of
	NAUTILUS_ICON_SIZE_STANDARD. This made nautilus cache many icons twice.
	(get_icon_from_cache): Need to handle the case where an inner
	get_icon_from_cache call already put the icon in the cache.
2002-02-27 04:46:55 +00:00
Darin Adler
5bfec7b1d5 Remove stray line of code.
* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_set_font_size_table): Remove stray line of code.

	* libnautilus-private/nautilus-icon-private.h: Remove unused field.
2002-02-27 02:19:28 +00:00
Michael Meeks
a02c428eab fix the undo manager impl. to map the servant properly.
2002-02-27  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-undo-manager.c
	(corba_append, corba_forget, corba_undo): fix the
	undo manager impl. to map the servant properly.

2002-02-26  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-entry.c
	(nautilus_entry_get_type): write out in full so we
	can handle the editable interface.
	(nautilus_entry_editable_init): setup the editable
	interface.
	(nautilus_entry_set_selection_bounds),
	(nautilus_entry_insert_text),
	(nautilus_entry_delete_text): re-instate.
2002-02-27 01:18:43 +00:00
Darin Adler
f5874fd25f Simplified calls to bonobo_object_ref/unref.
* Many files:
	Simplified calls to bonobo_object_ref/unref.

	* components/history/nautilus-history-view.c: (update_history):
	Fixed so that a history update while one is already in progress
	will work properly.

	* libnautilus/nautilus-view.c:
	(remove_listener): New.
	(update_listener): Renamed from nautilus_view_set_frame, made it
	handle various cases better. Fixed leak of property bag.
	(forget_cached_view_frame): New.
	(nautilus_view_set_frame_callback): Use new forget_cached_view_frame
	and update_listener.
	(nautilus_view_construct_from_bonobo_control): Use
	g_signal_connect_object.  Not sure if this is better, since they
	are part of the same aggregate.
	(nautilus_view_finalize): Use new forget_cached_view_frame and
	remove_listener.
	(nautilus_view_dispose): Use new forget_cached_view_frame and
	remove_listener.
	(nautilus_view_get_view_frame): Fixed leak of control frame.
	(nautilus_view_set_listener_mask): Simplified, and made it work even
	if you call it multiple times, by calling new update_listener.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(create_label_layout): Handle NULL font_name case just in case.
	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_set_zoom_level): Use
	invalidate_label_sizes instead of setting update_icon_font.
	(nautilus_icon_container_set_font_name): Do nothing if font name
	doesn't change. If it does, use invalidate_label_sizes rather than
	setting update_icon_font.
	(nautilus_icon_container_set_font_size_table): Only redraw if font
	size changes. Also, use invalidate_label_sizes rather than setting
	update_icon_font.

	* libnautilus-private/nautilus-directory.c:
	(add_preferences_callbacks):
	* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory):
	Initialize global preferences as needed.

	* src/file-manager/fm-icon-view.c: (fm_icon_view_finalize):
	* src/file-manager/fm-search-list-view.c: (real_destroy):
	* src/nautilus-application.c: (nautilus_application_destroy),
	(nautilus_application_create_window),
	(nautilus_application_class_init):
	* src/nautilus-main.c: (main):

	* src/nautilus-view-frame.c: (create_corba_objects): Fix property
	bag leak.
2002-02-27 01:17:11 +00:00
Michael Meeks
8f111d136e only set the selection if we have some items.
2002-02-26  Michael Meeks  <michael@ximian.com>

	* components/history/nautilus-history-view.c
	(update_history): only set the selection if we have
	some items.
2002-02-26 23:40:47 +00:00
David Emory Watson
666cacb365 UTF8 fixes. (try_to_expand_path): UTF8 and gtk_editable fixes.
2002-02-26  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/nautilus-location-bar.c:
	(accumulate_name),
	(has_exactly_one_slash): UTF8 fixes.
	(try_to_expand_path): UTF8 and gtk_editable fixes.
	(get_editable_length): Rename to
	(get_editable_number_of_chars): this and include UTF8 fixes.
	(editable_key_press_callback): Rename to
	(editable_event_after_callback): this.  Modify to skip non key_press
	events.
	(nautilus_location_bar_init): Replace marshaled key_press_event signal
	with normal event_after signal.
2002-02-26 20:10:24 +00:00
Darin Adler
1b0897e035 Patch from Havard Wigtil that makes us return the right name, rather than
* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_display_name): Patch from Havard Wigtil
	that makes us return the right name, rather than returning
	an already-freed pointer.
2002-02-26 18:54:38 +00:00
Stanislav Visnovsky
defaff8d55 Updated Slovak translation.
2002-02-26  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.
2002-02-26 15:39:38 +00:00
Andraz Tori
d4f7223b2c Updated Slovenian translation 2002-02-26 00:38:35 +00:00
Darin Adler
757fffa9cc Bump version.
* configure.in: Bump version.
2002-02-25 23:21:24 +00:00
Anders Carlsson
a77d59c98b Doh, the timeout should be 50 msecs 2002-02-25 23:16:39 +00:00
Anders Carlsson
c79cb55876 Use gtk_widget_get_toplevel to find out the top-level window.
2002-02-26  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-drag-window.c
	(drag_begin_emission_callback):
	Use gtk_widget_get_toplevel to find out the top-level
	window.
2002-02-25 23:15:01 +00:00
Anders Carlsson
91505c780c Get the don't-raise-on-drag feature working again.
2002-02-25  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-drag-window.c:
	(wm_protocols_filter), (nautilus_drag_window_realize),
	(nautilus_drag_window_register):
	Get the don't-raise-on-drag feature working again.
2002-02-25 22:04:11 +00:00
Anders Carlsson
9f473be479 Let "Loading" and "Empty" special nodes be italic.
2002-02-25  Anders Carlsson  <andersca@gnu.org>

	* components/tree/nautilus-tree-model.c:
	(nautilus_tree_model_get_column_type),
	(nautilus_tree_model_get_value):
	* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-view.c: (create_tree):
	Let "Loading" and "Empty" special nodes be italic.

	* libnautilus-private/nautilus-global-preferences.c:
	(default_font_callback):
	Return "sans" here instead of "fixed"

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(draw_or_measure_label_text), (create_label_layout),
	Set font from icon container name, use gdk_gc_set_rgb_fg_color.

	* libnautilus-private/nautilus-icon-container.c: (finalize):
	(realize), (nautilus_icon_container_init),
	(nautilus_icon_container_update_icon),
	(nautilus_icon_container_set_zoom_level),
	(nautilus_icon_container_request_update_all),
	(nautilus_icon_container_get_label_color), (update_label_color),
	(nautilus_icon_container_theme_changed),
	(nautilus_icon_container_set_font_name),
	(nautilus_icon_container_set_font_size_table):
	Add support for setting fonts, and fix some bugs with the
	label color handling.

	* libnautilus-private/nautilus-icon-container.h:
	Add nautilus_icon_container_set_font_name and
	nautilus_icon_container_set_font_size_table.

	* libnautilus-private/nautilus-icon-factory.c:
	(embedded_text_font_changed_callback), (embed_text):
	Set the font of the embedded text to the default font.

	* libnautilus-private/nautilus-icon-private.h:
	Add font name and font size table variables to
	NautilusIconContainerDetails.

	* libnautilus-private/nautilus-program-chooser.c:
	(nautilus_program_chooser_init):
	Fix button ordering according to the HIG.

	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_update_icon_container_fonts),
	(fm_icon_view_update_icon_container_font_size_table):
	Set font name and font size table in the icon container.

	* src/nautilus-sidebar-tabs.c:
	(nautilus_sidebar_tabs_load_theme_data),
	(default_font_changed_callback), (nautilus_sidebar_tabs_init),
	(nautilus_sidebar_tabs_destroy), (draw_one_tab_plain),
	(draw_one_tab_themed):
	Use the "default font" preference.

	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_class_init),
	(default_font_changed_callback), (nautilus_sidebar_title_init),
	(nautilus_sidebar_title_destroy), (update_title_font):
	Use the "default font" preference.

	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
	Use the GnomeAbout widget.
2002-02-25 21:05:57 +00:00
Michael Meeks
21fb75e0e8 kill deprecated code, use gtk_window_set_transient instead.
2002-02-25  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-file-operations.c
	(fit_rect_on_screen, center_dialog_over_rect),
	(center_dialog_over_window): kill deprecated code, use
	gtk_window_set_transient instead.

	* libnautilus-private/nautilus-file-operations-progress.c
	(nautilus_file_operations_progress_init): setup the default
	dialog width instead of the bar's.

2002-02-21  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-customization-data.c
	(add_reset_text): port, requires new eel API.
2002-02-25 18:28:39 +00:00
Alexander Larsson
f8d8964052 Render svg icons at the right size. 2002-02-25 17:50:59 +00:00
Darin Adler
2140800694 Bump required versions of some things.
* configure.in: Bump required versions of some things.
2002-02-25 17:33:46 +00:00
Seth Nickell
9643671c3b Convert deprecated use of GtkProgress to GtkProgressBar to fix the build.
2002-02-24  Seth Nickell  <snickell@stanford.edu>

	* src/file-manager/nautilus-indexing-info.c:
	(update_progress_display), (index_progress_dialog_new):

	Convert deprecated use of GtkProgress to GtkProgressBar
	to fix the build.
2002-02-25 12:55:11 +00:00
Alexander Larsson
5cc6bb0054 Enable gdk_window_set_back_pixmap() again. This limits flicker when
2002-02-24  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-directory-background.c (image_loading_done_callback):
	Enable gdk_window_set_back_pixmap() again. This limits flicker when
	switching workspaces and moving windows.
2002-02-25 04:31:01 +00:00
Alexander Larsson
a5db2885ad Don't set background pixmap None. Gtk+ already does that when scrolling
2002-02-24  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-icon-container.c (realize):
	Don't set background pixmap None. Gtk+ already does that when
	scrolling windows these days, and due to a bug in Gtk+ (now fixed)
	this was actually making that feature not work!
2002-02-25 04:03:25 +00:00
Alexander Larsson
de00e52170 Set the default icon list for all windows. (nautilus_window_realize):
2002-02-23  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-window.c (nautilus_window_class_init):
	Set the default icon list for all windows.
	(nautilus_window_realize): Remove old
	GNOME2_CONVERSION_COMPLETE code for setting the window
	icon.
2002-02-24 03:49:16 +00:00
Carlos Perell Marn
18a1667300 Updated with our translation memory && some personal updates.
2002-02-23  Carlos Perell Marn <carlos@gnome-db.org>

	* es.po: Updated with our translation memory && some personal
	updates.
2002-02-23 14:50:53 +00:00
Gediminas Paulauskas
3f5c8719a3 fix my fixes as Michael Meeks suggested:
default:
}

is almost certainly broken; you need a break; in there. You
should not
need a '; break;' or your compiler is hosed ;-)
2002-02-23 11:44:35 +00:00
Gediminas Paulauskas
eacf94ca6f remove obsolete GNOME_COMMON_INIT and GNOME_PLATFORM_GNOME_2 macros.
2002-02-22  Gediminas Paulauskas <menesis@delfi.lt>

	* configure.in: remove obsolete
	GNOME_COMMON_INIT and GNOME_PLATFORM_GNOME_2 macros.
	* libnautilus-private/nautilus-file-operations.c
	(handle_transfer_duplicate):
	* libnautilus-private/nautilus-icon-dnd.c
	(nautilus_icon_container_get_drop_action):
	* libnautilus-private/nautilus-volume-monitor.c
	(mount_volume_deactivate):
	remove empty default: label to fix warning on gcc 3.
	* libnautilus-private/nautilus-icon-container.c (clear_drag_state):
	fix typo.
2002-02-22 21:30:19 +00:00
Darin Adler
010823126c New. (clear_drag_state): Use remove_context_menu_timeout.
* libnautilus-private/nautilus-icon-container.c:
	(remove_context_menu_timeout): New.
	(clear_drag_state): Use remove_context_menu_timeout.
	(motion_notify_event): Use remove_context_menu_timeout.
	This fixes a bug where you might end up with two timeouts.
	Remove the code marked "KLUDGE ALERT" which seemed to mess
	up dragging coordinates.
2002-02-22 19:43:59 +00:00
Darin Adler
bd4d58d8ba Remove libbackground/applier.c, because it's not in the tarball, just in
* POTFILES.in: Remove libbackground/applier.c, because it's
	not in the tarball, just in cvs, so it breaks tarball builds.
	Remove nautilus-icon-text-item.c.
	* POTFILES.skip: Remove image-viewer.
2002-02-22 19:14:01 +00:00
Darin Adler
4734587d36 Remove. Remove.
* libnautilus-private/Makefile.am:
	* libnautilus-private/nautilus-icon-text-item.c: Remove.
	* libnautilus-private/nautilus-icon-text-item.h: Remove.

	* libnautilus-private/nautilus-file-dnd.h:
	* libnautilus-private/nautilus-file-dnd.c:
	(nautilus_drag_file_receive_dropped_keyword): Use const char *.

	* libnautilus-private/nautilus-icon-container.c:
	(rubberband_timeout_callback), (start_rubberbanding),
	(update_stretch_at_idle), (button_release_event),
	(motion_notify_event), (handle_icon_button_press):
	* libnautilus-private/nautilus-icon-dnd.c: (icon_get_data_binder),
	(nautilus_icon_container_position_shadow),
	(receive_dropped_keyword), (receive_dropped_uri_list),
	(nautilus_icon_container_find_drop_target),
	(nautilus_icon_container_receive_dropped_icons),
	(nautilus_icon_container_get_drop_action),
	(nautilus_icon_dnd_update_drop_target),
	(nautilus_icon_dnd_begin_drag):
	Use eel_gtk_widget_get_button_event_location and
	eel_gnome_canvas_widget_to_world and the other similar functions
	to fix coordinate handling. Also some const char * fixes.

	* libnautilus-private/nautilus-icon-private.h: window -> widget

	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-directory-view.c:
	fm_directory_get_selected_icon_locations ->
	fm_directory_view_get_selected_icon_locations
2002-02-22 18:54:21 +00:00
Josh Barrow
c5bd891abd Changed my e-mail address. Screw the changelog entry...
Changed my e-mail address.  Screw the changelog entry...
2002-02-22 03:05:51 +00:00
Christian Rose
058595cc6f Updated Swedish translation.
2002-02-22  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2002-02-22 02:18:24 +00:00
Darin Adler
130c90ea4f Update names in a few places.
* AUTHORS:
	* HACKING:
	* MAINTAINERS:
	* README:
	Update names in a few places.

	* src/nautilus-main.c: (main): Remove obsolete ENABLE_NLS comment.
2002-02-22 02:13:39 +00:00
Kjartan Maraas
2f175b2441 Remove #ifdef ENABLE_NLS since it's not supported in GNOME 2. Same here.
2002-02-22  Kjartan Maraas  <kmaraas@gnome.org>

	* components/hardware/main.c: Remove #ifdef ENABLE_NLS since it's not
	supported in GNOME 2.
	* components/music/fileinfo.c: Same here.
	* libnautilus/nautilus-view-standard-main. Here too.
	* src/nautilus-main.c: Same here.
2002-02-22 01:53:42 +00:00
Kjartan Maraas
4d3325dbcc Use GETTEXT_PACKAGE. Same here. Same here. Same here. Same. Same
2002-02-22  Kjartan Maraas  <kmaraas@gnome.org>

	* components/hardware/main.c: Use GETTEXT_PACKAGE.
	* components/history/nautilus-history-view.c: Same here.
	* components/music/main.c: Same here.
	* components/news/nautilus-news.c: Same here.
	* components/notes/nautilus-notes.c: Same.
	* components/text/main.c: Same
2002-02-22 01:12:42 +00:00
Jody Goldberg
de3285877f typo.
2002-02-21  Jody Goldberg <jody@gnome.org>

	* components/adapter/nautilus-adapter-control-factory-embed-strategy.c
	  (nautilus_adapter_control_factory_embed_strategy_new) : typo.
2002-02-22 00:16:09 +00:00
Jody Goldberg
3971692624 add DISABLE_DEPRECATED_CFLAGS. ProgressiveDataSink is gone in gnome2. use
2002-02-20  Jody Goldberg <jody@gnome.org>

	* components/adapter/Makefile.am : add DISABLE_DEPRECATED_CFLAGS.
	* components/adapter/nautilus-adapter-load-strategy.c
	(nautilus_adapter_load_strategy_get) : ProgressiveDataSink is gone in
	  gnome2.
	* components/adapter/nautilus-adapter-embed-strategy.c
	(nautilus_adapter_embed_strategy_class_init) : use g_cclosure_marshal_*
	  which are not deprecated.
	(nautilus_adapter_embed_strategy_get) : try ControlFactory in place of
	  Embeddable.
	* components/adapter/nautilus-adapter-control-factory-embed-strategy.c :
	* components/adapter/nautilus-adapter-control-factory-embed-strategy.c :
	  Renamed from nautilus-adapter-embeddable-embed-strategy.c
	  Convert to ControlFactory.
	* components/adapter/nautilus-adapter-control-factory-embed-strategy.h :
	  Convert to G_* casts.
	* components/adapter/nautilus-adapter.c :
	  s/gtk_signal_disconnect/g_signal_handler_disconnect/
2002-02-21 20:17:39 +00:00
Darin Adler
dea1791297 Remove. Michael already took it out of the tarball, so I am removing it
* components/image-viewer/: Remove. Michael already took it out of the
	tarball, so I am removing it from cvs for clarity.

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_init): Use g_signal_connect_object with
	G_CONNECT_SWAPPED instead of g_signal_connect_closure.

	* src/nautilus-desktop-window.c: Some code cleanup.
2002-02-21 19:55:42 +00:00
Darin Adler
e4615d8446 Remove nautilus-desktop-file-loader.[ch]. Remove. Remove.
* libnautilus-private/Makefile.am: Remove nautilus-desktop-file-loader.[ch].
	* libnautilus-private/nautilus-desktop-file-loader.c: Remove.
	* libnautilus-private/nautilus-desktop-file-loader.h: Remove.

	* libnautilus-private/nautilus-directory-async.c:
	(link_info_nautilus_link_read_callback): Pass in NULL for the new
	optional URI parameter for parsing existing link files.

	* libnautilus-private/nautilus-link-desktop-file.h:
	* libnautilus-private/nautilus-link-desktop-file.c:
	Change to use GnomeDesktopItem instead of NautilusDesktopFile.

	* libnautilus-private/nautilus-link.h:
	* libnautilus-private/nautilus-link.c:
	(nautilus_link_get_link_uri_given_file_contents),
	(nautilus_link_get_link_name_given_file_contents),
	(nautilus_link_get_link_icon_given_file_contents):
	Add optional URI parameter for parsing existing link files. This
	is passed down to the GnomeDesktopItem level, which can sometimes
	do a better job if it knows the URI.

	* src/file-manager/fm-directory-view.c: (activate_callback):
	Change to use GnomeDesktopItem instead of NautilusDesktopFile. Also,
	simplify error handling.

	* Many files:
	Fix includes to use <> style in headers more consistently, and remove
	unnecessarily includes.
2002-02-21 19:26:52 +00:00
Michael Meeks
004fb1ff2c do the clipping with a new eel method.
2002-02-20  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-factory.c
	(embed_text): do the clipping with a new eel method.
2002-02-21 10:10:59 +00:00
Kjartan Maraas
4c998001e3 Use GETTEXT_PACKAGE, not just PACKAGE in the bindtextdomain functions.
2002-02-21  Kjartan Maraas  <kmaraas@gnome.org>

	* src/nautilus-main.c: Use GETTEXT_PACKAGE, not just PACKAGE
	in the bindtextdomain functions.
2002-02-21 08:19:00 +00:00
Jens Finke
0e62e3a257 Added gtk stock item fallback which is used if a custom icon wasn't found.
2002-02-20  Jens Finke <jens@triq.net>

	* src/nautilus-window-toolbars.c
	(set_up_standard_bonobo_button),
	(set_up_special_bonobo_button): Added gtk stock item fallback
	which is used if a custom icon wasn't found.
	(set_up_toolbar_images): Define proper stock item replacements.
2002-02-21 08:05:46 +00:00
David Emory Watson
c7a6e86a7d Avoid race condition by resetting scripts_invalid flag before we build the
2002-02-20  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/fm-directory-view.c:
	(update_scripts_menu): Avoid race condition by resetting
	scripts_invalid flag before we build the script menus.
	(update_directory_in_scripts_menu): Simplified code.
	(add_scripts_directory): Moved into
	(add_directory_to_scripts_directory_list): here.
	(remove_scripts_directory): Renamed to
	(remove_directory_from_scripts_directory_list): this.
	(update_scripts_menu): Made code more readable.
2002-02-20 23:15:30 +00:00
Jens Finke
b4339ade14 Call gnome2 background setting program.
2002-02-20  Jens Finke <jens@triq.net>

	* src/file-manager/fm-desktop-icon-view.c
	(change_background_callback): Call gnome2 background setting
	program.
2002-02-20 18:20:42 +00:00
jacob berkman
c3cf4d2db4 s/g_signal_connect_object/g_signal_connect_swapped/, as this was
2002-02-20  jacob berkman  <jacob@ximian.com>

	* src/file-manager/nautilus-indexing-info.c:
	(show_index_progress_dialog), (show_last_index_time_dialog),
	(show_indexing_info_dialog):
	s/g_signal_connect_object/g_signal_connect_swapped/, as this was
	gtk_signal_connect_object which is not the same as
	g_signal_connect_object
2002-02-20 17:55:25 +00:00
Michael Meeks
e776382d52 remove usize mis-use.
2002-02-20  Michael Meeks  <michael@ximian.com>

	* components/throbber/nautilus-throbber.c
	(nautilus_throbber_set_small_mode): remove usize
	mis-use.

	* components/text/nautilus-text-view.c: remove
	bogus ghttp include.

	* components/music/nautilus-music-view.c
	(image_button_callback): upd. signal handling.
	(xpm_dual_label_box, xpm_label_box): upd. container
	border width.
	(nautilus_music_view_update): fix leak & upd.
	path handling.

	* components/music/mpg123.c (eval_id3_format),
	(mpg123_format_song_title): upd. path handling.

	* components/hardware/main.c: include string.h

	* components/hardware/nautilus-hardware-view.c
	(setup_form_title): use gnome_program_locate_file.

	* components/hardware/Makefile.am,
	* components/sample/Makefile.am,
	* components/tree/Makefile.am,
	* components/text/Makefile.am,
	* components/throbber/Makefile.am,
	* components/music/Makefile.am: add disable
	deprecated cflags.

	* components/Makefile.am: remove image_viewer

	* configure.in: upd.
2002-02-20 16:43:20 +00:00
Michael Meeks
b7d36b2b63 don't spew debug as we disconnect from a dead parent.
2002-02-20  Michael Meeks  <michael@ximian.com>

	* libnautilus/nautilus-view.c
	(nautilus_view_set_frame): don't spew debug as we
	disconnect from a dead parent.

	* src/nautilus-sidebar-tabs.c
	(tab_item_destroy): ditto.

	* src/nautilus-window.
	(nautilus_window_unrealize): ditto.
2002-02-20 13:10:32 +00:00
Bastien Nocera
7d442ecd8d - better error message when smb master browser not available 2002-02-20 02:50:42 +00:00
jacob berkman
3e577de02a require gnome-desktop library
2002-02-19  jacob berkman  <jacob@ximian.com>

	* configure.in: require gnome-desktop library

	* libnautilus-private/nautilus-icon-dnd.[ch]:
	(nautilus_icon_dnd_uri_list_extract_uris),
	(nautilus_icon_dnd_uri_list_free_strings): paste old gnome-mime
	code here as we still need it

	* libnautilus-private/nautilus-link-desktop-file.[ch]:
	(nautilus_link_desktop_file_local_create_from_gnome_entry):
	* libnautilus-private/nautilus-link-historical.[ch]:
	(nautilus_link_historical_local_create_from_gnome_entry):
	* libnautilus-private/nautilus-link.[ch]:
	(nautilus_link_local_create_from_gnome_entry):
	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
	port to gnome-desktop and re-enable

	* src/nautilus-location-bar.c: (drag_data_received_callback): use
	new uri list functions

	* src/nautilus-zoom-control.c: (draw_number),
	(nautilus_zoom_control_unload_images),
	(nautilus_zoom_control_load_images): port to PangoLayout and
	re-enable text fallback
2002-02-19 22:53:44 +00:00
jacob berkman
38b6393b9d call gtk_selection_data_copy() and gtk_selection_data_free() rather than
2002-02-19  jacob berkman  <jacob@ximian.com>

	* libnautilus-private/nautilus-icon-dnd.c (drag_data_received_callback):
	(nautilus_icon_container_free_drag_data): call
	gtk_selection_data_copy() and gtk_selection_data_free() rather
	than the eel versions
2002-02-19 22:35:24 +00:00
Bastien Nocera
a34153fa21 - make the password dialog work again 2002-02-19 18:53:37 +00:00
Michael Meeks
efac48236b ensure we survive without trashing the WM, even if we can get no working
2002-02-19  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window-manage-views.c
	(determined_initial_view_callback): ensure we survive
	without trashing the WM, even if we can get no working
	mime data at all.

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_init): g_signal_connect_object
	is not like gtk_signal_connect_object_while_alive, it's
	missing a vital arg. swap.
2002-02-19 10:51:08 +00:00