Commit graph

7594 commits

Author SHA1 Message Date
Michael Meeks
4a1ebc6bda hold a ref on the window while we do a load of possibly re-enterant stuff.
2002-05-22  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c (ui_idle_handler): hold a ref
	on the window while we do a load of possibly
	re-enterant stuff. #82050
2002-05-22 10:24:19 +00:00
Michael Meeks
2c1fa37db6 add the full, non-mangled, clean, escaped URI.
2002-05-22  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-dnd.c (add_one_uri):
	add the full, non-mangled, clean, escaped URI.
	(is_path_that_gnome_uri_list_extract_filenames_can_parse),
	(add_one_compatible_uri): #ifdef out these abominations :-)
	Fixes bug #48423, breaks a certain level of
	compatibility with gnome-libs 1.4, inasmuch that
	complex URLs, containing strange characters will not
	be backwards compatible.

	* src/nautilus-window-manage-views.c (open_location):
	add a eel_uri_is_valid check, so the next #48423 is easier
	to track.
2002-05-22 09:51:23 +00:00
Frank Worsley
087bf9c88c allow creation of desktop files without a nautilus icon
2002-05-21  Frank Worsley  <fworsley@shaw.ca>

	* libnautilus-private/nautilus-link-desktop-file.c:
	(nautilus_link_desktop_file_local_create): allow creation
	of desktop files without a nautilus icon

	* src/file-manager/fm-icon-view.c:
	(icon_view_handle_uri_list): make dnd of uri lists work right
2002-05-21 18:24:19 +00:00
Michael Meeks
a0c5277868 cache the property bag item, so we're not forever querying for it.
2002-05-21  Michael Meeks  <michael@ximian.com>

	* src/nautilus-sidebar-tabs.c (get_property_bag):
	cache the property bag item, so we're not forever
	querying for it.
	(tab_item_destroy): re-write, belt and braces.
	(nautilus_sidebar_tabs_connect_view): update.
	(get_tab_image_name): don't release the property bag.
	(nautilus_sidebar_tabs_update_indicator): kill, unused.
	(nautilus_sidebar_tabs_add_view): associate the tab
	with it's parent.
	(tab_indicator_changed_callback): update just 1 tab.
	(nautilus_sidebar_tabs_update_all_indicators): remove,
	not what we wanted anyway.
	(nautilus_sidebar_tabs_update_tab_item): update sig.
2002-05-21 11:27:23 +00:00
Michael Meeks
fc8d249c7c move this code (event_after_callback): into here, it seems we get the
2002-05-21  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-list-view.c
	(list_activate_callback): move this code
	(event_after_callback): into here, it seems we get
	the event after the callback whether handled or not.
	(create_and_set_up_tree_view): unhook list_activate.

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

	* src/nautilus-window-menus.c
	(refresh_bookmarks_menu): hold refs on the window,
	in case we re-enter during bookmark build and destroy
	it.
2002-05-21 09:43:37 +00:00
Hasbullah Bin Pit
082eaacd76 Updated Malay Translation.
2002-05-21 Hasbullah Bin Pit <sebol@ikhlas.com>

* ms.po: Updated Malay Translation.
2002-05-21 08:43:39 +00:00
Abel Cheung
805e8c10bf Updated traditional Chinese translation.
2002-05-21  Abel Cheung  <maddog@linux.org.hk>

	* zh_TW.po: Updated traditional Chinese translation.
2002-05-21 08:15:01 +00:00
Changwoo Ryu
11fc11f3ba Updated Korean translation by Young-Ho Cha <ganadist@chollian.net>.
* ko.po: Updated Korean translation by Young-Ho Cha
	<ganadist@chollian.net>.
2002-05-21 03:31:13 +00:00
Alex Graveley
059297b9f4 Force saving of desktop file to counteract bug in libgnome-desktop.
2002-05-20  Alex Graveley  <alex@ximian.com>

	* libnautilus-private/nautilus-link-desktop-file.c
	(nautilus_link_desktop_file_local_create): Force saving of desktop
	file to counteract bug in libgnome-desktop.
