Commit graph

7319 commits

Author SHA1 Message Date
Anders Carlsson 376977b17c Add progress jar feature; the progress dialog icon now looks like a jar
2002-03-11  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-file-operations-progress-icons.h:
	* libnautilus-private/nautilus-file-operations-progress.c:
	(nautilus_file_operations_progress_update_icon),
	(nautilus_file_operations_progress_update),
	(nautilus_file_operations_progress_init),
	(nautilus_file_operations_progress_class_init):
	Add progress jar feature; the progress dialog icon now looks like
	a jar that fills up as the files is copied. This idea was suggested
	by Tuomas Kuosmanen.
2002-03-11 15:57:14 +00:00
Michael Meeks 31cfe05111 use g_object_weak_ref instead of the "destroy" signal which is mostly
2002-03-11  Michael Meeks  <michael@ximian.com>

	* libnautilus/nautilus-clipboard.c
	(select_all_callback): use g_object_weak_ref
	instead of the "destroy" signal which is mostly
	useless.
	(idle_source_destroy_callback): impl.
2002-03-11 15:25:34 +00:00
James Henstridge 62236a2518 build fix: get rid of unneeded semicolons which cause compile errors with
2002-03-11  James Henstridge  <james@daa.com.au>

	* configure.in: build fix: get rid of unneeded semicolons which
	cause compile errors with newer versions of autoconf (this doesn't
	break older versions).
2002-03-11 13:15:14 +00:00
Anders Carlsson 9f84cd972f Re-add nautilus-launch-icon.
2002-03-11  Anders Carlsson  <andersca@gnu.org>

	* icons/Makefile.am:
	* icons/nautilus-launch-icon.png:
	Re-add nautilus-launch-icon.

	* src/nautilus-window.c: (set_up_default_icon_list):
	Use nautilus_pixmap_file to get the full path to the icons used.
	(nautilus_window_class_init):
	Remove nautilus_window_realize function, it only contained
	stuff we don't need to do these days.
2002-03-11 13:08:11 +00:00
Anders Carlsson 5785209009 Only create the sidebar if the "Display sidebar in new windows" preference
2002-03-11  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-window.c: (nautilus_window_set_up_sidebar),
	(nautilus_window_tear_down_sidebar), (nautilus_window_constructed),
	(nautilus_window_hide_sidebar), (nautilus_window_show_sidebar),
	(nautilus_window_sidebar_showing):
	Only create the sidebar if the "Display sidebar in new windows"
	preference is turned on, otherwise create it when user activates
	"Show sidebar" and destroy it when user activates "Hide sidebar".
	This fixes #72595.
2002-03-11 12:03:49 +00:00
Anders Carlsson 9e0012f163 Move the "Rename" verb into fm-directory-view and implement rename
2002-03-11  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c: (process_old_files),
	(queue_pending_files), (fm_directory_view_can_rename_file),
	(can_rename_file), (start_renaming_file),
	(reveal_newly_added_folder), (rename_file_callback),
	(real_merge_menus), (real_update_menus),
	(fm_directory_view_class_init):
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_can_rename_file), (fm_icon_view_start_renaming_file),
	(fm_icon_view_merge_menus), (fm_icon_view_update_menus),
	(fm_icon_view_class_init):
	* src/file-manager/fm-list-model.c:
	(fm_list_model_get_column_type), (fm_list_model_get_value):
	* src/file-manager/fm-list-model.h:
	* src/file-manager/fm-list-view.c: (cell_renderer_edited),
	(create_and_set_up_tree_view), (fm_list_view_start_renaming_file),
	(fm_list_view_class_init):
	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/file-manager/nautilus-icon-view-ui.xml:
	Move the "Rename" verb into fm-directory-view and implement rename
	callbacks for both the list and icon view.
2002-03-11 10:17:50 +00:00
Darin Adler 0dc1617ed9 Release 2002-03-11 02:16:37 +00:00
Darin Adler 4db2c7ed35 Bump version. Bump version.
* NEWS: Bump version.
	* configure.in: Bump version.
