- 16 Mar, 2000 1 commit
-
-
John Sullivan authored
-
- 15 Mar, 2000 1 commit
-
-
Darin Adler authored
embedded text fits in each icon. * icons/eazel/Makefile.am, icons/eazel/i-regular.xml: Added the file to specify attributes of icons. Specifically added the attribute that says there is space for embedded text in the Eazel-theme regular icon. * libnautilus/nautilus-icon-factory.h: * libnautilus/nautilus-icon-factory.c: (get_child_node_by_property), (get_themed_icon_file_path), (get_icon_file_path), (nautilus_icon_factory_get_thumbnail_uri), (load_specific_image), (load_image_for_scaling), (get_image_from_cache), (load_image_scale_if_necessary), (nautilus_icon_factory_get_pixbuf_for_icon), (nautilus_icon_factory_get_pixbuf_for_file): Added code to read a rectangle for the embedded text along with the icon, cache it with the icon, scale it with the icon, and return it to the caller along with the icon. * libnautilus/nautilus-icons-view-icon-item.c: (nautilus_icons_view_icon_item_initialize_class), (nautilus_icons_view_icon_item_set_arg), (nautilus_icons_view_icon_item_get_arg), (nautilus_icons_view_icon_item_get_image), (nautilus_icons_view_icon_item_set_image), (nautilus_art_irect_to_gdk_rectangle), (draw_mini_text), (draw_embedded_text), (nautilus_icons_view_icon_item_draw): Changed the code that draws the embedded text to respect the text rectangle passed in. Changed the pixbuf setting to use a function instead of the arg interface and take a text rectangle along with the pixbuf. * libnautilus/gnome-icon-container-dnd.c (gnome_icon_container_dnd_begin_drag): * libnautilus/gnome-icon-container.c: (icon_get_actual_size): Got rid of callers who were using the arg interface to get at the image of an icon ("NautilusIconsViewIconItem::pixbuf"). * src/file-manager/fm-directory-view-icons.c: (get_icon_property_cb): Get rid of hard-coded rule that only themes with eazel at the front of their names can display text inside the icons. * libnautilus/gnome-icon-container.c: (icon_new): Fixed a bug where icons would be super-tiny if they got too big, like if you entered a directory that was zoomed all the way in. (start_stretching), (ungrab_stretch_icon), (end_stretching), (gnome_icon_container_show_stretch_handles): Added code to grab the pointer while stretching an icon. (item_event_cb): Added a return statement that John forgot when he was editing. Without that, it was falling through to the next case, which had the same effect anyway. (update_icon): Pass the text rectangle through from the icon factory to the icon canvas item, using the new call instead of the old arg interface approach. * components/help/.cvsignore: Added entries for .la and .lo files. * components/help/Makefile.am: * components/help/hyperbola-nav-index.c: * components/help/hyperbola-nav-search.c: * libnautilus/nautilus-directory-private.h: * libnautilus/nautilus-directory.c: * src/nautilus-bookmarklist.c: Fixed flags for gnome-xml includes. Someone pointed out that you are supposed to include these as "#include <tree.h>", not "#include <gnome-xml/tree.h>" so I fixed our uses to work that way. * libnautilus/nautilus-directory.c: (nautilus_directory_get_file_metadata_node): Fixed code that was destroying something allocated by gnome-xml with g_free instead of xmlFree. * libnautilus/nautilus-file.c: (nautilus_file_get_keywords), (nautilus_file_set_keywords): Fixed storage leak where we were getting a property and not freeing it. * libnautilus/nautilus-default-file-icon.h: * libnautilus/nautilus-default-file-icon.c: * libnautilus/nautilus-icon-factory.c: (load_image_for_scaling): Got rid of the global that tells whether the default icon has an alpha channel -- it's not hardwired TRUE.
-
- 14 Mar, 2000 1 commit
-
-
Elliot Lee authored
Move help-method over. Fix misc web browser bug or two.
-
- 13 Mar, 2000 1 commit
-
-
Maciej Stachowiak authored
* components/sample/nautilus-sample-content-view.c: Added some comments.
-
- 12 Mar, 2000 1 commit
-
-
Ramiro Estrugo authored
-
- 10 Mar, 2000 1 commit
-
-
Andy Hertzfeld authored
2 small fixes: tweaked constants used for pre-lighting icons and fixed bug in music view where track numbers were displayed as -1 if they were not present in the id3 data; now they are blank.
-
- 09 Mar, 2000 2 commits
-
-
Darin Adler authored
* libnautilus/nautilus-directory-private.h, libnautilus/nautilus-directory.c, libnautilus/nautilus-file.c (nautilus_directory_find_file, compare_file_with_name, nautilus_directory_get, nautilus_file_get): Fixed bugs relating to multiple directory and file objects for the same entity. Stripped trailing '/' characters in nautilus_directory_get and changed nautilus_file_get to return already-existing files instead of always creating new ones. Added self-checks to make sure this works. * libnautilus/nautilus-directory.c (nautilus_directory_try_to_read_metafile): Fixed bug where metafile reading would fail. The gnome-xml parser requires a null character at the end of the file, even though the size is passed in! * libnautilus/nautilus-directory.c (nautilus_directory_remove_write_metafile_idle, nautilus_directory_finalize, nautilus_directory_try_to_write_metafile, nautilus_directory_request_write_metafile, ): Changed metafile writing so it always happens at idle time. * libnautilus/nautilus-directory.c (nautilus_directory_try_to_read_metafile): Fixed bug where metafile reading would fail. The gnome-xml parser requires a null character at the end of the file, even though the size is passed in! * libnautilus/nautilus-lib-self-check-functions.h: Changed order so lower-level tests come before higher-level ones. * libnautilus/nautilus-string.h, libnautilus/nautilus-string.c: Renamed functions: nautilus_has_prefix -> nautilus_str_has_prefix nautilus_strdup_prefix -> nautilus_str_get_prefix nautilus_has_suffix -> nautilus_str_has_suffix nautilus_strstrip -> nautilus_str_strip_chr nautilus_string_to_int -> nautilus_str_to_int nautilus_eat_string_to_int -> nautilus_eat_str_to_int Changed nautilus_str_strip_chr not to modify in place. Added nautilus_str_strip_trailing_chr. * components/music/nautilus-music-view.c (is_mp3_file, nautilus_music_view_update_from_uri), libnautilus/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file, make_thumbnail_path, load_specific_image), libnautilus/nautilus-icons-view-icon-item.c (draw_mini_text), src/ntl-index-panel.c (command_button_cb, add_command_buttons), src/ntl-window-msgs.c (nautilus_window_change_location_2), src/file-manager-fm-directory-view-icons.c (fm_directory_view_icons_compute_menu_item_info), src/file-manager/fm-directory-view.c (compute_menu_item_info), src/file-manager/fm-icons-controller.c (fm_icons_controller_get_icon_property): Switched callers to use new names for string calls. * libnautilus/gnome-icon-container.c (destroy): Reformatting. * components/help/converters/gnome-info2html2/main.c (main): Fixed a warning.
-
Jonathan Blandford authored
2000-03-09 Jonathan Blandford <jrb@redhat.com> * libgnomevfs/gnome-vfs-types.h: Add a urn field to GnomeVFSToplevelURI. This will let us add VFS modules that simply change a totally virtual name to a actual URL. * modules/help-method.c: New module to allow for "help:*" URL's. * modules/help-method.h: * modules/Makefile.am: added help module. * libgnomevfs/gnome-vfs-method.c (gnome_vfs_transform_get): Allow Transformations. Clean up the code a little. * libgnomevfs/gnome-vfs-uri.c (gnome_vfs_uri_new): changed to allow for translations. Also, code cleaned up a lot.
-
- 08 Mar, 2000 1 commit
-
-
Darin Adler authored
* components/music/nautilus-music-view.c, components/notes/ntl-notes.c, libnautilus/Makefile.am, libnautilus/nautilus-directory-private.h, libnautilus/nautilus-directory.h, libnautilus/nautilus-directory.c, libnautilus/nautilus-file-private.h, libnautilus/nautilus-file.h, libnautilus/nautilus-file.c, libnautilus/nautilus-icon-factory.h, src/ntl-index-panel.c, src/file-manager/fm-directory-view.h: Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch]. * libnautilus/nautilus-string.c (nautilus_strstrip): Added more tests. Changed algorithm on strstrip so it's linear instead of n^2. * libnautilus/gnome-icon-container.c (gnome_icon_container_initialize): Fixed font for "larger" zoom level. Also made it assert if the font can't be loaded. * components/help/hyperbola-nav-index.c (despace): Fixed warning. * libnautilus/gnome-icon-container-dnd.c, libnautilus/nautilus-string.h: Whitespace. * src/file-manager/Makefile.am, src/file-manager/fm-directory-view.c, src/file-manager/fm-properties-window.h, src/file-manager/fm-properties-window.c: Added properties window hook, but no window yet. The menu item still needs to be added to the main menus as well as the context menus. * src/file-manager/fm-directory-view.c, src/file-manager/fm-directory-view-icons.c, src/file-manager/fm-icon-text-window.h, src/file-manager/fm-icon-text-window.c: A little cleanup. Shorter names.
-
- 07 Mar, 2000 1 commit
-
-
John Sullivan authored
items into the window's menubar, which has been slightly tweaked also.
-
- 06 Mar, 2000 6 commits
-
-
Elliot Lee authored
* src/ntl-prefs.c: Use help search instead of help index. * components/help/hyperbola-nav-search.c: Initial implementation completed.
-
Darin Adler authored
of the code. Even though we don't want to scale the two dimensions separately at the moment, I figured it was better to go in this direction than to remove all the separate X and Y stuff that Seth Nickell added. * libnautilus/gnome-icon-container-dnd.c (gnome_icon_container_receive_dropped_icons): * libnautilus/gnome-icon-container-private.h: * libnautilus/gnome-icon-container.c (icon_get_actual_size), (icon_new), (icon_get_size), (start_stretching), (update_icon), (gnome_icon_container_add), (gnome_icon_container_is_stretched), (gnome_icon_container_unstretch), (gnome_icon_container_move_icon): * libnautilus/gnome-icon-container.h: Got rid of the old "scale", "xscale", and "yscale" and replaced them with "scale_x" and "scale_y". Made the code always set the scale factor through the gnome_icon_container_move_icon bottleneck so the changes are all reported throught the icon_moved signal. * src/file-manager/fm-directory-view-icons.c: (add_icon_if_already_positioned), (fm_directory_view_icons_icon_moved_cb): Store only a single scale factor if the X and Y are both scaled exactly the same (the normal case). Also, use a default for the scale factor so we don't save 1.0 for every file. * libnautilus/nautilus-gtk-extensions.h: * libnautilus/nautilus-gtk-extensions.c: My original change required an additional marshal function. I decided to add it anyway even though I don't need it right now. * libnautilus/nautilus/nautilus-bookmark.c (nautilus_bookmark_get_pixmap_and_mask): Changed to use the nautilus_icon_factory_get_pixbuf_for_file convenience function which has a simpler interface. * libnautilus/nautilus-icon-factory.h: * libnautilus/nautilus-icon-factory.c: Added separate X and Y scaling of icons for possible future use; the convenience functions still use the same size in both dimentions. * components/music/.cvsignore: New directory, new .cvsignore needed. * RENAMING: Some more name change ideas.
-
Elliot Lee authored
Initial implementation completed.
-
Andy Hertzfeld authored
derive the track name from the file name if the id3 tag is missing, and format the title better from the info in the id3 tags
-
Andy Hertzfeld authored
added a nautilus_has_suffix routine and used it in a couple of places; made sure all thumbnail's have the appropriate 'png' suffix; made thumbnailing call ImageMagick for formats that gdk-pixbuf comes up empty on.
-
Andy Hertzfeld authored
added a music view component for displaying directories of mp3 files, and also made a new mechanism for content view components to be explicitly specified in the metadata for a directory
-
- 04 Mar, 2000 1 commit
-
-
Maciej Stachowiak authored
* components/sample/nautilus-sample-content-view.c: Fix indentation on some of the lines. (nautilus_sample_content_view_load_uri): g_free() the old uri before g_strdup()ing a new one to avoid leaking memory.
-
- 03 Mar, 2000 6 commits
-
-
Jonathan Blandford authored
2000-03-03 Jonathan Blandford <jrb@redhat.com> * libnautilus/Makefile.am (libnautilus_la_LDFLAGS): added libpng to Makefile.am * configure.in: added autoconf check for png.
-
Elliot Lee authored
* src/ntl-prefs.c: Default to showing help index (it's the parade of the meta views! :). * components/help/hyperbola-nav-index.c: Compiles and runs. Hardcoded to /gnome prefix for now - not complete.
-
Maciej Stachowiak authored
* components/html/ntl-web-browser.c (make_obj): Reorder to code to avoid crashing. (main): Drop to the debugger on warnings and criticals. (browser_vfs_read_callback): Add some casts to avoid a warning.
-
Maciej Stachowiak authored
-
Maciej Stachowiak authored
* components/sample/nautilus-sample-content-view.c, components/sample/nautilus-sample-content-view.h, components/sample/nautilus-sample-content-view.goad, components/sample/main.c, components/sample/Makefile.am: Sample content view component. All it does is display the current URI in a label. * componets/Makefile.am, configure.in: Build it. * src/ntl-uri-map.c: Activate the sample component whenever there is at least one other applicable view. What it should really do is have a special mode based on a command-line option of some sort which will cause it to be always activated, and otherwise not at all, but that looked more complicated to do.
-
Elliot Lee authored
* components/help/hyperbola-filefmt.c: Use 'help' URI scheme instead of 'ghelp'. * components/help/hyperbola-nav-index.c: Just checking in an uncompilable work-in-progress. Remove ifdefs at own risk. :)
-
- 01 Mar, 2000 1 commit
-
-
Jonathan Blandford authored
-
- 29 Feb, 2000 1 commit
-
-
Jonathan Blandford authored
-
- 26 Feb, 2000 1 commit
-
-
Maciej Stachowiak authored
* components/notes/ntl-notes.c: Make the text area take more of the space of the component. Make the text box light yellow, the official international color of annotation.
-
- 24 Feb, 2000 2 commits
-
-
John Sullivan authored
because HistoryView isn't a GtkObject.
-
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).
-
- 20 Feb, 2000 1 commit
-
-
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.
-
- 18 Feb, 2000 1 commit
-
-
John Sullivan authored
made history items appear in Go menu.
-
- 17 Feb, 2000 3 commits
-
-
Jonathan Blandford authored
-
Elliot Lee authored
Show the stinking tree. :)
-
Elliot Lee authored
* components/help/hyperbola-main.c: Fix the GOAD ID for help index. * components/help/hyperbola.goad: Add help index. * libnautilus/nautilus-directory.c: To avoid a warning in case nautilus_directory_new fails, and speed things up, remove unnecessary cast. * libnautilus/nautilus-icon-factory.c: Add sanity checks to avoid segfaults. * src/nautilus-index-title.c: Add sanity check, plus try to handle case where nautilus_file_get() returns NULL. * src/ntl-window.c, src/ntl-window-msgs.c: Notify the index panel of a URI change when we notify everyone else, instead of doing it when the user requests a change.
-
- 16 Feb, 2000 6 commits
-
-
Jonathan Blandford authored
-
Elliot Lee authored
* components/html/ntl-web-browser.c: Fixups for VFS usage. * components/help/converters/gnome-info2html2/main.c: Search info path for files.
-
Elliot Lee authored
* components/help/hyperbola-nav-index.c: Fix warning. * components/history/ntl-history-view.c: Update for Bonobo UIH changes. * components/html/main.c: Update repo ID for Bonobo changes. * src/ntl-view-bonobo-control.c: Likewise * src/ntl-view-bonobo-subdoc.c: Likewise * src/ntl-view-nautilus.c: Likewise * src/ntl-view.c: Only check for death every other second. * components/html/ntl-web-browser: Debugging printfs for now
-
Darin Adler authored
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.
-
Elliot Lee authored
* libnautilus/nautilus-directory.c: Pay attention to the GnomeVFSFileInfo flags to determine whether to read the metafile. * components/html/ntl-web-browser.c: Try to fall back to using gnome-vfs if we can't load it via libwww. Sort of bad hack, but it just might work.
-
John Sullivan authored
recent (top) to longest ago, with no duplicates.
-
- 15 Feb, 2000 1 commit
-
-
John Sullivan authored
-