2002-05-20 23:53:07 +00:00
Anders Carlsson
354be67bc2 Schedule an idle instead of a timeout when we know all the files in the
2002-05-21  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c: (finish_loading):
	Schedule an idle instead of a timeout when we know all the
	files in the directory.
2002-05-20 23:34:56 +00:00
Alessio Frusciante
35fdd45cb4 Updated Italian translation. 2002-05-20 19:30:26 +00:00
Alexander Larsson
8dc89ec6dc Version markers. 2002-05-20 15:46:05 +00:00
Vlad Harchev
5482f6ef00 ru.po: updated russian translation from Dmitry G. Mastrukov <dmitry@taurussoft.org> 2002-05-20 15:26:30 +00:00
Alex Larsson
c5c255f78b Bumped to 1.1.17. Require eel 1.1.15.
2002-05-20  Alex Larsson  <alexl@redhat.com>

	* configure.in:
	* NEWS:
	Bumped to 1.1.17.
	Require eel 1.1.15.
2002-05-20 14:47:26 +00:00
Alex Larsson
cc93716322 Remove libpng checks. They are not used.
2002-05-17  Alex Larsson  <alexl@redhat.com>

	* configure.in:
	Remove libpng checks. They are not used.
2002-05-17 20:19:56 +00:00
Alex Graveley
caeca3acbf Pass file URI to nautilus_link_*, instead of local path.
2002-05-17  Alex Graveley  <alex@ximian.com>

	* src/file-manager/fm-icon-view.c
	(get_icon_drop_target_uri_callback): Pass file URI to
	nautilus_link_*, instead of local path.
	(icon_view_handle_uri_list): Ditto, for parent directory.
	(icon_view_handle_uri_list): Ditto.

	* src/file-manager/fm-icon-container.c
	(fm_icon_container_get_icon_text): Pass file URI to
	nautilus_link_*, instead of local path.
	(get_sort_category): Ditto.

	* src/file-manager/fm-directory-view.c
	(fm_directory_link_type_in_selection): Pass file URI to
	nautilus_link_*, instead of local path.
	(special_link_in_selection): Ditto.

	* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
	Pass file URI to nautilus_link_*, instead of local path.
	(trash_link_is_selection): Ditto.
	(volume_link_is_selection): Ditto
	(volume_link_device_type): Ditto.

	* libnautilus-private/nautilus-file.c (rename_guts): Pass file URI
	to nautilus_link_desktop_file_local_set_text(), handle non-local
	launchers gracefully.

	* libnautilus-private/nautilus-link-desktop-file.c: Use URIs
	throughout, and load desktop items using
	gnome_desktop_item_new_from_uri.
	(nautilus_link_desktop_file_local_create): Use
	gnome_desktop_item_new_from_string, instead of using fputs
	directly.

	* libnautilus-private/nautilus-link-historical.c: Use URIs instead
	of local paths throughout.

	* libnautilus-private/nautilus-link.c: Use URIs instead of local
	paths throughout.
2002-05-17 19:58:13 +00:00
Damon Chaplin
7a00454036 new function to activate the selected items when Return is pressed, to
2002-05-17  Damon Chaplin  <damon@ximian.com>

	* src/file-manager/fm-list-view.c (key_press_callback): new function
	to activate the selected items when Return is pressed, to match the
	icon view. Fixes bug #74976.
2002-05-17 19:32:20 +00:00
Alex Larsson
1e8203cf24 Fix my email address.
2002-05-15  Alex Larsson  <alexl@redhat.com>

	* MAINTAINERS:
	Fix my email address.
2002-05-17 17:53:46 +00:00
Michael Meeks
a8708eb85f require libbonoboui >= 1.116.1 [ CVS ]
2002-05-17  Michael Meeks  <michael@ximian.com>

	* configure.in: require libbonoboui >= 1.116.1 [ CVS ]

	* src/file-manager/fm-list-model.c
	(fm_list_model_clear): add pre-condition.

	* src/file-manager/fm-list-view.c
	(create_and_set_up_tree_view): hold a ref on the model.
	(fm_list_view_dispose): impl.
	(fm_list_view_class_init): upd.
	(fm_list_view_clear): only clear a non NULL model.

	* src/file-manager/fm-icon-view.c
	(get_icon_container): return NULL if we've no container.
	(fm_icon_view_clear): tolerate a NIL icon_container
	( on a 2nd dispose perhaps )

	* libnautilus-private/nautilus-directory-background.c
	(nautilus_file_background_read_desktop_settings): check
	the wallpaper_filename is not empty.

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_destroy): hoist pointer
	NULLification up the method.

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

	* libnautilus-private/nautilus-bookmark.c
	(nautilus_bookmark_get_pixmap_and_mask): kill, unused.
