| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
fixed bug 1246, by moving the sidebar event initialization code from
the nautilus window class to the sidebar itself.
fixed bug 838, zoom control doesn't prelight, by receiving mouse
motion events and prelighting as appropriate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* check-FIXME.pl: Removed some special-case file names
that aren't needed any more.
* libnautilus-extensions/nautilus-file-operations.c:
(get_link_name): Added comments to help localizers.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_date_as_string): Added comments to help
localizers. Deals with bug 2720 (Please add a comment to help
localizers do date translations)
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text): Added a comment to help localizers.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_display_selection_info): Unmarked one string
that doesn't make sense to translate and adding a comment to
another to explain why it is marked for translation.
(add_separator): Changed add_open_with_gtk_menu_item into this
function, which deals with bug 2735 (add_open_with_gtk_menu_item
only called to create separator?).
(create_open_with_gtk_menu): Call the new add_separator function.
* src/nautilus-zoom-control.c: (create_zoom_menu_item): Added a
comment to help localizers.
* libnautilus-extensions/nautilus-link.c: (make_local_path): Fixed
logic here that was doing strange things with URIs. This deals
with bugs 2492 (Incorrect unescaping when dealing with link
files), 2493 (Mysterious and probably incorrect "+7" when escaping
URI for link file), and 2737 (link code must make path into URI).
* libnautilus-extensions/nautilus-search-bar-criterion.c:
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* po/POTFILES.in:
Removed these duplicate files. Rebecca moved them to src, but she
didn't remove the old ones. I didn't have to remove them from the
makefile, since they were already removed, but I had to remove
them from the list of files to translate.
* src/nautilus-search-bar-criterion.h:
* libnautilus-extensions/nautilus-search-uri.h:
Moved some of the stuff from nautilus-search-bar-criterion.h to
here, since it's really about search URIs, not specific to the
search bar. Over time we will move more.
* src/nautilus-search-bar-criterion.c: Added include of the
nautilus-search-uri.h header now that stuff was moved there.
* src/file-manager/fm-search-list-view.c:
Fixed includes to get the nautilus-search-bar-criterion.h from its
new location. This is not a real solution to the problem that was
exposed by moving the search bar code. The bug 2815 covers this.
* src/nautilus-complex-search-bar.c: Fix search bar so it gets
the real location of the header. It was including the old one.
* src/nautilus-simple-search-bar.c: Fix search bar so it gets
the real location of the header. It was including the old one.
* src/nautilus-main.c: (main): Some small cleanups including some
additional parameter checking and returning a failure code to
the invoking shell in the case where the parameters are not
consistent.
|
|
|
|
|
|
|
| |
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_button_press_event): Made the zoom
control use Ramiro's nifty nautilus_pop_up_context_menu code
to offset the menu position slightly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
| |
made the context menu in the zoom control put a checkmark on the
currently selected zoom level.
|
|
|
|
|
|
|
|
|
| |
* src/nautilus-zoom-control.c:
* src/nautilus-zoom-control.h:
Revert the subclass change i made. Turns out its not needed. The
fix was to make the Eazel theme grok the "GtkEventBox" style
class - as all other "nice" themes do.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
backgrounds.
* src/nautilus-zoom-control.h:
Subclass this beast from GtkMisc instead of GtkEventBox to get all
the default widget behaviors.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_initialize_class),
(nautilus_zoom_control_initialize), (draw_zoom_control_image),
(nautilus_zoom_control_draw), (nautilus_zoom_control_expose):
Change the code that drew the symbol backgrounds to clear their
area instead of drawing a box. This causes the default
background to be rendered instead of a blank area ironically.
Also, clear the background before drawing the widget so that the
we get the same effect as above on the whole widget.
|
|
|
|
| |
fixed bug 1897, zoom control numbers misplaced when changing search mode
|
|
|
|
|
|
| |
fixed bug where the increment and decrement images of the zoom
control were not being erased at the extremes; also, added ability
to use custom numbers via a number strip image.
|
|
|
|
|
|
| |
added arlo's zoom control and adjusted the zoom control class
to work properly with a wider range of images. also added
a zoom control from Bud to experiment with in the vector theme
|
|
|
|
|
|
| |
finished task 1442, zoom control needs to be themable. Added code
to update the control when the theme changes, and an alternate
magnifying glass image to the eazel theme for testing.
|
|
|
|
|
| |
reworked the zoom control to make it themable, and also cleaned
it up alot by making its instance variables private
|
|
|
|
|
|
| |
* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy):
NULL out preferred_zoom_levels in the destroy method (after
freeing them) in case someone looks at them before finalize.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-29 Pavel Cisler <pavel@eazel.com>
Fixed some memory leaks.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_components_for_uri):
Fix a leaked string.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_set_preferred_zoom_levels):
Fix a leaky setter call.
* test/Makefile.am:
Add a make target for a leak checker tester.
* test/nautilus-leak-checker.c:
(nautilus_leak_allocation_record_init),
(nautilus_leak_record_malloc), (nautilus_leak_record_realloc),
(nautilus_leak_record_free), (print_one_leak),
(nautilus_leak_print_leaks), (allocate_lots), (leak_mem2),
(leak_mem), (main):
* test/nautilus-leak-symbol-lookup.c:
(nautilus_leak_print_symbol_address):
Tweak the leak checker output a bit to make it more nicer and
indicate the level of stack frame grouping.
* src/nautilus-main.c: (print_leaks):
Tweak the parameters a bit to print more leaks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus/nautilus-zoomable.c:
(nautilus_g_list_from_ZoomLevelList),
(nautilus_ZoomLevelListBuffer_from_zoom_levels),
(impl_Nautilus_Zoomable__get_preferred_zoom_level_list),
(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
(nautilus_zoomable_get_arg),
(nautilus_zoomable_new_from_bonobo_control):
* src/nautilus-view-frame.c:
(nautilus_view_frame_get_preferred_zoom_levels):
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_class_initialize),
(nautilus_zoom_control_destroy),
(nautilus_zoom_control_initialize), (create_zoom_menu_item):
Fixed 1497 - problems with freeing the CORBA returned preferred
zoom level lists. Finally done with 1425 - decoupling the zoom
control from insider knowledge of the icon/list views.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-zoomable.c:
(nautilus_g_list_from_ZoomLevelList),
(nautilus_ZoomLevelList_from_zoom_levels),
(impl_Nautilus_Zoomable__get_is_continuous),
(impl_Nautilus_Zoomable__get_preferred_zoom_level_list),
(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
(nautilus_zoomable_get_arg), (nautilus_zoomable_new),
(nautilus_zoomable_new_from_bonobo_control),
(nautilus_zoomable_destroy):
* libnautilus/nautilus-zoomable.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize):
* src/nautilus-view-frame.c:
(nautilus_view_frame_get_max_zoom_level),
(nautilus_view_frame_get_preferred_zoom_levels):
* src/nautilus-view-frame.h:
* src/nautilus-window.c:
(nautilus_window_zoom_level_changed_callback):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize),
(create_zoom_menu_item), (create_zoom_menu),
(nautilus_zoom_control_set_max_zoom_level),
(nautilus_zoom_control_set_preferred_zoom_levels):
* src/nautilus-zoom-control.h:
Added get_preferred_zoom_levels. Fixed zoom-control to
use this info to generate it's right click menu.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable__get_is_continuous),
(nautilus_zoomable_initialize_class), (nautilus_zoomable_get_arg),
(nautilus_zoomable_ensure_zoomable_frame):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (zoomable_zoom_to_fit_callback),
(fm_directory_view_set_zoom_level):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
(fm_icon_view_set_zoom_level), (fm_icon_view_bump_zoom_level),
(fm_icon_view_zoom_to_level),
(fm_icon_view_restore_default_zoom_level):
* src/file-manager/fm-list-view.c: (fm_list_view_bump_zoom_level),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level),
(fm_list_view_begin_loading), (fm_list_view_set_zoom_level):
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_zoom_level_changed):
* src/nautilus-view-frame.h:
* src/nautilus-window.c: (zoom_to_fit_callback),
(nautilus_window_constructed),
(nautilus_window_zoom_level_changed_callback),
(nautilus_window_connect_view):
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_class_initialize),
(nautilus_zoom_control_initialize),
(nautilus_zoom_control_button_press_event):
* src/nautilus-zoom-control.h:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Removed zoom_to_default and zoom_parameters_changed.
The nautilus-window now queries the zoomable for max
and min before showing the zoom control.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_NONE__DOUBLE_DOUBLE_DOUBLE):
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_set_parameters),
(nautilus_zoomable_set_zoom_level):
* libnautilus/nautilus-zoomable.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_set_zoom_level),
(fm_directory_view_set_zoom_parameters):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
(fm_icon_view_set_zoom_level), (fm_icon_view_init_zoom_params),
(fm_icon_view_bump_zoom_level), (fm_icon_view_zoom_to_level),
(fm_icon_view_restore_default_zoom_level):
* src/file-manager/fm-list-view.c: (fm_list_view_bump_zoom_level),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level),
(fm_list_view_begin_loading), (fm_list_view_set_zoom_level),
(fm_list_view_init_zoom_params):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_zoom_parameters_changed):
* src/nautilus-view-frame.h:
* src/nautilus-window.c:
(nautilus_window_zoom_level_changed_callback),
(nautilus_window_zoom_parameters_changed_callback),
(nautilus_window_connect_view):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize),
(draw_number_and_disable_arrows), (zoom_menu_callback),
(create_zoom_menu_item),
(nautilus_zoom_control_button_press_event),
(nautilus_zoom_control_set_zoom_level),
(nautilus_zoom_control_set_min_zoom_level),
(nautilus_zoom_control_set_max_zoom_level),
(nautilus_zoom_control_get_zoom_level),
(nautilus_zoom_control_get_min_zoom_level),
(nautilus_zoom_control_get_max_zoom_level):
* src/nautilus-zoom-control.h:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed),
(impl_Nautilus_ZoomableFrame_report_zoom_parameters_changed):
Added report_zoom_parameters_changed to the zoomable
interface. This allows the zoom control to get min/max
from the zoomable (as opposed to hard coding in values)
Also fixed the zoom control to now use just doubles.
Renamed the zoom_level_changed message to be report_zoom_level_changed
in accordance with convention.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-22 Michael Engber <engber@eazel.com>
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_initialize_class):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (nautilus_zoom_level_from_double),
(zoomable_set_zoom_level_callback):
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
* src/nautilus-window.c: (zoom_to_level_callback):
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_class_initialize), (zoom_menu_callback),
(zoom_menu_item_free_zoom_level), (create_zoom_menu_item),
(create_zoom_menu):
Removed zoom_to_level from the zoomable interface - starting
on the process of removing the zoom control being tied to
7 discrete icon sizes. Bug #1425
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/file-manager/fm-directory-view.c:
(fm_directory_view_report_zoom_level_changed):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
(fm_icon_view_set_zoom_level), (fm_icon_view_bump_zoom_level),
(fm_icon_view_zoom_to_level),
(fm_icon_view_restore_default_zoom_level):
* src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
* src/nautilus-window.c:
(nautilus_window_zoom_level_changed_callback),
(nautilus_window_connect_view),
(nautilus_window_real_set_content_view):
* src/nautilus-zoom-control.c: (set_zoom_level),
(nautilus_zoom_control_button_press_event),
(nautilus_zoom_control_reset_zoom_level),
(nautilus_zoom_level_from_double),
(nautilus_zoom_control_set_zoom_level):
The zoom control is now driven by its zoomable. This corrected
the most visible problem - getting the correct initial state.
Previously, the zoomable never propagated any messages back
(not that anyone was listening for them anyway).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #306, right click menu in zoom control doesn't work.
The menu now works.
* libnautilus/nautilus-view-component.idl:
Added zoom_to_level interface.
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable_zoom_to_level):
(nautilus_zoomable_initialize_class):
Implimentation of zoom_to_level interface
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
(fm_directory_view_initialize_class),
(fm_directory_view_initialize), (zoomable_zoom_to_level_callback),
(fm_directory_view_zoom_to_level):
Added signal handling and callback for new ZOOM_TO_LEVEL signal.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_zoom_to_level),
(fm_icon_view_initialize_class):
ZOOM_TO_LEVEL handling.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level):
ZOOM_TO_LEVEL handling.
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
(nautilus_view_frame_zoom_to_level):
New public function for zoom to level.
* src/nautilus-window.c:
(zoom_to_level_callback):
Yes, a zoom to level callback.
* src/nautilus-zoom-control.c:
* src/nautilus-zoom-control.h:
(nautilus_zoom_control_class_initialize), (zoom_menu_callback),
(create_zoom_menu), (set_zoom_level):
Enabled context zoom menu functionality.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* acconfig.h:
* configure.in:
Removed the NAUTILUS_PREFIX that I added. I did it wrong.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_pixmap_file):
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(setup_form_title), (setup_signup_form), (setup_config_form):
* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
* libnautilus-extensions/nautilus-icon-factory.c:
(make_full_icon_path):
* src/nautilus-application.c: (display_caveat):
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_emblem_dialog_new), (make_category_link):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
Replaced most uses of gnome_pixmap_file on "nautilus/"
with a call to a new nautilus_pixmap_file in an attempt to
make installations where nautilus has a different prefix
from gnome-libs work. I now think this is a waste of time,
but Mathieu Lacage says this is still an improvement.
* components/help/Makefile.am:
* components/help/hyperbola-filefmt.c: (fmt_map_entry):
Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
* components/websearch/ntl-web-search.c:
(web_search_populate_engines):
Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_content_view_set_busy_cursor),
(mozilla_content_view_request_progress_change),
(mozilla_content_view_clear_busy_cursor),
(mozilla_load_location_callback), (bonobo_mozilla_callback),
(mozilla_merge_bonobo_items_callback),
(mozilla_title_changed_callback),
(mozilla_location_changed_callback), (mozilla_net_status_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_open_uri_callback):
Took a cut at fixing the Mozilla component for the new API.
Ramiro will have to take care of the rest.
* components/services/install/lib/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/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* libnautilus/Makefile.am:
Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
in the form of a patch by Martijn van Beers.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory),
(nautilus_get_pixmap_directory):
* libnautilus-extensions/nautilus-link-set.c:
(get_link_set_document):
* src/Makefile.am:
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (make_drag_image),
(get_xml_path), (make_properties_from_directory):
* src/nautilus-link-set-window.c: (get_link_set_names):
* src/file-manager/Makefile.am:
* src/file-manager/fm-properties-window.c: (get_property_names):
Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_uri_from_local_path): Added a new helper function for
use when you have a path and need a URI. This does a better job
than just adding a "file://" on the front.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(get_first_callback), (nautilus_gtk_container_get_first_child):
* src/nautilus-window-toolbars.c: (setup_button):
* src/nautilus-window.c:
(replace_special_current_view_in_content_view_menu):
Implemented the first_child function and used it where appropriate.
* libnautilus-extensions/nautilus-preferences-item.c:
(add_icon_themes): Use nautilus_get_pixmap_directory intead of
misusing gnome_pixmap_file by calling it on a directory name.
* nautilus-installer/src/support.c: (create_pixmap),
(create_image): Added FIXMEs since it isn't clear if this code
will work with a Nautilus prefix that's not the same as the
gnome-libs prefix.
* Makefile.am: Tweaked white space.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #305. CLicking in center of zoom control
does not change zoom level.
Clicking in the center of the zoom control emits a ZOOM_DEFAULT
signal. It is up to each view that connects to this signal
to determine what is the default zoom setting. Right now, all
views are using NAUTILUS_ZOOM_LEVEL_STANDARD. This could be
changed to a zoom level better suited for the view.
* libnautilus/nautilus-view-component.idl:
Added zoom_default interface.
* libnautilus/nautilus-zoomable.c:
* libnautilus/nautilus-zoomable.h:
(impl_Nautilus_Zoomable_zoom_default)
Implimetation function of zoom_default interface
(nautilus_zoomable_initialize_class):
Set up new ZOOM_DEFAULT signal.
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
(fm_directory_view_initialize_class),
(fm_directory_view_initialize), (zoom_out_callback),
(zoom_default_callback), (zoomable_zoom_default_callback),
(fm_directory_view_restore_default_zoom_level):
New functions to enable zoom to default.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_initialize_class):
Override zoom_default method.
(fm_icon_view_restore_default_zoom_level),
New function to enable zoom to default.
* src/file-manager/fm-list-view.c:
(fm_list_view_initialize_class):
Override zoom_default method.
(fm_list_view_restore_default_zoom_level):
New function to enable zoom to default.
* src/file-manager/fm-properties-window.c: (create_basic_page):
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
(nautilus_view_frame_zoom_default):
New signal handling callback
* src/nautilus-window.c:
(zoom_default_callback):
New signal handling callback
* src/nautilus-zoom-control.c:
* src/nautilus-zoom-control.h:
(nautilus_zoom_control_class_initialize),
(nautilus_zoom_control_button_press_event):
Work in progress on bug #971
* src/file-manager/fm-directory-view.c:
(open_one_properties_window),
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(nautilus_entry_user_changed_callback),
(editable_register_edit_undo),
(restore_editable_from_undo_snapshot_callback):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* RENAMING: Updated to reflect completed tasks.
* components/notes/ntl-notes.c: (make_notes_view):
* components/websearch/ntl-web-search.c: (make_obj):
Changed to use simplified clipboard API.
* components/services/trilobite/libtrilobite/.cvsignore:
Ignore generated files.
* libnautilus-extensions/gtkscrollframe.c:
* libnautilus-extensions/gtkscrollframe.h:
Renamed GtkScrollFrame to NautilusScrollFrame so we won't conflict
if a GtkScrollFrame actually gets added to gtk some day. The file
still needs renaming (mentioned in RENAMING).
* libnautilus/nautilus-clipboard.h:
* libnautilus/nautilus-clipboard.c: (cut_callback),
(copy_callback), (paste_callback), (clear_callback),
(add_menu_item), (add_menu_items_callback),
(remove_menu_items_callback), (nautilus_clipboard_set_up_editable):
Simplified clipboard implementation. Does the same thing the old
code did without needing a class and with a simpler API.
* nautilus-widgets/nautilus-preferences-item.c:
* src/file-manager/fm-icon-text-window.c:
* src/nautilus-zoom-control.c:
* src/ntl-window.c:
Renamed _cb to _callback. Some other (minor) cleanup.
* src/file-manager/Makefile.am:
* src/file-manager/desktop-canvas.c: [removed]
* src/file-manager/desktop-canvas.h: [removed]
* src/file-manager/desktop-menu.c: [removed]
* src/file-manager/desktop-menu.h: [removed]
* src/file-manager/gnome-desktop.c: [removed]
Now that I'm doing the desktop work, I know we don't need these.
I'll be deleting the desktop source files that Havoc added as I
harvest the useful code from them.
* src/file-manager/fm-directory-view.c:
(bonobo_control_activate_callback): Add comments.
* src/nautilus-zoom-control.h: Fixed problem where the zoom
control didn't know if it was an event box or a pixmap.
* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
Fixed bug that was trashing the sidebar panel names. I put
the g_free call in the wrong place.
* src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
Fixed bug where the sidebar preference wasn't saved. I found
another place with another copy of the preference path. This
sort of thing really needs to go in a header file, I think.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* check-config-h.pl: Wrote a script to check for files that forget
to include <config.h> and optionally edit to add it.
* src/nautilus-zoom-control.c (set_zoom_level): Fixed the bug
number in a FIXME.
* docs/style-guide.html: Added one more tip.
* check-FIXME.pl: Use my newfound Perl knowledge to spruce it up.
* components/help/converters/gnome-db2html2/gdb3html.c:
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/sect-preparse.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
* components/help/converters/gnome-info2html2/html.c:
* components/help/converters/gnome-info2html2/main.c:
* components/help/converters/gnome-info2html2/parse.c:
* components/help/converters/gnome-info2html2/utils.c:
* components/help/converters/gnome-man2html2/gnome-man2html.c:
* components/help/hyperbola-filefmt.c:
* components/help/hyperbola-nav-index.c:
* components/help/hyperbola-nav-search.c:
* components/help/hyperbola-nav-tree.c:
* components/html/glibwww-callbacks.c:
* components/html/glibwww-init.c:
* components/html/glibwww-trans.c:
* components/html/gnome-dialogs.c:
* components/html/ntl-web-browser.c:
* components/services/install/eazel-install-metadata.c:
* components/services/install/eazel-install-protocols.c:
* components/services/install/eazel-install-rpm-glue.c:
* components/services/install/eazel-install-tests.c:
* components/services/install/eazel-install-utils.c:
* components/services/install/eazel-install-xml-package-list.c:
* components/services/install/eazel-install.c:
* components/services/install/helixcode-install-utils.c:
* components/services/startup/eazel-register.c:
* components/websearch/ntl-web-search.c:
* helper-utilities/authenticate/nautilus-authenticate-fork.c:
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
* helper-utilities/authenticate/nautilus-authenticate.c:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-glib-extensions.c:
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-mime-type.c:
* libnautilus-extensions/nautilus-undo-transaction.c:
* librsvg/art_rgba.c:
* librsvg/art_rgba_svp.c:
* librsvg/rsvg-bpath-util.c:
* librsvg/rsvg-path.c:
* librsvg/rsvg.c:
* librsvg/test-rsvg.c:
* nautilus-widgets/nautilus-caption-table.c:
* nautilus-widgets/nautilus-password-dialog.c:
* nautilus-widgets/nautilus-preferences-box.c:
* nautilus-widgets/nautilus-preferences-dialog.c:
* nautilus-widgets/nautilus-preferences-group.c:
* nautilus-widgets/nautilus-preferences-item.c:
* nautilus-widgets/nautilus-preferences-pane.c:
* nautilus-widgets/nautilus-radio-button-group.c:
* nautilus-widgets/test-nautilus-widgets.c:
* nautilus-widgets/test-preferences.c:
* src/file-manager/desktop-item.c:
* src/file-manager/desktop-layout.c:
* src/file-manager/desktop-menu.c:
* src/nautilus-bookmarks-window.c:
* src/nautilus-gconf.c:
* src/nautilus-window-menus.c:
* src/nautilus-window-toolbars.c:
* src/nautilus-zoom-control.c
* src/nautilus-zoomable-frame-svr.c:
* src/ntl-app.c:
* src/ntl-content-view.c:
* src/ntl-main.c:
* src/ntl-meta-view.c:
* src/ntl-miniicon.c:
* src/ntl-uri-map.c:
* src/ntl-view-frame-svr.c:
* src/ntl-view.c:
* src/ntl-window-state.c:
Added includes of <config.h>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/nautilus-bookmarks-window.c,
* src/nautilus-location-bar.c,
* src/nautilus-window-menus.c,
* src/nautilus-zoom-control.c,
* src/ntl-main.c,
* src/ntl-uri-map.c:
Wrote bug reports for all FIXMEs in these files. Down to
71 in Nautilus with no bug report.
|
|
|
|
|
|
|
|
|
|
|
|
| |
libnautilus now only contains the view interfaces needed by nautilus
components.
These are the interfaces defined in nautilus-view-component.idl.
libnautilus-extensions containes the remainder of the stuff.
Also used the cvs repository munging opportunity to do some of the
ntl-* renaming outlined in the RENAIMING file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ntl-window.c (nautilus_window_constructed): Connect to
zoom_in and zoom_out singals of zoom control and view the zoom in
such cases, when applicable.
* src/nautilus-zoom-control.c
(nautilus_zoom_control_class_initialize): Add zoom_in and zoom_out
signals.
(nautilus_zoom_control_reset_zoom_level): Quick hack to get some
semblance of sanity in view switching.
* file-manager/fm-directory-view.c: Add Zoomable interface; for
now only implement zoom_in and zoom_out methods.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stretched icons aren't yet persistent (the scale factor is not
saved in metadata), but that's not much more work.
* libnautilus/gnome-icon-container-private.h:
* libnautilus/gnome-icon-container.h:
* libnautilus/gnome-icon-container.c: (icon_new), (icon_position),
(icon_set_position), (icon_get_size), (icon_set_size),
(icon_toggle_selected), (icon_select), (icon_set_selected),
(button_press_event), (gnome_icon_container_begin_stretch),
(start_stretching), (gnome_icon_container_stretch),
(continue_stretching), (gnome_icon_container_end_stretch),
(end_stretching), (button_release_event), (motion_notify_event),
(handle_icon_button_press), (gnome_icon_container_clear),
(request_update_one), (update_icon), (get_first_selected_icon),
(gnome_icon_container_show_stretch_handles),
(gnome_icon_container_has_stretch_handles),
(gnome_icon_container_is_stretched),
(gnome_icon_container_unstretch), (compute_stretch),
(nautilus_self_check_compute_stretch),
(nautilus_self_check_gnome_icon_container):
* libnautilus/nautilus-icons-view-icon-item.h:
* libnautilus/nautilus-icons-view-icon-item.c:
(nautilus_icons_view_icon_item_draw),
(nautilus_icons_view_icon_item_point),
(nautilus_icons_view_icon_item_set_show_stretch_handles),
(nautilus_icons_view_icon_item_get_hit_stretch_handle):
* libnautilus/nautilus-lib-self-check-functions.h:
Added machinery for stretching icons.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(append_item_context_menu_items),
(fm_directory_view_real_append_item_context_menu_items),
(fm_directory_view_initialize_class), (create_item_context_menu):
Added machinery for views to have view-specific menu items for
icons as well as for the window as a whole.
* src/file-manager/fm-directory-view-icons.c:
(fm_directory_view_icons_initialize_class),
(fm_directory_view_icons_append_item_context_menu_items),
(show_stretch_handles_cb), (unstretch_item_cb):
Added menu items for stretching icons.
* libnautilus/gnome-icon-container.c: (start_rubberbanding):
Fixed bug that would result in two rubberband timeouts at
once if you did rubberbanding quickly.
* components/notes/.cvsignore: Andy's new component needs a
.cvsignore file for its generated pieces.
* libnautilus/nautilus-directory.c:
(nautilus_directory_try_to_read_metafile),
(nautilus_directory_read_metafile):
Simplified logic in metafile-reading functions and fixed a bug
where the vfs handle would be left open if certain categories
of errors occurred.
* libnautilus/nautilus-gtk-extensions.h:
Added a missing gtk_marshal function.
* libnautilus/nautilus-icon-factory.h:
* libnautilus/nautilus-icon-factory.c:
(nautilus_icon_size_for_zoom_level),
(nautilus_get_icon_size_for_zoom_level),
(nautilus_icon_factory_get_pixbuf_for_file),
(nautilus_icon_factory_get_pixmap_and_mask_for_file):
* src/nautilus-index-title.c: (nautilus_index_title_set_up_icon):
* src/nautilus-zoom-control.c: (set_zoom_level):
* src/file-manager/fm-directory-view-list.c:
(fm_directory_view_list_bump_zoom_level), (install_icon):
Made some API improvements for the icon factory. Added a missing
get_ to the name nautilus_get_icon_size_for_zoom_level and added
convenience functions for the most common uses of the factory.
* libnautilus/ntl-content-view-frame.c:
* libnautilus/ntl-meta-view-frame.c:
* libnautilus/ntl-view-frame.c:
Weaned all the files in libnautilus itself from using the
libnautilus.h include file. They instead include the parts that
they need. Also added some missing <config.h> includes.
|
|
|
|
|
|
| |
more work on index panel, improved tab positioning, started on
tab hit-testing and made the notebook hidden by default. You cant
see any of this unless you define USE_NEW_TABS
|
|
|
|
|
|
| |
* libnautilus/bonobo-stream-vfs.[ch]: Implement truncate.
* src/nautilus-zoom-control.c: Use GINT_TO_POINTER and GPOINTER_TO_INT macros
for "proper" int <-> pointer conversion.
|
|
|
|
|
|
| |
made clicking in the center of the zoom control set the level to 100%
made right-clicking bring up a menu that allows setting to any of the
available levels.
|
|
|
|
|
|
| |
fixed update problem with zoom control and disabled arrows when
appropriate.
Also, crassly slapped an Eazel logo on the nautilus image
|
|
added zoom control to location bar, not yet wired up to the content view
|