Commit graph

5107 commits

Author SHA1 Message Date
Darin Adler
d7b9f05b61 Escape the path too, not just the menu item name, because the path
* src/file-manager/fm-directory-view.c: (add_numbered_menu_item):
	Escape the path too, not just the menu item name, because the path
	contains other menu item names.
	(add_submenu): Same.
2002-02-28 23:04:42 +00:00
Darin Adler
5886f0e3ba Fix assert where it was calling gnome_vfs_get_uri_from_local_path on
* libnautilus-private/nautilus-link-desktop-file.c:
	(nautilus_link_desktop_file_get_link_icon_from_desktop):
	Fix assert where it was calling gnome_vfs_get_uri_from_local_path
	on something that wasn't an absolute local path.
2002-02-28 19:22:38 +00:00
Josh Barrow
8b74353f7b No-one uses services anymore, remove
2002-02-28  Josh Barrow  <drleary@mac.com>

        * icons/Makefile.am:
        * icons/Services.png:
        No-one uses services anymore, remove

        * icons/bubble-LL.png:
        * icons/bubble-LR.png:
        * icons/bubble-UL.png:
        * icons/bubble-UR.png:
        All of these were for a non-realized Services project.
        Remove.

        * icons/bullet.png:
        This was for the aa version of the stretch handles.  If we
        decide to make the stretch handles aa, we can "cvs bring them back"
        * icons/computer.png:
        * icons/computer.svg:
        These were both for the ~/Nautilus thing.  ~/Nautilus doesn't
        exist anymore.

        * icons/default/desktop_home.png:
        * icons/default/temp-home.png:
        Rename temp-home.png to desktop_home.png as it's not very temporary.
        It's been there for over a year.

        * icons/druid_header.png:
        * icons/druid_header_stretch.png:
        * icons/druid_sidebar.png:
        There's nolonger a first time druid.  Remove these.
* icons/expert-selected.png:
        * icons/expert.png:
        * icons/intermediate-selected.png:
        * icons/intermediate.png:
        * icons/novice-selected.png:
        * icons/novice.png:
        There are nolonger user levels.  Remove these

        * icons/home.png:
        * icons/leftarrow.png:
        * icons/rightarrow.png:
        * icons/uparrow.png:
        * icons/search.png:
        If I recall, these were from the very first try at theming
        support in Nautilus.  They haven't been used for a *very* long
        time.  Remove them.

        * icons/netscape.png:
        This was used in ~/Nautilus, remove it.
        * icons/text-selection-frame.png:
        Not used now that there's not an aa v. non-aa thing going on.

        * icons/theme_preview.png:
        This is now in the default theme folder.

        * icons/tiny-alert.png:
        * icons/multi-ok.png:
        * icons/not.png:
        No clue what these were, but I'm certain they're not used anywhere.

        * src/file-manager/fm-desktop-icon-view.c:
        (update_home_link_and_delete_copies):
        Change instance of "temp-home" to "desktop_home"
2002-02-28 18:36:48 +00:00
Darin Adler
a6734d3039 New. (rename_guts): Rename nautilus_file_rename to this.
* libnautilus-private/nautilus-file.c: (in_filesystem): New.
	(rename_guts): Rename nautilus_file_rename to this.
	(nautilus_file_rename): Convert name to locale encoding if
	G_BROKEN_FILENAMES is set.
	(nautilus_file_get_display_name): Convert name to UTF-8
	assuming the locale character set if it's not valid UTF-8.
	It was already doing it when G_BROKEN_FILENAMES was set.
2002-02-28 17:38:53 +00:00
Darin Adler
37917988f4 Use eel_str_replace_substring to replace the %s rather than using
* src/nautilus-sidebar.c: (add_command_buttons): Use
	eel_str_replace_substring to replace the %s rather than using
	g_strdup_printf. It's not safe to use a string from a data
	file as a strdup format string.

	* configure.in: Bump librsvg required verson.
2002-02-28 17:14:55 +00:00
Josh Barrow
f4e01062fb Remove sierra_green.png Change instance of sierra_green.png to #BAC5C0.
2002-02-28  Josh Barrow  <drleary@mac.com>

        * icons/sierra/Makefile.am:
        Remove sierra_green.png
        * icons/sierra/sierra.xml:
        Change instance of sierra_green.png to #BAC5C0.  Why wasn't
        this like this to begin with?  sierra_green.png was just a
        patch of #BAC5C0...  what a waste!
        * icons/sierra/sierra_green.png:
        Remove.

        Not certain, but I think that this makes the sierra theme a
        tiny bit faster.
2002-02-28 16:49:24 +00:00
Josh Barrow
6348cbc1e7 Doh! Broke the build. Remove icons from Makefile.am as well.
2002-02-28  Josh Barrow  <drleary@mac.com>

        * icons/Makefile.am:
        Doh!  Broke the build.  Remove icons from Makefile.am as well.
2002-02-28 16:15:47 +00:00
Alexander Larsson
b765b44945 Patch from drleary@mac.com, add a weak_pointer to the about-dialog to
2002-02-27  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-window-menus.c (help_menu_about_nautilus_callback):
	Patch from drleary@mac.com, add a weak_pointer to the about-dialog
	to catch it being destroyed.

	* libnautilus-private/nautilus-find-icon-image.h:
	(nautilus_get_icon_file_name): Take extra argument for scalable details

	* libnautilus-private/nautilus-find-icon-image.c:
	(read_details): If size == 0, read scalable details, looking
	for size "*" and using coordinated between 0..1000
	(nautilus_get_icon_file_name): Take a scalable_details argument
	and fill it out.

	* libnautilus-private/nautilus-icon-factory.c
	(load_pixbuf_svg): Load svg icons at the right size, considering
	their embedded size, the zoom level, and the icon max size.
	If there are scalable details availible, scale them and put them
	in the unscaled ones.
	(load_icon_from_path): Take details and max_size arguments and pass
	them to load_pixbuf_rsvg.
	(load_named_icon): max_size arg used for svg scaling.
	Get scalable details from icon data, pass it on.
	(load_icon_for_scaling): Try exact size lookup before trying
	the specific zoom level sizes. This is so we don't have to scale
	SVGs after their initial rendering.
	(get_icon_from_cache, load_icon_scale_if_necessary,
	load_specific_icon): Pass on max size as needed.
