- 24 Feb, 2000 9 commits
-
-
John Sullivan authored
theme changes (but no effect because Nautilus icon theme changes don't yet trickle to metaview); (2) add "View as Text" to choices when viewing html (but no effect because loading from http is currently broken).
-
John Sullivan authored
NautilusNavigationInfo and update accessers.
-
John Sullivan authored
selected items.
-
Maciej Stachowiak authored
* src/ntl-uri-map.c (my_notify_when_ready): Use EOG as the in-line image viewer. You need to have EOG from CVS installed for this to work. It still has issues - the control zooms the image to fill available space by default, and there is no zooming support. But it's amazing that one line was enough to do this, and it worked on the first try! Bonobo rules.
-
Maciej Stachowiak authored
* idl/nautilus.idl (ViewWindow): Added `application' readonly attribute. (Application): Renamed attribute from `windows' to `view_windows' and made it a sequence<ViewWindow> rather than sequence<Object>. Renamed `new_window' method to `new_view_window'. * src/ntl-window.h: Miscellaneous reformatting. (nautilus_window_close): Added prototype * src/ntl-window.c: Added implementations of Nautilus::ViewWindow's methods. For now, _get_application just returns CORBA_OBJECT_NIL because the Application object has not yet been implemented. (nautilus_window_close): New function used by `file_menu_close_cb' and `impl_POA_Nautilus_ViewWindow_close'. (would_be_in_gdk_pixbuf_if_federico_wasnt_stubborn_pixbuf_render): Added an explanatory comment.
-
Maciej Stachowiak authored
* libnautilus/nautilus-icons-view-icon-item.c (nautilus_icons_view_icon_item_set_emblems): Nautilus was getting an assertion failure on startup, so I weakened the assertion. Darin should look at my fix.
-
Maciej Stachowiak authored
* idl/nautilus.idl: Added Nautilus::Zoomable and Nautilus::ZoomableFrame interfaces. * nautilus-zoomable.c, nautilus-zoomable.h: New files for the NautilusZoomable class. This class is used to implement the Nautilus::Zoomable interface on a nautilus view or other control. * Makefile.am: Added nautilus.c and nautilus.h to the build.
-
John Sullivan authored
items were selected.
-
Darin Adler authored
* style-guide.html: Some minor updates to the style guide, including rules about headers. * libnautilus/nautilus-icon-factory.h, libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_get_emblem_icons_for_file), (nautilus_scalable_icon_get), (nautilus_icon_factor_clear), (nautilus_icon_factory_load_file), (nautilus_gdk_pixbuf_composite_corner), (nautilus_icon_factor_load_icon), (nautilus_scalable_icon_hash), (nautilus_scalable_icon_equal), (nautilus_icon_factory_get_icon_for_file), (load_specific_image): Added interface for getting emblem icons for a file, and got rid of the symbolic-link overlay that was previously built into the icon. * libnautilus/gnome-icon-container.c (update_icon): Get pixbufs for all emblems and pass into the icon object. * libnautilus/nautilus-icons-controller.c (nautius_icons_controller_get_icon_image): src/file-manager/fm-icons-controller.h, src/file-manager/fm-icons-controller.c (fm_icons_controller_get_icon_image): Return a list of emblem images along with the main image. * libnautilus/nautilus-icons-view-icon-item.h, libnautilus/nautilus-icons-view-icon-item.c (nautilus_icons_view_icon_item_set_emblems), (nautilus_icons_view_icon_item_destroy): Keep a list of emblem pixbufs in each icon. We don't draw them quite yet. * libnautilus/gdk-extensions.h, libnautilus/gdk-extensions.c: (nautilus_gdk_pixbuf_list_ref), (nautilus_gdk_pixbuf_list_unref), (nautilus_gdk_pixbuf_list_free): Convenience functions for manipulating lists of GdkPixbuf objects. * libnautilus/nautilus-directory.h, libnautilus/nautilus-directory.c: (nautilus_file_list_ref), (nautilus_file_list_unref), (nautilus_file_list_free): Convenience functions for manipulating lists of NautilusFile objects. Also got rid of NautilusFileList typedef. * libnautilus/nautilus-icon-factory.h, libnautilus/nautilus-icon-factory.h: (nautilus_scalable_icon_list_free): Convenience function for manipulating lists of NautilusScalableIcon objects. * libnautilus/nautilus-glib-extensions.h, libnautilus/nautilus-glib-extensions.c: (nautilus_g_list_equal): Function to compare two GLists to see if they are identical. Particularly useful with lists of reference-counted objects. * src/file-manager/fm-directory-view-icons.c (fm_directory_view_icons_destroy), (add_icon_if_already_positioned), (fm_directory_view_icons_append_selection_context_menu_items), (display_icons_not_already_positioned), (fm_direectory_view_icons_get_selection): src/file-manager/fm-directory-view-list.c (fm_directory_view_list_get_selection): src/file-manager/fm-directory-view.c (display_selection_info), (display_pending_files), (add_files_cb), (open_in_new_window_cb), (fm_directory_view_real_append_selection_context_menu_items): Got rid of use of NautilusFileList typedef, corrected ref. counting of files in the lists by using new calls. * src/nautilus-bookmarklist.c, src/nautilus-bookmarks-menu.c, src/nautilus-index-tabs.c, src/file-manager/fm-directory-view-icons.c, src/file-manager/fm-directory-view.c, src/file-manager/fm-icons-controller.c: A bit of reformatting.
-
- 23 Feb, 2000 4 commits
-
-
Andy Hertzfeld authored
this finishes the full set of multi-res icons for the generic document and folder from Kenneth Christiansen
-
Elliot Lee authored
* autogen.sh: Finish the hack to not make people get gnome.m4 from gnome-libs any more.
-
Andy Hertzfeld authored
12 and 24 pixel versions of the standard gnome file and folder icons, again contributed by Kenneth Christiansen
-
John Sullivan authored
-
- 22 Feb, 2000 10 commits
-
-
John Sullivan authored
changes.
-
John Sullivan authored
selection (now accounts for directories and other files separately).
-
Elliot Lee authored
* libnautilus/nautilus-file-utilities.c: include string.h to avoid warnings
-
Elliot Lee authored
* src/nautilus-index-title.c: Set order of items packed into box. * src/file-manager/fm-directory-view-icons.c: include stdio.h to avoid warnings.
-
Darin Adler authored
the non-theme icon when you are zoomed in all the way. * nautilus-icon-factory.c: (nautilus_icon_factory_load_file), (add_size_to_image_name), (get_icon_file_path), (nautilus_icon_factory_load_file), (nautilus_icon_factory_load_icon), (load_specific_image): Changed logic so the decision about whether to use a theme icon or the default icon for each icon is decided based on the presence of the non-sized version of the icon rather than the presence of the icon for a particular size. * nautilus-file-utilities.h, nautilus-file-utilities.c: Cleaned up header and includes and changed ".gnomad" to ".nautilus". (At first I had added a nautilus_file_exists function, but then I remembered the g_file_exists function in gnome-utils.h.)
-
Andy Hertzfeld authored
hi-res versions of the standard gnome folder icon, contributed by Kenneth Christiansen
-
Elliot Lee authored
Why does CVS catch this?
-
Andy Hertzfeld authored
implemented text in icons feature, for eazel-style icons only also, added multiple sizes of large gnome-style standard document icons contributed by Kenneth Christiansen
-
Maciej Stachowiak authored
* libnautilus/ntl-view-frame.c: Fixed crashes introduced in the course of my reorganization - in one case I g_new()'d something that should have been g_new0()'d, in another I forgot to CORBA_exception_init().
-
Andy Hertzfeld authored
added Susan's document icons to eazel theme in 4 sizes
-
- 21 Feb, 2000 2 commits
-
-
John Sullivan authored
sensible. (It now modifies the selection exactly as it would on a normal left-click, and the context menu applies to the whole set of selected items.) Note that nautilus is quite broken right now; I can't activate an icon or switch to View as List without dying in Bonobo-land. I managed to test these changes even so by tiptoeing around the problems.
-
Maciej Stachowiak authored
* libnautilus/ntl-view-frame.h: Don't include <gtk/gtkbin.h>; do include <gtk/gtkwidget.h>.
-
- 20 Feb, 2000 3 commits
-
-
Maciej Stachowiak authored
-
Maciej Stachowiak authored
* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h: Moved fields from object struct to separate private struct.
-
Maciej Stachowiak authored
* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h: Changed NautilusViewFrame to allow creation of `Nautilus::View' objects that have additional interfaces while sharing the actual control. This will allow, for instance, the creation of components that are both a `Nautilus::View' and a `Bonobo::Embeddable'. The basic changes are to require a `BonoboObject' with a `Bonobo::Control' interface at construction time. - Two creation functions are provided: `nautilus_view_frame_new', which takes a GtkWidget, creates a new control that contains that widget, and the constructs a NautilusViewFrame with that control, and `nautilus_view_frame_new_from_control', which creates a NautilusViewFrame that gets added as an additional interface to an existing control. - In the course of doing this it became clear that it would be easier if NautilusViewFrame were changed to inherit from BonoboObject rather than GtkBin, so this was done; as a result, the nautilus_view_frame_get_bonobo_object call was removed, since the view_frame _is_ a bonobo object. However, a nautilus_view_frame_get_bonobo_control call was added as a convenience, to allow other code to avoid having to query_local_interface for the control object manually. * libnautilus/ntl-meta-view-frame.c, libnautilus/ntl-meta-view-frame.h, libnautilus/ntl-content-view-frame.c, libnautilus/ntl-content-view-frame.h: Analogous changes; mainly, added `nautilus_meta_view_frame_new', `nautilus_meta_view_frame_new_from_control', `nautilus_content_view_frame_new' and `nautilus_content_view_frame_new_from_control'. * components/help/hyperbola-nav-index.c, components/help/hyperbola-nav-tree.c, components/history/ntl-history-view.c, components/html/ntl-web-browser.c, components/notes/ntl-notes.c, components/websearch/ntl-web-search.c, src/ntl-app.c, src/file-manager/fm-directory-view.c: Fixed initialization and object creation functions to deal with the above API change.
-
- 19 Feb, 2000 1 commit
-
-
Maciej Stachowiak authored
* RENAMING: Suggest swapping the names NautilusView and NautilusViewFrame to better match the way Bonobo handles naming of mutual client-server pairs of this type. I'm not sure I agree, but better to be consistent than right.
-
- 18 Feb, 2000 7 commits
-
-
Darin Adler authored
* gnome-icon-container.c: (set_scroll_region): Set up the step_increment so the vertical and horizontal scroll bars will scroll when you click on the arrows.
-
Darin Adler authored
* src/file-manager/fm-directory-view.c: (use_eazel_theme_icons_cb), (finish_adding_menu_item), (add_menu_item), (add_check_menu_item), (fm_directory_view_real_append_background_context_menu_items): Hooked up the menu item for using the Eazel Theme Icons so people can try out the icons that are tuned at different sizes. * libnautilus/nautilus-icon-factory.h: * libnautilus/nautilus-icon-factory.c, (nautilus_icon_factory_get), (nautilus_icon_factory_new), (nautilus_icon_factory_initialize), (nautilus_icon_factory_initialize_class), (nautilus_icon_factory_get_theme), (nautilus_icon_factory_set_theme): Added a signal "theme_changed" to the icon factory, and had to add a visible icon factory object so clients can connect to the signal. * libnautilus/gnome-icon-container.c, (gnome_icon_container_initialize), (gnome_icon_container_request_update_all): Update all icons when the theme changes. * docs/recommended-books.html: Added this since style-guide.html refers to it.
-
John Sullivan authored
made history items appear in Go menu.
-
Andy Hertzfeld authored
more work on index panel command buttons
-
Andy Hertzfeld authored
implemented command buttons based on mime-types in the index panel
-
Darin Adler authored
So for example you can have an icon designed for the 96x96 size, which is called i-directory-96.png, and it will be loaded instead of loading i-directory.png and scaling it. * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_regular_file), (add_size_to_icon_name), (nautilus_icon_factory_load_icon), (nautilus_icon_factory_create_image_for_item), (get_larger_icon_size), (get_smaller_icon_size), (get_next_icon_size_to_try), (load_specific_image), (load_image_for_scaling), (load_image_scale_if_necessary), (nautilus_icon_factory_mark_recently_used), (mark_recently_used), (nautilus_icon_factory_get_pixbuf_for_icon), (get_image_from_cache), (nautilus_icon_factory_scale): Changed the icon factory so it will look for icons of multiple resolutions and scale the nearest. Also made other improvements including sharing a single fallback icon instead of making multiple ones, using the "core-dump" icon for files named "core", adding some additional g_return_if_fail. * libnautilus/nautilus-icon-factory.c: (self_test_next_icon_size_to_try), (nautilus_self_check_icon_factory): * libnautilus/nautilus-lib-self-check-functions.h: The new code needed a bit of self-check code, so I added it. * libnautilus/nautilus-directory.c: (nautilus_directory_try_to_read_metafile), (nautilus_directory_construct_alternate_metafile_uri): Since "make check" was failing, I checked to see what was wrong. The code that was respecting the new "valid_fields" part of GnomeVFSFileInfo was looking at the wrong field (flags instead of valid_fields), which caused all metafile reading to fail. While debugging this, I noticed that the alternate metafiles had particularly bad long names, so I fixed that too. * libnautilus/nautilus-directory.c: (nautilus_file_ref): * libnautilus/nautilus-glib-extensions.c: (nautilus_strdup_strftime): * libnautilus/nautilus-string.c: (nautilus_string_to_int): Switched from using <limits.h> constants to the ones from <glib.h>. I have no idea why I made this change. All hail glib! C Standard be damned! * fm-directory-view.c: (use_eazel_theme_icons_cb), (add_menu_item), (fm_directory_view_real_append_background_context_menu_items): Started on a user interface to switch to the Eazel theme icons so you can see the multiple-resolution icons, but I wanted to check in, so I stopped before it was done. * src/nautilus-index-title.c: Reindented Andy's new code to match the emacs mode header. * configure.in: * icons/Makefile.am: * icons/eazel/.cvsignore: * icons/eazel/Makefile.am: * icons/eazel/i-directory-24.png: * icons/eazel/i-directory-36.png: * icons/eazel/i-directory-72.png: * icons/eazel/i-directory-96.png: * icons/eazel/i-directory.png: I needed some variable-size icons to demonstrate the multiple resolution support in the icon factory, so I added a few directory icons from gnomad. Since these don't match the other icons, I made them part of an "eazel" icons theme. * RENAMING: Some new name ideas.
-
Jonathan Blandford authored
-
- 17 Feb, 2000 4 commits
-
-
Jonathan Blandford authored
2000-02-17 Jonathan Blandford <jrb@redhat.com> * src/nautilus-index-title.c (nautilus_index_title_set_up_label): remember strlen (string) + 1 gives you the length necessary to copy a string, not strlen.
-
Jonathan Blandford authored
-
John Sullivan authored
-
Andy Hertzfeld authored
made the title in the index panel be above the additional info, which Elliot inadvertently changed with his recent check-in.
-