Commit graph

2824 commits

Author SHA1 Message Date
Arlo Rose
469f3db5d9 icons/arlo/sidebar_tab_pieces/left-bumper.png
* icons/arlo/sidebar_tab_pieces/left-bumper.png
        * icons/arlo/sidebar_tab_pieces/left-bumper-active.png
        * icons/arlo/sidebar_tab_pieces/left-bumper-prelight.png
        Took off left side pixel in order to get rid of the double
        black line that was there.
2000-09-06 01:10:32 +00:00
Ramiro Estrugo
01e90c35c8 Add a dumb script to make it easy to run the font test.
* test/Makefile.am:
	* test/font-test.sh:
	Add a dumb script to make it easy to run the font test.

	* test/test-nautilus-font.c: (main):
	Make the clipping test better; clip both vertically and
	horizontally.
2000-09-06 00:52:04 +00:00
John Sullivan
51f099caeb Much context-menu-related cleanup and some bug fixes.
2734: comment fm_directory_view_add_context_menu_item

	* libnautilus-extensions/nautilus-gtk-extensions.h,
	* libnautilus-extensions/nautilus-gtk-extensions.c:
	(nautilus_gtk_menu_append_separator): New convenience function
	for appending a separator to a GtkMenu.
	(nautilus_gtk_menu_set_item_visibility): New convenience function
	for hiding/showing a menu item in a GtkMenu.

	* src/file-manager/fm-directory-view.h:
	Removed overridable function pointers for
	create_background_context_menu_zoom_items and
	create_background_context_menu_background_items; I made sure the
	API supports what these were used for in a more general way.
	Added overridable function pointer for supports_zooming. Now the
	base class handles disabling/removing things for subclasses that
	don't support zooming.
	Changed fm_directory_view_add_context_menu_item to
	_insert_context_menu_item and gave it a position parameter.
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_initialize_class): removed function pointer
	assignment for deleted calls; added function pointer assignment
	for new supports_zooming call.
	(select_all_callback): Removed this function because I removed
	the item from the context menu (as per bug 1794).
	(fm_directory_view_bump_zoom_level),
	(fm_directory_view_zoom_to_level),
	(fm_directory_view_set_zoom_level),
	(fm_directory_view_restore_default_zoom_level),
	(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out):
	Bail out without calling overridable function pointer for these
	calls if supports_zooming is FALSE.
	(finish_inserting_menu_item): New function, generalization of
	finish_appending_menu_item that takes a position.
	(finish_appending_menu_item): Now calls finish_inserting_menu_item.
	Also, renamed this from finish_adding_menu_item.
	(compute_menu_item_info): Removed ellipsis from "Show Properties"
	and added comment explaining why it needs no ellipsis.
	(append_gtk_menu_item_with_view),
	(append_selection_menu_subtree): Update for adding -> appending rename.
	(fm_directory_view_insert_context_menu_item): Generalization of
	_append_context_menu_item that takes a position parameter.
	(fm_directory_view_append_context_menu_item): Renamed from
	_add_context_menu_item, and now calls _insert_context_menu_item.
	(real_create_background_context_menu_zoom_items),
	(real_create_background_context_menu_background_items):
	Removed these functions. These menu items are no longer treated as
	special cases.
	(fm_directory_view_real_create_background_context_menu_items):
	Now inserts zooming items only if supports_zooming is TRUE;
	resurrected the accidentally-obliterated "Reset Background" item.
	(add_separator): Removed this function in favor of
	nautilus_gtk_menu_append_separator.
	(add_application_to_gtk_menu), (add_component_to_gtk_menu),
	(create_open_with_gtk_menu),
	Update for API renames.
	(fm_directory_view_real_create_selection_context_menu_items):
	Use nautilus_gtk_menu_append_separator.
	(fm_directory_view_supports_zooming): New function, calls
	virtual function.
	(fm_directory_view_real_supports_zooming): New function,
	returns TRUE.

	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_create_background_context_menu_items):
	Remove "Icon Captions..." item per bug 1794

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_create_background_context_menu_zoom_items),
	(fm_desktop_icon_view_create_background_context_menu_background_items),
	(bump_zoom_level), (zoom_to_level), (restore_default_zoom_level),
	(can_zoom_in), (can_zoom_out): Removed these functions due to
	reworking the responsibilities of super- and subclass.
	(real_supports_zooming): New function, returns FALSE.
	(fm_desktop_icon_view_initialize_class): Remove overrides of various
	functions; add override for supports_zooming.
	(new_folder_menu_item_callback): Removed this now that it inherits
	New Folder from parent.
	(fm_desktop_icon_view_create_background_context_menu_items):
	Cleaned this up to start with inherited and make modifications
	as necessary rather than reimplementing the whole thing.