2002-02-28 05:59:26 +00:00
Josh Barrow
8db7ecb8e0 These are no longer used since we switched to GnomeAbout.
2002-02-27  Josh Barrow  <drleary@mac.com>

        * icons/About_Image.png:
        * icons/about_background.png:
        These are no longer used since we switched to GnomeAbout.
2002-02-28 05:49:22 +00:00
Darin Adler
8bb6af6990 Change file-types-capplet to gnome2-file-types-properties.
* libnautilus-private/nautilus-program-chooser.c:
	Change file-types-capplet to gnome2-file-types-properties.

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_finalize), (fm_desktop_icon_view_class_init):
	Use finalize instead of destroy.

	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_update_icon_container_fonts): Get rid of unneeded
	nautilus_icon_container_request_update_all call.

	* src/Makefile.am:
	* src/nautilus-about.c: Remove.
	* src/nautilus-about.h: Remove.
2002-02-28 01:45:31 +00:00
Jody Goldberg
262b7b9dcd misc minor deprecation removals. ditto. (nautilus_music_view_update) :
2002-02-27  Jody Goldberg <jody@gnome.org>

	* components/music/configure.c : misc minor deprecation removals.
	* components/music/fileinfo.c : ditto.
	(nautilus_music_view_update) : reconnect the background.
	* components/music/nautilus-music-view.c (play_current_file) : convert
	  to gconf.
	* src/file-manager/fm-icon-view.c (preview_audio) : convert to gconf.

	* components/hardware/nautilus-hardware-view.c
	s/gtk_label_set_wrap/gtk_label_set_line_wrap/
	(setup_overview_form) : Use gnome_program_locate_file to find iconf
	  from gnome-mime-data.
	* components/hardware/main.c (main) : use nautilus_view_standard_main.
	(cb_create_hardware_view) : new work around the odd inheritance of the
	  view.
2002-02-28 00:56:32 +00:00
Gediminas Paulauskas
f0fc1215d6 add missing include
2002-02-27  Gediminas Paulauskas <menesis@delfi.lt>

	* libnautilus-private/nautilus-bookmarks.c: add missing include
2002-02-27 21:38:56 +00:00
Darin Adler
3035a35267 Just release, don't unref. (get_metafile): Don't keep a ref. Also fix
* libnautilus-private/nautilus-directory-metafile.c:
        (free_factory): Just release, don't unref.
        (get_metafile): Don't keep a ref. Also fix CORBA objref leak.

        * libnautilus-private/nautilus-icon-factory.c:
        (get_icon_from_cache):

        * libnautilus-private/nautilus-metafile-factory.c:
        (nautilus_metafile_factory_get_instance): Return the same
        instance each time, don't ref, since lifetime is not managed
        by ref counting.

        * libnautilus/nautilus-clipboard.c:
        (initialize_clipboard_component_with_callback_data):
        Get rid of BonoboUIComponent leak.

        * src/nautilus-application.c: Formatting tweaks.
        * libnautilus-private/nautilus-bookmark.c: Minor cleanup.

        * test/Makefile.am:
        * test/test-nautilus-async-activation.c: Remove.
2002-02-27 18:05:45 +00:00
Michael Meeks
57a1da0b53 impl. (get_xalf_prefix): use gconf.
2002-02-27  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-program-choosing.c
	(concat_option_cb): impl.
	(get_xalf_prefix): use gconf.

	* libnautilus-private/nautilus.schemas: add Xalf bits.

	* libnautilus-private/nautilus-global-preferences.c: ditto.

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_start_renaming_selected_item):
	don't pass a font name, it isn't used anyway.

	* libnautilus-private/nautilus-directory-async.c
	(should_display_file_name): protect with
	GNOME2_HAS_MEDUSA instead.
2002-02-27 10:56:08 +00:00
Michael Meeks
c8fd894632 pass a widget context to help pango.
2002-02-27  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-file-operations.c
	(handle_transfer_overwrite, handle_transfer_vfs_error),
	(handle_transfer_overwrite): pass a widget context to
	help pango.
	(extract_and_ellipsize_file_name_for_dialog),
	(format_and_ellipsize_uri_for_dialog): pass pango context
	to ellipsization.
	(ellipsize_string_for_dialog): re-implement for pango.
	(get_label_font): kill.
2002-02-27 10:02:47 +00:00
Darin Adler
ea26c5ef58 New (draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width): Use
* src/nautilus-sidebar-tabs.c: (make_tab_text_layout): New
	(draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width):
	Use common function to create PangoLayout so we don't forget
	anything. The old code forgot to set the font description in
	one case, leading to wrong-looking sidebar tabs.

	* src/nautilus-theme-selector.h:
	* src/nautilus-theme-selector.c: Minor cleanup.