2002-03-11 01:57:15 +00:00
Andraz Tori c195d389c7 Updated Slovenian translation 2002-03-10 21:46:20 +00:00
Andraz Tori c91fed48f0 Updated Slovenian translation 2002-03-10 19:21:34 +00:00
Alexander Larsson d4011b0bab Cache the value of getenv("G_BROKEN_FILENAMES"), as this getenv showed up
2002-03-10  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-file.c: (have_broken_filenames),
	(nautilus_file_rename), (nautilus_file_get_display_name):
	Cache the value of getenv("G_BROKEN_FILENAMES"), as this getenv
	showed up as 3.6% and nr 2 in profiles.
2002-03-10 18:20:09 +00:00
Chyla Zbigniew 96d57a96d4 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-03-10 13:38:42 +00:00
Alexander Larsson ea95001e71 Pass event->event to gtk_drag_begin in order get the right time for the
2002-03-10  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-property-browser.c (element_clicked_callback):
	Pass event->event to gtk_drag_begin in order get the right time
	for the grab. This avoids a race with the ungrab that could lead
	to stuck grabs.
2002-03-10 05:24:02 +00:00
Christian Rose 3904a6e185 Added missing file. Updated Swedish translation.
2002-03-10  Christian Rose  <menthos@menthos.com>

	* POTFILES.in: Added missing file.
	* sv.po: Updated Swedish translation.
2002-03-10 02:08:02 +00:00
jacob berkman db4de505d9 run-nautilus is no more, so just run nautilus
2002-03-09  jacob berkman  <jacob@ximian.com>

	* nautilus.desktop.in (Exec): run-nautilus is no more, so just run
	nautilus
2002-03-09 17:34:11 +00:00
Darin Adler 93f596f73b Add new "inserted_first_child" boolean so we can insert new children and
* components/tree/nautilus-tree-model.c:
	(tree_node_has_dummy_child): Add new "inserted_first_child"
	boolean so we can insert new children and get rid of the "empty"
	node.
	(insert_node): Handle the case where we insert the first child,
	and the empty node goes away.
	(start_monitoring_directory): Set the "done loading" state a bit
	earlier.
	(nautilus_tree_model_ref_node): Make the "done loading" state be
	false if there are no children, so we see "Loading" rather than
	"Empty" until we are sure it's empty.

	* icons/default/default.xml:
	* icons/gnome/gnome.xml:
	* icons/sierra/sierra.xml:
	* icons/tahoe/tahoe.xml:
	Vertical offset of "-1" looks right.

	* src/Makefile.am: Remove run-nautilus.
	* src/run-nautilus: Remove.
2002-03-09 02:45:07 +00:00
Michael Meeks ab3810795b create a UI component for the status, that is separate from the shell UI
2002-03-08  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c
	(nautilus_window_constructed): create a UI component for
	the status, that is separate from the shell UI component.
	(nautilus_window_finalize): release the status_ui.
	(nautilus_window_clear_status): remove fixme #43597
	(nautilus_window_set_status): upd.
2002-03-08 22:32:35 +00:00
Michael Meeks 35f5c495c2 a GSource is not a GObject, #73782.
2002-03-08  Michael Meeks  <michael@ximian.com>

	* libnautilus/nautilus-clipboard.c
	(select_all_callback): a GSource is not a
	GObject, #73782.
