1. 07 Mar, 2002 7 commits
    • Michael Meeks's avatar
      impl. to cope with having a paned with no child2, without doing lots of · 6b579803
      Michael Meeks authored
      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.
      6b579803
    • Andraz Tori's avatar
      Updated Slovenian translation · 933e8880
      Andraz Tori authored
      933e8880
    • Anders Carlsson's avatar
      Remove conflict markers. · 43b59c2a
      Anders Carlsson authored
      43b59c2a
    • Anders Carlsson's avatar
      Require eel 1.1.7 · 17170fe5
      Anders Carlsson authored
      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.
      17170fe5
    • Alexander Larsson's avatar
      (merges from stable): · abf700ab
      Alexander Larsson authored
      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.
      abf700ab
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 65086563
      Duarte Loreto authored
      2002-03-07  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      65086563
    • Darin Adler's avatar
      Add the libbackground file in here to quiet down intltool-update. · a266f826
      Darin Adler authored
      	* POTFILES.skip: Add the libbackground file in here to quiet
      	down intltool-update.
      a266f826
  2. 06 Mar, 2002 14 commits
    • Darin Adler's avatar
      Don't warn when asked to remove a file that's not in the list. That · e4e62eaf
      Darin Adler authored
      	* 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.
      e4e62eaf
    • Darin Adler's avatar
      Use g_signal_connect_object instead of g_signal_connnect to make sure we · 4039bece
      Darin Adler authored
      	* 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.
      4039bece
    • Darin Adler's avatar
      Say "Close" instead of "Done". · 4e516697
      Darin Adler authored
      	* 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.
      4e516697
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · b9683885
      Kjartan Maraas authored
      2002-03-06  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      b9683885
    • Darin Adler's avatar
      New name for destroy_unneeded_children, which now starts monitoring for · 46d19e45
      Darin Adler authored
      	* 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.
      46d19e45
    • Darin Adler's avatar
      Fix storage leaks. · dc7b7ec4
      Darin Adler authored
      	* 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.
      dc7b7ec4
    • Michael Meeks's avatar
      don't try to set properties on a remote container that is being / has been · 7f7c846b
      Michael Meeks authored
      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.
      7f7c846b
    • Alexander Larsson's avatar
      widget_x/y ->o world_x/y · 30258d0a
      Alexander Larsson authored
      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)
      30258d0a
    • David Emory Watson's avatar
      applied patch by Andrew Burr to add mini icons for refresh, zoom-*, and · 07456442
      David Emory Watson authored
      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.
      07456442
    • David Emory Watson's avatar
      fix mini icons in the edit menu so that they don't disappear when the · e553b638
      David Emory Watson authored
      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.
      e553b638
    • Darin Adler's avatar
      Oops, rolled that out. · ded1609c
      Darin Adler authored
      ded1609c
    • Darin Adler's avatar
      Remove unneeded g_return_if_fail. We call only one other function, so that · 9064c5bb
      Darin Adler authored
      	* 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.
      9064c5bb
    • Anders Carlsson's avatar
    • Anders Carlsson's avatar
      Only look for .directory files in directories that have a special scheme. · 2b5c7d55
      Anders Carlsson authored
      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.
      2b5c7d55
  3. 05 Mar, 2002 16 commits
    • Darin Adler's avatar
      Put release marker back. · 9997d4a0
      Darin Adler authored
      9997d4a0
    • Darin Adler's avatar
      New. (tree_selection_not_empty): New. (tree_view_has_selection): New. · 84c9b32b
      Darin Adler authored
              * 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.
      84c9b32b
    • Dave Camp's avatar
      Remove the #ifdef GNOME2_CONVERSION_COMPLETE and replace · 8fab4f52
      Dave Camp authored
      2002-03-05  Dave Camp  <dave@ximian.com>
      
      	* components/notes/nautilus-notes.c:
      	(notify_listeners_if_changed): Remove the #ifdef
      	GNOME2_CONVERSION_COMPLETE and replace
      	bonobo_property_bag_notify_listeners with a
      	bonobo_event_source_notify_listeners_full call.
      	(make_notes_view): Remove the #ifdef GNOME2_CONVERSION_COMPLETE
      	and send the proper arguments to bonobo_control_set_properties.
      8fab4f52
    • Darin Adler's avatar
      Tweak. · 8838f9d4
      Darin Adler authored
      8838f9d4
    • Darin Adler's avatar
      Release marker. · 5611d704
      Darin Adler authored
      5611d704
    • Anders Carlsson's avatar
      Display the background context menu if no item is selected. · e697f507
      Anders Carlsson authored
      2002-03-05  Anders Carlsson  <andersca@gnu.org>
      
      	* src/file-manager/fm-list-view.c
      	(event_after_callback):
      	Display the background context menu if no item is
      	selected.
      e697f507
    • Darin Adler's avatar
      Bump versions for 1.1.8. · c4aba4f1
      Darin Adler authored
      c4aba4f1
    • Carlos Perello Marin's avatar
      Updated by Pablo del Campo <pablodc@bigfoot.com>, welcome Pablo. Also · dfb7a945
      Carlos Perello Marin authored
      2002-03-05  Carlos Perello Marin <carlos@gnome-db.org>
      
      	* es.po: Updated by Pablo del Campo <pablodc@bigfoot.com>, welcome
      	Pablo. Also recoded as UTF-8
      dfb7a945
    • Jens Finke's avatar
      Escape '!' character in URIs before using it as a moniker string. · 4d6ca741
      Jens Finke authored
      2002-03-05  Jens Finke  <jens@triq.net>
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c
      	(nautilus_adapter_stream_load_strategy_load_location): Escape '!'
      	character in URIs before using it as a moniker string.
      4d6ca741
    • Anders Carlsson's avatar
      Register default folder viewer enumeration too. · 562a2917
      Anders Carlsson authored
      2002-03-05  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-global-preferences.c
      	(nautilus_global_preferences_init_with_folder_browsing):
      	Register default folder viewer enumeration too.
      562a2917
    • Michael Meeks's avatar
      check if zoomable is non NULL. (fm_directory_view_destroy): NULL the · 0e7e5c71
      Michael Meeks authored
      2002-03-05  Michael Meeks  <michael@ximian.com>
      
      	* src/file-manager/fm-directory-view.c
      	(fm_directory_view_supports_zooming): check if
      	zoomable is non NULL.
      	(fm_directory_view_destroy): NULL the zoomable at
      	the same time as the nautilus_view, since they're
      	the same aggregate.
      0e7e5c71
    • Michael Meeks's avatar
      impl. (cache_icon_new): add the icon to the cache view. · 358d9c19
      Michael Meeks authored
      2002-03-05  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-factory.c
      	(get_image_cache_view): impl.
      	(cache_icon_new): add the icon to the cache view.
      	(cache_icon_unref): destroy the icon's view widget.
      358d9c19
    • John Fleck's avatar
      help/Makefile.am adding xmldocs.make to EXTRA_DIST · b3fbf520
      John Fleck authored
      
      2002-03-04 John Fleck <jfleck@inkstain.net>
      
      	* help/Makefile.am
      	adding xmldocs.make to EXTRA_DIST
      b3fbf520
    • Darin Adler's avatar
      Fix a stray NautilusFile unref that could cause big trouble. · cbd843d8
      Darin Adler authored
      	* src/file-manager/fm-directory-view.c: (real_file_limit_reached):
      	Fix a stray NautilusFile unref that could cause big trouble.
      
      	* src/file-manager/fm-list-view.c: (event_after_callback): New,
      	puts up a menu when you right-click.
      	(create_and_set_up_tree_view): Attach new handler.
      	(fm_list_view_reset_to_defaults): Make this compile.
      cbd843d8
    • Darin Adler's avatar
      Put a default one in here, since there are only really icon locations for · e839e479
      Darin Adler authored
      	* src/file-manager/fm-directory-view.c:
      	(real_get_selected_icon_locations): Put a default one in here, since
      	there are only really icon locations for FMIconView.
      	(fm_directory_view_class_init): Set up default get_selected_icon_locations.
      
      	* src/file-manager/fm-list-model.c:
      	(fm_list_model_get_sort_column_id_from_attribute): Allow NULL.
      	(fm_list_model_get_sort_column_id_from_sort_type): Handle all types.
      
      	* src/file-manager/fm-list-view.c:
      	(set_sort_order_from_metadata_and_preferences): Fix to handle unknown
      	values in metadata.
      	(fm_list_view_reset_to_defaults): New.
      	(fm_list_view_class_init): Hoom up the new reset_to_defaults function.
      e839e479
    • Darin Adler's avatar
      Formatting tweaks. · c3955f71
      Darin Adler authored
      	* src/file-manager/fm-directory-view.c: Formatting tweaks.
      
      	* src/file-manager/fm-list-model.c: (remove_link_saving_prev):
      	Fix bug where it would skip every other node.
      
      	* src/file-manager/fm-list-view.c: (fm_list_view_select_all): New.
      	(fm_list_view_class_init): Add placeholders for things we need to
      	implement to satisfy FMDirectoryView. Implement one: select all.
      c3955f71
  4. 04 Mar, 2002 3 commits