2002-02-27 08:21:08 +00:00
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
Darin Adler
757fffa9cc Bump version.
* configure.in: Bump version.
2002-02-25 23:21:24 +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
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
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
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
Michael Meeks
b99fa35032 setup both the rgba and GdkColor variants. (update_label_color): upd.
2002-02-17  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_theme_changed): setup both
	the rgba and GdkColor variants.
	(update_label_color): upd. color handling.
	(alloc_colors): allocate the colors on realize

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

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_get_label_color): return
	the colors we need, grab them from the style's text
	information though.

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

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_get_property),
	(nautilus_icon_canvas_item_set_property): port to
	properties.
	(draw_or_measure_label_text): update color handling,
	could we re-use the gc here ?
	(draw_stretch_handles): upd gc unref.
	(nautilus_icon_canvas_item_class_init): upd.

	* libnautilus-private/nautilus-theme.c
	(nautilus_pixmap_file_may_be_local),
	(nautilus_theme_install_user_theme),
	(nautilus_theme_make_preview_pixbuf),
	(theme_get_property),
	(load_theme_document): upd. file tests.

	* libnautilus-private/nautilus-monitor.c
	(get_event_uri): use g_build_filename.

	* libnautilus-private/nautilus-find-icon-image.c
	(get_user_emblem_path, make_full_icon_path),
	(make_full_icon_path): upd. file test.

	* libnautilus-private/nautilus-file-utilities.c
	(nautilus_pixmap_file),
	(nautilus_get_data_file_path),
	(nautilus_get_user_directory),
	(nautilus_get_desktop_directory): upd. file tests.

	* libnautilus-private/nautilus-directory-metafile.c
	(nautilus_directory_get_boolean_file_metadata): use
	strcasecmp not ascii_strdown to save yet more malloc
	locking penalty.

	* libnautilus-private/nautilus-directory-background.c
	(nautilus_file_background_receive_root_window_changes),
	(desktop_background_destroyed_callback): upd. root
	window macro.
	(nautilus_connect_background_to_file_metadata),
	(initialize_background_from_settings),
	(image_loading_done_callback): upd g_signal bits.

	* libnautilus-private/nautilus-volume-monitor.c
	(nautilus_volume_monitor_class_init): upd file test.

	* libnautilus-private/nautilus-undo-signal-handlers.c
	(nautilus_undo_tear_down_nautilus_entry_for_undo): upd.

	* libnautilus-private/nautilus-undo-manager.c
	(nautilus_undo_manager_class_init): upd. signal bits.

	* libnautilus-private/nautilus-trash-monitor.c
	(nautilus_trash_monitor_class_init): g_cclosureize.
	(nautilus_trash_monitor_init): g_signal upds.

	* libnautilus-private/nautilus-trash-file.c
	(trash_destroy, nautilus_trash_file_init),
	(remove_real_file): upd. g_signal bits.

	* libnautilus-private/nautilus-trash-directory.c
	(nautilus_trash_directory_init): upd. signal connect.
	(trash_destroy): upd. signal bits.

	* libnautilus-private/nautilus-program-choosing.c
	(get_xalf_prefix): upd. find_program_in_path.

	* libnautilus-private/nautilus-program-chooser.c
	(nautilus_program_chooser_init): upd. window policy

	* libnautilus-private/nautilus-merged-directory.c
	(merged_remove_real_directory): upd. g_signal.
	(nautilus_merged_directory_class_init): upd. g_closure

	* libnautilus-private/nautilus-link-desktop-file.c
	(nautilus_link_desktop_file_get_link_icon_from_desktop):
	upd. pixmap location.

	* libnautilus-private/nautilus-icon-factory.c
	(nautilus_icon_factory_class_init): upd. marshallers
	(is_theme_in_user_directory): upd. file test.

	* libnautilus-private/nautilus-icon-dnd.c
	(auto_scroll_timeout_callback): do a queue_draw_area
	instead of a widget_draw.

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_init),
	(set_pending_icon_to_reveal): g_signal updates.
	(nautilus_icon_container_new): remove visual
	push/pop.

	* libnautilus-private/nautilus-file.c
	(nautilus_file_fit_date_as_string): upd. julian date get.
	(nautilus_file_class_init): upd. marshallers.

	* libnautilus-private/nautilus-file-operations.c
	(extract_and_ellipsize_file_name_for_dialog): use
	get_basename.
	(nautilus_file_operations_copy_move): use gtk stock.


	* libnautilus-private/nautilus-file-operations-progress.c
	(nautilus_file_operations_progress_update): use
	progress_bar_set_fraction.
	(nautilus_file_operations_progress_init): prune
	progress setup - these are the defaults.

	* libnautilus-private/nautilus-entry.c
	(nautilus_entry_key_press): upd select_region.

	* libnautilus-private/nautilus-drag-window.c
	(get_ancestor_blocked_by): upd type_is_a.

	* libnautilus-private/nautilus-dnd.c
	(nautilus_drag_finalize),
	(nautilus_drag_init): g_object ref upd.

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_class_init): marshaller upd..
	(nautilus_directory_schedule_metadata_remove),
	(nautilus_directory_schedule_metadata_copy),
	(nautilus_directory_schedule_metadata_move):
	basename upd.

	* libnautilus-private/nautilus-directory-background.c
	(desktop_background_realized): g_signal upd.
	(theme_image_path_to_uri): file test upd.
	(image_loading_done_callback): object unref on gc & pixmap.
	(background_changed_callback): g_signal upd.

	* libnautilus-private/nautilus-bookmark.c
	(nautilus_bookmark_disconnect_file): g_signal upd.
	(nautilus_bookmark_uri_known_not_to_exist): upd
	file test.

	* libnautilus-private/nautilus-authn-manager.c
	(authentication_dialog_button_clicked): use
	GTK_RESPONSE_OK

	* libnautilus-private/Makefile.am: add deprc.
	CFLAGS.

	* libnautilus/Makefile.am: ditto.

	* configure.in (DISABLE_DEPRECATED_CFLAGS): add.

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

	* libnautilus-private/nautilus-icon-dnd.c
	(nautilus_icon_container_free_drag_data):
	re-enterancy protection.
2002-02-19 09:11:16 +00:00
Kjartan Maraas
cad4a60e32 Remove calls to gtk_widget_push|pop_visual() since they do nothing now.
2002-02-17  Kjartan Maraas  <kmaraas@gnome.org>

	* libnautilus-private/nautilus-icon-container.c: Remove calls to
	gtk_widget_push|pop_visual() since they do nothing now.
2002-02-17 15:40:33 +00:00
David Emory Watson
f94e48bf82 Require eel 1.1.5.
* configure.in: Require eel 1.1.5.

	* src/nautilus-sidebar-tabs.c
	(nautilus_sidebar_tabs_set_color): Use eel_gdk_color_parse () for
	backward compatible color spec. parsing.

	* src/nautilus-property-browser.c:
	(make_color_drag_image): Same as above.
	(nautilus_property_browser_drag_data_get): Same as above.
2002-02-16 16:54:40 +00:00
jacob berkman
99e2574cba remove nautilus-shell-marshal.list
2002-02-15  jacob berkman  <jacob@ximian.com>

	* src/Makefile.am (EXTRA_DIST): remove nautilus-shell-marshal.list
2002-02-15 05:28:37 +00:00
Dave Camp
9aebe74cf2 Replace deprecated signal handling functions.
2002-02-14  Dave Camp  <dave@ximian.com>

	* components/notes/nautilus-notes.c (done_with_file):
	(notes_save_metainfo): Replace deprecated signal handling
	functions.