2000-09-06 00:50:41 +00:00
Robey Pointer
2e015a5e8c fix small bug in eazel-install (don't set the downloaded flag if the rpm didn't get downloaded); correct FIXME comment; clean up install main to have the right log domain and remove unused code 2000-09-06 00:45:02 +00:00
Mike Engber
3931344eed We now update the gnome_config settings that store the list of background
We now update the gnome_config settings that store the list
	of background images that populate the background capplet's
	popup menu. bug 2343.

	* libnautilus-extensions/nautilus-directory-background.c:
	(nautilus_directory_background_write_desktop_settings):
2000-09-06 00:10:55 +00:00
Mathieu Lacage
9872379b8f remove some little debugging output 2000-09-05 23:51:48 +00:00
Mathieu Lacage
fe7bbe2dba implement task bugzilla.eazel.com 2416
2000-09-05  Mathieu Lacage  <mathieu@eazel.com>

	* components/tree/nautilus-tree-view.c: implement task bugzilla.eazel.com
	2416
2000-09-05 23:28:49 +00:00
Josh Barrow
03ae0eb6ff *** empty log message *** 2000-09-05 23:20:49 +00:00
Andy Hertzfeld
31d78268dd fixed bug 2610, can't delete duplicate colors from property browser. Also,
fixed bug 2610, can't delete duplicate colors from property browser.
	Also, made property browser use anti-aliased item labels
2000-09-05 23:05:56 +00:00
Mathieu Lacage
c116552001 add some dnd UI nicety. GtkCTreeNode now hold a pointer to their
2000-09-05  Mathieu Lacage  <mathieu@eazel.com>

	* components/tree/nautilus-tree-view.c:
	(nautilus_tree_view_insert_model_node): add some dnd UI nicety.
	GtkCTreeNode now hold a pointer to their NautilusTreeNode instead
	of their char *uri.

	* libnautilus-extensions/nautilus-search-uri.c:
	(nautilus_self_check_search_uri): fix tests after rebecka
	second break of them :)
2000-09-05 23:00:38 +00:00
Darin Adler
700232e531 Removed some special-case file names that aren't needed any more.
* check-FIXME.pl: Removed some special-case file names
	that aren't needed any more.

	* libnautilus-extensions/nautilus-file-operations.c:
	(get_link_name): Added comments to help localizers.
	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_get_date_as_string): Added comments to help
	localizers. Deals with bug 2720 (Please add a comment to help
	localizers do date translations)
	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	(draw_or_measure_label_text): Added a comment to help localizers.
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_display_selection_info): Unmarked one string
	that doesn't make sense to translate and adding a comment to
	another to explain why it is marked for translation.
	(add_separator): Changed add_open_with_gtk_menu_item into this
	function, which deals with bug 2735 (add_open_with_gtk_menu_item
	only called to create separator?).
	(create_open_with_gtk_menu): Call the new add_separator function.
	* src/nautilus-zoom-control.c: (create_zoom_menu_item): Added a
	comment to help localizers.

	* libnautilus-extensions/nautilus-link.c: (make_local_path): Fixed
	logic here that was doing strange things with URIs.  This deals
	with bugs 2492 (Incorrect unescaping when dealing with link
	files), 2493 (Mysterious and probably incorrect "+7" when escaping
	URI for link file), and 2737 (link code must make path into URI).

	* libnautilus-extensions/nautilus-search-bar-criterion.c:
	* libnautilus-extensions/nautilus-search-bar-criterion.h:
	* po/POTFILES.in:
	Removed these duplicate files. Rebecca moved them to src, but she
	didn't remove the old ones. I didn't have to remove them from the
	makefile, since they were already removed, but I had to remove
	them from the list of files to translate.

	* src/nautilus-search-bar-criterion.h:
	* libnautilus-extensions/nautilus-search-uri.h:
	Moved some of the stuff from nautilus-search-bar-criterion.h to
	here, since it's really about search URIs, not specific to the
	search bar. Over time we will move more.

	* src/nautilus-search-bar-criterion.c: Added include of the
	nautilus-search-uri.h header now that stuff was moved there.

	* src/file-manager/fm-search-list-view.c:
	Fixed includes to get the nautilus-search-bar-criterion.h from its
	new location. This is not a real solution to the problem that was
	exposed by moving the search bar code. The bug 2815 covers this.
	* src/nautilus-complex-search-bar.c: Fix search bar so it gets
	the real location of the header. It was including the old one.
	* src/nautilus-simple-search-bar.c: Fix search bar so it gets
	the real location of the header. It was including the old one.

	* src/nautilus-main.c: (main): Some small cleanups including some
	additional parameter checking and returning a failure code to
	the invoking shell in the case where the parameters are not
	consistent.
