Commit graph

5244 commits

Author SHA1 Message Date
Alex Larsson
e423d40ece Allow installation of tared themes.
2002-04-26  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-theme.c:
	(nautilus_theme_install_user_theme):
	Allow installation of tared themes.

	* libnautilus-private/nautilus-theme.h:
	* src/nautilus-theme-selector.c:
	(file_selection_ok_clicked_callback):
	Better warnings for non-theme files.
2002-04-26 19:07:11 +00:00
Alex Larsson
b3b4fb38cf Added new function nautilus_volume_get_device_path.
2002-04-26  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-volume-monitor.c:
	* libnautilus-private/nautilus-volume-monitor.h:
	Added new function nautilus_volume_get_device_path.

	* src/file-manager/fm-desktop-icon-view.c:
	(have_volume_format_app), (have_volume_properties_app),
	(have_volume_protection_app), (volume_ops_callback),
	(volume_link_device_type), (real_update_menus), (real_merge_menus):
	* src/file-manager/nautilus-desktop-icon-view-ui.xml:
	Add support for various volume properties helper applications.

	Based on patch from Rajeev Karale <rajeev.karale@wipro.com>
2002-04-26 18:01:11 +00:00
Jonathan Blandford
367205c97f s/Server Configuration/Server Settings
Thu Apr 25 12:22:57 2002  Jonathan Blandford  <jrb@gnome.org>

	* data/serverconfig.directory.in (_Name):
	* data/serverconfig.desktop.in (_Name):
	s/Server Configuration/Server Settings

	* src/nautilus-bookmarks-window.c (nautilus-bookmarks-window.c):
	Small UI tweaks.
2002-04-26 00:47:38 +00:00
Jody Goldberg
1cd3466d0c suppress warning to fix the build.
2002-04-24  Jody Goldberg <jody@gnome.org>

	* src/file-manager/fm-list-model.c
	(fm_list_model_get_attribute_from_sort_column_id) : suppress warning
	  to fix the build.
2002-04-24 14:40:56 +00:00
Murray Cumming
5139840ce7 Added the necessary bonobo_object_ref() to my previous commit, to prevent
2002-04-24  Murray Cumming  <murrayc@usa.net>

* Added the necessary bonobo_object_ref() to my previous commit,
to prevent crashing during the unref when the window closes.
2002-04-24 01:32:46 +00:00
Murray Cumming
65d1b6d043 Now that BonoboWindow has been fixed, it is no longer necessary to create
2002-04-23  Murray Cumming  <murrayc@usa.net>

* src/nautilus-window.c (nautilus_window_instance_init):
Now that BonoboWindow has been fixed, it is no longer necessary
to create and set the UIContainer.
2002-04-24 00:38:25 +00:00
Diego González
4427790cef fix for bug 73469 2002-04-24 00:16:50 +00:00
Owen Taylor
d075649b9e Fix build breakage from misapplied patch in last commit.
Tue Apr 23 16:18:05 2002  Owen Taylor  <otaylor@redhat.com>

        * src/nautilus-preferences-dialog.c (dialog_button_response_callback):
        Fix build breakage from misapplied patch in last commit.
2002-04-23 20:20:23 +00:00
Ganesan Sethuraman
c7b90ab485 Handled the "delete_event" signal. Fixes bug #73850
2002-04-23  Ganesan Sethuraman <ganesan.sethuraman@wipro.com>

         * src/nautilus-preferences-dialog.c : Handled the "delete_event"
         signal. Fixes bug #73850
2002-04-23 19:15:29 +00:00
Benedikt Roth
5bdf7a8737 Don't show the normal extra information for desktop files (#74910).
2002-04-23  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* src/file-manager/fm-icon-container.c:
	(fm_icon_container_get_icon_text):
	Don't show the normal extra information for desktop files (#74910).