2002-02-15 04:39:14 +00:00
jacob berkman
8d0aed09fb add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecated
2002-02-14  jacob berkman  <jacob@ximian.com>

	* src/Makefile.am:
	* src/file-manager/Makefile.am: add -DFOO_DISABLE_DEPRECATED to
	disable glib, gtk, and gnome deprecated calls

	* src/file-manager/fm-desktop-icon-view.c:
	* src/file-manager/fm-directory-view.c:
	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-properties-window.c:
	* src/file-manager/fm-search-list-view.c:
	* src/nautilus-about.c:
	* src/nautilus-application.c:
	* src/nautilus-bookmark-list.c:
	* src/nautilus-bookmarks-window.c:
	* src/nautilus-complex-search-bar.c:
	* src/nautilus-location-bar.c:
	* src/nautilus-main.c:
	* src/nautilus-navigation-bar.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-search-bar-criterion.c:
	* src/nautilus-shell.c:
	* src/nautilus-sidebar-tabs.c:
	* src/nautilus-sidebar-title.c:
	* src/nautilus-sidebar.c:
	* src/nautilus-simple-search-bar.c:
	* src/nautilus-switchable-navigation-bar.c:
	* src/nautilus-switchable-search-bar.c:
	* src/nautilus-theme-selector.c:
	* src/nautilus-view-frame.c:
	* src/nautilus-window-manage-views.c:
	* src/nautilus-window-menus.c:
	* src/nautilus-window-toolbars.c:
	* src/nautilus-window.c:
	* src/nautilus-zoom-control.c: port to non-deprecated calls.  This
	was mostly GnomeDialog -> GtkDialog and gtk_signal -> g_signal
2002-02-14 23:22:00 +00:00
David Emory Watson
65a9c4e605 I forgot to enter changelog entries... 2002-02-13 03:41:49 +00:00
Darin Adler
c94e106333 Record the idle ID so we can cancel it properly. New.
* components/tree/nautilus-tree-model.c:
	(schedule_destroy_unneeded_children): Record the idle ID so we can
	cancel it properly.
	* components/tree/nautilus-tree-view.c: (sort_model_iter_to_file):
	New.
	(sort_model_path_to_file): Renamed from path_to_file to clarify
	which kid of path.
	(selection_changed_callback): Replaces the old row_activated_callback.
	Switch to the selected directory when you click on a row.
	(create_tree): Connect the "changed" to the selection object.

	* src/file-manager/fm-directory-view.c: Formatting tweaks.
	(update_directory_in_scripts_menu): Fix storage leak.

	* src/file-manager/fm-icon-view.c: (renaming_icon_callback): Enable
	a bit of GNOME2_CONVERSION_COMPLETE code.
	(create_icon_container): Formatting tweaks.
2002-02-13 00:27:41 +00:00
Darin Adler
3772c3da98 A few places where we said "=" but meant "==".
* src/file-manager/fm-directory-view.c:
	(metadata_for_directory_as_file_ready_callback),
	(metadata_for_files_in_directory_ready_callback):
	A few places where we said "=" but meant "==".
2002-02-12 22:11:19 +00:00
Darin Adler
0d57173363 Require at least libxml 2.4.7, since that's the version where xmlFree and
* configure.in: Require at least libxml 2.4.7, since that's
	the version where xmlFree and friends were moved out of
	<libxml/xmlmemory.h>.

	* components/news/nautilus-news.c:
	* components/text/nautilus-text-view.c:
	* libnautilus-private/nautilus-customization-data.c:
	* libnautilus-private/nautilus-directory-async.c:
	* libnautilus-private/nautilus-find-icon-image.c:
	* libnautilus-private/nautilus-link-desktop-file.c:
	* libnautilus-private/nautilus-link-historical.c:
	* libnautilus-private/nautilus-link.c:
	* libnautilus-private/nautilus-metafile.c:
	* libnautilus-private/nautilus-theme.c:
	* libnautilus-private/nautilus-volume-monitor.c:
	* src/nautilus-bookmark-list.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-window-menus.c:
	Remove unneeded include of <libxml/xmlmemory.h>.

	* components/tree/nautilus-tree-model.c: (get_node_uri): New,
	used only for logging ref. counts.
	(decrement_ref_count): New.
	(abandon_node_ref_count): New.
	(abandon_dummy_row_ref_count): New.
	(report_dummy_row_inserted): Do nothing if the parent is not yet
	in the inserted state.
	(report_dummy_row_deleted): Make it abandon any lingering ref
	count that's still in the dummy row.
	(report_node_inserted): Make it report that the dummy node is
	inserted if the node starts with a dummy child. Also, set the new
	inserted state so we know this node is live.
	(report_node_contents_changed): Do nothing if the node is not
	yet in the inserted state.
	(report_node_has_child_toggled): Do nothing if the node is not yet
	in the inserted state.
	(report_dummy_row_contents_changed): Do nothing if the parent is
	not yet in the inserted state.
	(stop_monitoring_directory): Set done_loading to FALSE so we'll get
	a dummy node for directories we are not monitoring.
	(destroy_node_without_reporting): Abandon any ref count left in the
	node. Also set the inserted state to FALSE before destroying children.
	(destroy_node): Report if the parent gains a dummy node as a result
	of destroying this node.
	(update_node_without_reporting): Don't clear done_loading any more,
	since stop_monitoring_directory does it now.
	(reparent_node): Abandon any ref count that's still in the node
	before reparenting it.
	(schedule_destroy_unneeded_children): New.
	(last_child_unref): Use new schedule_destroy_unneeded_children
	function so we cna share code with the new abandon ref count functions.
	(nautilus_tree_model_ref_node), (nautilus_tree_model_unref_node): Add
	some logging for debugging purposes.

	* components/tree/nautilus-tree-view.c: (compare_rows): Sort function
	to use when GtkTreeModelSort works.
	(create_tree): Hook up sort function.