2002-03-08 22:11:01 +00:00
Darin Adler 23c0778181 Use gdk_get_display, not getenv ("DISPLAY"). Ditto. Ditto.
* components/adapter/main.c: (main): Use gdk_get_display, not
	getenv ("DISPLAY").
	* components/loser/content/main.c: (main): Ditto.
	* components/loser/sidebar/main.c: (main): Ditto.

	* components/tree/nautilus-tree-model.c:
	(stop_monitoring_directory): Rename back from
	stop_monitoring_directory_without_reporting. This no longer
	changes the state of "done_loading".
	(set_done_loading): New, handles a state change in either
	direction.
	(done_loading_callback): Moved most of the guts of this into the
	new set_done_loading.
	(start_monitoring_directory): Call set_done_loading explicitly.
	Before, this had to use an idle function, but this is no longer
	necessary since we use an idle function at the next level up.

	* libnautilus-private/nautilus-directory-metafile.c:
	(free_factory):
	* libnautilus-private/nautilus-metafile.c:
	(corba_register_monitor):
	* libnautilus-private/nautilus-undo-context.c:
	(nautilus_undo_context_new), (finalize):
	* libnautilus/nautilus-undo-transaction.c:
	(nautilus_undo_transaction_finalize),
	(nautilus_undo_transaction_add_to_undo_manager):
	* libnautilus/nautilus-undo.c: (nautilus_undo_share_undo_manager):
	* libnautilus/nautilus-view.c: (forget_cached_view_frame):
	* src/nautilus-component-adapter-factory.c: (release_factory):
	* src/nautilus-view-frame.c: (destroy_view):
	Clean up code by not bothering with an ev for CORBA_Object_release
	and CORBA_Object_duplicate.

	* src/nautilus-shell-ui.xml: Remove "Feedback" menu item.
2002-03-08 19:43:46 +00:00
Michael Meeks 74e52291f2 do a bonobo_ui_init, we shouldn't need it but libgnomeui has escaped from
2002-03-08  Michael Meeks  <michael@ximian.com>

	* src/nautilus-main.c (main): do a bonobo_ui_init,
	we shouldn't need it but libgnomeui has escaped from
	doing this for some reason.
	Remove eel_setenv DISPLAY chicanery

	* libnautilus/nautilus-view-standard-main.c
	(nautilus_view_standard_main_multi): remove double
	bonobo_ui_init.
2002-03-08 18:36:30 +00:00
Valek Frob 743848898d Updated russian translation. 2002-03-08 16:02:10 +00:00
Darin Adler 76c7001362 Rename old stop_monitoring_directory function.
* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-model.c:
	(stop_monitoring_directory_without_reporting): Rename old
	stop_monitoring_directory function.
	(stop_monitoring_directory): New function that handles changes
	caused by stopping monitoring.
	(destroy_children_by_function): New.
	(destroy_by_function): New.
	(should_show_file): New.
	(update_node): Call should_show_file instead of
	nautilus_file_is_gone to decide whether a given file should show
	up.
	(process_file_change): Ditto.
	(start_monitoring_directory): Pass through flags for whether to
	monitor invisible or backup files, rather than just TRUE, TRUE.
	(nautilus_tree_model_get_value): Use PANGO_STYLE_ITALIC instead of
	PANGO_STYLE_OBLIQUE. Both will fall back to the other if not
	available, but if we have both, we'd prefer italic.
	(stop_monitoring_directory_and_children): New.
	(stop_monitoring): New.
	(nautilus_tree_model_set_show_hidden_files): New.
	(nautilus_tree_model_set_show_backup_files): New.
	(file_is_not_directory): New.
	(nautilus_tree_model_set_show_only_directories): New.

	* components/tree/nautilus-tree-view.c:
	(update_filtering_from_preferences): Call functions to change
	settings on model rather than storing these settings here.
	(tree_activate_callback),
	(filtering_changed_callback): Call
	update_filtering_from_preferences to set filtering for the newly
	created tree.
	(nautilus_tree_view_instance_init): Don't call
	update_filtering_from_preferences here, because we don't have a
	tree model yet.

	* libnautilus-private/nautilus-theme.c: Formatting tweaks.
	* libnautilus/nautilus-view-standard-main.c: Formatting tweak.
	* src/nautilus-window-toolbars.c: Formatting tweaks, and remove
	some unnecessary localized strings.

	* src/nautilus-zoom-control.h: Remove extern "C" stuff. If we need
	this, we'll do G_BEGIN_DECLS, and it's silly to use it for private
	headers that are never going to be used from C++.

	* libnautilus-private/nautilus-bonobo-extensions.c:
	(nautilus_bonobo_activation_register_for_display): Temporarily
	re-disable per-display registration since it doesn't work at all
	on my machine. I'll turn it back on after talking to Michael
	Meeks.
2002-03-08 09:29:57 +00:00
Andraz Tori 71c2d7efb3 Updated Slovenian translation 2002-03-08 02:32:09 +00:00
Darin Adler 507ecb5342 Zoom control doesn't have a translatable string any more. We don't need to
* POTFILES.in: Zoom control doesn't have a translatable
	string any more. We don't need to translate x%.
