1. 18 Dec, 2001 1 commit
    • Darin Adler's avatar
      Do text drawing with Pango for the anti-aliased case. Remove all use of · 0e61a2dc
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_init),
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_invalidate_label_size),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text),
      	(measure_label_text), (create_label_layout), (get_label_layout),
      	(draw_label_layout), (draw_or_measure_label_text_aa),
      	(draw_label_text_aa), (nautilus_icon_canvas_item_class_init):
      	Do text drawing with Pango for the anti-aliased case. Remove all
      	use of the non-Pango Eel anti-aliased text drawing code.
      
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-container.c: (finalize),
      	(nautilus_icon_container_init),
      	(nautilus_icon_container_update_icon),
      	(nautilus_icon_container_set_label_font_for_zoom_level):
      	* src/file-manager/fm-icon-view.c: (create_icon_container),
      	(fm_icon_view_init):
      	Remove the smooth-font stuff. We're going to use a single font
      	once we change everything to use Pango.
      
      	* icons/Makefile.am: Remove help-system icons.
      	* icons/hyperbola-*: Remove help-system icons.
      0e61a2dc
  2. 17 Dec, 2001 1 commit
  3. 16 Dec, 2001 1 commit
  4. 15 Dec, 2001 1 commit
  5. 14 Dec, 2001 3 commits
  6. 13 Dec, 2001 1 commit
    • Darin Adler's avatar
      Deleted help component as it is not slated to be part of Gnome 2. · 22ac93ef
      Darin Adler authored
      	* components/Makefile.am:
      	* components/help/*:
      	* nautilus.spec.in:
      	Deleted help component as it is not slated to be part of Gnome 2.
      
      	* RENAMING: No need to rename hyperbola if it's gone.
      
      	* configure.in: Removed ScrollKeeper check. Took a cut at making
      	the medusa check use pkg-config, it's probably messed up but at
      	least we won't define HAVE_MEDUSA if we see the Gnome 1 medusa.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_init),
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg),
      	(draw_or_measure_label_text_aa), (draw_label_text_aa),
      	(nautilus_icon_canvas_item_class_init):
      	Quick cut at porting to Pango from Eel font code. It's all under
      	ifdef USE_EEL_TEXT because it's not working well yet. At the moment
      	the text looks bad, and it's very slow, and it's not centered.
      
      	* libnautilus-private/nautilus-icon-factory.c: (embed_text):
      	Baby steps at doing the port to Pango here too.
      
              * src/file-manager/fm-directory-view.c: (real_update_menus):
              Add a check for NULL that seems required. This change was
              suggested by the backtrace in bug 66809, but it's not clear
              if this really fixes anything. (Rolled from stable branch.)
      
      	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
      	Fix code that passed a path instead of a URI when creating a
              desktop file. (Rolled from stable branch.)
      
      	* TODO: Minor updates.
      22ac93ef
  7. 12 Dec, 2001 2 commits
    • Michael Meeks's avatar
      fix container ref leak. · 612ed122
      Michael Meeks authored
      2001-12-12  Michael Meeks  <michael@ximian.com>
      
      	* src/file-manager/fm-icon-view.c
      	(fm_icon_view_merge_menus): fix container ref leak.
      
      	* src/file-manager/fm-search-list-view.c
      	(real_merge_menus): ditto.
      
      	* src/file-manager/fm-desktop-icon-view.c
      	(fm_desktop_icon_view_destroy): more guards.
      	(real_merge_menus): fix container ref leak.
      612ed122
    • Michael Meeks's avatar
      protect vs. double destroy. · f9769d4c
      Michael Meeks authored
      2001-12-12  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c (nautilus_window_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-window-manage-views.c (disconnect_view):
      	start macro definitions on the first line.
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-sidebar-tabs.c
      	(nautilus_sidebar_tabs_destroy): protect vs. double destroy
      	and theoretical re-enterancy hazard.
      
      	* src/nautilus-sidebar-title.c
      	(nautilus_sidebar_title_destroy): protect vs. double
      	destroys.
      
      	* src/nautilus-application.c (create_object): re-enable
      	list view.
      
      	* src/file-manager/fm-list-view.c: re-enable.
      f9769d4c
  8. 11 Dec, 2001 1 commit
    • Laszlo Peter's avatar
      s/__FUNCTION__/G_GNUC_FUNCTION/ · 57b74638
      Laszlo Peter authored
      2001-12-11  Laszlo Peter  <laca@ireland.sun.com>
      
              * libnautilus-private/nautilus-authn-manager.c:
              s/__FUNCTION__/G_GNUC_FUNCTION/
      
              * libnautilus-private/nautilus-directory-background.c: get rid of
              _gdk_display_name
      
              * libnautilus-private/nautilus-volume-monitor.c
              (nautilus_volume_get_device_type): remove "const" to match the
              prototype.
      57b74638
  9. 10 Dec, 2001 3 commits
  10. 09 Dec, 2001 1 commit
    • Darin Adler's avatar
      Do fix based on patch from Martin Wehner <mwehner@tfh-berlin.de> to · 0df7aba6
      Darin Adler authored
      	* libnautilus-private/nautilus-file-operations.c:
      	(handle_transfer_ok): Do fix based on patch from Martin Wehner
      	<mwehner@tfh-berlin.de> to prevent cancel of emptying trash or
      	deleting from core dumping.
      
      	* Makefile.am:
      	* configure.in:
      	* docs/.cvsignore:
      	* docs/Makefile.am:
      	Add files in the docs directory to tarball.
      
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi): Whitespace tweak.
      0df7aba6
  11. 08 Dec, 2001 5 commits
    • Anders Carlsson's avatar
      Remove conflict markers · d58fa91a
      Anders Carlsson authored
      d58fa91a
    • Anders Carlsson's avatar
      Update for new bonobo property bag API. · 1ab16a8b
      Anders Carlsson authored
      2001-12-08  Anders Carlsson  <andersca@gnu.org>
      
      	* components/throbber/nautilus-throbber.c:
      	(nautilus_throbber_instance_init):
      	* src/nautilus-window.c: (nautilus_window_allow_stop):
      	Update for new bonobo property bag API.
      1ab16a8b
    • Michael Meeks's avatar
      unroll control creation, connect to "activate" signal handler not map / · 84204ad0
      Michael Meeks authored
      2001-12-08  Michael Meeks  <michael@ximian.com>
      
      	* components/tree/nautilus-tree-view.c
      	(nautilus_tree_view_init): unroll control creation,
      	connect to "activate" signal handler not map / unmap
      	on no-window widget GtkScrolledWindow.
      	(tree_map_callback, tree_unmap_callback): kill.
      	(tree_activate_callback): impl.
      
      	* components/tree/libmain.c
      	(BonoboActivation_Plugin_info) ->
      	(Bonobo_Plugin_info).
      
      	* components/tree/Makefile.am: setup ldflags
      	correctly, and a LIBADD so we can activate it
      	independantly.
      
      	* components/throbber/main.c (main): fix for
      	bonobo-activation-server race condition.
      
      	* libnautilus-private/nautilus-marshal.list:
      	add VOID:STRING,STRING
      84204ad0
    • Michael Meeks's avatar
      if we were already registered - due to a beautifuly inefficient activation · a0f24894
      Michael Meeks authored
      2001-12-06  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): if we were
      	already registered - due to a beautifuly inefficient
      	activation server race - just quit.
      a0f24894
    • Darin Adler's avatar
      Tweak some documents, removing obsolete ones. · c9b8fca3
      Darin Adler authored
      	* docs/design.txt:
      	* docs/gnomad-notes.txt:
      	* docs/metaitems.txt:
      	* docs/nautilus.faq:
      	* docs/use-cases.txt:
      	Tweak some documents, removing obsolete ones.
      c9b8fca3
  12. 07 Dec, 2001 3 commits
    • Darin Adler's avatar
      Moved mozilla component into its own module. · 95b0620d
      Darin Adler authored
      	* components/Makefile.am:
      	* components/mozilla/.cvsignore:
      	* components/mozilla/Makefile.am:
      	* components/mozilla/Nautilus_View_mozilla.server.in:
      	* components/mozilla/bonobo-extensions.c:
      	* components/mozilla/bonobo-extensions.h:
      	* components/mozilla/main.c:
      	* components/mozilla/mozilla-components.cpp:
      	* components/mozilla/mozilla-components.h:
      	* components/mozilla/mozilla-events.cpp:
      	* components/mozilla/mozilla-events.h:
      	* components/mozilla/mozilla-preferences.cpp:
      	* components/mozilla/mozilla-preferences.h:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* components/mozilla/nautilus-mozilla-content-view.h:
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
      	* components/mozilla/nautilus-mozilla-embed-extensions.h:
      	* components/mozilla/nautilus-mozilla-encoding-tables.c:
      	* components/mozilla/nautilus-mozilla-encoding-tables.h:
      	* components/mozilla/nautilus-mozilla-ui.xml:
      	* configure.in:
      	* nautilus.spec.in:
      	Moved mozilla component into its own module.
      95b0620d
    • Darin Adler's avatar
      Moved mozilla component into its own module. · 529f8699
      Darin Adler authored
      	* POTFILES.in: Moved mozilla component into its own module.
      529f8699
    • Darin Adler's avatar
      lots of files Get rid of casts in callers to g_object_ref/g_object_unref. · 5a749ac9
      Darin Adler authored
      	* lots of files
      	Get rid of casts in callers to g_object_ref/g_object_unref.
      	Remove parameters to eel_make_warnings_and_criticals_stop_in_debugger.
      5a749ac9
  13. 05 Dec, 2001 1 commit
    • Gediminas Paulauskas's avatar
      remove cut'n'pasted functions which are in glib now. don't set close key · 60c93330
      Gediminas Paulauskas authored
      2001-12-05  Gediminas Paulauskas <menesis@delfi.lt>
      
      	* libnautilus-private/nautilus-desktop-file-loader.c: remove
      	cut'n'pasted functions which are in glib now.
      	* src/nautilus-about.c (nautilus_about_instance_init): don't set
      	close key accelerator, Gtk+ does that already.
      
      2001-12-05  Gediminas Paulauskas <menesis@delfi.lt>
      
      	* configure.in, libnautilus/Makefile.am,
      	libnautilus/libnautilus.pc.in: make libnautilus know to pkg-config
      
      2001-12-05  Gediminas Paulauskas <menesis@delfi.lt>
      
      	* components/hardware/main.c, components/help/hyperbola-main.c,
      	components/image-viewer/nautilus-image-view.c,
      	components/mozilla/main.c, libnautilus/nautilus-view-standard-main.c,
      	src/nautilus-main.c: (main) get translated messages from nautilus
      	text domain in utf-8.
      	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback)
      	replace copyright symbol with utf-8 version of it.
      60c93330
  14. 04 Dec, 2001 2 commits
    • Christian Rose's avatar
      Updated Swedish translation. · 0ab45607
      Christian Rose authored
      2001-12-05  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      0ab45607
    • Darin Adler's avatar
      Fix bugs exposed by "make check". · b1dda721
      Darin Adler authored
      	* libnautilus-private/nautilus-directory-async.c:
      	(is_dot_or_dot_dot), (should_skip_file),
      	(dequeue_pending_idle_callback), (directory_load_one),
      	(count_non_skipped_files), (directory_count_callback),
      	(start_monitoring_file_list), (deep_count_one), (mime_list_one):
      	Add new code to handle stuff that we did with a gnome-vfs filter
      	in the old version.
      
      	* libnautilus-private/nautilus-search-uri.c:
      	(strip_uri_beginning), (tokenize_uri): Fix use of g_strsplit since
      	the meaning of the parameter has changed.
      b1dda721
  15. 03 Dec, 2001 1 commit
    • Darin Adler's avatar
      Use GNOME_DOT_GNOME. · 26b95469
      Darin Adler authored
      	* src/file-manager/fm-directory-view.c:
      	(set_up_scripts_directory_global): Use GNOME_DOT_GNOME.
      26b95469
  16. 02 Dec, 2001 1 commit
  17. 01 Dec, 2001 2 commits
    • Darin Adler's avatar
      Skip over non-element nodes when walking libxml DOM tree. · f576768c
      Darin Adler authored
      	* src/nautilus-property-browser.c: (remove_color),
      	(make_properties_from_xml_node),
      	(nautilus_property_browser_update_contents):
      	Skip over non-element nodes when walking libxml DOM tree.
      
      	* libnautilus-private/nautilus-theme.c:
      	(nautilus_theme_get_theme_data_from_theme): Whitespace tweak.
      f576768c
    • Darin Adler's avatar
      Roll double-free bug fix from the branch. · a238fef0
      Darin Adler authored
      	* libnautilus-private/nautilus-directory-async.c:
      	(top_left_read_callback): Roll double-free bug fix from the branch.
      
      	* TODO: Some small updates.
      
      	* components/hardware/nautilus-hardware-view.c:
      	* data/browser.xml:
      	* icons/crux_eggplant/crux_eggplant.xml:
      	* icons/crux_teal/crux_teal.xml:
      	* icons/default.xml:
      	* icons/gnome/gnome.xml:
      	* icons/sierra/sierra.xml:
      	* icons/tahoe/tahoe.xml:
      	* libnautilus-private/nautilus-directory-background.c:
      	(nautilus_file_background_write_desktop_settings):
      	* libnautilus-private/nautilus-icon-container.c:
      	(start_rubberbanding):
      	* libnautilus-private/nautilus-icon-text-item.c:
      	(fetch_themed_color):
      	* src/nautilus-property-browser.c: (add_color_to_browser):
      	* src/nautilus-sidebar-tabs.c: (setup_light_text),
      	(setup_dark_text), (nautilus_sidebar_tabs_init),
      	(nautilus_sidebar_tabs_receive_dropped_color):
      	* src/nautilus-sidebar-title.c:
      	(nautilus_sidebar_title_select_text_color):
      	* src/nautilus-sidebar.c: (receive_dropped_color):
      	Changed all rgb:RRRR/GGGG/BBBB to #RRGGBB. We still probably have
      	to handle the old format just for old data files.
      
      	* libnautilus-private/.cvsignore:
      	nautilus-marshal-guts.h -> nautilus-marshal.h
      
      	* src/file-manager/fm-directory-view.c:
      	(update_directory_in_scripts_menu): Add filter so that we don't
      	see invisible or backup files in the scripts menu. In the old
      	days, gnome-vfs supplied the filtering.
      
      	* src/nautilus-about.c: (nautilus_about_finalize),
      	(nautilus_about_instance_init), (nautilus_about_hide),
      	(nautilus_about_hide_on_response),
      	(nautilus_about_hide_on_delete), (nautilus_about_class_init):
      	Get rid of double-destroy problem with about, and fix OK button.
      
      	* src/nautilus-bookmarks-window.c:
      	(nautilus_bookmarks_window_response_callback): Fix Done button.
      	(create_bookmarks_window): Hook up response callback.
      	(on_window_delete_event), (handle_close_accelerator): Get rid of
      	save_geometry_and_hide, since hide already does that.
      
      	* src/nautilus-main.c: (main): Add some missing domains for better
      	debugging. We should figure out a way to do this without a list of
      	domains.
      a238fef0
  18. 29 Nov, 2001 2 commits
  19. 28 Nov, 2001 2 commits
  20. 27 Nov, 2001 3 commits
  21. 22 Nov, 2001 2 commits
    • Michael Meeks's avatar
      listen for changed on the text buffer. (notes_load_metainfo): set buffer · 7e6e6bd8
      Michael Meeks authored
      2001-11-22  Michael Meeks  <michael@ximian.com>
      
      	* components/notes/nautilus-notes.c (make_notes_view):
      	listen for changed on the text buffer.
      	(notes_load_metainfo): set buffer to "" not NULL.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(delayed_quit_timeout_callback): do a bonobo_main_quit.
      	(object_destroyed): GObject-ify.
      
      	* components/throbber/main.c (main): upd.
      7e6e6bd8
    • Michael Meeks's avatar
      fix marshaller. · 50a26e58
      Michael Meeks authored
      2001-11-22  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_class_init): fix marshaller.
      
      	* libnautilus-private/nautilus-marshal.list: add
      	INT_POINTER_BOOLEAN
      
      	* src/file-manager/fm-properties-window.c
      	(real_destroy): protect against double destroys.
      
      Tue Nov 20 21:45:43 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Add [quoting] around AC_CHECK_HEADERS needed for
      	some autoconf versions.
      
      	* components/text/nautilus-text-view.c (file_read_callback):
      	text_view->details->text_display is set to NULL in
      	nautilus_text_view_destroy(), so simply check for non-NULL
      	rather than calling GTK_OBJECT_DESTROYED().
      
      	* src/file-manager/fm-properties-window.c (real_destroy): NULL
      	out name_field here, since it will be destroyed, so we
      	can avoid accessing it in rename_callback.
      
      	* libnautilus-private/Makefile.am (nautilus-marshal-guts.c): Get rid
      	of nautilus-marshal-guts.h, since glib-genmarshal now generates correct
      	standalone headers.
      
      	* libnautilus/nautilus-clipboard.c (select_all_callback),
      	* libnautilus-private/nautilus-entry.c (nautilus_entry_select_all_at_idle):
      	Remove the idle on destrunction of the widget, rather than checking
      	GTK_OBJECT_DESTROYED().
      50a26e58
  22. 21 Nov, 2001 1 commit
    • Michael Meeks's avatar
      fix. · 7a030297
      Michael Meeks authored
      2001-11-21  Michael Meeks  <michael@ximian.com>
      
      	* test/test-nautilus-wrap-table.c (main): fix.
      
      	* test/test-nautilus-mime-actions.c (main): upd. init.
      
      	* test/test.c (test_init): upd.
      	(test_label_new): kill tile_pixbuf support.
      	(test_image_new): ditto.
      
      	* test/test-nautilus-async-activation.c (main): upd.
      
      	* test/Makefile.am: add CORE_CFLAGS, update LDADD.
      
      	* libnautilus-private/nautilus-directory.c
      	(nautilus_directory_destroy): rename to
      	(nautilus_directory_dispose): this, but leave as a
      	gtk object for now, double emission protect, move
      	removal from directories list to head & split into:
      	(nautilus_directory_finalize): here.
      
      	* libnautilus-private/nautilus-directory-async.c
      	(nautilus_directory_async_state_changed): fully remove
      	GTK_OBJECT_DESTROYED check.
      7a030297