2002-02-12 00:56:13 +00:00
Michael Meeks
e414ada1b1 remove registering own 'synchronizer' #ifdef bits.
2002-02-08  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c
	(nautilus_window_constructed): remove registering own
	'synchronizer' #ifdef bits.
	(nautilus_window_allow_stop): add 'access' sys
	calls to allow easier strace profiling.
2002-02-11 11:16:02 +00:00
Darin Adler
90fef81565 Release markers. 2002-02-11 06:20:04 +00:00
Jody Goldberg
0530785d83 Include libxml/globals.h to get xmlFree from its new position.
2002-02-11  Jody Goldberg <jody@gnome.org>

	* src/nautilus-bookmark-parsing.c : Include libxml/globals.h to get
	  xmlFree from its new position.
2002-02-11 05:27:55 +00:00
Bastien Nocera
d5efb48fcc - disable jpeglib's reading of its config.h file, fixes HAVE_STDLIB double-definition 2002-02-10 21:22:11 +00:00
Darin Adler
53ff9f48ae Bump version number. Bump version number.
* NEWS: Bump version number.
	* configure.in: Bump version number.
2002-02-10 06:58:41 +00:00
Seth Nickell
d19f959d52 Darin's script apparently went wrong, because a number of the themes got
2002-02-09  Seth Nickell  <snickell@stanford.edu>

	* icons/crux_eggplant/i-directory-12.png:
	* icons/crux_eggplant/i-directory-20.png:
	* icons/crux_eggplant/i-directory-24.png:
	* icons/crux_eggplant/i-directory-36.png:
	* icons/crux_eggplant/i-directory-72.png:
	* icons/crux_eggplant/i-directory.png:
	* icons/crux_teal/i-directory-12.png:
	* icons/crux_teal/i-directory-192.png:
	* icons/crux_teal/i-directory-20.png:
	* icons/crux_teal/i-directory-24.png:
	* icons/crux_teal/i-directory-36.png:
	* icons/crux_teal/i-directory-72.png:
	* icons/crux_teal/i-directory-96.png:
	* icons/crux_teal/i-directory.png:
	* icons/crux_teal/i-regular-12.png:
	* icons/crux_teal/i-regular-192.png:
	* icons/crux_teal/i-regular-20.png:
	* icons/crux_teal/i-regular-24.png:
	* icons/crux_teal/i-regular-36.png:
	* icons/crux_teal/i-regular-72.png:
	* icons/crux_teal/i-regular-96.png:
	* icons/crux_teal/i-regular.png:
	* icons/sierra/i-directory-12.png:
	* icons/sierra/i-directory-24.png:
	* icons/sierra/i-directory-36.png:
	* icons/sierra/i-directory-72.png:
	* icons/sierra/i-directory-96.png:
	* icons/sierra/i-directory-accept-12.png:
	* icons/sierra/i-directory-accept-24.png:
	* icons/sierra/i-directory-accept-36.png:
	* icons/sierra/i-directory-accept-72.png:
	* icons/sierra/i-directory-accept-96.png:
	* icons/sierra/i-directory-accept.png:
	* icons/sierra/i-directory.png:

	Darin's script apparently went wrong, because a number of the themes
	got switched to only having the *non* anti-aliased icons. Replaced
	them with the anti-aliased versions.
2002-02-09 11:14:10 +00:00
Darin Adler
de85ecade7 Added open pixbuf support.
* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-model.c: (tree_node_destroy),
	(tree_node_get_pixbuf_from_factory), (tree_node_update_pixbuf),
	(tree_node_update_closed_pixbuf), (tree_node_update_open_pixbuf),
	(tree_node_get_closed_pixbuf), (tree_node_get_open_pixbuf),
	(update_node_without_reporting),
	(nautilus_tree_model_get_column_type),
	(nautilus_tree_model_get_value):
	Added open pixbuf support.

	* components/tree/nautilus-tree-view.c: (save_expansion_state):
	Fix storage leak.
	(row_activated_callback): Fix NautilusFile ref. count leak.
	(create_tree): Pass in open pixbuf for "pixbuf_expander_open".
	(get_filtering_as_integer), (update_filtering_from_preferences),
	(filtering_changed_callback), (nautilus_tree_view_instance_init),
	(nautilus_tree_view_finalize): Starting on code needed to
	respect the filtering preferences.
2002-02-08 23:36:23 +00:00
Darin Adler
d6be4c4a39 New. (insert_node): New. (reparent_node): New. (update_node): Handle files
* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-model.c:
	(get_parent_node_from_file): New.
	(insert_node): New.
	(reparent_node): New.
	(update_node): Handle files that disappear or move.
	(process_file_change): Don't create nodes for files that are
	already gone by the time we get here.
	(done_loading_callback): Don't assert if the node for this file
	is gone by the time this shows up.
	(done_loading_idle_callback): New.
	(start_monitoring_directory): Do a done_loading callback for
	directories that are already fully loaded at the start. We have
	to do this at idle time, though, since the tree code can't handle
	all the new nodes showing up inside ref_node.
	(nautilus_tree_model_iter_n_children): Add; was missing.
	(destroy_unneeded_children): New.
	(destroy_unneeded_children_idle_callback): New.
	(last_child_unref): Destroy the children at idle time, not right
	away. I did this to try to make GtkTreeModelSort work, but it
	didn't fix the whole problem, so maybe take this out later.
	(nautilus_tree_model_unref_node): Tighten assert.
	(nautilus_tree_model_iter_get_file): New.
	(nautilus_tree_model_finalize): Cleanup for new idle functions.
	(nautilus_tree_model_tree_model_init):

	* components/tree/nautilus-tree-view.c: (load_expansion_state):
	New placeholder, not yet implemented.
	(path_to_file): New.
	(prepend_one_uri): New.
	(save_expansion_state): New.
	(save_expansion_state_idle_callback): New.
	(schedule_save_expansion_state_callback): New.
	(got_activation_uri_callback): New.
	(cancel_activation): New.
	(row_activated_callback): New.
	(create_tree): Put in first cut at using GtkTreeModelSort;
	couldn't get it working so it's ifdef'd out. Save list of expanded
	URIs next idle after a row is expanded or collapsed. Switch the
	view location when a row is activated.
	(tree_activate_callback): Put in a call to load_expansion_state,
	although it's not implemented yet.
	(nautilus_tree_view_finalize): Cleanup for new idle functions.
