| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the past, nautilus was designed keeping in mind the concept that it
might not just be a file browser, but a sort of platform to embed
various kind of views in it.
- libnautilus-private: general lowlevel items, such as the icon
container, NautilusFile, I/O and so on
- src: general widgets and UI items
- src/file-manager: file manager views, agnostic of what's in src/,
for the sake of being pluggable enough
This is really not applicable anymore, as nautilus won't go in any
direction other than being a file manager; at the same time, this
complicates code and architecture quite a lot.
In this commit, as a first step towards a more clean codebase, we remove
the NautilusWindowInfo and NautilusWindowSlotInfo interfaces, using
NautilusWindow and NautilusWindowSlot directly.
Note that there should be no actual code changes, only moving of pieces
around.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Location bar entries are pane-specific, not window
specific. Therefore, it is neccessary to move significant parts of the
logic around, mainly from NautilusWindow to NautilusWindowPane, and
NautilusNavigationWindow to NautilisNavigationWindowPane.
In particular, the following functions have been moved into the pane:
bookmark_list_get_uri_index
restore_focus_widget
search_bar_activate_callback
search_bar_cancel_callback
navigation_bar_cancel_callback
navigation_bar_location_changed_callback
location_button_should_be_active
location_button_toggled_cb
path_bar_location_changed_callback
path_bar_button_pressed_callback
path_bar_button_released_callback
path_bar_button_drag_begin_callback
path_bar_path_set_callback
nautilus_navigation_window_show_location_bar_temporarily
nautilus_navigation_window_show_navigation_bar_temporarily
nautilus_navigation_window_path_bar_showing
nautilus_navigation_window_set_bar_mode
nautilus_navigation_window_search_bar_showing
nautilus_navigation_window_hide_location_bar
nautilus_navigation_window_show_location_bar
nautilus_navigation_window_location_bar_showing
nautilus_window_zoom_{in,out,to_level,to_default}
The location bar setup parts of nautilus_navigation_window_init() have
been moved to nautilus_navigation_window_pane_setup_location_bar.
The following fuctions have been made public:
hide_temporary_bars
load_view_as_menu
unset_focus_widget
update_up_button
Much logic of the following functions has been moved to the pane, but
the functions themselves have been left in the window as triggers:
nautilus_navigation_window_hide_temporary_bars
nautilus_window_sync_location_widgets
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-22 Christian Neumair <cneumair@gnome.org>
* src/nautilus-window-manage-views.c:
* src/nautilus-window-manage-views.h:
* src/nautilus-window.c (nautilus_window_destroy),
(nautilus_window_close_slot), (nautilus_window_slot_close):
Remove nautilus_window_manage_views_destroy(), since everything it
does is achieved by nautilus_window_close_slot(). Also ensure that
slots are removed from the active slot history as they are closed.
Fixes #553081.
svn path=/trunk/; revision=14651
|
|
|
|
|
|
|
|
|
|
| |
2008-07-08 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/*.c:
* src/*.c:
Merge "multiview" tab branch. Fixes #48034.
svn path=/trunk/; revision=14328
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-01 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-view-factory.h:
* src/file-manager/fm-desktop-icon-view.c
(fm_desktop_icon_view_register):
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-list-view.c (fm_list_view_register):
* src/nautilus-navigation-window.c (load_view_as_menu):
* src/nautilus-window-manage-views.c:
* src/nautilus-window-manage-views.h:
* src/nautilus-window.c (add_view_as_menu_item):
Remove unused "label" field of NautilusViewInfo and
nautilus_window_get_view_label().
Rename two other fields of NautilusViewInfo and make their use
more explicit. Remove redundand "View" from view menu label.
svn path=/trunk/; revision=14024
|
|
|
|
| |
svn path=/trunk/; revision=13464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-19 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-view-factory.h:
* src/nautilus-navigation-window.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window-manage-views.h:
* src/nautilus-window.c:
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-list-view.c:
Improve NautilusViewInfo view factory labels marked for translation.
|
|
|
|
|
| |
2004-11-22 Alexander Larsson <alexl@redhat.com>
* Merge bonobo-slay-branch
|
|
|
|
|
|
|
|
|
| |
2004-04-14 Martin Wehner <martin.wehner@epost.de>
* src/nautilus-spatial-window.c (location_menu_item_activated_callback):
* src/nautilus-window-manage-views.[ch] (nautilus_window_open_location):
* src/nautilus-window.c (nautilus_window_go_to):
Make shift/middle click close window behind (#137663).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-12 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
Range selection
Clear last double click icon if you click on background
Don't swallow alt-up
Ignore tripple clicks
Shift-double-click is open-close-parent (of the clicked icon only)
* libnautilus-private/nautilus-icon-private.h:
Add range_selection_base_icon to icon container
* src/file-manager/fm-directory-view.c:
handle shift-alt-down
* src/file-manager/fm-list-model.c:
Implement fm_list_model_file_for_path
* src/file-manager/fm-list-view.c:
Sync behaviour with icon view.
Allow shift-doubleclick
* src/file-manager/nautilus-directory-view-ui.xml:
* src/nautilus-spatial-window-ui.xml:
* src/nautilus-spatial-window.c:
Add alt-shift-up keybinding
* src/nautilus-window-manage-views.c:
* src/nautilus-window-manage-views.h:
* src/nautilus-window-menus.c: (go_menu_up_callback):
* src/nautilus-window.c: (nautilus_window_go_up):
* src/nautilus-window.h:
Support for alt-shift-up
|
|
|
|
|
|
| |
2003-09-30 Dave Camp <dave@ximian.com>
* Merge the nautilus-spatial-playground branch to HEAD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-private/nautilus-dnd.h:
Move reset constant into header.
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_display_name): Use g_locale_to_utf8, so this
works even when G_BROKEN_FILENAMES is not set.
* libnautilus-private/nautilus-icon-dnd.c:
Rearrange and clean up code a bit.
* src/nautilus-property-browser.c:
(nautilus_property_browser_destroy), (add_new_pattern),
(show_color_selection_window), (add_new_color), (add_new_emblem):
* src/nautilus-sidebar-title.c: (update_icon): Get rid of dead
code that gets uri and doesn't use it. It's been showing up in bug
reports too, so this is especially nice.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_manage_views_destroy),
(nautilus_window_manage_views_finalize): Break this up into two
functions again.
* src/nautilus-window.c: (nautilus_window_destroy): Re-add this,
because some of the cleanup has to be done at destroy time.
(nautilus_window_finalize): Move some of this out.
(nautilus_window_class_init): Set up both.
* components/text/nautilus-text-view.c:
* components/tree/nautilus-tree-model.c:
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-program-choosing.c:
* src/file-manager/fm-directory-view.c:
* src/nautilus-bookmark-list.c:
Miscellaneous porting to new names of functions, getting off
less-desirable functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (begin_location_change): Add
a ref/unref so that window->details won't go away at an
inopportune time.
(nautilus_window_manage_views_finalize): Rename from destroy.
* src/nautilus-window.c: (load_mini_icon): Break into separate
function.
(set_up_default_icon_list): Break into separate function.
(nautilus_window_finalize): Change from destroy to finalize.
(nautilus_window_class_init): Move to bottom of file and simplify the
code a bit.
|
|
|
|
|
| |
corresponding bugzilla.gnome.org bug. Also updated my
email address.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
menu):
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(location_has_really_changed): Make logic clearer by using else
instead of two if statements.
(view_frame_info_new), (view_frame_info_free),
(set_view_frame_info), (view_frame_get_label),
(view_frame_get_id), (nautilus_window_get_content_view_id),
(load_content_view), (nautilus_window_set_sidebar_panels): Store a
NautilusViewIdentifier with each view.
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_destroy): We no longer
have to store the content view identifier separately.
(remove_first_child): New function.
(update_extra_viewer_in_view_as_menus): Shared by the two below,
this is the old replace_extra_viewer_in_view_as_menus, simplified
and changed to support both adding and removing the extra viewer.
(remove_extra_viewer_in_view_as_menus): Cover for removing.
(replace_extra_viewer_in_view_as_menus): Cover for adding.
(nautilus_window_synch_view_as_menus): Simplify code a lot by
removing some special cases and taking advantage of the fact that
the position of the chosen item is always the same in both menus.
(chose_component_callback): Removed the FIXME now that the bug is
fixed.
* NEWS: Tweak wording.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed bug 7921 ("Up" should select folder you came from)
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_open_location_with_selection):
New private-to-nautilus-window call, just calls
existing private call open_location with the
right parameters.
* src/nautilus-window.c: (nautilus_window_go_up):
Set current location as selection when going up.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed bug 6163 (Need NautilusViewFrame ::
report_location_changed). This is re-adding a feature we also had
long ago, where a view reports a location change, but does not
want the location change to come back to it in the form of a
load_location call.
* src/nautilus-applicable-views.h:
* src/nautilus-applicable-views.c:
(get_view_result_from_gnome_vfs_result), (got_file_info_callback),
(got_minimum_file_info_callback),
(nautilus_determine_initial_view),
(nautilus_determine_initial_view_cancel): Changed this entire file
to have a much easier-to-understand API.
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame-corba.c: (free_location_plus_callback):
Change existing structure so it can be used for the location-change
case, which includes a title too.
(open_force_new_window): Use new structure.
(report_location_change): Implement new call.
(impl_Nautilus_ViewFrame_open_location_force_new_window): Use new
structure.
(impl_Nautilus_ViewFrame_report_location_change): Implement new
call.
* libnautilus/nautilus-view-component.idl: Add the new call.
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
(nautilus_view_report_location_change): Add the new call.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class): Add new signal.
(nautilus_view_frame_report_location_change): Implement new call.
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (update_for_new_location):
Got rid of obsolete assert. Also, no longer clear the selection.
The selection is set properly earlier, and clearing it at this
point serves no purpose.
(location_has_really_changed): Call free_location_change to share
more code. Also no reason to free "pending_ni" any more, because
we don't keep it around in the success case.
(load_new_location_in_one_view): New name.
(load_new_location_in_sidebar_panels): New name. Also take a
parameter of a view to skip.
(load_new_location_in_all_views): New function.
(set_to_pending_location_and_selection): New name, and removed
code to handle the case where there is no pending location, since
that doesn't happen. Also take a parameter of a view to skip. Also
broke out the guts into load_new_location_in_all_views.
(free_location_change): Free things by their new names. There's
also less to free now.
(cancel_location_change): Key off pending_location instead of
pending_ni. Also save code by using new function that skips a
view.
(determined_initial_view_callback): Changed name, and use new
interface. No longer need "end_reached" trick, because the new
interface handles that.
(begin_location_change): Made a static after moving all the
functions that use it in here. Also moved some of the reload
code out into nautilus_window_reload.
(report_location_change_callback): New function. Does all the
steps neede for a location change in place.
(nautilus_window_back_or_forward), (nautilus_window_reload): Moved
these two functions in here from nautilus-window.c so we could
make begin_location_change more private.
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_go_to): Changed the name.
(nautilus_window_get_location): New function for callers that used
to get the location field directly.
(go_to_callback): Changed name.
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-location-bar.c: (drag_data_received_callback):
* src/nautilus-shell.c: (open_window), (save_window_states),
(restore_window_states):
* src/nautilus-window-menus.c: (services_button_callback),
(help_menu_nautilus_manual_callback),
(help_menu_nautilus_license_callback),
(help_menu_nautilus_feedback_callback),
(activate_bookmark_in_menu_item):
* src/nautilus-window-service-ui.c: (goto_services_summary),
(goto_online_storage), (goto_software_catalog),
(goto_services_support):
* src/nautilus-window.c: (location_change_at_idle_callback),
(nautilus_window_constructed), (view_as_menu_vfs_method_callback),
(nautilus_window_go_web_search), (nautilus_window_go_home):
Use nautilus_go_to under its new name.
* src/nautilus-shell.c: (restore_window_states): Use
nautilus_istr_has_prefix instead of g_strncasecmp. Also did other
code cleanup.
* libnautilus-extensions/nautilus-gtk-extensions.h: Added a new
marshal function that I needed.
* libnautilus-extensions/nautilus-thumbnails.c: Added a FIXME.
* libnautilus-extensions/nautilus-view-identifier.h:
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_copy),
(nautilus_view_identifier_compare): Use const.
* src/nautilus-application.c: (nautilus_application_startup): Only
check for root if we are actually running nautilus, not if we are
just killing off an existing copy.
(confirm_ok_to_run_as_root): Changed name of the function and
improved the wording of the message and button. Also added an
environment variable you can set to get rid of this. (Probably
should have been a preference instead, but I am officially being
lazy about this.)
Fixed bug that was revealed by the change in the loading sequence
I made. John didn't review this part:
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(load_directory_state_destroy), (load_directory_done):
Separate out code to free the partly-done state so it can
be used in the cancel case.
(dequeue_pending_idle_callback): Ref the directory object
so that we won't get messed up if the callback destroys it.
(directory_load_cancel): Separated out the old part of
file_list_cancel so that we can cancel the idle part too
when we want to.
(file_list_cancel): Use the new calls to cancel the idle
part of directory loading.
(directory_load_done): Use directory_load_cancel instead of
file_list_cancel.
(nautilus_directory_stop_monitoring_file_list): Use
directory_load_cancel instead of file_list_cancel.
(nautilus_directory_async_state_changed): Added state variables to
protect cases where we re-enter this function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed bug 1948 ("Open in New Window" menu item reuses existing
window if it exists) by separating the explicit "open in new
window" feature (always gives a new window) from the "open all
items in new windows" preference (reuses window if one with the
right location already exists).
* libnautilus/nautilus-view-component.idl: Added new
open_location_prefer_existing_window call. Renamed open_location
to open_location_in_this_window and open_location_in_new_window to
open_location_force_new_window for clarity.
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
(nautilus_view_open_location_in_this_window),
(nautilus_view_open_location_prefer_existing_window),
(nautilus_view_open_location_force_new_window):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_open_location_in_this_window),
(impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
(impl_Nautilus_ViewFrame_open_location_force_new_window):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_open_location_in_this_window),
(nautilus_view_frame_open_location_prefer_existing_window),
(nautilus_view_frame_open_location_force_new_window):
* src/nautilus-view-frame.h:
Add new call, rename old ones.
* src/file-manager/fm-directory-view.c: (open_callback): Pass parameter
to tell the open code to respect the "use new windows" preference.
(open_location): Take new WindowChoice parameter to respect preference
as appropriate.
(switch_location_and_view): Tell the code to respect the preference in
this case (opening from Open With).
(show_trash_callback): Use code that respects the preference instead of
always opening in this case.
(open_one_in_new_window): Always force a new window (used by Open
in New Window command).
(activate_callback): Pass through new WindowChoice instead of boolean.
(fm_directory_view_activate_file): Pass through new WindowChoice
instead of boolean.,
(fm_directory_view_activate_files): Respect the user preference if
opening only one file, do the "use existing window or make new one"
mode if opening more than one.
* src/nautilus-window-manage-views.c: (handle_unreadable_location):
Move check for empty location string in here.
(open_location): Moved the code for reusing existing windows out
of here. Also changed code structure to avoid redoing the
handle_unreadable_location check.
(open_location_in_this_window_callback): Renamed.
(open_location_prefer_existing_window_callback): Here's where
the code for reusing existing windows went. New callback for the
new call/signal.
(open_location_force_new_window_callback): Renamed.
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback): Change to use
nautilus_view_open_location_force_new_window by its new name.
* src/nautilus-window-manage-views.h: Got rid of
nautilus_window_open_location_in_new_window, which was public and
unused.
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_open_location_callback):
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_select_row):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_select_row):
* components/help/hyperbola-nav-tree.c:
(hyperbola_navigation_tree_select_row):
* components/history/nautilus-history-view.c:
(history_button_release):
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
* components/rpmview/nautilus-rpm-view.c: (go_to_button_callback):
* components/services/login/nautilus-view/nautilus-change-password-view.c:
(run_away_timer), (authn_failed), (maintenance_button_cb):
* components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
(logged_in_callback), (logged_out_callback),
(preferences_button_cb), (forgot_password_button_cb),
(register_button_cb):
* components/services/summary/nautilus-view/nautilus-summary-dialogs.c:
(error_dialog_cancel_cb):
* components/services/summary/nautilus-view/nautilus-summary-footer.c:
(footer_item_clicked_callback):
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(goto_service_cb), (goto_update_cb):
* components/text/nautilus-text-view.c: (handle_service_menu_item):
* components/tree/nautilus-tree-view.c: (tree_select_row_callback):
Change to use new nautilus_view_open_location_in_this_window
name. It's better because it's more explicit, but also, it's the
new name!
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_window_bring_to_front): Fixed indentation.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_window_present): Put in a new implementation that
uses nautilus_gdk_window_bring_to_front instead of the old one
that did a hide followed by a show. Corrected an assert that
should have been a return_if_fail.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed some problems with callbacks that are left around after
the object is destroyed.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(viewed_file_changed_callback): Changed to be a normal callback,
not a "connect_object" callback, and simplified the logic.
(cancel_viewed_file_changed_callback): Added a function to cancel
the callback, which is needed both when the window is destroyed
and when the viewed file changes.
(update_for_new_location): Cancel the old callback before setting
up the new one so we don't leave behind callbacks for old locations.
Also use the new nautilus_window_set_viewed_file function so the
callbacks set up in nautilus-window.c can be managed properly.
(free_location_change): Moved part of
nautilus_window_free_load_info in here. This function frees all
the stuff that's used in the location change process; shared by
destroy and "cancel" code. Also fixed a bug where it wouldn't free
the "error_views".
(cancel_location_change): Moved the rest of
nautilus_window_free_load_info in here and made this use the new
function.
(disconnect_view): Made this private now that the code to
disconnect the views is inside this file.
(disconnect_view_callback),
(nautilus_window_manage_views_destroy): Moved the code to clean up
from nautilus-window.c in here. Added cleanup for the location
change fields and for the viewd_file_changed callback.
* src/nautilus-window.c:
(nautilus_window_destroy): Call a new function to do the
nautilus-window-manage-views.c part of the destroy and moved some
code in there. Cancel the view-as callback too.
(create_view_as_menu_item),
(replace_special_current_view_in_view_as_menu),
(nautilus_window_synch_view_as_menu): Renamed. The words "view as
menu" are clearer than "content view menu".
(chose_component_callback): Got rid of code that tries to handle
bad values for callback data. The callback must be cancelled,
because you can't call NAUTILUS_IS_WINDOW on a freed window and
expect it to behave predictably.
(cancel_chose_component_callback): Function to cancel the callback,
called at both destroy time and before adding a new one.
(view_menu_choose_view_callback): Cancel the old callback before
adding a new one.
(view_menu_vfs_method_callback): Simplify logic a bit.
(load_view_as_menu_callback): Renamed.
(cancel_view_as_callback): Function to cancel the callback, called
at both destroy time and before adding a new one.
(nautilus_window_load_view_as_menu): Cancel the old callback before
adding a new one. Also renamed.
(nautilus_window_set_viewed_file): A new function that cancels the
callbacks on the file object before switching to a new one.
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_cancel_choose_component_for_file): Implemented missing
cancel function, needed by new window code.
* src/nautilus-window-private.h:
* src/nautilus-window-menus.c:
(bookmarks_menu_add_bookmark_callback),
(add_bookmark_for_current_location): Made the function local to
this file since it's both defined and used here.
* libnautilus-extensions/nautilus-glib-extensions.c:
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus/nautilus-undo-transaction.c:
* libnautilus/nautilus-view.c:
* librsvg/rsvg.c:
Added missing "static" to make some local non-"nautilus_"-prefixed
globals be internal instead of external.
* src/nautilus-sidebar.c: Formatting tweaks, added FIXME.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also fixed bug 3978 (Many Bonobo warnings/errors on quit).
* libnautilus-extensions/nautilus-directory-async.c:
(set_up_request_by_file_attributes),
(update_file_info_in_list_if_needed),
(dequeue_pending_idle_callback), (request_is_satisfied),
(get_info_callback), (file_info_start):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-file-attributes.h:
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_info), (destroy),
(nautilus_file_update_info), (nautilus_file_update_name),
(nautilus_file_compare_by_type),
(nautilus_file_get_string_attribute), (get_description),
(update_description_for_link), (nautilus_file_get_type_as_string),
(nautilus_file_get_mime_type), (nautilus_file_is_mime_type),
(nautilus_file_check_if_ready):
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_actions_get_required_file_attributes),
(nautilus_mime_get_default_action_type_for_file),
(nautilus_mime_get_default_application_for_file_internal),
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_applications_for_file),
(nautilus_mime_get_short_list_components_for_file),
(nautilus_mime_get_short_list_methods_for_file),
(nautilus_mime_get_all_applications_for_file),
(nautilus_mime_get_all_components_for_file),
(nautilus_mime_set_short_list_applications_for_file),
(nautilus_mime_set_short_list_components_for_file):
Get rid of the distinction between slow and default MIME type once
again. We (Pavel, Maciej, John, and I) decided it's better not to
have multiple opinions on the MIME type, despite our original idea
that we needed the slow MIME type for some things, even on remote
file systems.
* libnautilus-extensions/nautilus-glib-extensions.h:
Fixed the formatting in this file.
* src/file-manager/fm-directory-view.c: (load_location_callback):
Only force a reload if we are reloading the same directory. This
is needed to take advantage of the loading already done for us by
the framework.
(load_directory): Take a NautilusDirectory instead of a URI string.
Also take a boolean parameter to control if we force a reload.
(finish_loading_uri): Respect the boolean parameter that tells us
whether to force a reload.
(filtering_changed_callback): Use the new load_directory.
* src/nautilus-applicable-views.c: (nautilus_navigation_info_new),
(nautilus_navigation_info_cancel), (nautilus_navigation_info_free):
Monitor the directory while we are loading the component. We
already need to load the directory to get the MIME types, so this
does no additional harm, and it prepares us to consolidate the
loading done for different reasons.
* src/nautilus-main.c: (main): Use nautilus_setenv instead of
putenv, since it's more portable.
* src/nautilus-window-manage-views.c: Quick simplification pass on
state machine. Got rid of the use of varargs and renamed a bunch
of things.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-private.h:
Moved external functions from nautilus-window-manage-views.c to
all be in nautilus-window-manager-views.h. This is one step in
reducing the number of clients that need access to private stuff
in NautilusWindow.
* src/nautilus-window-service-ui.c: (detach_service_ui),
(nautilus_window_install_service_ui): Detach the service UI on
"destroy" rather that using set_data_full, because finalize time
is too late.
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy):
Got rid of extra unref that was messing things up here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.shared: Fix extra dependency that was causing the xml.h
files to be generated too often.
* configure.in: Fix code that detects the gcc options to work even
with -O on.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(view_frame_loaded), (view_frame_failed),
(nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_handle_client_gone),
(nautilus_view_frame_new), (check_if_view_is_gone),
(nautilus_view_frame_set_to_component),
(nautilus_view_frame_get_is_underway):
Revamp set of signals to be easier to understand. Handle all
failures uniformly,
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (change_selection),
(nautilus_window_update_for_new_location),
(nautilus_window_has_really_changed),
(nautilus_window_set_state_info),
(nautilus_window_set_sidebar_panels),
(zoom_level_changed_callback), (get_history_list_callback),
(change_selection_callback), (change_status_callback),
(failed_callback), (load_underway_callback),
(load_complete_callback), (open_location_callback),
(open_location_in_new_window_callback), (title_changed_callback),
(nautilus_window_connect_view), (nautilus_window_disconnect_view):
Make more of the view management private to this file. Use the
signals by their new names. Disconnect all the signals, not just
the error-related ones.
* src/nautilus-window.c:
(nautilus_window_set_content_view_widget): Updated the debugging
check to do it with the new Bonobo UI calls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* README: libunicode, libglade, and eog are no longer required.
* components/history/nautilus-history-view.c:
(history_title_changed):
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.c: (impl_Nautilus_View_title_changed),
(nautilus_view_initialize_class):
* libnautilus/nautilus-view.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_title_changed):
* src/nautilus-view-frame.h:
Added title parameter for the title_changed function.
* src/nautilus-view-frame.c:
(nautilus_view_frame_report_load_complete): Got rid of extra
emission of report_load_complete, which is handled by
view_frame_loaded now.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class):
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize_class):
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_class_init):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class):
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_initialize_class):
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_initialize_class):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_initialize_class):
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class):
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize_class):
Use GTK_RUN_LAST instead of GTK_RUN_FIRST.
* libnautilus-extensions/nautilus-directory-background.c:
* libnautilus-extensions/nautilus-link-set.c:
* libnautilus-extensions/nautilus-link.c:
* src/file-manager/fm-icon-text-window.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-properties-window.c:
* src/nautilus-complex-search-bar.c:
* src/nautilus-link-set-window.c:
* src/nautilus-simple-search-bar.c:
* src/nautilus-switchable-search-bar.c:
Add includes needed now that the #include <gnome.h> was removed
from nautilus-global-preferences.h.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_strcmp_case_breaks_ties): Added function, like
g_strcasecmp, but falls back on strcmp for strings that match
case-insensitive-wise.
(nautilus_istr_compare): Use nautilus_strcmp_case_breaks_ties
instead of nautilus_strcasecmp.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_by_name): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(nautilus_file_compare_by_directory_name): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(get_automatic_emblems_as_integer): Convert automatic emblems to
integer form for simple sorting.
(prepend_automatic_emblem_names): Separate out the code that puts
on automatic emblem names, and make it put them first, before any
keyword-based emblems.
(nautilus_file_compare_by_emblems): Compare the automatic emblems
first, using the integer form.
(nautilus_file_compare_by_type): Use
nautilus_strcmp_case_breaks_ties instead of nautilus_strcmp.
(nautilus_file_compare_for_sort): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(nautilus_file_compare_name): Use nautilus_strcmp_case_breaks_ties
instead of g_strcasecmp.
(nautilus_file_is_mime_type): Use nautilus_strcasecmp instead of
nautilus_strcmp.
(nautilus_file_get_emblem_names): Use
prepend_automatic_emblem_names.
(sort_keyword_list_and_remove_duplicates): Sort with
nautilus_strcmp_case_breaks_ties instead of
compare_emblem_names. Automatic emblem names are now dealt with
elsewhere.
* libnautilus-extensions/nautilus-icon-container.c:
(compare_icons_by_name): Use nautilus_strcmp_case_breaks_ties
instead of nautilus_strcasecmp.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_str_list_sort): Use nautilus_str_compare.
(nautilus_g_str_list_sort_case_insensitive): Use
nautilus_istr_compare.
* components/services/vault/command-line/main.c: (main):
* test/test-nautilus-mime-actions-set.c: (str_to_action_type):
Use g_strcasecmp, not strcasecmp, for portability.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
Removed _get_disabled_sidebar_panel_view_identifiers since the
logic now removes any not in the enabled list instead.
* libnautilus-extensions/nautilus-view-identifier.h:
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_list_copy): New function.
(nautilus_view_identifier_compare): Now sorts properly instead of
returning 1 for any two identifiers that are !=.
* nautilus-clean.sh: Removed unadorned gconfd now that it's
ancient history and because it makes the script seem to fail all
the time.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(compute_title): Renamed to a shorter name since it's a local function.
(update_title): Renamed to a shorter name since it's a local
function and made it do nothing if the title is already correct.
(nautilus_window_update_internals): Simplified code by using the
new cached title.
(nautilus_window_has_really_changed): Removed sidebar panel logic
that is no longer needed.
(nautilus_window_free_load_info): Remove some unused fields.
(nautilus_window_open_location): Removed unused parameter.
(nautilus_window_open_location_in_new_window): Removed unused
parameter.
(load_content_view): Renamed to shorter name since it's a local
function.
(handle_view_failure), (cancel_location_change),
(load_view_for_new_location), (set_view_location_and_selection):
Broke out big pieces of code used by the state machine. Soon we
won't have a state machine at all, but we'll still need functions
like these.
(nautilus_window_update_state): Removed a lot of the code and
broke the remaining bits into the above functions.
(nautilus_window_set_state_info): Removed sidebar management code
and some now-unused state variables.
(nautilus_window_stop_loading): Moved this function in here and
renamed it so the whole state machine is in one place.
(nautilus_window_set_content_view): Moved this function in here
and renamed it so the whole state machine is in one place.
(compare_view_identifier_with_iid),
(nautilus_window_set_sidebar_panels): Wrote new code to set up the
sidebar panels based on a list of view identifiers, based on the
code that was used before when preferences change. Moved here so
the whole state machine is in one place.
* src/nautilus-window-toolbars.c: (toolbar_stop_callback): Call
the new function nautilus_window_stop_loading.
* src/nautilus-window-private.h:
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_initialize_class):
Removed the "content_view" argument.
(nautilus_window_goto_uri): Removed the view frame parameter from
the open_location call.
(nautilus_window_constructed): Set up sidebars based on
preferences when the window is created.
(nautilus_window_set_arg): Removed the "content_view" argument.
(nautilus_window_get_arg): Removed the "content_view" argument.
(view_menu_switch_views_callback): Call the new function
nautilus_window_set_content_view.
(chose_component_callback), Call the new function
nautilus_window_set_content_view.
(nautilus_window_open_location_callback): Removed the view frame
parameter from the open_location call.
(nautilus_window_open_location_in_new_window_callback): Removed
the view frame parameter from the open_location_in_new_window
call.
(nautilus_window_connect_view): Don't connect to
report_load_progress any more. The view frame now handles this for
us.
(nautilus_window_set_content_view_widget): Renamed this to avoid
confusion with the new nautilus_window_set_content_view which is
used to change content views, given a new view identifier.
(update_sidebar_panels_from_preferences): Renamed and changed to
use the new nautilus_window_set_sidebar_panels call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-file-private.h:
Removed unused "self_owned" field.
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
(nautilus_view_open_location_in_new_window):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_switch_location):
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_open_location),
(impl_Nautilus_ViewFrame_open_location_in_new_window),
(impl_Nautilus_ViewFrame_report_selection_change):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_open_location_in_new_window):
Removed report_location_change and
open_in_new_window_and_select. The open_location_in_new_window
call now always does a selection operation.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (update_view),
(nautilus_window_load_sidebar_panel), (open_location),
(nautilus_window_open_location),
(nautilus_window_open_location_in_new_window),
(nautilus_window_load_content_view),
(nautilus_window_update_state),
(nautilus_window_begin_location_change):
* src/nautilus-window-private.h:
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_switch_views),
(nautilus_window_back_or_forward),
(nautilus_window_open_location_in_new_window_callback),
(nautilus_window_connect_view), (nautilus_window_reload):
Made some simplifications that are possible because we don't
have the old report_location_change to support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
search results). Now it opens a new window with the right
item selected. The only remaining work is to make the new
window scroll as necessary to reveal the item.
Along the way, fixed an unreported bug where the selection
wasn't being maintained on view switches.
* libnautilus-extensions/nautilus-gtk-extensions.h:
added #define for nautilus_gtk_marshal_NONE__STRING_POINTER.
* libnautilus/nautilus-view-component.idl:
Added open_in_new_window_and_select call.
* libnautilus/nautilus-view.h,
* libnautilus/nautilus-view.c:
(nautilus_view_open_in_new_window_and_select):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_open_location_in_new_window),
(impl_Nautilus_ViewFrame_open_in_new_window_and_select):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_open_in_new_window_and_select):
* src/nautilus-view-frame.h: Wired together the various
pieces to get open_in_new_window_and_select across CORBA
and into the view frame.
* src/nautilus-window.h: added pending_selection field
* src/nautilus-window-manage-views.h: added
nautilus_window_open_in_new_window_and_select
* src/nautilus-window.c:
(nautilus_window_open_in_new_window_and_select_callback),
(nautilus_window_connect_view): Wiring to connect view
frame signals to window.
(nautilus_window_destroy): free pending_selection
* src/nautilus-window-manage-views.c:
(nautilus_window_update_view): Changed call from
nautilus_window_report_selection_changed to
nautilus_view_frame_selection_changed. This was the source
of the selection-not-preserved-across-view-changes bug.
Darin came up with this fix.
(open_location): Added a new_selection parameter to this
bottleneck function. It is set as the pending_selection
in the window.
(nautilus_window_open_location),
(nautilus_window_open_location_in_new_window),
(nautilus_window_report_location_change): Update existing
callers of open_location to pass NULL for new_selection parameter.
(nautilus_window_open_in_new_window_and_select): New function,
calls open_location with a selection (among other parameters).
(nautilus_window_update_state): When loading a new location, set
the location to pending_selection rather than NULL (and clear
pending_selection later so it doesn't unnecessarily hang around).
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback):
Call open_in_new_window_and_select instead of just
open_location_in_new_window
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
no effect).
* libnautilus-extensions/nautilus-file.c: (destroy):
Fix a leak in the symbolic link target hash table.
* src/nautilus-application.c: (nautilus_application_startup),
(nautilus_application_create_desktop_window),
(nautilus_application_open_desktop),
(nautilus_application_close_desktop),
(nautilus_application_destroyed_window),
(nautilus_application_create_window):
Simplified the logic for creating and destroying the desktop
window a little bit and made it actually unref the desktop
window instead of just destroying it.
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize),
(nautilus_switchable_navigation_bar_set_mode),
(nautilus_switchable_navigation_bar_set_location):
Added missing code to send out the mode_changed signal and
took out a gratuitous FIXME.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_initialize), (nautilus_view_frame_destroy),
(set_up_for_new_location), (nautilus_view_frame_load_location),
(nautilus_view_frame_report_location_change),
(nautilus_view_frame_set_title), (nautilus_view_frame_get_title):
Changed it so the view frame keeps around the title as passed by
the view. It now emits a "title_changed" signal instead of a
"set_title" signal and you can get the title with a call to
nautilus_view_frame_get_title.
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_title_changed_callback),
(nautilus_window_connect_view):
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_get_current_location_title),
(nautilus_window_update_title),
(nautilus_window_set_displayed_location),
(nautilus_window_title_changed), (handle_go_elsewhere),
(nautilus_window_has_really_changed),
(nautilus_window_update_state):
Manage the title in a simpler way now that the view frame keeps
the title around.
* src/nautilus-window-toolbars.c: (set_up_button): Fixed error
that would result in a call to gnome_stock_set_icon with NULL.
* RPMs-README: Fixed a typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/nautilus-applicable-views.c,
src/nautilus-applicable-views.h, src/nautilus-application.c,
src/nautilus-application.h, src/nautilus-bookmark-list.c,
src/nautilus-bookmark-list.h, src/nautilus-bookmark-parsing.c,
src/nautilus-bookmark-parsing.h, src/nautilus-bookmarks-window.c,
src/nautilus-bookmarks-window.h,
src/nautilus-complex-search-bar.c,
src/nautilus-complex-search-bar.h, src/nautilus-desktop-window.c,
src/nautilus-desktop-window.h, src/nautilus-first-time-druid.c,
src/nautilus-first-time-druid.h, src/nautilus-history-frame.c,
src/nautilus-history-frame.h, src/nautilus-link-set-window.c,
src/nautilus-link-set-window.h, src/nautilus-location-bar.c,
src/nautilus-location-bar.h, src/nautilus-main.c,
src/nautilus-navigation-bar.c, src/nautilus-navigation-bar.h,
src/nautilus-property-browser.c, src/nautilus-property-browser.h,
src/nautilus-search-bar-private.h, src/nautilus-search-bar.c,
src/nautilus-search-bar.h, src/nautilus-self-check-functions.c,
src/nautilus-self-check-functions.h, src/nautilus-shell.c,
src/nautilus-shell.h, src/nautilus-sidebar-tabs.c,
src/nautilus-sidebar-tabs.h, src/nautilus-sidebar-title.c,
src/nautilus-sidebar-title.h, src/nautilus-sidebar.c,
src/nautilus-sidebar.h, src/nautilus-signaller.c,
src/nautilus-signaller.h, src/nautilus-simple-search-bar.c,
src/nautilus-simple-search-bar.h,
src/nautilus-switchable-navigation-bar.c,
src/nautilus-switchable-navigation-bar.h,
src/nautilus-switchable-search-bar.c,
src/nautilus-switchable-search-bar.h, src/nautilus-toolbar.c,
src/nautilus-toolbar.h, src/nautilus-view-frame-bonobo-control.c,
src/nautilus-view-frame-bonobo-embeddable.c,
src/nautilus-view-frame-corba.c,
src/nautilus-view-frame-nautilus-view.c,
src/nautilus-view-frame-private.h,
src/nautilus-view-frame.c,src/nautilus-view-frame.h,
src/nautilus-window-manage-views.c,
src/nautilus-window-manage-views.h, src/nautilus-window-menus.c,
src/nautilus-window-private.h, src/nautilus-window-toolbars.c,
src/nautilus-window.c, src/nautilus-window.h,
src/nautilus-zoom-control.c, src/nautilus-zoom-control.h,
src/nautilus-zoomable-frame-corba.c: Made copyright headers
consistent in style; also made sure to refer to Nautilus as
Nautilus, not "this library" or "The GNOME Library".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
views to simplify and clarify Nautilus. Later we will be able to
clean up the state machine.
Some "theoretical" stuff may be lost in this process, but we can
easily re-add what we really need. The old stuff had many
unimplemented placeholders and half-baked ideas.
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_ensure_zoomable_frame),
(nautilus_zoomable_set_zoom_level):
* src/nautilus-applicable-views.c: (got_file_info_callback),
(got_metadata_callback), (nautilus_navigation_info_new),
(nautilus_navigation_info_free):
* src/nautilus-applicable-views.h:
* src/nautilus-view-frame-bonobo-control.c:
(nautilus_view_frame_activate_uri),
(bonobo_control_try_load_client), (bonobo_control_load_location):
* src/nautilus-view-frame-bonobo-embeddable.c:
(bonobo_subdoc_notify_location_change),
(bonobo_subdoc_try_load_client):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame__destroy),
(impl_Nautilus_ViewFrame__create),
(impl_Nautilus_ViewFrame_open_location),
(impl_Nautilus_ViewFrame_open_location_in_new_window),
(impl_Nautilus_ViewFrame_report_location_change),
(impl_Nautilus_ViewFrame_report_selection_change),
(impl_Nautilus_ViewFrame_report_status),
(impl_Nautilus_ViewFrame_report_load_underway),
(impl_Nautilus_ViewFrame_report_load_progress),
(impl_Nautilus_ViewFrame_report_load_complete),
(impl_Nautilus_ViewFrame_report_load_failed),
(impl_Nautilus_ViewFrame_set_title):
* src/nautilus-view-frame-nautilus-view.c:
(nautilus_view_try_load_client), (load_location), (stop_loading),
(selection_changed):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_destroy_client),
(nautilus_view_frame_handle_client_destroy_2),
(nautilus_view_frame_new), (nautilus_view_frame_load_client),
(nautilus_view_frame_load_location),
(nautilus_view_frame_stop_loading),
(nautilus_view_frame_selection_changed),
(nautilus_view_frame_is_zoomable),
(nautilus_view_frame_open_location),
(nautilus_view_frame_open_location_in_new_window),
(nautilus_view_frame_report_location_change),
(nautilus_view_frame_report_selection_change),
(nautilus_view_frame_report_status),
(nautilus_view_frame_report_load_underway),
(nautilus_view_frame_report_load_progress),
(nautilus_view_frame_report_load_complete),
(nautilus_view_frame_report_load_failed),
(nautilus_view_frame_set_title),
(nautilus_view_frame_zoom_level_changed):
* src/nautilus-view-frame.h:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame__destroy),
(impl_Nautilus_ZoomableFrame__create),
(impl_Nautilus_ZoomableFrame_zoom_level_changed):
Changed the API and added a ton of comments.
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_initialize),
(hardware_view_load_location_callback):
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_select_row):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_select_row):
* components/help/hyperbola-nav-tree.c:
(hyperbola_navigation_tree_new),
(hyperbola_navigation_tree_load_location),
(hyperbola_navigation_tree_select_row):
* components/history/nautilus-history-view.c:
(hyperbola_navigation_history_load_location),
(hyperbola_navigation_history_select_row), (make_obj):
* components/html/ntl-web-browser.c: (browser_url_load_done),
(browser_vfs_callback), (browser_goto_url_real),
(browser_goto_url), (browser_select_url), (browser_title_changed),
(browser_notify_location_change):
* components/loser/content/nautilus-content-loser.c:
(nautilus_content_loser_initialize),
(loser_load_location_callback):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_initialize),
(loser_load_location_callback):
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize),
(music_view_load_location_callback):
* components/notes/nautilus-notes.c: (notes_load_location),
(make_notes_view):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (go_to_button_callback),
(rpm_view_load_location_callback):
* components/sample/nautilus-sample-content-view.c:
(nautilus_sample_content_view_initialize),
(sample_load_location_callback):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(go_to_uri), (nautilus_service_startup_view_initialize),
(service_load_location_callback):
* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
(trilobite_eazel_time_view_initialize), (load_location_callback):
* components/websearch/ntl-web-search.c: (do_search), (make_obj):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_switch_location),
(fm_directory_view_initialize), (display_selection_info),
(fm_directory_view_send_selection_change),
(load_location_callback), (selection_changed_callback),
(stop_loading_callback), (done_loading), (finish_loading_uri):
Switch components to use the new API.
* libnautilus-extensions/nautilus-gtk-extensions.h:
Added a placeholder for a new operation to get the first child of a
container. This will be way more efficient than all the code that
gets a list of all the children and then looks at the first one.
* src/nautilus-application.c: (manufactures), (create_object),
(create_factory), (nautilus_application_initialize_class),
(nautilus_application_initialize), (nautilus_application_new),
(nautilus_application_destroy),
(nautilus_application_check_user_directories),
(nautilus_application_startup),
(nautilus_application_destroy_window), (nautilus_application_quit),
(nautilus_application_create_window):
* src/nautilus-application.h:
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-desktop-window.h:
* src/nautilus-main.c: (main):
Renamed NautilusApp -> NautilusApplication while changing it around.
* libnautilus-extensions/nautilus-undo-manager.h:
Add a blank line.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (compare_strings),
(nautilus_window_report_selection_change): Changed code so that it
won't report the same selection change twice.
(nautilus_window_report_status),
(nautilus_window_report_load_underway),
(nautilus_window_report_load_progress),
(nautilus_window_report_load_complete),
(nautilus_window_report_load_failed), (compute_default_title),
(nautilus_window_set_title), (handle_go_back), (handle_go_forward),
(handle_go_elsewhere), (update_up_button),
(nautilus_window_update_internals), (nautilus_window_update_view),
(nautilus_window_view_destroyed),
(nautilus_window_has_really_changed),
(nautilus_window_load_sidebar_panel), (open_location),
(nautilus_window_open_location),
(nautilus_window_open_location_in_new_window),
(nautilus_window_report_location_change),
(nautilus_window_load_content_view),
(nautilus_window_update_state),
(nautilus_window_end_location_change_callback),
(nautilus_window_begin_location_change): Updated everything for the
new API.
* src/nautilus-window-menus.c: (file_menu_new_window_callback),
(edit_menu_undo_callback), (edit_menu_cut_callback),
(edit_menu_copy_callback), (edit_menu_paste_callback),
(edit_menu_clear_callback), (append_bookmark_to_menu),
(clear_appended_bookmark_items),
(nautilus_window_add_bookmark_for_current_location),
(append_separator), (new_top_level_menu),
(nautilus_window_initialize_menus), (update_user_level_menu_items):
* src/nautilus-window-private.h:
* src/nautilus-window-toolbars.c: (setup_button),
(nautilus_window_initialize_toolbars),
(nautilus_window_toolbar_remove_theme_callback):
* src/nautilus-window.c: (nautilus_window_class_init),
(nautilus_window_goto_uri), (nautilus_window_constructed),
(nautilus_window_set_arg), (nautilus_window_get_arg),
(nautilus_window_destroy), (nautilus_window_switch_views),
(view_menu_choose_view_callback),
(nautilus_window_load_content_view_menu),
(nautilus_window_back_or_forward), (nautilus_window_go_up),
(nautilus_window_allow_back), (nautilus_window_allow_forward),
(nautilus_window_allow_up),
(nautilus_window_open_location_callback),
(nautilus_window_open_location_in_new_window_callback),
(nautilus_window_report_location_change_callback),
(nautilus_window_report_selection_change_callback),
(nautilus_window_report_status_callback),
(nautilus_window_report_load_underway_callback),
(nautilus_window_report_load_progress_callback),
(nautilus_window_report_load_complete_callback),
(nautilus_window_report_load_failed_callback),
(nautilus_window_set_title_callback),
(nautilus_window_connect_view),
(nautilus_window_connect_content_view), (nautilus_window_reload),
(window_update_sidebar_panels_from_preferences):
* src/nautilus-window.h:
Other changes related to the API switchover.
* src/nautilus.oafinfo: Changed the ntl-xx iids to use the work
nautilus instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Renamed files as follows, as per RENAMING:
components/history/ntl-history-view.c -> components/history/nautilus-history-view.c
components/history/ntl-history-view.oafinfo -> components/history/nautilus-history-view.oafinfo
components/notes/ntl-notes.c -> components/notes/nautilus-notes.c
components/notes/ntl-notes.oafinfo -> components/notes/nautilus-notes.oafinfo
libnautilus-extensions/gtkscrollframe.c -> libnautilus-extensions/nautilus-scroll-frame.c
libnautilus-extensions/gtkscrollframe.h -> libnautilus-extensions/nautilus-scroll-frame.h
libnautilus/nautilus-view-frame.c -> libnautilus/nautilus-view.c
libnautilus/nautilus-view-frame.h -> libnautilus/nautilus-view.h
src/nautilus-index-tabs.c -> src/nautilus-sidebar-tabs.c
src/nautilus-index-tabs.h -> src/nautilus-sidebar-tabs.h
src/nautilus-index-title.c -> src/nautilus-sidebar-title.c
src/nautilus-index-title.h -> src/nautilus-sidebar-title.h
src/nautilus-zoomable-frame-svr.c -> src/nautilus-zoomable-frame-corba.c
src/ntl-app.c -> src/nautilus-application.c
src/ntl-app.h -> src/nautilus-application.h
src/ntl-index-panel.c -> src/nautilus-sidebar.c
src/ntl-index-panel.h -> src/nautilus-sidebar.h
src/ntl-main.c -> src/nautilus-main.c
src/ntl-miniicon.c -> libnautilus-extensions/nautilus-mini-icon.c
src/ntl-miniicon.h -> libnautilus-extensions/nautilus-mini-icon.h
src/ntl-uri-map.c -> src/nautilus-applicable-views.c
src/ntl-uri-map.h -> src/nautilus-applicable-views.h
src/ntl-view-bonobo-control.c -> src/nautilus-view-frame-bonobo-control.c
src/ntl-view-bonobo-subdoc.c -> src/nautilus-view-frame-bonobo-embeddable.c
src/ntl-view-frame-svr.c -> src/nautilus-view-frame-corba.c
src/ntl-view-nautilus.c -> src/nautilus-view-frame-nautilus-view.c
src/ntl-view-private.h -> src/nautilus-view-frame-private.h
src/ntl-view.c -> src/nautilus-view-frame.c
src/ntl-view.h -> src/nautilus-view-frame.h
src/ntl-window-msgs.c -> src/nautilus-window-manage-views.c
src/ntl-window-msgs.h -> src/nautilus-window-manage-views.h
src/ntl-window-private.h -> src/nautilus-window-private.h
src/ntl-window-state.c -> src/nautilus-window-state.c
src/ntl-window-state.h -> src/nautilus-window-state.h
src/ntl-window.c -> src/nautilus-window.c
src/ntl-window.h -> src/nautilus-window.h
* components/history/Makefile.am, components/notes/Makefile.am,
libnautilus-extensions/Makefile.am, libnautilus/Makefile.am,
po/POTFILES.in, src/Makefile.am,
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/sample/nautilus-sample-content-view.h,
components/services/startup/nautilus-view/nautilus-service-startup-view.h,
libnautilus/libnautilus.h, src/nautilus-desktop-window.h,
src/nautilus-window-menus.c, src/nautilus-window-toolbars.c,
src/file-manager/fm-directory-view.h : Updated for renamings.
* RENAMING: removed old renamings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_initialize),
(hardware_view_notify_location_change_callback):
* components/hardware/nautilus-hardware-view.h:
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_select_row):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_select_row),
(hyperbola_navigation_search_new):
* components/html/ntl-web-browser.c: (browser_url_load_done),
(browser_vfs_callback), (browser_goto_url_real),
(browser_goto_url), (browser_select_url), (browser_title_changed),
(browser_notify_location_change), (make_obj):
* components/loser/content/main.c: (loser_make_object):
* components/loser/content/nautilus-content-loser.c:
(nautilus_content_loser_initialize),
(loser_notify_location_change_callback):
* components/loser/content/nautilus-content-loser.h:
* components/loser/sidebar/main.c: (loser_make_object):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_initialize),
(loser_notify_location_change_callback):
* components/mozilla/main.c: (mozilla_make_object):
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_content_view_request_progress_change),
(mozilla_content_view_request_location_change),
(mozilla_notify_location_change_callback),
(mozilla_title_changed_callback), (mozilla_link_message_callback):
* components/mozilla/nautilus-mozilla-content-view.h:
* components/music/main.c: (music_view_make_object):
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (click_column_callback),
(music_view_notify_location_change_callback),
(nautilus_music_view_drag_data_received):
* components/music/nautilus-music-view.h:
* components/rpmview/main.c: (rpm_view_make_object):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(rpm_view_notify_location_change_callback):
* components/rpmview/nautilus-rpm-view.h:
* components/sample/main.c: (sample_make_object):
* components/sample/nautilus-sample-content-view.c:
(nautilus_sample_content_view_initialize),
(sample_notify_location_change_callback):
* components/sample/nautilus-sample-content-view.h:
* components/services/startup/nautilus-view/main.c:
(services_make_object):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(go_to_uri), (nautilus_service_startup_view_initialize),
(service_main_notify_location_change_cb):
* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
* libnautilus/Makefile.am:
* libnautilus/libnautilus.h:
* libnautilus/nautilus-content-view-frame.c: [removed]
* libnautilus/nautilus-content-view-frame.h: [removed]
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view-frame-private.h:
* libnautilus/nautilus-view-frame.c:
(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
(impl_Nautilus_View_notify_location_change),
(impl_Nautilus_View_show_properties),
(impl_Nautilus_View_notify_selection_change),
(impl_Nautilus_View_stop_location_change),
(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
(nautilus_view_initialize_class), (nautilus_view_initialize),
(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
(get_view_frame), (nautilus_view_request_location_change),
(nautilus_view_request_selection_change),
(nautilus_view_request_status_change),
(nautilus_view_request_progress_change),
(nautilus_view_request_title_change),
(nautilus_view_get_bonobo_control),
(nautilus_view_get_main_window):
* libnautilus/nautilus-view-frame.h:
* src/Makefile.am:
* src/file-manager/fm-directory-view.c: (get_bonobo_control),
(fm_directory_view_initialize), (display_selection_info),
(fm_directory_view_send_selection_change),
(notify_location_change_callback), (stop_location_change_callback),
(done_loading), (fm_directory_view_activate_file_internal),
(finish_loading_uri):
* src/file-manager/fm-directory-view.h:
* src/ntl-app.c: (impl_Nautilus_Application_create_object):
* src/ntl-content-view.c: [removed]
* src/ntl-content-view.h: [removed]
* src/ntl-uri-map.c: (make_oaf_query_with_known_mime_type),
(make_oaf_query_with_uri_scheme_only):
* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
(impl_Nautilus_ViewFrame__create),
(impl_Nautilus_ViewFrame__get_main_window),
(impl_Nautilus_ViewFrame_request_location_change),
(impl_Nautilus_ViewFrame_request_selection_change),
(impl_Nautilus_ViewFrame_request_status_change),
(impl_Nautilus_ViewFrame_request_progress_change),
(impl_Nautilus_ViewFrame_request_title_change):
* src/ntl-view-private.h:
* src/ntl-view.c: (nautilus_view_frame_class_init),
(nautilus_view_frame_set_arg), (nautilus_view_frame_get_arg),
(nautilus_view_frame_request_location_change),
(nautilus_view_frame_request_selection_change),
(nautilus_view_frame_request_status_change),
(nautilus_view_frame_request_progress_change),
(nautilus_view_frame_request_title_change),
(nautilus_view_frame_set_label), (nautilus_view_frame_activate):
* src/ntl-view.h:
* src/ntl-window-msgs.c: (nautilus_window_request_title_change),
(nautilus_window_load_meta_view),
(nautilus_window_request_location_change),
(nautilus_window_load_content_view):
* src/ntl-window-msgs.h:
* src/ntl-window-private.h:
* src/ntl-window.c:
(nautilus_window_request_title_change_callback),
(nautilus_window_connect_content_view),
(nautilus_window_real_set_content_view):
Got rid of ContentView and ContentViewFrame.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We still have to rename the files.
* RENAMING: Put in explicit cases for file name renaming.
* src/Makefile.am:
* src/nautilus-desktop-window.c:
* src/nautilus-desktop-window.h:
Added placeholders. I'll be putting code in here soon.
* src/ntl-app.c: (display_prototype_caveat):
Changed to use nautilus_simple_dialog again since otherwise it
comes up behind the main window. Perhaps someone will resolve
that issue and change it back.
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_warning_dialog), (nautilus_warning_dialog_parented):
Added centered version of the warning dialog as well, since
Eskil was using gnome_warning_dialog in a case where he really
wanted lines wrapped.
* components/loser/.cvsignore:
* components/loser/content/.cvsignore:
* components/loser/sidebar/.cvsignore:
Ignore some generated files.
* components/hardware/main.c: (hardware_view_make_object):
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_initialize),
(nautilus_hardware_view_destroy),
(nautilus_hardware_view_get_nautilus_view),
(hardware_view_notify_location_change_callback):
* components/hardware/nautilus-hardware-view.h:
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_select_row),
(hyperbola_navigation_index_new):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_select_row),
(hyperbola_navigation_search_new):
* components/help/hyperbola-nav-tree.c:
(hyperbola_navigation_tree_new),
(hyperbola_navigation_tree_notify_location_change),
(hyperbola_navigation_tree_select_row):
* components/history/ntl-history-view.c:
(hyperbola_navigation_history_notify_location_change),
(hyperbola_navigation_history_select_row), (make_obj):
* components/html/ntl-web-browser.c: (browser_url_load_done),
(browser_vfs_callback), (browser_goto_url_real),
(browser_goto_url), (browser_select_url), (browser_title_changed),
(browser_notify_location_change), (make_obj):
* components/loser/content/main.c: (loser_make_object):
* components/loser/content/nautilus-content-loser.c:
(nautilus_content_loser_initialize),
(nautilus_content_loser_destroy),
(nautilus_content_loser_get_nautilus_view),
(nautilus_content_loser_load_uri),
(loser_notify_location_change_callback), (bonobo_loser_callback):
* components/loser/content/nautilus-content-loser.h:
* components/loser/sidebar/main.c: (loser_make_object):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_initialize),
(nautilus_sidebar_loser_destroy),
(nautilus_sidebar_loser_get_nautilus_view),
(loser_notify_location_change_callback):
* components/loser/sidebar/nautilus-sidebar-loser.h:
* components/music/main.c: (music_view_make_object):
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (nautilus_music_view_destroy),
(nautilus_music_view_get_nautilus_view),
(music_view_notify_location_change_callback):
* components/music/nautilus-music-view.h:
* components/notes/ntl-notes.c: (notes_notify_location_change),
(make_notes_view):
* components/rpmview/main.c: (rpm_view_make_object):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
(nautilus_rpm_view_get_nautilus_view),
(rpm_view_notify_location_change_callback):
* components/rpmview/nautilus-rpm-view.h:
* components/sample/main.c: (sample_make_object):
* components/sample/nautilus-sample-content-view.c:
(nautilus_sample_content_view_initialize),
(nautilus_sample_content_view_destroy),
(nautilus_sample_content_view_get_nautilus_view),
(sample_notify_location_change_callback):
* components/sample/nautilus-sample-content-view.h:
* components/services/startup/nautilus-view/main.c:
(services_make_object):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(go_to_uri), (nautilus_service_startup_view_initialize),
(nautilus_service_startup_view_get_nautilus_view),
(service_main_notify_location_change_cb):
* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
* components/websearch/ntl-web-search.c:
(web_search_notify_location_change), (do_search), (make_obj):
* libnautilus/nautilus-clipboard.c:
(nautilus_clipboard_info_set_view),
(nautilus_clipboard_info_get_view),
(nautilus_clipboard_info_get_bonobo_control):
* libnautilus/nautilus-clipboard.h:
* src/file-manager/fm-directory-view.c:
(bonobo_menu_move_to_trash_callback), (get_bonobo_control),
(fm_directory_view_initialize), (display_selection_info),
(fm_directory_view_send_selection_change),
(notify_location_change_callback),
(notify_selection_change_callback),
(stop_location_change_callback), (done_loading),
(fm_directory_view_get_nautilus_view),
(fm_directory_view_activate_file_internal), (finish_loading_uri):
* src/file-manager/fm-directory-view.h:
Updated for new libnautilus where the NautilusViewFrame
classes are now named NautilusView.
* libnautilus/nautilus-content-view-frame.c:
(nautilus_content_view_initialize), (nautilus_content_view_new),
(nautilus_content_view_new_from_bonobo_control),
(nautilus_content_view_destroy),
(nautilus_content_view_initialize_class),
(nautilus_content_view_request_title_change):
* libnautilus/nautilus-content-view-frame.h:
* libnautilus/nautilus-meta-view-frame.c:
(nautilus_meta_view_initialize), (nautilus_meta_view_new),
(nautilus_meta_view_new_from_bonobo_control),
(nautilus_meta_view_destroy),
(nautilus_meta_view_initialize_class):
* libnautilus/nautilus-meta-view-frame.h:
Changed Nautilus*ViewFrame classes to Nautilus*View. This is
something we had in RENAMING for some time, and it's consistent
with Bonobo's naming of BonoboControl and BonoboControlFrame.
Also changed interfaces to use actual BonoboControl * instead of
using BonobObject * and query_interface.
* libnautilus/nautilus-undo-manager.c:
(nautilus_undo_setup_bonobo_control):
* libnautilus/nautilus-undo-manager.h:
Changed the BonoboControl parameter to actually be of type
BonoboControl * instead of BonoboObject *.
* libnautilus/nautilus-view-frame-private.h:
* libnautilus/nautilus-view-frame.c:
(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
(impl_Nautilus_View_notify_location_change),
(impl_Nautilus_View_show_properties),
(impl_Nautilus_View_notify_selection_change),
(impl_Nautilus_View_stop_location_change),
(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
(nautilus_view_initialize_class), (nautilus_view_set_arg),
(nautilus_view_get_arg), (nautilus_view_initialize),
(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
(nautilus_view_destroy), (nautilus_view_ensure_view_frame),
(nautilus_view_request_location_change),
(nautilus_view_request_selection_change),
(nautilus_view_request_status_change),
(nautilus_view_request_progress_change),
(nautilus_view_get_bonobo_control),
(nautilus_view_get_main_window),
(nautilus_view_real_set_bonobo_control):
* libnautilus/nautilus-view-frame.h:
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable__get_zoom_level),
(impl_Nautilus_Zoomable__set_zoom_level),
(impl_Nautilus_Zoomable__get_min_zoom_level),
(impl_Nautilus_Zoomable__get_max_zoom_level),
(impl_Nautilus_Zoomable__get_is_continuous),
(impl_Nautilus_Zoomable_zoom_in),
(impl_Nautilus_Zoomable_zoom_out),
(impl_Nautilus_Zoomable_zoom_to_fit),
(impl_Nautilus_Zoomable__destroy),
(impl_Nautilus_Zoomable__create), (marshal_NONE__DOUBLE),
(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
(nautilus_zoomable_get_arg), (nautilus_zoomable_initialize),
(nautilus_zoomable_new),
(nautilus_zoomable_new_from_bonobo_control),
(nautilus_zoomable_destroy),
(nautilus_zoomable_ensure_zoomable_frame),
(nautilus_zoomable_set_zoom_level),
(nautilus_zoomable_get_bonobo_control),
(nautilus_zoomable_real_set_bonobo_control):
* libnautilus/nautilus-zoomable.h:
* src/nautilus-zoomable-frame-svr.c:
(impl_Nautilus_ZoomableFrame__destroy),
(impl_Nautilus_ZoomableFrame__create),
(impl_Nautilus_ZoomableFrame_notify_zoom_level):
* src/ntl-app.c: (impl_Nautilus_Application_create_object),
* src/ntl-content-view.c:
(impl_Nautilus_ContentViewFrame_request_title_change),
(nautilus_content_view_frame_get_type),
(nautilus_content_view_frame_class_init),
(nautilus_content_view_frame_init),
(nautilus_content_view_frame_set_active),
(nautilus_content_view_frame_request_title_change):
* src/ntl-content-view.h:
* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view),
(nautilus_index_panel_remove_meta_view):
* src/ntl-index-panel.h:
* src/ntl-meta-view.c: (nautilus_meta_view_frame_initialize_class),
(nautilus_meta_view_frame_initialize),
(nautilus_meta_view_frame_set_label),
(nautilus_meta_view_frame_get_label):
* src/ntl-meta-view.h:
* src/ntl-view-bonobo-control.c: (destroy_bonobo_control_view),
(nautilus_view_frame_activate_uri),
(bonobo_control_try_load_client),
(bonobo_control_notify_location_change):
* src/ntl-view-bonobo-subdoc.c: (destroy_bonobo_subdoc_view),
(bonobo_subdoc_notify_location_change),
(bonobo_subdoc_try_load_client):
* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
(impl_Nautilus_ViewFrame__create),
(impl_Nautilus_ViewFrame_request_location_change),
(impl_Nautilus_ViewFrame_request_selection_change),
(impl_Nautilus_ViewFrame_request_status_change),
(impl_Nautilus_ViewFrame_request_progress_change):
* src/ntl-view-nautilus.c: (nautilus_view_try_load_client),
(destroy_nautilus_view), (nv_show_properties), (nv_save_state),
(nv_load_state), (nv_notify_location_change),
(nv_notify_selection_change), (nv_stop_location_change):
* src/ntl-view-private.h:
* src/ntl-view.c: (nautilus_view_frame_get_type),
(nautilus_view_frame_class_init), (nautilus_view_frame_set_arg),
(nautilus_view_frame_get_arg), (nautilus_view_frame_init),
(nautilus_view_frame_destroy_client),
(nautilus_view_frame_destroy), (nautilus_view_frame_constructed),
(nautilus_view_frame_construct_arg_set),
(nautilus_view_frame_size_request),
(nautilus_view_frame_size_allocate),
(nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_handle_client_destroy_2),
(nautilus_view_frame_load_client),
(nautilus_view_frame_notify_location_change),
(nautilus_view_frame_notify_selection_change),
(nautilus_view_frame_load_state), (nautilus_view_frame_save_state),
(nautilus_view_frame_show_properties),
(nautilus_view_frame_stop_location_change),
(nautilus_view_frame_is_zoomable),
(nautilus_view_frame_get_zoom_level),
(nautilus_view_frame_set_zoom_level),
(nautilus_view_frame_get_min_zoom_level),
(nautilus_view_frame_get_max_zoom_level),
(nautilus_view_frame_get_is_continuous),
(nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
(nautilus_view_frame_zoom_to_fit), (nautilus_view_frame_get_iid),
(nautilus_view_frame_get_client_objref),
(nautilus_view_frame_get_objref),
(nautilus_view_frame_request_location_change),
(nautilus_view_frame_request_selection_change),
(nautilus_view_frame_request_status_change),
(nautilus_view_frame_request_progress_change),
(nautilus_view_frame_notify_zoom_level), (check_object),
(nautilus_view_frame_set_active_errors):
* src/ntl-view.h:
* src/ntl-window-msgs.c: (nautilus_window_notify_selection_change),
(nautilus_window_request_selection_change),
(nautilus_window_request_status_change),
(nautilus_window_request_progress_change),
(nautilus_window_request_title_change),
(nautilus_window_update_internals), (nautilus_window_update_view),
(nautilus_window_view_destroyed), (nautilus_window_load_meta_view),
(nautilus_window_request_location_change),
(nautilus_window_load_content_view),
(nautilus_window_update_state), (nautilus_window_set_state_info),
(nautilus_window_begin_location_change):
* src/ntl-window-msgs.h:
* src/ntl-window-private.h:
* src/ntl-window.c: (zoom_in_cb), (zoom_out_cb),
(nautilus_window_set_arg), (nautilus_window_send_show_properties),
(view_menu_switch_views_callback),
(nautilus_window_set_content_view),
(nautilus_window_add_meta_view),
(nautilus_window_remove_meta_view_real),
(nautilus_window_remove_meta_view),
(nautilus_window_request_location_change_cb),
(nautilus_window_request_selection_change_cb),
(nautilus_window_request_status_change_cb),
(nautilus_window_request_progress_change_cb),
(nautilus_window_request_title_change_callback),
(nautilus_window_connect_view),
(nautilus_window_connect_content_view),
(nautilus_window_real_set_content_view):
* src/ntl-window.h:
Changed Nautilus*View classes to Nautilus*ViewFrame. This is
something we had in RENAMING for some time, and it's consistent
with Bonobo's naming of BonoboControl and BonoboControlFrame.
Also changed interfaces to use actual BonoboControl * instead of
using BonoboObject * and query_interface.
|
|
|
|
|
|
| |
location; this is used initially (and most importantly) by web pages so that
bookmarks, the window title, and the index panel will display the html page title
rather than the url.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus/ntl-content-view-frame.c,
libnautilus/ntl-content-view-frame.h,
libnautilus/ntl-meta-view-frame.c,
libnautilus/ntl-meta-view-frame.h, libnautilus/ntl-view-frame.c,
libnautilus/ntl-view-frame.h, src/ntl-app.c,
src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
src/ntl-view-frame-svr.c, src/ntl-view-nautilus.c,
src/ntl-view-private.h, src/ntl-view.c, src/ntl-view.h,
src/ntl-window-msgs.c, src/ntl-window-msgs.h,
src/ntl-window-state.c, src/ntl-window.c, src/ntl-window.h,
src/file-manager/fm-directory-view.c,
src/file-manager/fm-directory-view.h, src/file-manager/fm-main.c:
Added Eazel copyright to files I've changed non-trivially.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-03 Maciej Stachowiak <mjs@eazel.com>
* src/ntl-prefs.c: Fix warnings.
* src/ntl-view.c, src/ntl-view.h, src/ntl-view-frame-svr.c
(nautilus_view_notify_location_change,
nautilus_view_notify_selection_change, nautilus_view_load_state,
nautilus_view_save_state, nautilus_view_show_properties): Made
these functions public and removed the corresponding signals;
these are operations you do to the NautilusView, not something it
informs other parts of the program of.
(request_location_change, request_selection_change,
request_status_change, request_progress_change): New
signals. These allow NautilusView to have less dependence on
NautilusWindow.
(nautilus_view_signals): Moved signal number table from view to
this static variable.
(nautilus_view_request_location_change,
nautilus_view_request_selection_change,
nautilus_view_request_status_change,
nautilus_view_request_progress_change): Move to ntl-view.c and
make them emit the proper signals in lieu of hardcoded handling.
* src/ntl-window.c, src/ntl-window.h src/ntl-window-msgs.c,
src/ntl-window-msgs.h, src/ntl-window-state.c
(request_location_change, request_selection_change,
request_status_change, request_progress_change): Removed these
signals; they are operations you do on a NautilusWindow, not
something it notifies you of, and any usefulness for inheritance
purposes is purely speculative right now.
(nautilus_window_connect_view, nautilus_window_disconnect_view):
Use these new helper functions to connect callbacks to
NautilusView's signals instead of expecting them to just get
called.
(nautilus_view_request_location_change,
nautilus_view_request_selection_change,
nautilus_view_request_status_change,
nautilus_view_request_progress_change): Execute bodies of real_
versions instead of emitting singals.
(nautilus_view_real_request_location_change,
nautilus_view_real_request_selection_change,
nautilus_view_real_request_status_change,
nautilus_view_real_request_progress_change): Removed these.
Finally, always call nautilus_winodow_set_content_view or
nautilus_window_add_meta_view before calling
nautilus_view_load_client to make sure no signals are lost.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-21 Elliot Lee <sopwith@redhat.com>
* idl/nautilus.idl, libnautilus/ntl-view-client.[ch], src/ntl-window*.[ch],
src/ntl-view-frame-svr.c: Add request_progress_change notification
* src/ntl-view-*: Fix/finish various mjs changes: Do the component type abstraction
properly, lose ntl-view-frame-svr.h, add ntl-view-private.h, add various component type
implementations.
* src/ntl-view-frame-svr.h: Add 'extern' so everyone doesn't get their own vepv
variable.
|
|
* src/*.c: Restructure the whole NautilusWindow code for sanity's sake.
* src/ntl-uri-map.[ch]: Instead of just passing in various pieces of information about
the old URL, pass in the Nautilus_NavigationInfo that has to be kept around anyways.
* idl/nautilus.idl: Allow a selection to be multiple URI's.
|