2002-03-07 22:41:29 +00:00
Darin Adler b21c63fc77 Tweaked the zoom control specifications to match the new nicer rules.
* icons/crux_eggplant/crux_eggplant.xml:
	* icons/crux_teal/crux_teal.xml:
	* icons/default/default.xml:
	* icons/gnome/gnome.xml:
	* icons/sierra/sierra.xml:
	* icons/tahoe/tahoe.xml:
	Tweaked the zoom control specifications to match the new nicer
	rules.

	* src/nautilus-zoom-control.c: (draw_number):
	Removed a lot of strangeness and fudge factors from this function.
2002-03-07 22:34:09 +00:00
Vincent van Adrighem 80464ee1ea Massive translation update from a joint translation attempt.
2002-03-07 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Massive translation update from a joint translation attempt.
  Gathering.tweakers.net, a dutch forum with lots of nice people.
2002-03-07 20:52:06 +00:00
Darin Adler 136742e4ef Because lots of recent bugs were due to "signal handler called after
* Tons of files:
	Because lots of recent bugs were due to "signal handler called after
	object gone" problems, switched many calls of g_signal_connect and
	g_signal_connect_swapped to use g_signal_connect_object instead.
	Also did other signal-related cleanup and changed some destroys to
	finalizes.

	* libnautilus/nautilus-view-standard-main.h:
	We no longer need to include nautilus-view.h in here. So include it
	in the files that use this instead.

	Did merges from stable branch:

	2001-10-25  Darin Adler  <darin@bentspoon.com>

        * libnautilus-private/nautilus-directory.c:
        (call_files_changed_common), (call_files_changed_free_list),
        (call_files_changed_unref_free_list),
        (nautilus_directory_notify_files_changed): Move call to
        nautilus_directory_add_file_to_work_queue into a better
        bottleneck; now it catches all the notify cases, not just changed.
        Also tell it to re-get top-left text and link info too when we get
        a changed notice.

        * src/file-manager/fm-directory-view.c: (queue_pending_files):
        Don't use the timeout (and the hysteresis) when queuing files once
        the initial directory load is complete. Doing this was causing
        delays processing changes that came in later, which we don't want.

        * src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add),
	(update_all), (nautilus_sidebar_title_set_file): Monitor the
	directory count once we get it the first time. This makes sure
	that changes in the directory count get reflected in the sidebar
	without creating a race with the main view to see who calculates
	it first.

	2001-10-25  Alex Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-directory.c
	(nautilus_directory_notify_files_changed): Call
	nautilus_directory_add_file_to_work_queue() when file_info is
	invalidated.  Otherwise it will not be read again.
2002-03-07 19:36:18 +00:00
Michael Meeks 6b5798037c impl. to cope with having a paned with no child2, without doing lots of
2002-03-07  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-horizontal-splitter.c
	(nautilus_horizontal_splitter_size_allocate): impl. to
	cope with having a paned with no child2, without doing
	lots of bogus size re-allocation.
	(nautilus_horizontal_splitter_class_init): upd.
	(nautilus_horizontal_splitter_pack2): impl, since
	gtkpaned relies on the re-size to generate an expose
	to re-render it's splitter grabber thing.a

	* src/nautilus-sidebar.c
	(nautilus_sidebar_set_width): impl. moving all sidebar
	preferences here,
	(nautilus_sidebar_init): move auto value setup
	here from class_init to save possible re-enterancy
	issue. Request the size we want for the sidebar,
	the pane will under-allocate if neccessary.
	Set the old_width to the correct size so we don't
	re-render the paned lots as it swiches about.

	* src/nautilus-window.c
	(nautilus_window_constructed): reflow to simplify,
	call sidebar_set_width.
	(nautilus_window_set_content_view_widget): use
	nautilus_..._pack2 instead of gtk_paned to fix rendering.