2002-02-08 05:57:34 +00:00
Kwok-Koon Cheung
c0dc39cd68 Updated traditional Chinese translation 2002-02-07 16:40:01 +00:00
Darin Adler
e91afc8589 eel_signal_connect_while_alive -> g_object_add_weak_pointer.
* components/throbber/nautilus-throbber.c:
	(nautilus_throbber_instance_init): eel_signal_connect_while_alive
	-> g_object_add_weak_pointer.
	(nautilus_throbber_finalize), (nautilus_throbber_class_init):
	Switch to finalize instead of destroy.

	* components/tree/nautilus-tree-expansion-state.c: Remove.
	* components/tree/nautilus-tree-expansion-state.h: Remove.
	* components/tree/nautilus-tree-node-private.h: Remove.
	* components/tree/nautilus-tree-node.c: Remove.
	* components/tree/nautilus-tree-node.h: Remove.

	* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-model.c:
	Rewrite, based on Anders's first cut.

	* components/tree/nautilus-tree-view.h: Tweaks.
	* components/tree/nautilus-tree-view.c: (create_tree): Get rid of
	the header.
	(nautilus_tree_view_finalize), (nautilus_tree_view_class_init):
	Added a missing finalize so that we don't leak.

	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_get_for_file): New.

	* libnautilus-private/nautilus-file.h:
	* libnautilus-private/nautilus-file.c:
	(finalize): Change to finalize from destroy.
	(nautilus_file_get_parent): Make public, simplify implementation
	by using nautilus_directory_get_corresponding_file.

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_init):
	* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
	* src/nautilus-view-frame.c: (nautilus_view_frame_init),
	(attach_view):
	* src/nautilus-window-menus.c:
	(nautilus_window_initialize_bookmarks_menu),
	(nautilus_window_initialize_go_menu):
	Use g_signal_connect-object instead of eel_signal_connect_while_alive.
2002-02-07 00:24:43 +00:00
Dave Camp
4285ceae41 Make this component build with the deprecation flags set.
2002-02-06  Dave Camp  <dave@ximian.com>

	* components/news/nautilus-news.c: Make this component build with
	the deprecation flags set.
	(update_size_and_redraw): #ifed out the gtk_widget_set_usize()
	call pending changes to the size negotation code.
	(get_xml_path): Use g_file_test() instead of g_file_exists().
	(add_channel_to_remove_list), (remove_selected_site),
	(make_remove_widgets): Use a GtkTreeView instead of a GtkCList
	here.
	(determine_sort_position): Use gtk_container_get_children()
	instead of gtk_container_children().
	(add_channel_entry): Use g_object_set_data() instead of
	gtk_object_set_user_data().
	(remove_list_selection_changed): New function, update the remove
	button.
	(update_remove_button): Make the remove button insensitive if no
	channel is selected for removal.
	(make_remove_widgets), (make_add_widgets), (add_command_buttons):
	Use gtk_box_set_spacing() instead of gtk_button_box_set_spacing(),
	and remove calls to gtk_button_box_set_child_size().
2002-02-06 23:04:10 +00:00
Michael Meeks
f542674b59 guard against re-enterancy; hold refs on the sidebars.
2002-02-06  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window-manage-views.c
	(load_new_location_in_sidebar_panels): guard
	against re-enterancy; hold refs on the sidebars.

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_class_init): move re-entering
	auto preference registers to
	(fm_directory_view_init): here.
2002-02-06 21:56:44 +00:00
Darin Adler
61fe873cb3 Remove. Remove. Remove. Remove. Remove.
* components/tree/nautilus-tree-change-queue.c: Remove.
	* components/tree/nautilus-tree-change-queue.h: Remove.
	* components/tree/nautilus-tree-view-dnd.c: Remove.
	* components/tree/nautilus-tree-view-dnd.h: Remove.
	* components/tree/nautilus-tree-view-private.h: Remove.

	* libnautilus-private/Makefile.am:
	* libnautilus-private/nautilus-dnd.c:
	* libnautilus-private/nautilus-dnd.h:
	Move eel-dnd.[ch] back into Nautilus, because it currently is
	completely file-manager-specific.

	* libnautilus-private/nautilus-file-dnd.c:
	* libnautilus-private/nautilus-file-dnd.h:
	* libnautilus-private/nautilus-icon-dnd.c:
	* libnautilus-private/nautilus-icon-dnd.h:
	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-list-view.c:
	Change to use eel-dnd.[ch] in their new location in Nautilus.

	* src/file-manager/fm-directory-view.c: Add included needed due
	to include changes.
2002-02-05 19:22:53 +00:00
Anders Carlsson
c175896701 Port to GtkTreeView, lots of work still remains though.
2002-02-05  Anders Carlsson  <andersca@gnu.org>

	* components/tree/Makefile.am:
	* components/tree/nautilus-tree-model.c:
	(nautilus_tree_node_set_parent), (nautilus_tree_node_new),
	(nautilus_dummy_tree_node_new), (nautilus_tree_node_update_icons),
	(nautilus_tree_model_get_type), (nautilus_tree_model_init),
	(nautilus_tree_model_class_init), (uri_get_parent_text),
	(nautilus_tree_model_get_node_from_file),
	(nautilus_tree_model_get_node), (report_node_changed),
	(report_root_node_if_possible), (process_file_change),
	(nautilus_tree_model_directory_files_changed_callback),
	(nautilus_tree_model_directory_done_loading_callback),
	(nautilus_tree_model_begin_monitoring_directory),
	(nautilus_tree_model_get_n_columns),
	(nautilus_tree_model_get_column_type),
	(nautilus_tree_model_get_iter), (nautilus_tree_model_get_path),
	(nautilus_tree_model_get_value), (nautilus_tree_model_iter_next),
	(nautilus_tree_model_iter_children),
	(nautilus_tree_model_iter_parent),
	(nautilus_tree_model_iter_has_child),
	(nautilus_tree_model_iter_nth_child),
	(nautilus_tree_model_tree_model_init),
	(nautilus_tree_model_root_node_file_monitor),
	(nautilus_tree_model_set_root_uri), (nautilus_tree_model_new),
	(nautilus_tree_model_dump_helper), (nautilus_tree_model_dump):
	* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-view.c: (create_tree),
	(tree_activate_callback), (dump_tree), (nautilus_tree_view_init),
	(nautilus_tree_view_class_init):
	* components/tree/nautilus-tree-view.h:
	Port to GtkTreeView, lots of work still remains though.

	* src/nautilus-application.c: (finish_startup):
	Remove GMC trash migration.