2002-04-23 16:06:14 +00:00
Rajeev Karale
0ad6e62c9d finish_creating_volume() Bug Fixing : #77313. Mount_path for volume is
2002-04-23  Rajeev Karale <rajeev.karale@wipro.com>

	* libnautilus-private/nautilus-volume-monitor.c: finish_creating_volume()
	Bug Fixing : #77313. Mount_path for volume is different for solaris.
2002-04-23 14:24:14 +00:00
Anders Carlsson
bc234da622 Take pixels_per_unit into account when setting width and height.
2002-04-22  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-icon-container.c:
	(lay_down_icons_tblr):
	Take pixels_per_unit into account when setting width and height.
2002-04-22 13:05:19 +00:00
Anders Carlsson
aa1ef63395 Re-add the length limit for color and emblem names. Also fix button
2002-04-22  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init), (nautilus_emblem_dialog_new),
	(nautilus_color_selection_dialog_new), (add_new_pattern),
	(add_new_color), (nautilus_property_browser_update_contents):
	Re-add the length limit for color and emblem names. Also fix
	button ordering to be Add, Remove. Finally, set up focus correctly
	for entries.

	* src/nautilus-theme-selector.c: (create_button_with_stock_image),
	(nautilus_theme_selector_instance_init):
	Add stock icons to Add and Remove buttons.
2002-04-22 09:44:48 +00:00
Alexander Larsson
0b254f9719 Version markers 2002-04-22 01:23:48 +00:00
Alexander Larsson
8bef0b8dba Bump version to 1.1.13. Require eel 1.1.11
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* NEWS:
	* configure.in:
	Bump version to 1.1.13.
	Require eel 1.1.11
2002-04-22 00:57:27 +00:00
Alexander Larsson
9b1386e5c2 Remove deprecated usage of gnome-config. Patch by Diego Gonzlez
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-directory-background.c:
	Remove deprecated usage of gnome-config.
	Patch by Diego Gonzlez <diego@pemas.net>
2002-04-22 00:04:13 +00:00
Alexander Larsson
d6ca884ced Forgot to mention whose patch it was: 2002-04-21 23:46:14 +00:00
Alexander Larsson
cad3fcdac3 Add close button.
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/file-manager/fm-properties-window.c
	(create_properties_window): Add close button.