2002-03-06  Michael Meeks  <michael@ximian.com>

	* components/notes/nautilus-notes.c
	(make_notes_view): upd.

	* components/news/nautilus-news.c
	(rss_read_done_callback): parse the RTF, but don't spew
	warnings everywhere.
	(make_news_view): upd.

	* components/throbber/main.c
	(cb_create_throbber): impl.
	(throbber_object_destroyed, throbber_make_object):
	axe cut & paste.

	* libnautilus/nautilus-view-standard-main.c
	(nautilus_view_create_from_get_type_function):
	widen from NautilusView to BonoboObject, this
	code has a much wider application.
	(make_object): ditto.

	* components/hardware/nautilus-hardware-view.c
	(nautilus_hardware_view_get_nautilus_view): upd.

	* components/throbber/nautilus-throbber.c
	(nautilus_throbber_new): kill.

	* libnautilus/nautilus-view-standard-main.c
	(nautilus_view_standard_main_multi): use gdk_get_display.

	* libnautilus-private/nautilus-bonobo-extensions.c
	(nautilus_bonobo_activation_register_for_display): impl.

	* src/nautilus-application.c
	(nautilus_application_startup): use it.

	* src/nautilus-window-toolbars.c
	(location_change_at_idle_callback),
	(throbber_callback): move from nautilus-window.c
	(nautilus_window_allow_stop): move this here,
	prune redundant sets, simplify property bag
	extraction.

	* src/nautilus-window.c
	(nautilus_window_constructed): move throbber
	location changed code out of here.
	(nautilus_window_unrealize): no explicit removal
	from remote property bag neccessary & upd.

	* libnautilus-private/nautilus-metafile-factory.c
	(corba_open): reduce complexity.
2002-03-07 14:02:19 +00:00
Andraz Tori 933e88806a Updated Slovenian translation 2002-03-07 12:45:12 +00:00
Anders Carlsson 43b59c2a4f Remove conflict markers. 2002-03-07 08:28:28 +00:00
Anders Carlsson 17170fe596 Require eel 1.1.7
2002-03-07  Anders Carlsson  <andersca@gnu.org>

	* configure.in: Require eel 1.1.7

	* src/nautilus-preferences-dialog.c:
	Use EEL_PREFERENCE_ITEM_EDITABLE_PASSWORD_STRING for
	the proxy dialog. Fixes #69387.
2002-03-07 08:27:52 +00:00
Alexander Larsson abf700ab0a (merges from stable):
2002-03-06  Alexander Larsson  <alla@lysator.liu.se>

	(merges from stable):

	* libnautilus-private/nautilus-monitor.c:
	(process_fam_notifications): Tweak comment.

	* src/nautilus-window-manage-views.c:
	(cancel_viewed_file_changed_callback), (update_for_new_location):
	Monitor the existence of the currently viewed file, so we notice
	when the file is deleted.

        * src/file-manager/fm-directory-view.h:
	Add emblems_changes method.

        * src/file-manager/fm-directory-view.c:
	(file_changed_callback): Call emblems_changed.
	(fm_directory_view_add_relative_emblems_to_exclude,
	real_get_emblem_names_to_exclude):
	exclude non-writable emblems if directory is not
	writable.

	* src/file-manager/fm-icon-view.c:
	Implement emblem_changes.

	* src/file-manager/fm-list-view.c:
	Add GNOME2_CONVERSION_COMPLETE where the emblem icon
	update is needed.
2002-03-07 04:17:52 +00:00
Duarte Loreto 6508656341 Updated Portuguese translation.
2002-03-07  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-03-07 01:35:38 +00:00
Darin Adler a266f82670 Add the libbackground file in here to quiet down intltool-update.
* POTFILES.skip: Add the libbackground file in here to quiet
	down intltool-update.
2002-03-07 00:10:56 +00:00
Darin Adler e4e62eafe0 Don't warn when asked to remove a file that's not in the list. That
* src/file-manager/fm-list-model.c: (fm_list_model_remove_file):
	Don't warn when asked to remove a file that's not in the list.
	That happens relatively often.
2002-03-06 23:15:39 +00:00
Darin Adler 4039bece0e Use g_signal_connect_object instead of g_signal_connnect to make sure we
* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_instance_init): Use g_signal_connect_object
	instead of g_signal_connnect to make sure we don't get called once
	the widget is dead.
