- 16 Mar, 2000 2 commits
-
-
John Sullivan authored
-
Darin Adler authored
* HACKING: Tell people about the gnome-xml branch. * libnautilus/Makefile.am: * libnautilus/gnome-icon-container-grid.c: * libnautilus/gnome-icon-container-grid.h: * libnautilus/gnome-icon-container-private.h: * libnautilus/gnome-icon-container.c: Broke out the grid code from the main container code. This is a first step toward improving the layout code. * libnautilus/nautilus-directory-private.h: * libnautilus/nautilus-directory.c: * libnautilus/nautilus-directory.h: * src/fm-directory-view.c: Got started on making the directory I/O async. There's still a long way to go, this was a baby step. * libnautilus/nautilus-bookmark.c: * libnautilus/nautilus-bookmark.h: * libnautilus/nautilus-self-checks.c: General cleanup. * libnautilus/nautilus-file.h: Rearranged a little bit. * libnautilus/nautilus-file-utilities.c: Put FIXME in where there's code that needs to be changed.
-
- 15 Mar, 2000 3 commits
-
-
John Sullivan authored
open-in-new-window-when-clicked.
-
Darin Adler authored
* libnautilus/Makefile.am: * libnautilus/nautilus-xml-extensions.c: * libnautilus/nautilus-xml-extensions.h: Added some new gnome-xml helper functions. * libnautilus/nautilus-directory.c: (nautilus_directory_get_file_metadata_node): * libnautilus/nautilus-file.c: (nautilus_file_get_keywords): (nautilus_file_set_keywords): * libnautilus/nautilus-icon-factory.c: (get_child_node_by_property): (get_themed_icon_file_path): * src/nautilus-bookmarklist.c: (nautilus_bookmarklist_load_file): Changed to use the new helper functions. * src/nautilus-bookmarklist.c: (nautilus_bookmarklist_save_file): Changed direct uses of root to use xmlDocGet/SetRootElement while I was editing the file. I think this is the same change Pavel made but wasn't able to check in. * src/nautilus-bookmarklist.c: General cleanup.
-
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 7 commits
-
-
John Sullivan authored
location doesn't have an explicitly-remembered viewer.
-
John Sullivan authored
-
John Sullivan authored
didn't update after deleting selected items.
-
Jonathan Blandford authored
2000-03-14 Jonathan Blandford <jrb@redhat.com> * libnautilus/gnome-icon-container-dnd.c (drag_drop_cb): Add a gtk_drag_finish to hopefully solve half the flying windows problem. Needs more thought then this, though...
-
John Sullivan authored
-
John Sullivan authored
-
Elliot Lee authored
Move help-method over. Fix misc web browser bug or two.
-
- 13 Mar, 2000 8 commits
-
-
Darin Adler authored
* libnautilus/nautilus-directory.c (nautilus_directory_get): Fixed bug that caused a core dump when getting at the root directory because all the '/' characters were stripped off the URI. * /src/file-manager/fm-directory-view.c: * nautilus-widgets/nautilus-preferences.c: Tiny formatting fixes.
-
Maciej Stachowiak authored
* 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.
-
Maciej Stachowiak authored
* components/sample/nautilus-sample-content-view.c: Added some comments.
-
Elliot Lee authored
* nautilus-widgets/nautilus-preferences.c, src/file-manager/fm-directory-view.c: Fix pointer <-> int conversion warnings.
-
Darin Adler authored
* libnautilus/nautilus-string-list.h: * libnautilus/nautilus-string-list.c: A quick cleanup pass on the NautilusStringList class: Changed uses of gchar to char, changed g_assert to g_return_if_fail as appropriate. Fixed brace style to be emacs-friendly (open brace on same line as if statement). Fixed spelling of delimiter. Got rid of some unnecessary special cases for NULL and sped up the _equal function be eliminating the redundant length check. Changed the self-check so that it doesn't write a warning to the log when it runs.
-
Darin Adler authored
* src/file-manager/fm-properties-window.c (create_properties_window): Andy fixed a double-unref bug by removing an unref. The correct fix was to add a ref. I rolled out his change and re-fixed the bug.
-
Ramiro Estrugo authored
* libnautilus/nautilus-global-preferences.c, * libnautilus/nautilus-global-preferences.h: (nautilus_global_preferences_get_meta_view_iids) Add a table of meta view iids and a function to retrieve them. This is a hack until we have better runtime detection of components. Add some better defaults for which meta views are shown. By default none were shown. Undo a previous gnome_config default hack. There is now a better fix in place in the prefs code. * nautilus-widgets/nautilus-preferences.c: (nautilus_preferences_make_gnome_config_string) A new function to make a string as expected by gnome_config with a trailing default value. Use this string to fetch the value of the preferences. * src/Makefile.am, src/ntl-prefs.c, src/ntl-prefs.h, src/nautilus-window-menus.c, src/nautilus.h: Retire ntl-prefs.c and ntl-prefs.h. Remove these 2 from build and all references to them. * src/ntl-app.c: (nautilus_app_startup, nautilus_app_destroy) No need to call retired ntl-prefs functions. * src/ntl-uri-map.c: (add_meta_view_iids_from_preferences): New function. Factor out meta iid setup code into one place. Replace the static meta iid setup code with something that looks in preferences to see which meta views are enabled. Next step is to make the meta view respond to pref changes.
-
Ramiro Estrugo authored
-
- 12 Mar, 2000 17 commits
-
-
Andy Hertzfeld authored
fixed crash when closing properties window by removing callback to delete nautilus_file
-
Ramiro Estrugo authored
* nautilus-widgets/nautilus-preferences.c: (pref_hash_info_remove_callback) Properly remove the item from the list so that we dont crash later trying to munge a NULL node. * libnautilus/nautilus-global-preferences.h: (NAUTILUS_PREFERENCES_USER_LEVEL) Make sure the user level defaults to hacker.
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
*libnautilus/nautilus-lib-self-check-functions.h: Added string table tests hooks. *libnautilus/nautilus-string-list.c, libnautilus/nautilus-string-list.h: New class to deal with lists of strings in a type safe manner. Also added self tests for this class.
-
Ramiro Estrugo authored
* nautilus-widgets/nautilus-preferences.c: (prefs_set_pref, nautilus_preferences_register_from_info, nautilus_preferences_register_from_values): Make the preference changes persistent. *nautilus-widgets/nautilus-preferences-item.c, nautilus-widgets/nautilus-preferences-item.h, nautilus-widgets/nautilus-preferences.c, nautilus-widgets/nautilus-preferences.h, nautilus-widgets/test-nautilus-widgets.c: Dont use GtkFunadamentalType, since we obviously wont support all fundamantal gtk types as preferences. Use an enum instead. Makes the preferences type whacking code exactly 14.85% more type safe.
-
Ramiro Estrugo authored
* nautilus-widgets/nautilus-preferences.c: (prefs_set_pref, nautilus_preferences_register_from_info, nautilus_preferences_register_from_values): Make the preference changes persistent. *nautilus-widgets/nautilus-preferences-item.c, nautilus-widgets/nautilus-preferences-item.h, nautilus-widgets/nautilus-preferences.c, nautilus-widgets/nautilus-preferences.h, nautilus-widgets/test-nautilus-widgets.c: Dont use GtkFunadamentalType, since we obviously wont support all fundamantal gtk types as preferences. Use an enum instead. Makes the preferences type whacking code exactly 14.85% more type safe.
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
the user's "top" directory. The top directory is an alternative home place for naive users.
-
Ramiro Estrugo authored
* data/.cvsignore, data/Makefile.am: Add a data directory to the tree. This is the default per-user data that nautilus installs the first time it runs. *data/top/.cvsignore, data/top/Makefile.am, data/top/Welcome: Add a top directory to the tree. The top directory is an alternative home place for novice users. *configure.in, Makefile.am: Grok the above.
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
New method for removing callbacks. Filter files according to the user level. Add/Remove a preferences callback to keep track of user level changes.
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
"prefs". Remove a bunch of unused includes. Use "Details" instead of "Private" for private structures.
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
-
- 11 Mar, 2000 3 commits
-
-
Darin Adler authored
* libnautilus/nautilus-icons-view-icon-item.c (nautilus_icons_view_icon_item_point): Fixed typo that broke all hit testing except for rubber band selection! (Sorry.) * libnautilus/gnome-icon-container-dnd.c (set_gnome_icon_list_selection, set_uri_list_selection), libnautilus/gnome-icon-container-private.h, libnautilus/gnome-icon-container.h, libnautilus/gnome-icon-container.c (gnome_icon_container_get_icon_uri, gnome_icon_container_initialize_class, gnome_icon_container_new, update_icon, gnome_icon_container_update, gnome_icon_container_request_update), src/file-manager/fm-directory-view-icons.c (create_icon_container, get_icon_images_cb, get_icon_uri_cb, get_icon_text_cb, get_icon_property_cb): Change code that used to use a separate controller object to just use signals on the icon container instead. * libnautilus/nautilus-gtk-extensions.h, libnautilus/nautilus-gtk-extensions.c, src/file-manager/fm-directory-view.c: Add new signal marshal functions as needed and changed the name of one of the old functions. * libnautilus/Makefile.am, libnautilus/nautilus-icons-controller.h, libnautilus/nautilus-icons-controller.c, src/file-manager/Makefile.am, src/file-manager/fm-icons-controller.h, src/file-manager/fm-icons-controller.c: Removed the old controller object, it was a bad idea.
-
Ramiro Estrugo authored
-
Ramiro Estrugo authored
* src/Makefile.am Moved prefs things to nautilus-widgets. Use alphabetization technology on the source list. * src/nautilus-global-preferences.c, src/nautilus-global-preferences.h: New files that to deal with preferences that are global to nautilus. * src/nautilus-window-menus.c: Use the new preferences dialog. * src/ntl-window-state.c: Go to a different home directory based on the user level. Commented off until andy makes a nice default home directory for novice users. * src/nautilus-prefs-box.c src/nautilus-prefs-box.h, src/nautilus-prefs-dialog.c, src/nautilus-prefs-dialog.h, src/nautilus-prefs-group-check.c, src/nautilus-prefs-group-check.h, src/nautilus-prefs-group-radio.c, src/nautilus-prefs-group-radio.h, src/nautilus-prefs-group.c, src/nautilus-prefs-group.h, src/nautilus-prefs-pane.c, src/nautilus-prefs-pane.h, src/ntl-prefs.c, src/ntl-prefs.h: Moved prefs widegtry things to nautilus-widgets.
-