2002-05-17 14:11:25 +00:00
Anders Carlsson
1046a3339c Remove some old, unused code.
2002-05-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c: Remove some
	old, unused code.
2002-05-17 11:16:24 +00:00
Alexander Larsson
add1f9d318 Add copyright notice.
2002-05-17  Alexander Larsson  <alexl@redhat.com>

	* components/history/nautilus-history-view.h:
	Add copyright notice.

	* components/notes/Makefile.am:
	* components/notes/Nautilus_View_notes.server.in:
	* components/notes/nautilus-notes.c:
	Make the notes component a shlib component.
2002-05-17 05:14:07 +00:00
Damon Chaplin
1d484190b2 applied patch from Ali Akcaagac to save the language and switch to C++.
2002-05-16  Damon Chaplin  <damon@ximian.com>

	* configure.in (FAM_LIBS): applied patch from Ali Akcaagac to save the
	language and switch to C++. Almost identical to the gnome-vfs patch
	which has been approved. Fixes bug #80827.
2002-05-16 21:41:01 +00:00
Michael Meeks
d055815895 free match_state's name if we have no icon.
2002-05-16  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(select_matching_name): free match_state's name
	if we have no icon.

	* libnautilus-private/nautilus-undo-signal-handlers.c
	(editable_register_edit_undo): don't leak undo_text.

	* src/nautilus-location-bar.c (try_to_expand_path):
	unref the URI after use.
2002-05-16 15:09:45 +00:00
Kwok-Koon Cheung
87ebbbc518 trivial fix for schemas file 2002-05-16 13:17:51 +00:00
Stanislav Visnovsky
46db4fe9b1 Updated Slovak translation.
2002-05-16  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.
2002-05-16 13:17:23 +00:00
Michael Meeks
3f461b7fb3 put back the old nautilus values, keep the new values in
2002-05-16  Michael Meeks  <michael@ximian.com>

	* icons/tahoe/tahoe.xml:
	* icons/gnome/gnome.xml:
	* icons/sierra/sierra.xml:
	* icons/crux_teal/crux_teal.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	* icons/default/default.xml: put back the old
	nautilus values, keep the new values in
	number_v_2_offset.

	* src/nautilus-zoom-control.c (draw_number):
	ask for number_v_2_offset so we can keep theme
	compatibility and get offsets right. Mostly
	we want 0 for the offset anyway, so this
	automagically gets most things right.
2002-05-16 09:54:51 +00:00
Jacob Berkman
08ca67a0f2 include nautilus-history-view.h
2002-05-16  Jacob Berkman  <jacob@ximian.com>

	* components/history/Makefile.am
	(libnautilus_history_view_la_SOURCES): include
	nautilus-history-view.h
2002-05-16 05:08:48 +00:00
Chyla Zbigniew
25ffc12618 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-05-15 21:50:30 +00:00
Sean Atkinson
12da6796bd Remove icon XML string from HistoryItem.
2002-05-15  Sean Atkinson  <sean@cantab.net>

	* src/nautilus-window-manage-views.c
	(get_history_list_callback):
	* libnautilus/nautilus-view.c (history_dup):
	* libnautilus/nautilus-view-component.idl:
	Remove icon XML string from HistoryItem.

	* components/history/nautilus-history-view.c
	(update_history): Use bookmark icon, not XML one.

	* components/history/nautilus-history-view.h: Moved some stuff
	from nautilus-history-view.c here for libmain.c.

	* components/history/Nautilus_View_history.server.in: Changed exe
	to shlib to run history in-process.

	* components/history/libmain.c: Added for shared library.

	* components/history/Makefile.am: Build shared library.