2002-03-06 22:47:45 +00:00
Darin Adler 4e51669764 Say "Close" instead of "Done".
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
	Say "Close" instead of "Done".

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init): Say "Close" instead of "Done".

	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init): Use
	g_signal_connect_object instead of g_signal_connect_swapped.  This
	will probably fix the theme-switching problem people have been
	complaining about.

	* src/nautilus-preferences-dialog.c: Tweak formatting.
	* src/file-manager/fm-properties-window.c: Tweak formatting.

	* src/nautilus-application.c: Fix bug # in a comment.
2002-03-06 22:37:01 +00:00
Kjartan Maraas b96838855a Updated Norwegian (bokmål) translation.
2002-03-06  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
2002-03-06 21:14:42 +00:00
Darin Adler 46d19e4525 New name for destroy_unneeded_children, which now starts monitoring for
* components/tree/nautilus-tree-model.c: (update_monitoring): New
	name for destroy_unneeded_children, which now starts monitoring
	for nodes that need it as well as stopping monitoring and
	destroying children for notes that don't need it.
	(update_monitoring_idle_callback): New name.
	(schedule_monitoring_update): New name.
	(nautilus_tree_model_ref_node): Call schedule_monitoring_update when
	a node is ref'd, rather than doing it right away.
	(nautilus_tree_model_unref_node): Hoist the code from last_child_unref
	here, since it's only a single call.

	* components/tree/nautilus-tree-view.c: (sort_model_iter_to_file),
	(compare_rows), (create_tree): Turn on the GtkTreeModelSort code.
	The above fix makes us stop crashing, and the Gtk fix I'll check in
	soon makes the sorting actually work.
2002-03-06 21:08:39 +00:00
Darin Adler dc7b7ec4cf Fix storage leaks.
* libnautilus-private/nautilus-mime-actions.c:
	(nautilus_mime_set_short_list_applications_for_file),
	(nautilus_mime_set_short_list_components_for_file):
	Fix storage leaks.
2002-03-06 19:24:43 +00:00
Michael Meeks 7f7c846b5d don't try to set properties on a remote container that is being / has been
2002-03-06  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_update_menus): don't try to set properties
	on a remote container that is being / has been torn down.

	* libnautilus-private/nautilus-global-preferences.c
	(default_icon_view_sort_order_or_manual_layout_changed_callback),
	(nautilus_global_preferences_set_default_folder_viewer),
	(default_folder_viewer_changed_callback): upd. for enum code.

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_class_init): use
	eel_preferences_add_auto_enum instead of auto_int.

	* src/file-manager/fm-list-view.c
	(fm_list_view_class_init): ditto.

	* src/file-manager/fm-icon-view.c
	(get_default_sort_order, get_default_zoom_level_font_size),
	(get_default_zoom_level, fm_icon_view_init): ditto.

	* libnautilus-private/nautilus-thumbnails.c
	(prefer_global_thumbnails_location): ditto.

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

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_class_init): ditto.

2002-03-05  Michael Meeks  <michael@ximian.com>

	* components/music/nautilus-music-view.c
	(nautilus_music_view_init): use
	eel_preferences_get_enum instead of get_integer

	* src/nautilus-switchable-search-bar.c
	(nautilus_search_uri_to_search_bar_mode),
	(nautilus_switchable_search_bar_new): ditto.

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_update_click_mode): ditto.

	* src/file-manager/fm-directory-view.c
	(get_executable_text_file_action): ditto.

	* libnautilus-private/nautilus-metafile.c
	(can_use_public_metafile): ditto.

	* libnautilus-private/nautilus-file.c
	(show_directory_item_count_changed_callback),
	(show_text_in_icons_changed_callback): use get_enum

	* libnautilus-private/nautilus-global-preferences.c
	(preference_defaults): add the PREFERENCE_ENUM type
	and make this a string, as GConf expects.

	* configure.in: add the GConf magic.

	* libnautilus-private/Makefile.am (schemadir):
	add schema installation bits.
