* libnautilus-extensions/nautilus-file.h: Fix a FIXME.
* libnautilus-extensions/nautilus-file.c: Add a FIXME.
* src/file-manager/fm-error-reporting.c: (fm_rename_file):
Start the timed wait first in case the call succeeds or fails
immediately.
* src/file-manager/fm-properties-window.c:
(group_change_callback), (cancel_group_change_callback),
(activate_group_callback), (owner_change_callback),
(cancel_owner_change_callback), (activate_owner_callback):
Added a timed wait for each of these operations.
* libnautilus-extensions/nautilus-file.c:
(set_permissions_callback), (nautilus_file_set_permissions),
(set_owner_and_group_callback), (set_owner_and_group),
(nautilus_file_set_owner), (nautilus_file_set_group):
Made set_permissions, set_owner, and set_group all be async.
2000-07-13 Gene Z. Ragan <gzr@eazel.com>
* components/history/nautilus-history-view.c: (install_icon),
(history_view_update_icons), (history_load_location), (make_obj):
Added code to check for position of current page in list.
* src/nautilus-window.c:
* src/nautilus-window.h:
(nautilus_window_get_base_page_index):
New function to return the index of the base page in the
history list.
(nautilus_window_get_history_list_callback),
Set position field of returned list info using new function above.
suffered from my "spam" in the past (due to my use of emacs cvs
mode to commit). I will never use emacs cvs mode again so you
will see each of my commits only once!
* src/file-manager/fm-error-reporting.c:
(rename_callback_data_free), (rename_callback),
(cancel_rename_callback), (fm_rename_file):
Finished the 1/2 done code for renaming.
* src/nautilus-main.c: (main): Removed the call to bonobo_shutdown
since Michael decided he won't do it this way any more.
* src/nautilus-window.c: (nautilus_window_destroy): Added code
to unref the UI handler to fix a leak.
* components/hardware/nautilus-hardware-view.h:
* components/loser/content/nautilus-content-loser.h:
* components/loser/sidebar/nautilus-sidebar-loser.h:
* components/mozilla/nautilus-mozilla-content-view.h:
* components/music/nautilus-music-view.h:
* components/rpmview/nautilus-rpm-view.h:
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/nautilus-view/nautilus-service-install-view.h:
* components/services/inventory/nautilus-view/nautilus-inventory-view.h:
* components/services/login/nautilus-view/nautilus-login-view.h:
* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
* components/services/summary/nautilus-view/nautilus-summary-view.h:
* components/services/time/nautilus-view/trilobite-eazel-time-view.h:
* components/services/time/service/trilobite-eazel-time-service-public.h:
* components/services/trilobite/libtrilobite/trilobite-root-helper.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery-public.h:
* components/services/trilobite/libtrilobite/trilobite-service-public.h:
* components/services/trilobite/sample/lib/sample-service-public.h:
* components/tree/nautilus-tree-view.h:
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-zoomable.h:
* src/file-manager/fm-desktop-icon-view.h:
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.h:
* src/file-manager/fm-list-view.h:
* src/nautilus-application.h:
* src/nautilus-shell.h:
* src/nautilus-view-frame.h:
Fixed a copied and pasted typo.
2000-07-13 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer.c: (handle_xfer_ok):
Part 2 of fix for 1549 - Empty trash doesn't update progress
properly.
2000-07-12 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(auto_scroll_timeout_callback):
Fix a problem where parts of the exposed area weren't being
updated correctly during a fast auto-scroll.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_get_drop_action):
Fix a crash when nautilus_icon_container_get_drop_action
got called too early on during a drag, before
drag_data_received_callback got a chance to set state up.
*
components/services/install/nautilus-view/nautilus-service-install-
view.c: (generate_install_form), (create_title_widget),
(create_middle_title_widget):
Fix a bunch of gtk assertions caused by adding widgets to gtkboxes
twice.
Add a middle title widget to separete the progress dislay from the
top.
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client):
Change to use bonobo_object_unref now that the leaks have been
fixed. This requires the new Bonobo or you'll have lots of leaked
processes. Luckily, Nautilus won't compile without the new Bonobo
due to my use of bonobo_object_shutdown in main :-)
* configure.in:
Fix the way -Werror works so it affects all directories, not just
ones where we use WERROR.
* components/hardware/Makefile.am:
* components/help/Makefile.am:
* components/history/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/music/Makefile.am:
* components/notes/Makefile.am:
* components/rpmview/Makefile.am:
* components/sample/Makefile.am:
* components/services/install/command-line/Makefile.am:
* components/services/install/lib/Makefile.am:
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/server/Makefile.am:
* components/services/inventory/lib/Makefile.am:
* components/services/inventory/nautilus-view/Makefile.am:
* components/services/inventory/service/Makefile.am:
* components/services/login/lib/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/service/Makefile.am:
* components/services/startup/command-line/Makefile.am:
* components/services/startup/lib/Makefile.am:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/summary/lib/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/service/Makefile.am:
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/helper/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/.cvsignore:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/lib/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* components/services/vault/command-line/Makefile.am:
* components/services/vault/lib/Makefile.am:
* components/services/vault/nautilus-view/Makefile.am:
* components/services/vault/service/Makefile.am:
* components/tree/Makefile.am:
* components/websearch/Makefile.am:
* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
* helper-utilities/authenticate/Makefile.am:
* libnautilus-extensions/Makefile.am:
* libnautilus/Makefile.am:
* librsvg/Makefile.am:
* nautilus-installer/src/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
* test/Makefile.am:
Got rid of the WERROR shell variable. The -Werror switch is no
longer a per-directory thing.
* librsvg/Makefile.am:
Added libpng to the libraries for the test program. Maybe this was
the wrong thing to do, but before this change the link failed.
* components/sample/Makefile.am:
* components/sample/main.c:
* components/sample/nautilus-sample-content-view.c:
* components/sample/nautilus-sample-content-view.h:
A clean-up of the sample, including fixing many bugs and adding
lots of comments. I figure we want this to be as close to
exemplary as possible since people will continue to start with it
for new components.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a
NautilusFile object that I spotted in here.
* src/nautilus-application.c: (nautilus_application_destroy_window):
Re-added the code to quit when the last window is closed that Mike
removed in his recent check-in.
* src/nautilus-main.c: (main): Added a call to bonobo_shutdown.
We don't need this call, but I say, "Why not?"
* components/services/trilobite/idl/trilobite-service.idl:
* components/services/trilobite/libtrilobite/Makefile.am:
*
components/services/trilobite/libtrilobite/libtrilobite-service.h:
* components/services/trilobite/libtrilobite/libtrilobite.h:
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery-private.h:
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery-public.h:
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery.c: (impl_Trilobite_PasswordQuery_set_query_client),
(trilobite_passwordquery_get_epv),
(trilobite_passwordquery_destroy),
(trilobite_passwordquery_set_arg),
(trilobite_passwordquery_class_initialize),
(trilobite_passwordquery_initialize),
(trilobite_passwordquery_add_interface),
(trilobite_passwordquery_get_password),
(trilobite_passwordquery_set_prompt):
*
Added the trilobite_passwordquery interface and
trilobite_passwordquery_client. You add the _passwordquery
interface to your service, and the client (view or cli tool)
registers a _passwordquery_client object. When you then execute a
service function that requires eg. root acces, the service can
access a TrilobiteRootHelper (accessible using gtk_object_get_data
(... "trilobite-root-helper"...), and call it. This will emit a
signal, that will cause the _passwordquery to ask the
_passwordquery_client for a password. Currently, if no
_passwordquery_client is set, it will popup a gui input box. But
we should loose then when Robey does the gtk interface to be used
in views and cli tools.
components/services/trilobite/libtrilobite/trilobite-service-public
.h:
* components/services/trilobite/libtrilobite/trilobite-service.c:
(trilobite_service_add_interface):
Added the trilobite_service_add_interface. All trilobite
interfaces should have one to handle the
bonobo_object_add_interface ond other magic stuff.
* components/services/trilobite/sample/idl/sample-service.idl:
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/service/Makefile.am:
* components/services/trilobite/sample/service/main.c:
(trilobite_sample_service_factory):
*
components/services/trilobite/sample/service/sample-service-impl.c:
(impl_Trilobite_Eazel_Sample_list_it), (sample_service_get_epv):
Added a list_it call, that given a dir does a ls on it. (proof of
concept stuff). So I've also added the trilobite_passwordquery
interface to the sampleservice, and the cli tool tries to do an
ls -lart /root (thus triggering a password query).
* components/services/install/lib/eazel-install-object.c:
(eazel_install_destroy), (eazel_install_initialize):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (install_all_packages),
(rpm_show_progress), (do_rpm_install), (do_rpm_uninstall),
(eazel_install_load_rpm_headers),
(eazel_install_prepare_rpm_system):
* components/services/install/server/Makefile.am:
* components/services/install/server/main.c:
(eazel_install_service_factory), (main):
I've partly made the installer use the use the new stuff. It
doesn't work yet, but it makes it all the way to password query.
* components/services/time/command-line/main.c: (main):
* components/services/time/idl/trilobite-eazel-time-service.idl:
* components/services/time/service/Makefile.am:
* components/services/time/service/main.c:
(trilobite_eazel_time_service_factory):
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_check_time),
(impl_Trilobite_Eazel_Time_Service_update_time),
(trilobite_eazel_time_service_parse_body),
(trilobite_eazel_time_service_do_http_request):
Pached to work with the trilobite_passwordquery stuff. So as user,
you can now set the time if you've got the root password.
This closes 946, 938 and fixes root problem for the installer.
2000-07-11 Gene Z. Ragan <gzr@eazel.com>
* components/history/nautilus-history-view.c:
(history_load_location), (history_button_press),
(history_button_release), (make_obj):
Removed drag move from list. Changed navigation
to occur on mouse up, not on select row. This is
because select row is called on rows during a drag.
Tghis can be annoying if you are trying to drag a
row item and Nautilus is navigating to the item you
ared dragging over. This behavior happens even if we
are not supporting drag move of items. Now navigation
occurs on the mouse up.
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.c: (nautilus_view_quit_nautilus):
* libnautilus/nautilus-view.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_quit_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_quit_nautilus):
* src/file-manager/fm-directory-view.h:
* src/nautilus-application.c: (nautilus_application_startup),
(nautilus_application_destroy_window):
* src/nautilus-application.h:
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_set_title),
(impl_Nautilus_ViewFrame_quit_nautilus):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_set_title),
(nautilus_view_frame_quit_nautilus):
* src/nautilus-view-frame.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_load_content_view):
* src/nautilus-window.c: (nautilus_window_quit_nautilus_callback),
(nautilus_window_connect_view):
Hooked up the quit menu in the desktop context menu to quit Nautilus.
Now, if Nautilus is managing the desktop no default window is created
and Nautilus does not quit when the last window is closed - i.e. use
the quit menu item instead. Bugs 1050 and 1051.
* src/nautilus-application.h:
* src/nautilus-application.c: (nautilus_application_startup):
* src/nautilus-main.c: (main):
Fixed a bug I introduced at application startup time where it
would quit right away instead of running the first time druid.
(Calling it a druid is so lame, who are we kidding?)
* RENAMING: Some renaming ideas. In particular, we can deprecate
"null-tolerance" a little bit by including it in the names of the
functions.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_set_mini_icon):
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-mini-icon.c: [removed]
* libnautilus-extensions/nautilus-mini-icon.h: [removed]
* src/nautilus-window.c:
Moved the single function from its own file into the gdk
extensions file instead and changed the single place that uses it
to get it from there.
* components/history/nautilus-history-view.c:
(history_view_frame_call_end):
* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
* libnautilus/nautilus-view.c: (view_frame_call_end):
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_ensure_zoomable_frame):
Fixed a ref. count leak by adding code to unref the result of
query_interface.
* src/nautilus-view-frame.c: (nautilus_view_frame_is_zoomable):
Fixed logic that was backwards.
added a mini-icon for Nautilus from Susan. Also, removed the
private hacked version of gdk_pixbuf_render_pixmap_and_mask since
the real version is working properly for images that lack an
alpha channel now.
removed intrinsic property emblem images from browser; added
Susan's new user level images, used new sidebar tab edge piece
in the arlo theme, and made web search force local search off.
* src/nautilus-view-frame.c:
Fixed to compile with latest Bonobo. Doesn't work quite as well
as before -- we get some Bonobo ref. count asserts all the time --
but it's better than nothing I guess. Also did some other code
cleanup.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-alloc.h: [removed]
Removed an unused source file.
* libnautilus-extensions/nautilus-icon-container.c: (icon_free),
(stop_rubberbanding), (destroy), (hide_rename_widget):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_dropped_icon_feedback),
(nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_fini):
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_end):
* src/nautilus-view-frame-nautilus-view.c: (load_location),
(stop_loading), (selection_changed):
* src/nautilus-view-frame.c: (nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_load_client), (check_object),
(nautilus_view_frame_set_active_errors):
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Added FIXMEs to various questionable uses of gtk_object_destroy.
* src/Makefile.am:
Added missing source file and replaced use of .. with $(top_srcdir).
* libnautilus-extensions/nautilus-password-dialog.c:
(nautilus_password_dialog_initialize_class),
(nautilus_password_dialog_initialize),
(nautilus_password_dialog_destroy), (dialog_show_callback),
(dialog_close_callback), (caption_table_activate_callback),
(nautilus_password_dialog_new),
(nautilus_password_dialog_run_and_block),
(nautilus_password_dialog_set_username),
(nautilus_password_dialog_set_password),
(nautilus_password_dialog_set_readonly_username),
(nautilus_password_dialog_get_username),
(nautilus_password_dialog_get_password),
(nautilus_password_dialog_get_remember),
(nautilus_password_dialog_set_remember),
(nautilus_password_dialog_set_remember_label_text):
* libnautilus-extensions/nautilus-password-dialog.h:
Many cleanups and improvements. Use the GnomeDialog run_and_close
call instead of our own event loop hack. Removed many unneeded
callbacks and details member variables. Add checks for all
callbacks. Add support for remembering the password.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-password-dialog.c:
(authenticate_boink_callback), (exit_callback), (main):
Add a new test for the password dialog.
* test/test-nautilus-widgets.c: (main),
(text_caption_changed_callback):
Removed the old password dialog test.
*
components/services/install/nautilus-view/nautilus-service-install-
view.c: (generate_install_form), (generate_current_progress),
(go_to_uri), (nautilus_service_install_view_update_from_uri):
* components/services/login/nautilus-view/nautilus-login-view.c:
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form):
Fixed the startup view progress meter. Various changes to get flow
correct for the first cut at the services demo rpms.
added a "web search" button to the toolbar. To do this, I also
had to create a new toolbar subclass to overcome the problem
of using the maximum width for all the buttons.