2002-02-05 17:11:43 +00:00
Michael Meeks
3ad55ff4c3 move re-enterant CORBA stuff (fm_icon_view_init): to here.
2002-02-04  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_class_init): move re-enterant CORBA stuff
	(fm_icon_view_init): to here.

	* src/nautilus-shell-ui.xml: add a default placeholder.

	* configure.in (BONOBO_UI_REQUIRED): require a fixed
	libbonoboui that can cope with default placeholders.
2002-02-04 23:03:42 +00:00
Darin Adler
942deb4a9e Put a placeholder in so that component menus will go to the left of the
* src/nautilus-shell-ui.xml: Put a placeholder in so that component
	menus will go to the left of the Help menu.
2002-02-04 21:44:13 +00:00
Darin Adler
0294dc1f88 Don't ignore tarballs. Bump version number. Bump version number.
* .cvsignore: Don't ignore tarballs.
	* NEWS: Bump version number.
	* configure.in: Bump version number.

	* src/file-manager/fm-directory-view.c: (activate_callback):
	Clean up code here a bit; patch submitted by David Emory Watson.

	* src/file-manager/nautilus-icon-view-ui.xml: Tweak wording as
	suggested by Steve Fox <drfickle@k-lug.org>.
2002-02-04 18:04:07 +00:00
Laszlo Peter
2043280a28 fix licensing info.
2002-02-04  Laszlo Peter  <laca@ireland.sun.com>

	* libnautilus/nautilus-clipboard.[ch]: fix licensing info.
2002-02-04 17:26:37 +00:00
Dave Camp
1d2b0af981 Increased GNOME_UI_REQUIRED to 1.110.1
2002-02-01  Dave Camp  <dave@ximian.com>

	* configure.in: Increased GNOME_UI_REQUIRED to 1.110.1

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_class_init): Use
	nautilus_marshal_VOID__POINTER_STRING instead of
	nautilus_marshal_VOID__POINTER_POINTER for the icon_text_changed
	signal.
	(handle_focus_out_event): Return FALSE.
	(nautilus_icon_container_start_renaming_selected_item),
	(end_renaming_mode): Use GnomeIconTextItem instead of
	NautilusIconTextItem.  This includes changing how the size was
	calculated, as NautilusIconTextItem expected a center point and
	maximum width, and GnomeIconTextItem expects a bounding box.

	* libnautilus-private/nautilus-icon-private.h: Use
	GnomeIconTextItem instead of NautilusIconTextItem for
	rename_widget.
	* libnautilus-private/nautilus-marshal.list: Added
	VOID:POINTER,STRING.
	* src/file-manager/fm-icon-view.c: (renaming_icon_callback):
	Temporarily #ifed out the
	nautilus_clipboard_set_up_editable_in_control for the renaming
	editable.
2002-02-01 21:11:17 +00:00
John Harper
f828c6c3e3 Make the search feature work again:
2002-01-31  John Harper  <jsh@unfactored.org>

	Make the search feature work again:

	* configure.in: fixed how HAVE_MEDUSA is defined. Add
	MEDUSA_CFLAGS to CORE_CFLAGS

	* src/file-manager/fm-search-list-view.c: moved some of the
	GNOME2_CONVERSION_COMPLETE ifdefs around so that we get a
	functional object, just without some of the features of the
	original

	* src/nautilus-shell-ui.xml: copied search parts from nautilus
	1 version

	* src/nautilus-application.c (create_object): reenable
	search-list-view creation

	* src/file-manager/nautilus-indexing-info.c: random changes to
	make it compile (untested as yet)
2002-02-01 05:46:19 +00:00
Darin Adler
68c54c317e Bump eel version required.
* configure.in: Bump eel version required.

	* libnautilus-private/nautilus-icon-container.c:
	(rubberband_timeout_callback), (start_rubberbanding),
	(update_stretch_at_idle), (motion_notify_event):
	* libnautilus-private/nautilus-icon-dnd.c: (icon_get_data_binder),
	(nautilus_icon_container_position_shadow),
	(receive_dropped_keyword),
	(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_init),
	(nautilus_icon_dnd_begin_drag):
	Use new eel functions that eliminate the funky interaction between
	the new GtkLayout and GnomeCanvas. Basically, all the functions
	that deal with window coordinates are getting bin_window
	coordinates instead. This should really be fixed in GnomeCanvas.
2002-01-30 22:33:40 +00:00
Zbigniew Chyla
110ba62dc3 DO NOT mark empty strings for translation.
2002-01-30  Zbigniew Chyla  <cyba@gnome.pl>

	* libnautilus-private/nautilus-authn-manager.c
	(construct_password_dialog):
	DO NOT mark empty strings for translation.
2002-01-30 01:48:47 +00:00
Darin Adler
0ba9c077fd Remove smooth mode and unused font and font size machinery.
* components/tree/nautilus-tree-view.c: (create_tree),
	(nautilus_tree_view_destroy):
	* libnautilus-private/nautilus-directory.c:
	(add_preferences_callbacks):
	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* libnautilus-private/nautilus-icon-canvas-item.c:
	(measure_label_text), (nautilus_icon_canvas_item_render),
	(nautilus_icon_canvas_item_set_show_stretch_handles):
	* libnautilus-private/nautilus-icon-container.c:
	(start_rubberbanding), (finalize), (nautilus_icon_container_init),
	(nautilus_icon_container_update_icon),
	(nautilus_icon_container_theme_changed):
	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-icon-private.h:
	* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
	(fm_directory_view_finalize):
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_update_icon_container_font_size_table),
	(create_icon_container), (fm_icon_view_class_init):
	Remove smooth mode and unused font and font size machinery.

	* test/.cvsignore: Remove test-nautilus-smooth-graphics.
	* test/Makefile.am: Remove test-nautilus-smooth-graphics.
	* test/test-nautilus-smooth-graphics.c: Remove.

	* src/nautilus-preferences-dialog.c:
	(dialog_delete_event_callback), (dialog_button_response_callback),
	(preferences_dialog_create): Fix bug where we'd lose the
	preferences dialog if you closed it with a delete_event.