2002-05-15 15:57:22 +00:00
Gediminas Paulauskas
ab68d1ac24 Updated Lithuanian translation.
2002-05-15  Gediminas Paulauskas <menesis@delfi.lt>

	* lt.po: Updated Lithuanian translation.
2002-05-15 09:29:11 +00:00
Pablo Gonzalo del Campo
3a03658a82 Updated Spanish translation.
2002-05-14 Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2002-05-15 01:22:47 +00:00
Pauli Virtanen
7643850b5c Updated Finnish translation.
2002-05-14  Pauli Virtanen <pauli.virtanen@hut.fi>

	* fi.po: Updated Finnish translation.
2002-05-14 19:40:48 +00:00
Frank Worsley
25a3c0f1b1 enable renaming of .desktop files by setting the Name attribute within the
2002-05-13  Frank Worsley  <fworsley@shaw.ca>

	* libnautilus-private/nautilus-file.c:
	enable renaming of .desktop files by setting the Name
	attribute within the .desktop file

	* libnautilus-private/nautilus-link-desktop-file.c:
	added nautilus_link_desktop_file_local_set_text
2002-05-14 18:31:25 +00:00
Kjartan Maraas
1f040c6e2b Updated Norwegian (bokmål) translation.
2002-05-14  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
2002-05-13 23:45:47 +00:00
Ole Laursen
ee64b7ae64 Updated Danish translation, fixed a few long-standing.
2002-05-13  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation, fixed a few long-standing.
2002-05-13 22:37:49 +00:00
David Emory Watson
eb5a45f856 Update to use click_policy_auto_value. (rows_reordered_callback): Renamed
2002-05-10  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/fm-list-view.c:
	(list_activate_callback),
	(click_policy_changed),
	(fm_list_view_class_init): Update to use click_policy_auto_value.
	(rows_reordered_callback): Renamed to
	(sort_column_changed_callback): this and only write preferences to disk
	if they differ from the defaults.
	(default_sort_order_changed_callback)
	(fm_list_view_instance_init): React to changes in the defaults.

	* src/file-manager/fm-list-model.c:
	* src/file-manager/fm-list-model.h:
	(fm_list_model_get_nautilus_file_sort_type): Renamed to
	(fm_list_model_get_sort_type_from_sort_column_id): this.
	(fm_list_model_compare_func): Update.
	(fm_list_model_add_file): Update.
2002-05-13 22:12:47 +00:00
Alexander Larsson
5fce7166d7 Added version markers 2002-05-13 18:41:16 +00:00
Alex Larsson
4757eb2c21 Bump version number
2002-05-13  Alex Larsson  <alexl@redhat.com>

	* configure.in:
	* NEWS:
	Bump version number

2002-05-13  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file-operations.c:
	Make empty trash confirmation dialog title say "Empty Trash?"
	instead	of "Delete Trash Contents?".
2002-05-13 17:46:15 +00:00
Michael Meeks
03a2dbc312 activate the throbber in case we didn't earlier.
2002-05-13  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c (nautilus_window_show_toolbar):
	activate the throbber in case we didn't earlier.

	* src/nautilus-window-toolbars.c
	(nautilus_window_activate_throbber): split out of
	(nautilus_window_initialize_toolbars): here,
	only activate the throbber if we are starting
	with a toolbar.

	* src/nautilus-window.c:
	(nautilus_window_show_toolbar, nautilus_window_hide_toolbar): move
	into nautilus-window-toolbars.

	* libnautilus/nautilus-view-standard-main.c
	(object_destroyed): upd. comment.
	(make_object): prune bogus comment.
	(nautilus_view_instrument_for_failure): impl.
	(object_destroyed): only do 1 destroy ever, rename
	(view_object_destroy): to this.
	(make_object): upd.
	(nautilus_view_never_got_frame_timeout),
	(nautilus_view_set_frame_callback),
	(nautilus_view_cnx_broken_callback): impl.
2002-05-13 16:04:02 +00:00
Dave Camp
878ff2caa6 Added mnemonics.
2002-05-12  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-global-preferences.c:
	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
	* src/nautilus-preferences-dialog.c: Added mnemonics.