2002-03-06 15:36:01 +00:00
Alexander Larsson 30258d0ac7 widget_x/y ->o world_x/y
2002-03-06  Alexander Larsson  <alla@lysator.liu.se>

	* nautilus-icon-private.h: (NautilusIconContainerDetails):
	widget_x/y ->o world_x/y

	* libnautilus-private/nautilus-icon-container.c:
	Fix all the coordinate system problems. Now stretching should
	work correctly again. There are a multitude of issues when
	handling this:
	1) When doing rubberbanding we want to use widget-relative
	   coordinates so that we can auto-scroll.
	2) The widget events (button_press_event, button_release_event
	   and motion_notify_event) report coordintes relative to
	   GTK_LAYOUT(container)->bin_window, aka canvas "window
	   coordinates"
	3) The canvas item events (item_event_callback,
	   handle_icon_button_press) report coordinates in canvas
	   world coordinates (a change since gnome 1 i believe)
2002-03-06 05:57:57 +00:00
David Emory Watson 07456442c1 applied patch by Andrew Burr to add mini icons for refresh, zoom-*, and
2002-03-05  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/nautilus-shell-ui.xml: applied patch by Andrew Burr to add mini
	icons for refresh, zoom-*, and about menu items.
2002-03-06 02:54:01 +00:00
David Emory Watson e553b63876 fix mini icons in the edit menu so that they don't disappear when the
2002-03-04  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/nautilus-directory-view-ui.xml: fix mini icons in
	the edit menu so that they don't disappear when the focus changes.
2002-03-06 02:39:13 +00:00
Darin Adler ded1609cb9 Oops, rolled that out. 2002-03-06 01:12:22 +00:00
Darin Adler 9064c5bb8a Remove unneeded g_return_if_fail. We call only one other function, so that
* libnautilus-private/nautilus-bonobo-extensions.c:
	(nautilus_bonobo_set_accelerator): Remove unneeded
	g_return_if_fail. We call only one other function, so that can
	handle parameter checking.
	(nautilus_bonobo_set_label): Ditto.
	(nautilus_bonobo_set_tip): Ditto.
	(nautilus_bonobo_set_sensitive): Ditto.
	(nautilus_bonobo_set_toggle_state): Ditto.
	(nautilus_bonobo_set_hidden): Ditto.
	(nautilus_bonobo_get_label): Ditto.
	(nautilus_bonobo_get_hidden): Add g_return_if_fail.
	(get_numbered_menu_item_name): Remove unused parameters.
	(add_numbered_menu_item_internal): Set label with
	nautilus_bonobo_set_label so there aren't any issues with XML
	entity encoding.
	(nautilus_bonobo_add_submenu): Ditto.
	(nautilus_bonobo_add_menu_separator): Add g_return_if_fail.
	(remove_commands): Remove g_return_if_fail since caller does it.
	(nautilus_bonobo_set_label_for_menu_item_and_command): Add
	g_return_if_fail.
2002-03-06 01:11:27 +00:00
Anders Carlsson 98e65ab63e Use eel_str_has_prefix so we don't have to dup and free the uri. 2002-03-06 00:40:28 +00:00
Anders Carlsson 2b5c7d55e3 Only look for .directory files in directories that have a special scheme.
2002-03-06  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-directory-async.c:
	(should_look_for_dot_directory_file), (lacks_link_info):
	Only look for .directory files in directories that have a
	special scheme.

	(make_dot_directory_uri):
	Remove sync check for .directory files.
2002-03-06 00:29:46 +00:00
Darin Adler 9997d4a01b Put release marker back. 2002-03-05 23:06:27 +00:00
Darin Adler 84c9b32b90 New. (tree_selection_not_empty): New. (tree_view_has_selection): New.
* src/file-manager/fm-list-view.c:
        (tree_selection_foreach_set_boolean): New.
        (tree_selection_not_empty): New.
        (tree_view_has_selection): New.
        (event_after_callback): Handle only clicks in the bin_window.
        Also, decide which menu to display by whether an item is selected
        or not rather than by where the click is.
        (button_press_callback): Deselect all items when you click on the
        background.
        (create_and_set_up_tree_view): Connect the new handler.
2002-03-05 22:35:51 +00:00