2000-09-05 22:56:38 +00:00
Ramiro Estrugo
b01779bfe7 Add hook for scalable fonts test which im going to add soon.
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
	Add hook for scalable fonts test which im going to add soon.

	* libnautilus-extensions/nautilus-scalable-font.h:
	* libnautilus-extensions/nautilus-scalable-font.c:
	(nautilus_scalable_font_text_width), New convenience function to
	measure just the text width.
	(nautilus_self_check_scalable_font): Add hook for scalable fonts
	test which im going to add soon.
2000-09-05 22:31:56 +00:00
Pavel Cisler
0ab047adf5 Remove the -Wuninitialized to unbreak the build. (It should be part of
2000-09-05  Pavel Cisler  <pavel@eazel.com>

	* configure.in:
	Remove the -Wuninitialized to unbreak the build.
	(It should be part of -Wall so it's probably not needed anyhow).
2000-09-05 21:24:35 +00:00
Pavel Cisler
add783964b Fix all the warnings -Wuninitialized found. Quite a number of them were
2000-09-05  Pavel Cisler  <pavel@eazel.com>

	* components/help/converters/gnome-db2html2/gdb3html.c:
	(xml_parse_document):
	* components/help/hyperbola-nav-index.c: (end_element):
	* components/services/summary/nautilus-view/nautilus-summary-view.c
	: (logout_button_cb):
	* components/services/time/service/trilobite-eazel-time-service.c:
	(trilobite_eazel_time_service_do_http_request):
	* components/tree/nautilus-tree-view.c:
	* configure.in:
	* libnautilus-extensions/bonobo-stream-vfs.c:
	(bonobo_stream_vfs_open):
	* libnautilus-extensions/nautilus-background.c:
	(nautilus_background_draw), (nautilus_background_draw_aa):
	* libnautilus-extensions/nautilus-customization-data.c:
	(nautilus_customization_data_new):
	* libnautilus-extensions/nautilus-directory-background.c:
	(nautilus_directory_background_write_desktop_settings):
	* libnautilus-extensions/nautilus-file-operations.c:
	(nautilus_file_operations_move_to_trash), (do_empty_trash):
	* libnautilus-extensions/nautilus-file.c: (nautilus_file_dump):
	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	(draw_or_measure_label_text), (emblem_layout_next):
	* libnautilus-extensions/nautilus-icon-factory.c:
	(get_image_from_cache):
	* libnautilus-extensions/nautilus-icon-text-item.c:
	(iti_paint_text):
	* libnautilus-extensions/nautilus-list.c: (draw_cell), (draw_row):
	* libnautilus-extensions/nautilus-mime-actions.c:
	(nautilus_mime_add_application_to_short_list_for_uri):
	* libnautilus-extensions/nautilus-program-chooser.c:
	(program_file_pair_get_short_status_text),
	(program_file_pair_get_long_status_text):
	* libnautilus-extensions/nautilus-program-choosing.c:
	(nautilus_choose_component_for_file),
	(nautilus_choose_application_for_file):
	* libnautilus-extensions/nautilus-scalable-font.c:
	(nautilus_scalable_font_draw_text_lines_with_dimensions):
	* libnautilus-extensions/nautilus-theme.c:
	(nautilus_theme_make_selector):
	* librsvg/rsvg-ft.c: (rsvg_ft_get_glyph):
	* librsvg/test-ft-gtk.c: (set_text):
	* librsvg/test-ft.c: (save_pixbuf_to_file_internal),
	(save_pixbuf_to_file):
	* librsvg/test-rsvg.c: (save_pixbuf_to_file_internal),
	(save_pixbuf_to_file):
	* src/file-manager/fm-directory-view.c: (display_pending_files),
	(compute_menu_item_info):
	* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
	* src/file-manager/fm-list-view.c: (get_column_from_attribute):
	* src/nautilus-application.c: (nautilus_application_startup):
	* src/nautilus-search-bar-criterion.c:
	(nautilus_search_bar_criterion_next_new),
	(nautilus_search_bar_criterion_get_location),
	(get_date_modified_location_for):
	* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
	(draw_or_layout_all_tabs):
	* src/nautilus-toolbar.c: (nautilus_toolbar_size_allocate):
	* src/nautilus-window-manage-views.c:
	(nautilus_window_get_current_location_title):
	* test/test-nautilus-label.c: (justification_changed_callback):

	Fix all the warnings -Wuninitialized found.
	Quite a number of them were actual bugs.
	Turn on -Wuninitialized in configure.in now that ORBit generates
	warning-free code.
2000-09-05 20:38:10 +00:00
John Sullivan
1b18a65620 Fixed bug 1247 ("Edit Novice Settings" menu item
needs to be handled better)

	Now this menu item is enabled, and choosing it explains
	that you can't edited the Novice settings but offers
	to switch to Intermediate and let you edit those
	settings.

	* libnautilus-extensions/nautilus-user-level-manager.c,
	* libnautilus-extensions/nautilus-user-level-manager.h:
	Made the #defines for the user level ints public, so
	code elsewhere could use them rather than hardwiring
	a bunch of 0s, 1s, and 2s.

	* libnautilus-extensions/nautilus-caption-table.h:
	* libnautilus-extensions/nautilus-caption.h:
	* libnautilus-extensions/nautilus-font-picker.h:
	* libnautilus-extensions/nautilus-global-preferences.h:
	* libnautilus-extensions/nautilus-password-dialog.h:
	* libnautilus-extensions/nautilus-preference.h:
	* libnautilus-extensions/nautilus-preferences-box.h:
	* libnautilus-extensions/nautilus-preferences-dialog.h:
	* libnautilus-extensions/nautilus-preferences-group.h:
	* libnautilus-extensions/nautilus-preferences-item.h:
	* libnautilus-extensions/nautilus-preferences-pane.h:
	* libnautilus-extensions/nautilus-preferences-private.h:
	* libnautilus-extensions/nautilus-preferences.h:
	* libnautilus-extensions/nautilus-radio-button-group.h:
	* libnautilus-extensions/nautilus-string-picker.h:
	* libnautilus-extensions/nautilus-text-caption.h:
	Changed the closing BEGIN_GNOME_DECLS in these header files
	to END_GNOME_DECLS.

	* src/nautilus-window-menus.c:
	(get_user_level_string_for_display): New function, extracted
	from get_customize_user_level_string. Returns the user level
	string to be put into user messages or menu item names.
	(get_customize_user_level_string): Now calls
	get_user_level_string_for_display
	(switch_and_show_intermediate_settings_callback): New function,
	switches to intermediate level and displays the user level
	settings dialog.
	(user_level_customize_callback): If the current user level is
	NAUTILUS_USER_LEVEL_NOVICE, puts up a dialog telling the user
	that the Novice settings can't be changed, and asking them if
	they want to switch to Intermediate and edit those settings.
	(get_user_level_image), (user_level_changed_callback),
	(nautilus_window_initialize_menus),
	(convert_menu_path_to_user_level),
	(convert_user_level_to_menu_path):
	Use #defines for user levels instead of hardwiring integers.
	(switch_to_user_level): New function, extracted from
	user_level_menu_item_callback. Switches to a specified user
	level and updates menu items & title image appropriately.
	(user_level_menu_item_callback): Now calls switch_to_user_level.
	(update_user_level_menu_items): Don't desensitize the Edit
	Settings item at Novice user level anymore.
2000-09-05 19:39:30 +00:00
Andy Hertzfeld
18587fcb49 made the caveat dialog use anti-aliased text.
made the caveat dialog use anti-aliased text.
2000-09-05 19:05:55 +00:00
Gene Z. Ragan
6f7b91bdc5 Added a check for a NULL image tag returned by am XML property retrieval.
2000-09-05  Gene Z. Ragan  <gzr@eazel.com>

	* libnautilus-extensions/nautilus-link.c:
	(nautilus_link_get_image_uri):
	Added a check for a NULL image tag returned
	by am XML property retrieval.
2000-09-05 16:44:52 +00:00
Pavel Cisler
4d63108342 Work on metadata copying. For now hardcode the metadata keys that get
2000-09-05  Pavel Cisler  <pavel@eazel.com>

	* libnautilus-extensions/nautilus-directory.c:
	(nautilus_direcotry_copy_move_metadata_key),
	(nautilus_directory_copy_metadata_key),
	(nautilus_directory_move_metadata_key),
	(nautilus_directory_move_metadata),
	(nautilus_directory_copy_metadata),
	(nautilus_directory_schedule_metadata_copy),
	(nautilus_directory_schedule_metadata_move):
	Work on metadata copying.
	For now hardcode the metadata keys that get copied.
	Metadata move does not remove old metadata in source location yet.
2000-09-05 15:57:39 +00:00
Ramiro Estrugo
6cbbd65ccf Fix a bug I just introduced drawing embedded text in the non smooth case.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
	Fix a bug I just introduced drawing embedded text in the non
	smooth case.  We need to make sure the pixbuf we feed to the text
	rendering code has an alpha channel.
2000-09-05 12:45:58 +00:00
Ramiro Estrugo
0b9c656d95 More work on task 1588.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
	Use NautilusScalableFont to render embedded text.
2000-09-05 12:09:33 +00:00
Ramiro Estrugo
c734c13b43 Add a FIXME for a performance issue.
* libnautilus-extensions/nautilus-scalable-font.c:
	(nautilus_scalable_font_draw_text_lines):
	Add a FIXME for a performance issue.
2000-09-05 12:07:04 +00:00
Ramiro Estrugo
e5b8f54863 Simpify the text line drawing function to not reuqire passing in the
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
	* libnautilus-extensions/nautilus-scalable-font.c:
	(nautilus_scalable_font_draw_text_lines_with_dimensions),
	(nautilus_scalable_font_draw_text_lines):
	* libnautilus-extensions/nautilus-scalable-font.h:
	Simpify the text line drawing function to not reuqire passing in
	the number of lines or their dimensions.  Compute these when
	needed.  An alternate function that accepts the dimensions is
	available as well.

	* test/test-nautilus-font.c: (main):
	Draw both text lines and single line clipped text to test more
	stuff.
2000-09-05 11:41:47 +00:00
Ramiro Estrugo
486c860ac9 Complete task 1733 - need mozilla component support for grokking
eazel: uris.

	* components/mozilla/nautilus-mozilla-content-view.c:
	(nautilus_mozilla_content_view_initialize),
	(nautilus_mozilla_content_view_destroy), (bonobo_mozilla_callback),
	(mozilla_net_state_callback), (mozilla_open_uri_callback),
	(mozilla_dom_mouse_click_callback):
	For mozilla M17, add support for registering the eazel protocol
	handler.  For mozilla M18, add support for peeking dom events -
	this is the preffered way to deal with these special uris, however
	we cant turn this on until mozilla M18 is released.
2000-09-05 10:59:43 +00:00
Ramiro Estrugo
9a5ca45a90 Damn, some of this code only builds with mozilla M18. Updating for that.
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
	Damn, some of this code only builds with mozilla M18.  Updating
	for that.
2000-09-05 10:21:21 +00:00
Ramiro Estrugo
edffe63b9e Duh, changelog for last checkin. 2000-09-05 09:59:10 +00:00
Ramiro Estrugo
d20069e6c4 More work on task 1733.
* components/mozilla/eazel-protocol-handler/.cvsignore:
	* components/mozilla/eazel-protocol-handler/Makefile.am:
	* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
	* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.h:
	* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.cpp:
	* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.h:
	* components/mozilla/eazel-protocol-handler/eazel-protocol-module.cpp:
	New files.  A mozilla XPCOM component to grok eazel: protocol uris.

	* components/mozilla/Makefile.am:
	Build the eazel-protocol-handler

	* configure.in:
	Build the eazel-protocol-handler
2000-09-05 09:58:27 +00:00
Ramiro Estrugo
4598da9057 Ignore generated files.
* components/tree/.cvsignore:
	Ignore generated files.
2000-09-05 09:42:31 +00:00
Ramiro Estrugo
4025fec57a More work on task 1588.
* libnautilus-extensions/nautilus-scalable-font.c:
	(nautilus_scalable_font_draw_text),
	(nautilus_scalable_font_measure_text_lines),
	(nautilus_scalable_font_draw_text_lines):
	* libnautilus-extensions/nautilus-scalable-font.h:
	Change text rendering api to take in x,y coordinates along with a
	clip_area.

	Remove some #if 0 code i left in before.

	Also change the text lines rendering api to optionally do its own
	line measuring - for the convenience of the caller.

	* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
	Update for text rendering changes.
	Fix the justification bug.
	Fix the multiple newlines bug.

	* src/nautilus-about.c: (draw_aa_string):
	Update for text rendering changes.

	* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
	(draw_one_tab_themed):
	Update for text rendering changes.

	* test/test-nautilus-font.c: (main):
	Update for text rendering changes.
	Also add multiple new lines test and clipping test.

	* test/test-nautilus-label.c: (main):
	Update for text rendering changes.
2000-09-05 09:37:56 +00:00
Ramiro Estrugo
af9196b510 Add a band aid fix for the unknown character problem when trying to index
* librsvg/rsvg-ft.c: (rsvg_ft_render_string):
	Add a band aid fix for the unknown character problem when trying
	to index glyphs from a font face.  I filed a bug for this issue:
	2775.
2000-09-05 09:21:13 +00:00
Maciej Stachowiak
49d96a035a Fix bug 2462 by causing a NULL selection to be interpreted as no
* src/nautilus-window-manage-views.c
	(nautilus_window_update_view): Fix bug 2462 by causing a NULL
	selection to be interpreted as no selection, rather than an empty
	selection.
2000-09-05 07:30:08 +00:00
Andy Hertzfeld
4d9fca57ab implement the "add new theme" command by invoking a file dialog; this
implement the "add new theme" command by invoking a file dialog;
	this still isn't finished yet.
2000-09-05 07:09:12 +00:00
Ramiro Estrugo
4bac44af5f Work on task 1588.
* configure.in:
	* data/Makefile.am:
	* data/fonts/.cvsignore:
	* data/fonts/Makefile.am:
	* data/fonts/urw/.cvsignore:
	* data/fonts/urw/Makefile.am:
	* data/fonts/urw/README:
	* data/fonts/urw/fonts.dir:
	Add a fallback font in case no Type1 fonts are found in the
	system.  This font was plucked from the ghostscript-fonts-5.10a
	package. See data/fonts/urw/README for more info.
2000-09-05 04:04:00 +00:00
Andy Hertzfeld
b8c6620d50 made it use a distinct icon for generic documents if the protocol
made it use a distinct icon for generic documents if the protocol
	associated with the file is "http", so the sidebar can have a decent
	icon when displaying websites.  The current icon is just a placeholder.
2000-09-05 00:47:59 +00:00
Kjartan Maraas
0d408cc5da Updated Norwegian translation. Updated German translation from Christian
2000-09-04  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
	* de.po: Updated German translation from Christian Meyer
2000-09-04 20:04:04 +00:00
Kjartan Maraas
67cf778ef0 Updated Norwegian translation. Updated German translation from Christian
2000-09-04  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
	* de.po: Updated German translation from Christian Meyer
	<linux@chrisime.de>.
2000-09-04 19:17:12 +00:00
Valek Frob
7a0d1a1351 Updated russian translation. 2000-09-04 18:04:17 +00:00
Ramiro Estrugo
3069bcfe0e Work on task 1733.
* configure.in:
	Add macros for only xpcom and nspr libs (for components)
	Add check for mozilla M18 - evil in its purest form.
2000-09-04 15:17:06 +00:00
Ramiro Estrugo
80e2d2e59e Quiet down the debug noise.
* components/mozilla/mozilla-components.cpp:
	Quiet down the debug noise.

	* components/mozilla/mozilla-events.cpp:
	* components/mozilla/mozilla-events.h:
	A new wrapper for grokking mozilla dom events.

	* components/mozilla/Makefile.am:
	Build the events code.
2000-09-04 15:13:13 +00:00
Ramiro Estrugo
3248c2ca52 Remove an assertion that is not needed.
* libnautilus-extensions/nautilus-buffered-widget.c:
	(create_background_pixbuf_from_ancestor):
	Remove an assertion that is not needed.
2000-09-04 15:09:37 +00:00
Ramiro Estrugo
93861b3494 Work on task 1588.
* libnautilus-extensions/nautilus-scalable-font.c:
	(nautilus_scalable_font_measure_text),
	(nautilus_scalable_font_draw_text),
	(nautilus_scalable_font_measure_text_lines),
	(nautilus_scalable_font_draw_text_lines),
	(nautilus_scalable_font_measure_text_lines),
	(nautilus_scalable_font_draw_text_lines),
	(nautilus_scalable_font_largest_fitting_font_size):
	* libnautilus-extensions/nautilus-scalable-font.h:
	Change api to accept a string with embedded new lines instead of
	an array of strings.  This simplifies many things.

	* libnautilus-extensions/nautilus-label.c:
	(nautilus_label_initialize), (nautilus_label_destroy),
	(render_buffer_pixbuf), (label_recompute_line_geometries):
	Update for NautilusScalalbleFont api changes.  No longer need to
	tokenize the text string.  we can feed the string to the rendering
	api as is.

	* librsvg/rsvg-ft.c: (rsvg_ft_render_string):
	* librsvg/rsvg-ft.h:
	Change the string to glyph rendering api to accept the string
	length rather than computing it.  This makes it possible to feed
	it arbitrary lengths.

	* librsvg/rsvg.c: (rsvg_text_handler_characters):
	* librsvg/test-ft-gtk.c: (draw_line):
	* librsvg/test-ft.c: (main):
	Update for api changes.

	* src/nautilus-about.c: (draw_aa_string):
	* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
	(draw_one_tab_themed), (get_tab_width):
	* test/test-nautilus-font.c: (main):
	Update test to use text lines drawing api.

	* test/test-nautilus-label.c:
	(alpha_background_color_value_changed_callback), (main):
	Update test for 2 new lines in a row.
2000-09-04 15:05:39 +00:00
Ramiro Estrugo
31cb07f67a Make the tokens test a little better.
* libnautilus-extensions/nautilus-string-list.c:
	(nautilus_self_check_string_list):
	Make the tokens test a little better.
2000-09-04 15:05:09 +00:00
Maciej Stachowiak
1c4837215b Set shared library tree view as default, completing task 1647.
* configure.in: Set shared library tree view as default,
	completing task 1647.
2000-09-04 09:12:55 +00:00
Maciej Stachowiak
6195a4e8bd Architecture changes to properly handle the case where a NautilusFile
* components/tree/nautilus-tree-model.c:
	(nautilus_tree_model_initialize), (nautilus_tree_model_destroy),
	(nautilus_tree_model_for_each_postorder),
	(nautilus_tree_model_monitor_remove),
	(nautilus_tree_model_get_node), (report_node_added),
	(report_node_changed), (report_node_removed_internal),
	(nautilus_tree_model_directory_files_changed_callback):
	* components/tree/nautilus-tree-node-private.h:
	* components/tree/nautilus-tree-node.c:
	(nautilus_tree_node_destroy), (nautilus_tree_node_new),
	(nautilus_tree_node_get_uri):
	* components/tree/nautilus-tree-node.h:
	* components/tree/nautilus-tree-view.c:
	(nautilus_tree_view_insert_model_node):

	Architecture changes to properly handle the case where a
	NautilusFile object changes name or location. In brief, the tree
	model keeps a hash keyed on NautilusFiles instead of on uris, and
	tries to remember the URI of a node to detect when the URI
	changes. When the URI changes, it gives a remove notification
	followed by an add notification.
2000-09-04 09:10:38 +00:00
Andy Hertzfeld
ad16cd5237 made the arlo sidebar tabs use the official anti-aliased text machinery,
made the arlo sidebar tabs use the official anti-aliased text machinery,
	instead of the scaling hack it was using.  Also, made the non-themed
	tabs use anti-aliased text.
2000-09-04 05:15:32 +00:00
George Lebl
2ad23405aa mark druid_welcome.png for translation (it contains english text) and put
Sun Sep 03 19:09:49 2000  George Lebl <jirka@5z.com>

	* src/nautilus-first-time-druid.c (nautilus_first_time_druid_show):
	  mark druid_welcome.png for translation (it contains english text)
	  and put in a comment explaining why which should appear in the
	  .po file.
2000-09-04 00:08:58 +00:00
Maciej Stachowiak
cafec356c0 Some optional debugging statements. (nautilus_tree_model_monitor_remove):
* components/tree/nautilus-tree-model.c
	(nautilus_tree_model_for_each_postorder): Some optional debugging
	statements.
	(nautilus_tree_model_monitor_remove): Also unmonitor any nodes
	that might be monitored by this client.

	* components/tree/nautilus-tree-view.c
	(nautilus_tree_view_destroy): Stop monitoring the model
2000-09-03 21:33:07 +00:00
Ali Abdin
6653e9ac90 I now consider navigation links to be 'done' (Fixes bug #2201)
2000-09-03  Ali Abdin  <aliabdin@aucegypt.edu>

        I now consider navigation links to be 'done' (Fixes bug #2201)

        * components/help/converters/gnome-db2html2/gdb3html.c:
        (parse_file): Renamed a variable. Updated the call to sect_footer.
        Cleaned up in a couple misc. spots
        (sect_footer): Renamed the variables to be more descriptive. Modified
        calls to print_footer (function changed + we now pass the full URI).
        Fixed memory leaks by actually freeing the variables.
        (print_footer): Change the function arguments to make it a 'sane'
        function. Also - just print what we recieve.

        * components/help/converters/gnome-db2html2/toc-elements.c:
        (toc_title_start_element),
        (toc_title_end_element):
        Disable the links to sect2/sect3/sect4/sect5 tags as they already get
        'included' with the sect1 tags.

        Ideally we should create anchor tags in the sect1 'pages' and use that
        instead, but this will not work due to mozilla issues
2000-09-03 19:08:50 +00:00
Christian Rose
0e9360399e Updated Swedish translation. 2000-09-03 18:27:28 +00:00
Maciej Stachowiak
62e426c199 Added bug numbers for FIXMEs
* components/services/install/lib/eazel-install-protocols.c:
	(eazel_install_fetch_package):
	* components/services/login/nautilus-view/nautilus-login-view.c:
	(nautilus_login_view_initialize):
	* components/services/summary/nautilus-view/nautilus-summary-view.c
	: (authn_cb_succeeded), (authn_cb_failed), (login_button_cb),
	(nautilus_summary_view_initialize):
	* components/tree/libmain.c: (tree_shlib_object_destroyed):
	* components/tree/nautilus-tree-view.c:
	* libnautilus-extensions/nautilus-link.c: (make_local_path):
	* libnautilus-extensions/nautilus-search-bar-criterion.c:
	(make_emblem_value_menu):
	* src/file-manager/fm-directory-view.c:
	(add_open_with_gtk_menu_item):
	* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu),
	(emblems_changed_callback):

	Added bug numbers for FIXMEs
2000-09-03 17:04:55 +00:00
Christian Rose
72fb6ec09e Updated Swedish translation. 2000-09-03 13:33:11 +00:00