2002-01-29 19:21:59 +00:00
Darin Adler
81bceb3e69 Release marker. 2002-01-29 18:17:06 +00:00
Darin Adler
a74d095fbe Update for 1.1.3 release. Bump version.
* NEWS: Update for 1.1.3 release.
	* configure.in: Bump version.

	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_finalize), (real_merge_menus):
	Use a weak pointer so we don't retain a pointer to the UI component
	if the BonoboControl goes away, but we don't. This doesn't really
	fix anything, but it also does no harm.
2002-01-29 16:58:41 +00:00
Seth Nickell
499a149b6a Bring start-here stuff up to date with current URI schemes, update to use
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* data/applications.desktop.in:
	* data/preferences.desktop.in:

	Bring start-here stuff up to date with current
	URI schemes, update to use appropriate system icons.
2002-01-29 07:03:56 +00:00
Darin Adler
39c3dcc031 Changed the system(3) call to launch application from command. Instead use
* libnautilus-private/nautilus-program-choosing.c
	(nautilus_launch_application_from_command): Changed the system(3) call to
	launch application from command. Instead use eel_gnome_shell_execute.

	* src/file-manager/fm-directory-view.c (activate_callback):
	Now use newly public NautilusDesktopFile class & nautilus_desktop_file_launch
	to launch the corresponding command.

	* libnautilus-private/nautilus-desktop-file-loader.c:
	* libnautilus-private/nautilus-desktop-file-loader.h:
	Made the NautilusDesktopFile class public. The struct has been moved
	from the source to the header. The nautilus_desktop_file_new method
	is not static any more.

	* libnautilus-private/nautilus-desktop-file-loader.c
	(nautilus_desktop_file_launch):
	Add the locale name taken from the desktop file to display it
	through xalf (launch feedback).
2002-01-28 23:31:40 +00:00
Seth Nickell
aa25134442 Move emblems into the default theme so they start working again. Remove
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* icons/Makefile.am:
	* icons/default/Makefile.am:
	* icons/default/emblem-OK.svg:
	* icons/default/emblem-broken-link.png:
	* icons/default/emblem-certified.svg:
	* icons/default/emblem-cool.svg:
	* icons/default/emblem-danger.svg:
	* icons/default/emblem-distinguished.svg:
	* icons/default/emblem-draft.svg:
	* icons/default/emblem-favorite.svg:
	* icons/default/emblem-generic.png:
	* icons/default/emblem-generic.svg:
	* icons/default/emblem-important.gif:
	* icons/default/emblem-important.svg:
	* icons/default/emblem-new.gif:
	* icons/default/emblem-new.svg:
	* icons/default/emblem-noread.png:
	* icons/default/emblem-noread.svg:
	* icons/default/emblem-nowrite.svg:
	* icons/default/emblem-ohno.svg:
	* icons/default/emblem-personal.svg:
	* icons/default/emblem-special.svg:
	* icons/default/emblem-symbolic-link-12.png:
	* icons/default/emblem-symbolic-link-24.png:
	* icons/default/emblem-symbolic-link-36.png:
	* icons/default/emblem-symbolic-link.png:
	* icons/default/emblem-trash.png:
	* icons/default/emblem-urgent.svg:
	* icons/emblem-OK.svg:
	* icons/emblem-broken-link.png:
	* icons/emblem-certified.svg:
	* icons/emblem-cool.svg:
	* icons/emblem-danger.svg:
	* icons/emblem-distinguished.svg:
	* icons/emblem-draft.svg:
	* icons/emblem-favorite.svg:
	* icons/emblem-generic.png:
	* icons/emblem-generic.svg:
	* icons/emblem-important.gif:
	* icons/emblem-important.svg:
	* icons/emblem-new.gif:
	* icons/emblem-new.svg:
	* icons/emblem-noread.png:
	* icons/emblem-noread.svg:
	* icons/emblem-nowrite.svg:
	* icons/emblem-ohno.svg:
	* icons/emblem-personal.svg:
	* icons/emblem-special.svg:
	* icons/emblem-symbolic-link-12.png:
	* icons/emblem-symbolic-link-24.png:
	* icons/emblem-symbolic-link-36.png:
	* icons/emblem-symbolic-link.png:
	* icons/emblem-trash.png:
	* icons/emblem-urgent.svg:

	Move emblems into the default theme so they start working
	again. Remove the hand*.png icons, which are no longer
	used (used to be used for eazel services).
2002-01-28 23:18:41 +00:00
Gediminas Paulauskas
e8b66e7610 use g_list_copy instead of eel version use gtk_window_present instead of
2002-01-28  Gediminas Paulauskas <menesis@delfi.lt>

	* libnautilus-private/nautilus-directory.c,
	libnautilus-private/nautilus-icon-container.c: use g_list_copy
	instead of eel version
	* src/nautilus-preferences-dialog.c,
	src/nautilus-property-browser.c,
	src/nautilus-window-manage-views.c,
	src/nautilus-window-menus.c,
	src/file-manager/fm-properties-window.c: use gtk_window_present
	instead of eel version.
2002-01-28 21:38:37 +00:00
Seth Nickell
050a21b305 remove a merge conflict marker from the ChangeLog 2002-01-28 21:20:45 +00:00
Seth Nickell
6b37d5721d Add a function for moving preference values (if they exist) from their old
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* libnautilus-private/nautilus-global-preferences.c:
	(import_old_preferences_if_needed),
	(nautilus_global_preferences_init):

	Add a function for moving preference values (if they exist)
	from their old location to their new location, if it
	hasn't already been done.

	* libnautilus-private/nautilus-global-preferences.h:

	Change the location/name of THEME, SHOW_HIDDEN_FILES and
	SHOW_BACKUP_FILES so other file viewers in GNOME can smoothly
	access them.
2002-01-28 21:19:52 +00:00