2002-05-13 03:45:27 +00:00
Alexander Larsson
889efa286a Make sure to keep a ref to the view until we got the response. Handle the
2002-05-12  Alexander Larsson  <alla@lysator.liu.se>

	* src/file-manager/fm-directory-view.c
	(clipboard_targets_received, real_update_menus):
	Make sure to keep a ref to the view until we got the response.
	Handle the case the detail->ui was destroyed (it's a weak ref).
2002-05-13 03:31:05 +00:00
Dave Camp
b3e25c8c4c Handle files that are moved/removed and not ready.
2002-05-10  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-directory-view.c (process_new_files): Handle
	files that are moved/removed and not ready.
2002-05-13 03:02:16 +00:00
Abel Cheung
0b1891377b Updated traditional Chinese translation.
2002-05-13  Abel Cheung  <maddog@linux.org.hk>

	* zh_TW.po: Updated traditional Chinese translation.
2002-05-12 18:50:41 +00:00
Alexander Larsson
7800e42c80 oops, cvs stopped 2002-05-12 00:37:50 +00:00
Alex Larsson
9ebd9e2020 Don't use custom font.
2002-05-11  Alex Larsson  <alexl@redhat.com>

	* components/music/nautilus-music-view.c: (set_up_tree_view):
	Don't use custom font.

	* libnautilus-private/apps_nautilus_preferences.schemas:
	Add preferences/desktop_font.
	Remove old fonts keys

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_display_name_nocopy):
	Don't leak.

	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	Remove old font prefs. Add desktop font prefs.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(create_label_layout):
	Use default widget font unless one is set.

	* libnautilus-private/nautilus-icon-container.c: (finalize),
	(style_set), (nautilus_icon_container_class_init),
	(nautilus_icon_container_instance_init),
	(nautilus_icon_container_set_font):
	* libnautilus-private/nautilus-icon-container.h:
 	* libnautilus-private/nautilus-icon-private.h:
	Change nautilus_icon_container_set_font_name to
	nautilus_icon_container_set_font.
	Change font_size_table to have the difference from the base font size.
	Invalidate labels on style_set.

	* libnautilus-private/nautilus-icon-factory.c:
	(embedded_text_font_changed_callback), (embed_text):
	Use default widget font for embedded text.

	* src/nautilus-preferences-dialog.c:
	* src/nautilus-sidebar-title.c:
	Remove font prefs. Update on style_set.

	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_class_init),
	(nautilus_sidebar_tabs_load_theme_data), (style_set),
	(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
	(make_tab_text_layout):
	Use normal gtk+ fonts.

	* src/file-manager/fm-desktop-icon-view.c: (font_changed_callback),
	(fm_desktop_icon_view_update_icon_container_fonts),
	(fm_desktop_icon_view_init):
	Use desktop font.

	* src/file-manager/fm-icon-view.c:
	(default_zoom_level_changed_callback), (create_icon_container),
	(fm_icon_view_instance_init):
	(nautilus_sidebar_title_class_init), (style_set),
	(nautilus_sidebar_title_init), (update_title_font):
	Remove font handling.
2002-05-11 23:53:50 +00:00
Stanislav Visnovsky
2a263abf98 Updated Slovak translation.
2002-05-11  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.
2002-05-11 14:34:50 +00:00
Ole Laursen
01daa11a5d Updated Danish translation.
2002-05-11  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-05-11 12:59:51 +00:00
Anders Carlsson
adce739233 Check that the file exists before trying to parse it. This stops libxml
2002-05-10  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_load_file):
	Check that the file exists before trying to parse it. This stops
	libxml from spewing crack "entity not found" messages.
2002-05-10 20:17:05 +00:00
Chyla Zbigniew
e91eb94f99 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-05-10 18:58:31 +00:00
Damon Chaplin
d0cae5ea47 moved the nautilus_file_unref() to the end of the function. Hopefully
2002-05-10  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-directory-async.c (link_info_read_done):
	moved the nautilus_file_unref() to the end of the function.
	Hopefully fixes bug #80207.
2002-05-10 18:49:04 +00:00