2002-04-21 23:42:11 +00:00
Alexander Larsson
1e698c9c50 Stock icons for back, forward, up, home, new, close, add bookmarks
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-shell-ui.xml:
	Stock icons for back, forward, up, home, new, close,
	add bookmarks

	* icons/default/default.xml:
        * icons/crux_teal/crux_teal.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	Point throbber to http://www.gnome.org/nautilus/

	* icons/default/Makefile.am:
        * icons/crux_teal/Makefile.am:
	* icons/crux_eggplant/Makefile.am:
	* icons/default/Makefile.am:
	* icons/*/[Back|Forward|Home|Refresh|Stop|Up].png:
	Use stock toolbar items for all out themes.

	Patches from Dave Bordoley <bordoley@msu.edu>
2002-04-21 23:25:08 +00:00
Alexander Larsson
0cec2a0215 Patches from sander for better HIG compliance Lay Out Items -> Arrange
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-preferences-dialog.c:
	* src/file-manager/fm-icon-view.c:
	* src/nautilus-shell-ui.xml:
	* src/nautilus-window-menus.c:
	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/file-manager/nautilus-icon-view-ui.xml:
	Patches from sander for better HIG compliance
	Lay Out Items -> Arrange Items
	View Preferences -> View Defaults
	Forget History -> Clear History
	Reset View to Match Preferences -> Reset View to Default
2002-04-21 22:41:18 +00:00
Anders Carlsson
fcd2906dfb Read .desktop files sync if they're local. This speeds up loading
2002-04-22  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-directory-async.c:
	(should_read_link_info_sync), (link_info_read_done),
	(link_info_start):
	Read .desktop files sync if they're local. This speeds
	up loading directories that have .desktop files in them.
2002-04-21 22:30:49 +00:00
Alexander Larsson
d854458030 Check the return value of XOpenDisplay and handle failures.
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-directory-background.c
	(image_loading_done_callback), (make_root_pixmap):
	Check the return value of XOpenDisplay and handle
	failures.
2002-04-21 22:15:03 +00:00
Alexander Larsson
84b62cbdd1 Disable the whole flash-workaround hack since it doesn't work and is
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-desktop-window.c (nautilus_desktop_window_class_init):
	Disable the whole flash-workaround hack since it doesn't work
	and is causing crashes on solaris.
2002-04-21 21:35:55 +00:00
Alexander Larsson
df81a1e428 Only display toplevel window when it's fully constructed.
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-window.h:
	* src/nautilus-window-manage-views.c:
	Only display toplevel window when it's fully constructed.

	* src/nautilus-desktop-window.c (nautilus_desktop_window_new):
	* src/nautilus-application.c (nautilus_application_create_desktop_window):
	Don't show desktop window here. It's shown later when the view
	is loaded.

	* libnautilus-private/nautilus-horizontal-splitter.c
	(nautilus_horizontal_splitter_pack2): Remove old code that is
	not neccesary when we display the window fully constructed.
2002-04-21 21:15:41 +00:00
Anders Carlsson
819f9a0fa0 Take pixels_per_unit into account when dealing with widget coordinates in
2002-04-21  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-icon-container.c:
	(icon_set_position),
	(nautilus_icon_container_update_scroll_region):
	Take pixels_per_unit into account when dealing with widget
	coordinates in the fixed mode.

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_finalize), (get_default_zoom_level),
	(default_zoom_level_changed), (fm_desktop_icon_view_init):
	Have the desktop view use the default icon view zoom level.
2002-04-21 19:29:43 +00:00
Anders Carlsson
1dd22af76a Don't do anything with double-click or triple-click events.
2002-04-21  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-zoom-control.c
	(nautilus_zoom_control_button_press_event):
	Don't do anything with double-click or triple-click events.
2002-04-21 18:14:40 +00:00
Anders Carlsson
97616a49c3 Fix some whitespace issues. 2002-04-21 16:56:13 +00:00
Anders Carlsson
a025dcff61 NautilusView is a GObject, not a GtkObject.
2002-04-21  Anders Carlsson  <andersca@gnu.org>

	* components/text/nautilus-text-view.c:
	(nautilus_text_view_finalize), (nautilus_text_view_class_init):
	NautilusView is a GObject, not a GtkObject.

	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_select_text_color),
	Set shadow color and offset using new eel functions.

	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
	Don't show translator credits when we don't need to.
	Also add myself as an author :)
2002-04-21 16:55:15 +00:00
Diego González
e2cf4674b7 fix for bug 72931 2002-04-21 14:09:36 +00:00
Diego González
ca86288ec9 Fix icon handling for mime types 2002-04-21 14:06:01 +00:00
Anders Carlsson
ac8df201d5 Disable drag window registration for now.
2002-04-20  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-drag-window.c:
	(nautilus_drag_window_register):
	Disable drag window registration for now.

	* libnautilus-private/nautilus-global-preferences.c:
	Change extra monitor paths to account for the rename.

	* nautilus.desktop.in:
	Update icon path.

	* src/file-manager/fm-properties-window.c: (reset_icon),
	(fm_properties_window_drag_data_received), (set_icon_callback):
	Add support for dragging the reset icon to remove custom icons.

	* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new),
	(nautilus_color_selection_dialog_new), (emblem_keyword_valid),
	(add_new_emblem):
	Fix "Add new emblem" dialog and add mnemonics.
2002-04-20 21:11:31 +00:00
Alexander Larsson
40de40cbb4 Add more keys to the schemas files. Based on work by Luis Gutierrez
2002-04-20  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/apps_nautilus_preferences.schemas:
	Add more keys to the schemas files. Based on work by
	Luis Gutierrez <luisgtz@megared.net.mx>
2002-04-20 20:15:00 +00:00
Alexander Larsson
fb233dfded libnautilus-private/nautilus-global-preferences.h Use underscore instead
2002-04-20  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-global-preferences.h
	Use underscore instead of dashes in gconf keys.

	* libnautilus-private/Makefile.am
	* libnautilus-private/nautilus.schemas:
	* libnautilus-private/apps_nautilus_preferences.schemas:
	Renamed schemas file to apps_nautilus_preferences.schemas.
	Some new keys are documented.

	This patch is from Jonathan Blandford <jrb@redhat.com>
2002-04-20 18:15:39 +00:00
Alexander Larsson
6f1c3fe091 Fruitless attempt to optimize icon layout. It turns out it is text-measure
2002-04-20  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-icon-container.c (lay_down_icons_horizontal):
	Fruitless attempt to optimize icon layout. It turns out it is text-measure and
	icon lookup bound. I'm checking in this optimization anyway, even though it
	doesn't help much.
	(nautilus_icon_container_class_init): icon_removed was using the wrong
	struct offset.

	* src/nautilus-window-menus.c:
	Add me to authors :)
2002-04-20 17:49:27 +00:00
Anders Carlsson
d813d0fc7c Fix profiler CFLAGS.
2002-04-20  Anders Carlsson  <andersca@gnu.org>

	* configure.in:
	Fix profiler CFLAGS.

	* libnautilus-private/nautilus-file-utilities.c:
	* libnautilus-private/nautilus-file-utilities.h:
	Remove time stamp and build message functions.
	* src/nautilus-profiler.c: (widget_set_busy_cursor),
	(dump_dialog_new):
	Remove deprecated functions.

	* src/nautilus-window-manage-views.c: (update_title):
	Remove time stamp in title.

	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
	Remove unused build_message variable.

	* src/nautilus-window.c: (nautilus_window_instance_init):
	Set initial title to "Nautilus". Fixes #74627.
2002-04-19 22:28:48 +00:00
Diego González
b261127c43 fix for bug 74949 2002-04-19 16:53:26 +00:00
Anders Carlsson
cb38b690db Free targets.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c:
	(clipboard_targets_received):
	Free targets.

	* src/nautilus-component-adapter-factory.c:
	Fix a spelling error, #79195.
2002-04-19 12:06:45 +00:00
Anders Carlsson
1143bec727 Abort on GTK_RESPONSE_DELETE_EVENT. Fixes #78948.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-file-operations.c
	(handle_transfer_vfs_error): Abort on GTK_RESPONSE_DELETE_EVENT.
	Fixes #78948.
2002-04-19 00:10:21 +00:00
Anders Carlsson
f8239032fe Remove NAUTILUS_PREFERENCES_CAN_ADD_CONTENT.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	Remove NAUTILUS_PREFERENCES_CAN_ADD_CONTENT.

	* src/file-manager/fm-list-view.c: (event_after_callback),
	(button_release_callback), (create_and_set_up_tree_view):
	When in single-click mode, activate files on button release
	instead of button press.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init),
	(nautilus_property_browser_destroy),
	(nautilus_property_browser_new),
	(nautilus_color_selection_dialog_new), (add_new_pattern),
	(add_color_to_browser), (show_color_selection_window),
	(nautilus_property_browser_update_contents):
	Fix the add and remove dialogs and add a few mnemonics. Fixes
	#79123.

	* src/nautilus-sidebar-title.c: (update_title), (update_more_info),
	(update_emblems), (update_notes):
	Remove fixed FIXMEs.
2002-04-18 23:51:44 +00:00
Anders Carlsson
52de6bb61d Make the throbber smaller if we're using a toolbar without text labels.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* components/throbber/nautilus-throbber.c: (get_bonobo_properties),
	(set_bonobo_properties), (nautilus_throbber_instance_init),
	(load_themed_image), (nautilus_throbber_load_images):
	Make the throbber smaller if we're using a toolbar without
	text labels. Fixes #47777.
2002-04-18 23:35:51 +00:00
Michael Meeks
e72152dd8e replace all the OAFIIDs with more sensibly named ones, that follow the
2002-04-18  Michael Meeks  <michael@ximian.com>

	* *.server.in, *.c: replace all the OAFIIDs with more
	sensibly named ones, that follow the namespacing
	guidelines in the libbonobo/docs/FAQ. Needs a new
	gnome-vfs to work well.

	* src/nautilus-window-toolbars.c
	(throbber_set_throbbing): impl.
	(throbber_created_callback): upd.
	(nautilus_window_allow_stop): upd.

	* libnautilus-private/nautilus-mime-actions.c
	(nautilus_do_component_query): remove hack around bonobo's
	sample text component, we no longer have one.
2002-04-18 18:39:01 +00:00
Anders Carlsson
a69268afdc Get the "exactly one" check right. Fixes #75187.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-properties-window.c:
	(fm_properties_window_drag_data_received):
	Get the "exactly one" check right. Fixes #75187.
2002-04-17 21:21:26 +00:00
Anders Carlsson
6adf4a12cb Query the clipboard TARGET types so we can set the sensitivity of the
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c:
	(clipboard_targets_received), (real_update_menus):
	Query the clipboard TARGET types so we can set the sensitivity
	of the "Paste Files" items accordingly.
2002-04-17 20:52:15 +00:00
Anders Carlsson
99edfb77e2 Plug memory leaks.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-customization-data.c:
	(add_reset_text):
	* libnautilus-private/nautilus-theme.c:
	(nautilus_theme_make_preview_pixbuf):
	* src/nautilus-property-browser.c: (element_clicked_callback):
	Plug memory leaks.
2002-04-17 20:35:01 +00:00
Anders Carlsson
82836cbb16 Use ::finalize instead of ::destroy so we don't free data twice.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* components/hardware/nautilus-hardware-view.c:
	(nautilus_hardware_view_class_init),
	(nautilus_hardware_view_finalize):
	Use ::finalize instead of ::destroy so we don't free
	data twice.
2002-04-17 13:46:11 +00:00
Anders Carlsson
fafef2d5d8 Remove debugging output.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_file_system_type_free):
	Remove debugging output.

	* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
	(fm_directory_view_finalize), (convert_file_list_to_string),
	(get_clipboard_callback), (clear_clipboard_callback),
	(copy_or_cut_files), (clipboard_received_callback),
	(paste_files_callback), (fm_directory_view_class_init):
	Use GtkClipboard instead of using a selection on the window.
	This simplifies a lot of the code and fixes #77684.
2002-04-17 13:28:21 +00:00
Anders Carlsson
ca22d6609b Fixup padding so that the dialog looks more like the Nautilus 1.0 one.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-file-operations-progress.c:
	(nautilus_file_operations_progress_init):
	Fixup padding so that the dialog looks more like the
	Nautilus 1.0 one.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_finalize):
	Unref the layouts.

	* libnautilus-private/nautilus-volume-monitor.c:
	(load_file_system_table), (nautilus_volume_monitor_class_init),
	(nautilus_volume_monitor_finalize), (get_mount_list),
	(nautilus_file_system_type_free),
	(load_additional_mount_list_info):
	Free the file system table on ::finalize.

	* src/file-manager/fm-list-model.c: (fm_list_model_finalize):
	Free details on ::finalize.
2002-04-17 12:29:11 +00:00
Pablo Saratxaga
ca90235fb8 Added Vietnamese file 2002-04-17 12:03:13 +00:00
Alexander Larsson
dc63bd71be Added version markers 2002-04-14 17:36:06 +00:00
Alexander Larsson
f85807d956 Bump version to 1.1.12. Require eel 1.1.10
2002-04-14  Alexander Larsson  <alla@lysator.liu.se>

	* NEWS:
	* configure.in:
	Bump version to 1.1.12.
	Require eel 1.1.10
2002-04-14 17:16:40 +00:00