summaryrefslogtreecommitdiff
path: root/cut-n-paste-code
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of code that passes around the "optimize for AA" flag.Darin Adler2002-01-214-237/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * components/tree/nautilus-tree-view.c: (nautilus_tree_view_insert_model_node), (nautilus_tree_view_update_model_node): * libnautilus-private/nautilus-bookmark.c: (nautilus_bookmark_get_pixbuf): * libnautilus-private/nautilus-find-icon-image.c: (read_details), (get_themed_icon_file_path), (theme_has_icon), (nautilus_get_icon_file_name): * libnautilus-private/nautilus-find-icon-image.h: * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_update_icon): * libnautilus-private/nautilus-icon-factory-private.h: * libnautilus-private/nautilus-icon-factory.c: (load_thumbnail_frame), (nautilus_icon_factory_init), (nautilus_icon_factory_destroy), (icon_theme_changed_callback), (should_display_image_file_as_itself), (nautilus_icon_factory_get_icon_for_file), (load_icon_from_path), (load_named_icon), (load_specific_icon), (load_icon_for_scaling), (load_icon_scale_if_necessary), (get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_icon), (cache_key_hash), (cache_key_equal), (nautilus_icon_factory_get_pixbuf_for_file), (nautilus_icon_factory_get_pixbuf_from_name), (nautilus_icon_factory_get_thumbnail_frame): * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-thumbnails.c: (nautilus_thumbnail_load_framed_image): * libnautilus-private/nautilus-thumbnails.h: * src/file-manager/fm-directory-view.c: (add_script_to_script_menus), (add_submenu_to_script_menus): * src/file-manager/fm-list-model.c: (fm_list_model_get_value): * src/file-manager/fm-properties-window.c: (get_pixbuf_for_properties_window): * src/nautilus-sidebar-title.c: (update_icon), (update_emblems): Get rid of code that passes around the "optimize for AA" flag. * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c: * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Roll in the latest version from gimp source tree. * icons: Overwrite all the non-aa versions with the aa versions. Remove all the aa versions.
* Remove. Remove. Remove. Remove. Remove.Darin Adler2002-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check-signals.pl: Remove. * components/adapter/bonobo-stream-vfs.c: Remove. * components/adapter/bonobo-stream-vfs.h: Remove. * components/adapter/nautilus-adapter-progressive-load-strategy.c: Remove. * components/adapter/nautilus-adapter-progressive-load-strategy.h: Remove. * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/music/Makefile.am: * components/news/Makefile.am: * components/notes/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * libnautilus-private/Makefile.am: * test/Makefile.am: General cleanups, mostly formatting. * configure.in: Remove libiconv stuff, since we don't use it any more. Do esound stuff in the main call to pkg-config, not a separate set of variables. * components/image-viewer/nautilus-image-view.c: Remove unused libart includes. * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Remove the use of "decrement" as a synonym for "remove". * test/test.c: Remove unused libart include.
* remove .cvsignore files from empty directoriesGediminas Paulauskas2001-11-291-2/+0
|
* hush.Michael Meeks2001-11-211-0/+2
|
* Lots of files. Get rid a lot of unneeded casts.Darin Adler2001-11-091-2/+2
| | | | | * Lots of files. Get rid a lot of unneeded casts.
* Remove e-paned.Darin Adler2001-11-0810-1734/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/e-paned: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-horizontal-splitter.c: * libnautilus-private/nautilus-horizontal-splitter.h: * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_set_content_view_widget), (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_sidebar_showing): Remove e-paned. * configure.in: * data/Makefile.am: * data/linksets/ * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-file-utilities.c: * libnautilus-private/nautilus-link-set.c: * libnautilus-private/nautilus-link-set.h: * src/Makefile.am: * src/nautilus-link-set-window.c: * src/nautilus-link-set-window.h: * src/nautilus-sidebar.c: (metadata_button_callback): Remove link sets. * libnautilus-private/nautilus-program-chooser.c: (launch_mime_capplet_on_ok), (launch_mime_capplet_and_close_dialog): * src/nautilus-window-menus.c: (forget_history_if_yes), (remove_bookmarks_for_uri_if_yes): Destroy dialogs when done, since GtkDialog doesn't do this for us. * src/nautilus-preferences-dialog.c: (preferences_dialog_create): Get rid of close signal handler, since default close handler does the same thing as a delete_event, which is what we want. We still might have to do something fancier on a delete_event.
* Lots of files. Another GtkObject -> GObject pass.Darin Adler2001-11-062-11/+11
| | | | | * Lots of files. Another GtkObject -> GObject pass.
* Did some fixes based on a patch Michael sent me.Darin Adler2001-11-061-56/+41
| | | | | | | | | | | | | | | | | * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_class_init): Turn off e_paned_expose for now. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_class_init): Marshaller said the parameters were strings, but they were actually pointers to strings. * libnautilus/nautilus-view.c: (queue_incoming_call): Pass servant, not bonobo object. * src/nautilus-view-frame.c: (nautilus_view_frame_init), (attach_view): Switch to eel versions of connect_while_alive functions, since the gtk versions work only on gtk objects.
* Fix a G_OBJECT_CLASS that should have been G_OBJECT_GET_CLASS.Darin Adler2001-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_handle_shown): Fix a G_OBJECT_CLASS that should have been G_OBJECT_GET_CLASS. * libnautilus-private/Makefile.am: Add back the dependency on the cut-n-paste libraries. * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_get_hidden): Silently ignore when there's no "hidden" attribute rather than warning every time. * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_get_pixbuf_for_icon): Ref all the pixbufs on their way out of the icon factory since we don't have a new strategy for removing them from the cache when the caller is done yet. * src/nautilus-sidebar-title.c: (sidebar_title_create_more_info_label): Don't call make_smaller so Havoc won't complain every time we do it. * src/nautilus-view-frame.c: (nautilus_view_frame_destroy): Check for NULL so we can call destroy any number of times. * src/nautilus-window-toolbars.c: (nautilus_window_initialize_toolbars): Turn off the code that tries to load the throbber since we aren't compiling it yet. * components/loser/content/nautilus-content-loser-ui.xml: * components/loser/sidebar/nautilus-sidebar-loser-ui.xml: * components/sample/nautilus-sample-content-view-ui.xml: * libnautilus/nautilus-clipboard-ui.xml: * src/nautilus-shell-ui.xml: Update for new names of stock icons.
* Tons of files. More GtkObject -> GObject stuff.Darin Adler2001-11-041-2/+2
| | | | | * Tons of files. More GtkObject -> GObject stuff.
* cut-n-paste-code now compiles, and we are a hair's breadth away fromDarin Adler2001-10-318-252/+6
| | | | | | * Lots of files: cut-n-paste-code now compiles, and we are a hair's breadth away from linking -- so far from running, though
* More GNOME 2 work. We now compile up to libnautilus-private and I'mDarin Adler2001-10-281-7/+6
| | | | | | | * Lots of files: More GNOME 2 work. We now compile up to libnautilus-private and I'm working my way through the files in there. Also changed all the initialize_class and initialize to class_init and init.
* Some makefile cleanup.Darin Adler2001-08-264-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Don't build intl since we don't need it the way we use gettext. * applets/launcher/Makefile.am: Remove redundant -I$(srcdir). * applets/preferences-applet/Makefile.am: Remove redundant -I$(srcdir). * components/adapter/Makefile.am: Remove redundant -I. * components/mozilla/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * components/news/Makefile.am: Remove unneeded -I$(top_srcdir)/components/news. * configure.in: Don't build intl since we don't need it the way we use gettext. * libnautilus-adapter/Makefile.am: Remove redundant -I. * libnautilus-private/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * libnautilus/Makefile.am: Remove redundant -I. * src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * src/file-manager/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * check-THANKS.pl: Change Seth's preferred email address. * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: Don't use -static, since we plan to link Remove unneeded -I directives now that we handle includes differently. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * cut-n-paste-code/widgets/e-paned/e-hpaned.h: * cut-n-paste-code/widgets/e-paned/e-vpaned.h: * libnautilus-private/nautilus-horizontal-splitter.h: * src/nautilus-complex-search-bar.c: * src/nautilus-search-bar-criterion.c: Simpler include scheme for cut-n-paste code.
* Fix a cast so that 64-bit systems won't warn. This is similar to theDarin Adler2001-07-091-4/+5
| | | | | | | * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: (gtk_wrap_box_expose): Fix a cast so that 64-bit systems won't warn. This is similar to the e-paned.c fix I did already.
* Bump version to 1.0.4.1Darin Adler2001-07-051-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Bump version to 1.0.4.1 * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_expose): Fix type cast that was causing Ben trouble compiling on Solaris. Take a cut at removing the problem where opening a new window causes all the old windows to act as if all items were re-added. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_file_monitor_add), (nautilus_self_check_directory): * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal): * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-merged-directory.c: (build_merged_callback_list), (merged_file_monitor_add), (forward_files_added_cover), (forward_files_changed_cover), (monitor_add_directory), (merged_add_real_directory): * libnautilus-private/nautilus-trash-file.c: (real_monitor_add): * libnautilus-private/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize): * libnautilus-private/nautilus-vfs-directory.c: (vfs_file_monitor_add): * libnautilus-private/nautilus-vfs-file.c: (vfs_file_monitor_add): Change monitor_add to take a parameter for a callback function, and call that instead of sending out a files_added message when someone starts monitoring files. * components/tree/nautilus-tree-model.c: (nautilus_tree_model_node_begin_monitoring_no_connect), (nautilus_tree_model_node_begin_monitoring), (nautilus_tree_model_directory_files_changed_callback): * src/file-manager/fm-directory-view.c: (connect_script_handlers), (finish_loading): Pass in a callback function to monitor_add, and don't hook up the files_added and files_changed signals until after the monitor is added.
* Removing this file so that this empty directory will become completelyDarin Adler2001-05-043-10/+0
| | | | | | | | * cut-n-paste-code/freetype/.cvsignore: Removing this file so that this empty directory will become completely empty. * cut-n-paste-code/.cvsignore: Tweak. * cut-n-paste-code/widgets/.cvsignore: Tweak.
* Remove nautilusclist cut-n-paste code.Ramiro Estrugo2001-04-045-8424/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove nautilusclist cut-n-paste code. * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/.cvsignore: * cut-n-paste-code/widgets/nautilusclist/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: Remove nautilusclist cut-n-paste code. * libnautilus-extensions/nautilus-file-dnd.h: * libnautilus-extensions/nautilus-file-dnd.c: New file with Drag and Drop code that operated on NautilusFile objects. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-list-column-title.c: * libnautilus-extensions/nautilus-list-column-title.h: * libnautilus-extensions/nautilus-list.c: * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-ctree.c: * libnautilus-extensions/nautilus-ctree.h: * libnautilus-extensions/nautilus-drag.c: * libnautilus-extensions/nautilus-drag.h: Move these widget into eel. * libnautilus-extensions/nautilus-icon-dnd.h: * libnautilus-extensions/nautilus-icon-dnd.c: Update for eel dnd code move. * nautilus-installer/install-lib/Makefile.am: * nautilus-installer/libtrilobite/Makefile.am: Remove some voodoo that was needed for cut-n-paste code in trilobite that no longer is among us. * components/help/hyperbola-nav-tree.c: * components/music/nautilus-music-view.c: * components/rpmview/nautilus-rpm-verify-window.c: * components/rpmview/nautilus-rpm-view-private.h: * components/rpmview/nautilus-rpm-view.c: * components/tree/nautilus-tree-view-dnd.c: * components/tree/nautilus-tree-view-dnd.h: * components/tree/nautilus-tree-view-private.h: * components/tree/nautilus-tree-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-list-view.c: (fm_list_view_initialize), * src/nautilus-sidebar.c: Update for clist, ctree, list and dnd code that now lives in eel. Also do more #include cleanup.
* reviewed by: Gene Ragan <gzr@eazel.com>Darin Adler2001-03-282-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Followup on my recent tree change to get rid of some flicker. * components/tree/nautilus-tree-view.c: (set_selected_row_position): Only scroll the view if the row isn't already in the right position. Prevents the case where it scrolls by less than a whole row. * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: (nautilus_clist_thaw), (nautilus_clist_check_unfrozen), (real_resize_column), (real_row_move), (resync_selection), (nautilus_clist_map), (nautilus_clist_style_set), (real_sort_list): Add code to detect changes and only redraw when actual changes happen. Also make freeze/thaw with no changes between them a no-op by having the frozen check schedule a refresh at thaw time as a side effect. It used to do a refresh every time it got thawed. Add calls to do refresh for all cases where the old code was counting on thaw implying a full refresh. * libnautilus-extensions/nautilus-ctree.c: (real_tree_move), (real_select_all), (nautilus_ctree_insert_gnode), (nautilus_ctree_remove_node), (nautilus_ctree_expand_recursive), (nautilus_ctree_expand_to_depth), (nautilus_ctree_collapse_recursive), (nautilus_ctree_collapse_to_depth), (nautilus_ctree_toggle_expansion_recursive), (nautilus_ctree_real_select_recursive), (nautilus_ctree_set_node_info), (nautilus_ctree_set_indent), (nautilus_ctree_set_spacing), (nautilus_ctree_set_line_style), (nautilus_ctree_sort_recursive), (nautilus_ctree_sort_node), (nautilus_ctree_sort_single_node): Use the new unfrozen check that has a side effect of making the next thaw do a refresh. Add the new refresh calls that are needed now that thaw doesn't always do a refresh. Removed some unnecessary drawing for cases where things haven't changed. * libnautilus-extensions/nautilus-list.c: (nautilus_list_track_new_column_width): Use the new unfrozen check that has a side effect of making the next thaw do a refresh. * src/file-manager/fm-list-view.c: (fm_list_view_set_zoom_level): Formatting tweak.
* reviewed (a bit) by: John Sullivan <sullivan@eazel.com>Darin Adler2001-03-282-566/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tree view changes so it only does work when the tree view is open, not when it's closed. Also improved speed by not creating so many pixmaps, which required changing lots of classes to use pixbufs instead of pixmaps. * components/tree/libmain.c: (tree_shlib_object_destroyed), (tree_shlib_make_object): Changed to use NautilusTreeView subclass of NautilusView, not widget. * components/tree/main.c: (main): Use standard main. * components/rpmview/nautilus-rpm-view.c: (file_activation_callback), (fill_filename_tree_int), (fill_filename_tree), (nautilus_rpm_view_update_from_uri): Update to use NautilusCList instead of GtkCList. * components/tree/nautilus-tree-change-queue.h: Got rid of ADDED (it's now the same as CHANGED). * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-model.c: (nautilus_tree_model_initialize_class): No more ADDED. (destroy_file_hash): New function. (nautilus_tree_model_destroy): Destroy deferral hashes. (nautilus_tree_model_node_begin_monitoring): Use changed instead of added. (report_node_changed): Emit changed instead of added. (process_file_change): New function. (process_directory_done_loading): New function. (add_file_to_hash): New function. (nautilus_tree_model_directory_files_changed_callback), (nautilus_tree_model_directory_done_loading_callback): Either put the file in the hash table or send the notification. (process_one_changed_file), (process_one_done_loading_file): Helper functions to send notifications. (nautilus_tree_model_set_defer_notifications): Start deferring notifications by making hash tables. Stop deferring notifications by sending out all the notifications and then getting rid of the hash tables. * components/tree/nautilus-tree-view.h: * components/tree/nautilus-tree-view-private.h: * components/tree/nautilus-tree-view.c: (nautilus_tree_view_insert_model_node), (ctree_is_node_expanded), (nautilus_tree_view_update_model_node), (awaited_node_or_uri_found), (notify_done_loading), (notify_node_seen), (get_selected_row), (get_selected_row_position), (set_selected_row_position), (dequeue_pending_idle_callback), (schedule_pending_idle_callback), (unschedule_pending_idle_callback), (nautilus_tree_view_load_from_filesystem), (ctree_compare_rows), (create_tree), (tree_map_callback), (tree_unmap_callback), (nautilus_tree_view_initialize), (nautilus_tree_view_destroy), (get_uri_sequence_to_root), (call_when_uri_loaded_or_parent_done_loading), (cancel_selection_in_progress), (expand_uri_sequence_and_select_end), (select_current_location), (tree_load_location_callback), (got_activation_uri_callback), (ctree_get_first_selected_node), (nautilus_tree_view_update_all_icons), (nautilus_tree_view_initialize_class): Convert to use pixbufs instead of pixmaps. Convert to use NautilusList instead of GtkCList. Fix storage leak of name. Get rid of weak use of callback function pointers. Add feature where the selected row is kept in position as new items are added. Eliminated ADDED and jsut used CHANGED instead. Defer creating the tree view until the first map. Turn off processing when unmapped. Change NautilusTreeView to be NautilusView subclass, not a widget. * components/tree/nautilus-tree-view-dnd.c: (nautilus_tree_view_drag_begin), (nautilus_tree_view_drag_motion), (get_data_on_first_target_we_support), (nautilus_tree_view_button_press), (nautilus_tree_view_button_release), (nautilus_tree_view_motion_notify), (nautilus_tree_view_set_dnd_icon), (nautilus_tree_view_collapse_node), (nautilus_tree_view_expand_or_collapse_row), (nautilus_tree_view_tree_node_at), (auto_scroll_timeout_callback), (nautilus_tree_view_real_scroll), (nautilus_tree_view_collapse_all), (nautilus_tree_view_receive_dropped_icons), (nautilus_tree_view_drag_destroy), (nautilus_tree_view_drag_destroy_real): Switch from GtkCList to NautilusCList. Also get rid of code that assumes NautilusTreeView is a widget. Also convert to use pixbufs instead of pixmaps. * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: (nautilus_clist_optimal_column_width), (nautilus_clist_set_text), (nautilus_clist_set_pixbuf), (nautilus_clist_get_pixbuf), (nautilus_clist_set_pixtext), (nautilus_clist_get_pixtext), (set_cell_contents), (cell_size_request), (real_insert_row), (draw_row), (draw_rows), (row_delete): Change to use pixbufs instead of pixmaps. Remove most of the drawing code since this can only be used as a base class for NautilusList anyway. Add boolean to set_cell_contents so it redraws only if the cell has changed. * libnautilus-extensions/nautilus-ctree.h: * libnautilus-extensions/nautilus-ctree.c: (COLUMN_FROM_XPIXEL), (nautilus_ctree_get_type), (nautilus_ctree_class_init), (nautilus_ctree_set_arg), (nautilus_ctree_get_arg), (nautilus_ctree_init), (ctree_attach_styles), (ctree_detach_styles), (nautilus_ctree_realize), (nautilus_ctree_event), (nautilus_ctree_unrealize), (nautilus_ctree_button_press), (draw_drag_highlight), (nautilus_ctree_row_at), (get_cell_rectangle), (nautilus_ctree_set_prelight), (draw_cell_pixbuf), (get_cell_style), (nautilus_ctree_draw_expander), (nautilus_ctree_draw_lines), (draw_row), (tree_draw_node), (nautilus_ctree_link), (nautilus_ctree_unlink), (real_row_move), (real_tree_move), (change_focus_row_expansion), (real_tree_expand), (real_tree_collapse), (column_auto_resize), (auto_resize_columns), (cell_size_request), (set_cell_contents), (set_node_info), (row_new), (row_delete), (real_select_row), (real_unselect_row), (real_tree_select), (real_tree_unselect), (select_row_recursive), (real_select_all), (real_unselect_all), (ctree_is_hot_spot), (nautilus_ctree_construct), (real_insert_row), (nautilus_ctree_insert_node), (nautilus_ctree_insert_gnode), (real_remove_row), (nautilus_ctree_remove_node), (real_clear), (nautilus_ctree_post_recursive), (nautilus_ctree_post_recursive_to_depth), (nautilus_ctree_pre_recursive), (nautilus_ctree_pre_recursive_to_depth), (nautilus_ctree_find_node_ptr), (nautilus_ctree_node_nth), (nautilus_ctree_find), (nautilus_ctree_find_by_row_data), (nautilus_ctree_find_all_by_row_data), (nautilus_ctree_find_by_row_data_custom), (nautilus_ctree_find_all_by_row_data_custom), (nautilus_ctree_is_hot_spot), (nautilus_ctree_expand_recursive), (nautilus_ctree_expand_to_depth), (nautilus_ctree_collapse_recursive), (nautilus_ctree_collapse_to_depth), (nautilus_ctree_toggle_expansion_recursive), (nautilus_ctree_real_select_recursive), (nautilus_ctree_node_set_text), (nautilus_ctree_node_set_pixbuf), (nautilus_ctree_node_set_pixtext), (nautilus_ctree_set_node_info), (nautilus_ctree_node_set_shift), (remove_grab), (nautilus_ctree_node_set_selectable), (nautilus_ctree_node_get_cell_type), (nautilus_ctree_node_get_text), (nautilus_ctree_node_get_pixbuf), (nautilus_ctree_node_get_pixtext), (nautilus_ctree_get_node_info), (nautilus_ctree_node_set_cell_style), (nautilus_ctree_node_get_cell_style), (nautilus_ctree_node_set_row_style), (nautilus_ctree_node_moveto), (nautilus_ctree_node_is_visible), (nautilus_ctree_set_indent), (nautilus_ctree_set_spacing), (nautilus_ctree_set_show_stub), (nautilus_ctree_set_line_style), (tree_sort), (nautilus_ctree_sort_recursive), (real_sort_list), (nautilus_ctree_sort_node), (nautilus_ctree_sort_single_node), (fake_unselect_all), (selection_find), (resync_selection), (real_undo_selection), (check_drag), (drag_dest_info_destroy), (drag_dest_cell), (nautilus_ctree_drag_begin), (nautilus_ctree_drag_motion), (nautilus_ctree_drag_data_received): Change to use NautilusList instead of GtkCList. Change to use pixbufs instead of pixmaps. Use set_cell_contents boolean to only redraw when cell has changed. * libnautilus-extensions/nautilus-gtk-extensions.h: * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_gtk_marshal_POINTER__INT): Add new marshal needed for the pixbuf version of a NautilusList call. (nautilus_drag_set_icon_pixbuf): Helper to convert pixbuf to a pixmap and mask for GTK's sake. * libnautilus-extensions/nautilus-icon-dnd.c: (nautilus_icon_dnd_begin_drag): Use nautilus_drag_set_icon_pixbuf. * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-list.c: (nautilus_list_initialize_class), (nautilus_list_initialize_dnd), (nautilus_list_initialize), (nautilus_list_destroy), (draw_cell), (nautilus_list_mark_cell_as_link), (nautilus_list_set_cell_contents), (set_list_cell), (get_list_cell), (nautilus_list_drag_start), (nautilus_list_receive_dropped_icons): Take advantage of the new changes in NautilusCList, which now uses pixmaps directly. Change drag signal to use a pixbuf, not a pixmap. Change so it doesn't do the DND stuff unless you explicitly call for it. Use set_cell_contents boolean to only redraw when cell has changed. * src/file-manager/fm-list-view.c: (fm_list_get_drag_pixbuf), (fm_list_get_sort_column_index), (create_list), (set_up_list): Change to use the new pixbuf signal instead of the old pixmap one. Make a call to ask NautilusList to do the DND stuff.
* reviewed by: Christian Meyer <chrisime@gnome.org>Eric Fischer2001-03-063-3/+3
| | | | | | | | | | | | | | | | | | 2001-03-06 Eric Fischer <eric@eazel.com> reviewed by: Christian Meyer <chrisime@gnome.org> (Bug 7315. Thanks to Christian Meyer for tracking down places where this needed to be fixed.) * components/help/converters/gnome-db2html2/Makefile.am: * components/help/converters/gnome-info2html2/Makefile.am: * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/Makefile.am: * libnautilus-extensions/Makefile.am: In all of these, change GNOME_CFLAGS to GNOMEUI_CFLAGS so that they get the correct #include path for the GTK headers.
* updated this file to list previous changes to e-paned, as well as the fixJohn Harper2001-02-271-0/+34
| | | | | | | | 2001-02-27 John Harper <jsh@eazel.com> * cut-n-paste-code/widgets/e-paned/README.changes: updated this file to list previous changes to e-paned, as well as the fix I just made
* Fixed bug 6294 (Sidebar gets smaller each time you open a new Window) andJohn Harper2001-02-272-1/+31
| | | | | | | | | | | | | | | | | | | 2001-02-27 John Harper <jsh@eazel.com> Fixed bug 6294 (Sidebar gets smaller each time you open a new Window) and probably 6499 (Sidebar grows each time a window is opened): * cut-n-paste-code/widgets/e-paned/e-paned.c (e_paned_compute_position): fixed a bug in when it stores the last allocation of the widget. This in turn causes the widget not to do the annoying scaled resizing if the position of the splitter was set before the first size_allocate invocation * cut-n-paste-code/widgets/e-paned/README.changes: added this file describing the changes I had to make to the widget I'm also going to submit this patch to the gal maintainers
* reviewed by: Mathieu Lacage <mathieu@gnome.org>Rebecca Schulman2001-02-111-18/+108
| | | | | | | | | | 2001-02-11 Rebecca Schulman <rebecka@eazel.com> reviewed by: Mathieu Lacage <mathieu@gnome.org> * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: Use binary instead of linear search to find the right insert new row into a sorted clist. This is part of addressing bug 6290
* reviewed by: Pavel Cisler <pavel@eazel.com>John Harper2001-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-09 John Harper <jsh@eazel.com> reviewed by: Pavel Cisler <pavel@eazel.com> Work to make icons in list view draw anti-aliased in respect to the background. Fixes bug 1659 * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h (NautilusCellType): added new type NAUTILUS_CELL_PIXBUF at end of this enum * libnautilus-extensions/nautilus-list.c (NautilusListDetails): added fields for RGB values of all background colors (nautilus_gdk_set_shifted_foreground_gc_color): return the shifted RGB value (nautilus_list_setup_style_colors): save RGB values of all background colors into the details structure (get_cell_style): added another parameter: `bg_rgb', when a non null pointer it gets set to the RGB value of the chosen background color (draw_cell_pixbuf): added another parameter: `bg_rgb'. Composite the pixbuf onto a square of this color (using the full 8-bit alpha), then blit the entire square onto the drawable (draw_cell): added cases to handle NAUTILUS_CELL_PIXBUF type. Also pass the extra arg to draw_cell_pixbuf in NAUTILUS_CELL_PIXBUF_LIST case (nautilus_list_set_cell_contents): handle NAUTILUS_CELL_PIXBUF case (nautilus_list_set_pixbuf_list): broke out contents into the new function set_list_cell, parameterized by the NautilusCellType in addition (nautilus_list_set_pixbuf): new function, calls set_list_cell * src/file-manager/fm-list-view.c (install_row_images): get the file's icon as a pixbuf, not a pixmap/mask pair. Then use nautilus_list_set_pixbuf to install it in the list cell
* New file documenting the directory layout of components/services.Maciej Stachowiak2000-12-141-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * components/services/docs/directories: New file documenting the directory layout of components/services. * components/services/inventory/.cvsignore, components/services/inventory/Makefile.am, components/services/inventory/command-line/README, components/services/inventory/lib/.cvsignore, components/services/inventory/lib/Makefile.am, components/services/inventory/lib/eazel-inventory-shared.c, components/services/inventory/lib/eazel-inventory-shared.h, components/services/inventory/nautilus-view/.cvsignore, components/services/inventory/nautilus-view/Makefile.am, components/services/inventory/nautilus-view/main.c, components/services/inventory/nautilus-view/nautilus-inventory-view.c, components/services/inventory/nautilus-view/nautilus-inventory-view.h, components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo: Remove old dead inventory code. * components/services/login/command-line/README: Remove last file in otherwise-empty directory. * components/services/summary/command-line/README: Ditto. * cut-n-paste-code/widgets/gtkclist/.cvsignore: Ditto.
* Fixes for bugs 2376, 4553, and 3799 This should make the complex searchRebecca Schulman2000-11-287-0/+1766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 Rebecca Schulman <rebecka@eazel.com> Fixes for bugs 2376, 4553, and 3799 This should make the complex search bar usable and visible. reviewed by: Maciej Stachowiak <mjs@eazel.com> * configure.in: * libnautilus-extensions/Makefile.am: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/.cvsignore: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c: (gtk_hwrap_box_get_type), (gtk_hwrap_box_class_init), (gtk_hwrap_box_init), (gtk_hwrap_box_new), (get_child_requisition), (_gtk_hwrap_box_size_request), (get_layout_size), (gtk_hwrap_box_size_request), (reverse_list_row_children), (layout_row), (layout_rows), (gtk_hwrap_box_size_allocate): * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: (gtk_wrap_box_get_type), (gtk_wrap_box_class_init), (gtk_wrap_box_init), (gtk_wrap_box_set_arg), (gtk_wrap_box_get_arg), (gtk_wrap_box_set_child_arg), (gtk_wrap_box_get_child_arg), (gtk_wrap_box_child_type), (gtk_wrap_box_set_homogeneous), (gtk_wrap_box_set_hspacing), (gtk_wrap_box_set_vspacing), (gtk_wrap_box_set_justify), (gtk_wrap_box_set_line_justify), (gtk_wrap_box_set_aspect_ratio), (gtk_wrap_box_pack), (gtk_wrap_box_reorder_child), (gtk_wrap_box_query_child_packing), (gtk_wrap_box_query_child_forced_break), (gtk_wrap_box_set_child_packing), (gtk_wrap_box_set_child_forced_break), (gtk_wrap_box_query_line_lengths), (gtk_wrap_box_map), (gtk_wrap_box_unmap), (gtk_wrap_box_draw), (gtk_wrap_box_expose), (gtk_wrap_box_add), (gtk_wrap_box_remove), (gtk_wrap_box_forall): * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Copied and pasted the wrapping hbox from the Gimp. I made a few modifications, including some resizing requests, when the chosen size is not the right one for the actual space available. Sizing wrapping boxes is a tricky problem with gtk, because they have nonstandard sizing requests (they can request x or y or z) and my solution is probably not optimal, since some of the sizing adjustments are visible on screen. However, a better fix is a lot more time consuming, and should probably wait for past 1.0. * src/nautilus-complex-search-bar.c: (search_bar_criterion_type_changed_callback), (queue_search_bar_resize_callback), (nautilus_complex_search_bar_initialize_class), (nautilus_complex_search_bar_initialize), (real_activate), (nautilus_complex_search_bar_queue_resize), (attach_criterion_to_search_bar), (unattach_criterion_from_search_bar), (load_find_them_pixmap_widget), (more_options_callback), (fewer_options_callback), (update_options_buttons_state): * src/nautilus-complex-search-bar.h: Changed the criteria layout to be in a vbox instead of a table, so that we can insert wrapping hboxes. Added a new function that will effectively resize the complex search bar, and we call it at appropriate points. Switched the packing order of the buttons, since the wrap box has only one packing function, and it is a pack_start, rather than a pack_end function * src/nautilus-search-bar-criterion-private.h: * src/nautilus-search-bar-criterion.c: (queue_bar_resize_callback), (nautilus_search_bar_criterion_new_from_values), (nautilus_search_bar_criterion_show), (nautilus_search_bar_criterion_hide), (nautilus_search_bar_criterion_update_valid_criteria_choices), (hide_date_widget), (show_date_widget), (make_emblem_value_menu): Put the criteria into wrapping boxes as part of their creation, and trigger a resize of the complex search bar when the wrapping box complains about its allocated size.
* reviewed by: Darin Adler <darin@eazel.com>Pavel Cisler2000-11-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-13 Pavel Cisler <pavel@eazel.com> reviewed by: Darin Adler <darin@eazel.com> * configure.in: Enable the sign-compare and cast-align warnings. * components/help/converters/gnome-db2html2/gdb3html.c: (find_first_element): * components/help/hyperbola-filefmt.c: (fmt_free_tree_info): * components/help/hyperbola-nav-index.c: (hyperbola_navigation_index_update_clist), (despace), (end_element): * components/history/nautilus-history-view.c: (history_load_location): * components/mozilla/nautilus-mozilla-content-view.c: (string_list_get_index_of_string): * components/services/install/lib/eazel-install-corba-types.c: (corba_string_sequence_to_glist), (corba_packagedatastructlist_from_packagedata_list), (packagedata_list_from_corba_packagedatastructlist), (categorydata_list_from_corba_categorystructlist): * components/services/install/lib/eazel-install-query.c: (eazel_install_simple_rpm_query): * components/services/install/lib/eazel-install-rpm-glue.c: (eazel_install_monitor_rpm_process_pipe): * components/services/install/lib/eazel-install-rpm-signature.c: (read_rpm_lead), (read_rpm_signature): * components/services/trilobite/libtrilobite/trilobite-root-helper. c: (trilobite_root_helper_run_program), (trilobite_root_helper_set_time): * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: (nautilus_clist_get_arg), (nautilus_clist_construct): * helper-utilities/authenticate/nautilus-authenticate.c: (main): * libnautilus-extensions/nautilus-background.c: (set_image_and_color_image_loading_done_callback): * libnautilus-extensions/nautilus-buffered-widget.c: (nautilus_gdk_pixbuf_tile_alpha): * libnautilus-extensions/nautilus-caption-table.c: (entry_activate): * libnautilus-extensions/nautilus-caption-table.h: * libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_node_nth), (nautilus_ctree_drag_motion): * libnautilus-extensions/nautilus-ctree.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_write): * libnautilus-extensions/nautilus-file-changes-queue.c: (nautilus_file_changes_consume_changes): * libnautilus-extensions/nautilus-file-operations-progress.c: (truncate_string_from_start): * libnautilus-extensions/nautilus-file-operations.c: (extract_string_until): * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_read_entire_file): * libnautilus-extensions/nautilus-gdk-extensions.c: (nautilus_get_largest_fitting_font): * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_get_sidebar_panel_view_identifiers): * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_gtk_window_set_initial_geometry_from_string), (nautilus_gtk_menu_set_item_visibility): * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_or_measure_label_text), (draw_or_measure_label_text_aa): * libnautilus-extensions/nautilus-icon-container.c: (rubberband_timeout_callback), (destroy), (compute_stretch): * libnautilus-extensions/nautilus-icon-container.h: (nautilus_icon_container_find_drop_target): * libnautilus-extensions/nautilus-icon-factory.c: (check_recently_used_list), (get_themed_icon_file_path), (revise_scale_factors_if_too_big): * libnautilus-extensions/nautilus-icon-text-item.c: (recompute_bounding_box), (iti_draw), (iti_selection_motion): * libnautilus-extensions/nautilus-label.c: (nautilus_label_size_allocate), (label_recompute_line_geometries): * libnautilus-extensions/nautilus-list.c: (draw_cell), (nautilus_list_drag_data_received): * libnautilus-extensions/nautilus-mime-actions.c: (server_matches_content_requirements), (nautilus_do_component_query): * libnautilus-extensions/nautilus-password-dialog.c: (caption_table_activate_callback): * libnautilus-extensions/nautilus-preferences-item.c: (has_image_file): * libnautilus-extensions/nautilus-scalable-font.c: (file_as_string), (parse_font_description_file), (nautilus_text_layout_new): * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-volume-monitor.c: (check_permissions): * libnautilus/nautilus-view.c: (nautilus_shallow_g_list_from_uri_list): * libnautilus/nautilus-zoomable.c: (nautilus_g_list_from_ZoomLevelList): * librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string): * librsvg/rsvg.c: (rsvg_parse_transform): * src/file-manager/fm-icon-view.c: (fm_icon_view_create_background_context_menu_items), (get_sort_criterion_by_metadata_text), (get_sort_criterion_by_id): * src/file-manager/fm-list-view.c: (select_row_common), (select_matching_name_callback), (select_previous_next_common), (fm_list_view_bump_zoom_level): * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_update_valid_criteria_choices): * src/nautilus-shell.c: (corba_open_windows), (corba_open_default_window): * src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items): * src/nautilus-window-menus.c: (nautilus_window_disable_keyboard_navigation_for_menus): * src/nautilus-window.c: (nautilus_window_size_request): Fix all sign-compare violations.
* Get rid of obsolete copy of GtkCList.Pavel Cisler2000-10-163-8700/+0
| | | | | | | | | | 2000-10-16 Pavel Cisler <pavel@eazel.com> * cut-n-paste-code/widgets/gtkclist/Makefile.am: * cut-n-paste-code/widgets/gtkclist/gtkclist.c: * cut-n-paste-code/widgets/gtkclist/gtkclist.h: Get rid of obsolete copy of GtkCList.
* Add FreeType2 information.Ramiro Estrugo2000-10-06147-75386/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Add FreeType2 information. * configure.in: Add support for using freetype2 installed in the system from devel rpms. * cut-n-paste-code/Makefile.am: * cut-n-paste-code/freetype/Makefile.am: * cut-n-paste-code/freetype/README: * cut-n-paste-code/freetype/autohint.h: * cut-n-paste-code/freetype/cff.c: * cut-n-paste-code/freetype/cidafm.c: * cut-n-paste-code/freetype/cidafm.h: * cut-n-paste-code/freetype/cidgload.c: * cut-n-paste-code/freetype/cidgload.h: * cut-n-paste-code/freetype/cidload.c: * cut-n-paste-code/freetype/cidload.h: * cut-n-paste-code/freetype/cidobjs.c: * cut-n-paste-code/freetype/cidobjs.h: * cut-n-paste-code/freetype/cidparse.c: * cut-n-paste-code/freetype/cidparse.h: * cut-n-paste-code/freetype/cidriver.c: * cut-n-paste-code/freetype/cidriver.h: * cut-n-paste-code/freetype/cidtokens.h: * cut-n-paste-code/freetype/freetype.h: * cut-n-paste-code/freetype/ftbase.c: * cut-n-paste-code/freetype/ftbbox.h: * cut-n-paste-code/freetype/ftcalc.c: * cut-n-paste-code/freetype/ftcalc.h: * cut-n-paste-code/freetype/ftconfig.h: * cut-n-paste-code/freetype/ftdebug.c: * cut-n-paste-code/freetype/ftdebug.h: * cut-n-paste-code/freetype/ftdriver.h: * cut-n-paste-code/freetype/fterrors.h: * cut-n-paste-code/freetype/ftextend.c: * cut-n-paste-code/freetype/ftextend.h: * cut-n-paste-code/freetype/ftglyph.c: * cut-n-paste-code/freetype/ftglyph.h: * cut-n-paste-code/freetype/ftgrays.c: * cut-n-paste-code/freetype/ftgrays.h: * cut-n-paste-code/freetype/ftimage.h: * cut-n-paste-code/freetype/ftinit.c: * cut-n-paste-code/freetype/ftlist.c: * cut-n-paste-code/freetype/ftlist.h: * cut-n-paste-code/freetype/ftmemory.h: * cut-n-paste-code/freetype/ftmm.c: * cut-n-paste-code/freetype/ftmm.h: * cut-n-paste-code/freetype/ftmodule-list.h: * cut-n-paste-code/freetype/ftmodule.h: * cut-n-paste-code/freetype/ftobjs.c: * cut-n-paste-code/freetype/ftobjs.h: * cut-n-paste-code/freetype/ftoption.h: * cut-n-paste-code/freetype/ftoutln.c: * cut-n-paste-code/freetype/ftoutln.h: * cut-n-paste-code/freetype/ftraster.c: * cut-n-paste-code/freetype/ftraster.h: * cut-n-paste-code/freetype/ftrend1.c: * cut-n-paste-code/freetype/ftrend1.h: * cut-n-paste-code/freetype/ftrender.h: * cut-n-paste-code/freetype/ftsmooth.c: * cut-n-paste-code/freetype/ftsmooth.h: * cut-n-paste-code/freetype/ftstream.c: * cut-n-paste-code/freetype/ftstream.h: * cut-n-paste-code/freetype/ftsystem.c: * cut-n-paste-code/freetype/ftsystem.h: * cut-n-paste-code/freetype/fttypes.h: * cut-n-paste-code/freetype/license.txt: * cut-n-paste-code/freetype/psmodule.c: * cut-n-paste-code/freetype/psmodule.h: * cut-n-paste-code/freetype/psnames.h: * cut-n-paste-code/freetype/pstables.h: * cut-n-paste-code/freetype/raster1.c: * cut-n-paste-code/freetype/sfdriver.c: * cut-n-paste-code/freetype/sfdriver.h: * cut-n-paste-code/freetype/sfnt.c: * cut-n-paste-code/freetype/sfnt.h: * cut-n-paste-code/freetype/sfobjs.c: * cut-n-paste-code/freetype/sfobjs.h: * cut-n-paste-code/freetype/smooth.c: * cut-n-paste-code/freetype/t1afm.c: * cut-n-paste-code/freetype/t1afm.h: * cut-n-paste-code/freetype/t1driver.c: * cut-n-paste-code/freetype/t1driver.h: * cut-n-paste-code/freetype/t1errors.h: * cut-n-paste-code/freetype/t1gload.c: * cut-n-paste-code/freetype/t1gload.h: * cut-n-paste-code/freetype/t1hinter.c: * cut-n-paste-code/freetype/t1hinter.h: * cut-n-paste-code/freetype/t1load.c: * cut-n-paste-code/freetype/t1load.h: * cut-n-paste-code/freetype/t1objs.c: * cut-n-paste-code/freetype/t1objs.h: * cut-n-paste-code/freetype/t1parse.c: * cut-n-paste-code/freetype/t1parse.h: * cut-n-paste-code/freetype/t1tables.h: * cut-n-paste-code/freetype/t1tokens.c: * cut-n-paste-code/freetype/t1tokens.h: * cut-n-paste-code/freetype/t1types.h: * cut-n-paste-code/freetype/t2driver.c: * cut-n-paste-code/freetype/t2driver.h: * cut-n-paste-code/freetype/t2errors.h: * cut-n-paste-code/freetype/t2gload.c: * cut-n-paste-code/freetype/t2gload.h: * cut-n-paste-code/freetype/t2load.c: * cut-n-paste-code/freetype/t2load.h: * cut-n-paste-code/freetype/t2objs.c: * cut-n-paste-code/freetype/t2objs.h: * cut-n-paste-code/freetype/t2parse.c: * cut-n-paste-code/freetype/t2parse.h: * cut-n-paste-code/freetype/t2tokens.h: * cut-n-paste-code/freetype/t2types.h: * cut-n-paste-code/freetype/truetype.c: * cut-n-paste-code/freetype/ttcmap.c: * cut-n-paste-code/freetype/ttcmap.h: * cut-n-paste-code/freetype/ttdriver.c: * cut-n-paste-code/freetype/ttdriver.h: * cut-n-paste-code/freetype/tterrors.h: * cut-n-paste-code/freetype/ttgload.c: * cut-n-paste-code/freetype/ttgload.h: * cut-n-paste-code/freetype/ttinterp.c: * cut-n-paste-code/freetype/ttinterp.h: * cut-n-paste-code/freetype/ttload.c: * cut-n-paste-code/freetype/ttload.h: * cut-n-paste-code/freetype/ttnameid.h: * cut-n-paste-code/freetype/ttobjs.c: * cut-n-paste-code/freetype/ttobjs.h: * cut-n-paste-code/freetype/ttpload.c: * cut-n-paste-code/freetype/ttpload.h: * cut-n-paste-code/freetype/ttpost.c: * cut-n-paste-code/freetype/ttpost.h: * cut-n-paste-code/freetype/ttsbit.c: * cut-n-paste-code/freetype/ttsbit.h: * cut-n-paste-code/freetype/tttables.h: * cut-n-paste-code/freetype/tttags.h: * cut-n-paste-code/freetype/tttypes.h: * cut-n-paste-code/freetype/type1.c: * cut-n-paste-code/freetype/type1cid.c: * cut-n-paste-code/freetype/type1z.c: * cut-n-paste-code/freetype/winfnt.c: * cut-n-paste-code/freetype/winfnt.h: * cut-n-paste-code/freetype/z1afm.c: * cut-n-paste-code/freetype/z1afm.h: * cut-n-paste-code/freetype/z1driver.c: * cut-n-paste-code/freetype/z1driver.h: * cut-n-paste-code/freetype/z1gload.c: * cut-n-paste-code/freetype/z1gload.h: * cut-n-paste-code/freetype/z1load.c: * cut-n-paste-code/freetype/z1load.h: * cut-n-paste-code/freetype/z1objs.c: * cut-n-paste-code/freetype/z1objs.h: * cut-n-paste-code/freetype/z1parse.c: * cut-n-paste-code/freetype/z1parse.h: * cut-n-paste-code/freetype/z1tokens.h: Removed the cut-n-pasted FreeType2 we had in our build. * libnautilus-extensions/Makefile.am: * librsvg/Makefile.am: * nautilus.spec.in: Update for FreeType2 changes.
* Work on 2036 - drawing glitches in ListView.Pavel Cisler2000-10-035-1/+8729
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Pavel Cisler <pavel@eazel.com> Work on 2036 - drawing glitches in ListView. * configure.in: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/.cvsignore: * cut-n-paste-code/widgets/nautilusclist/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: (COLUMN_FROM_XPIXEL), (LIST_WIDTH), (nautilus_clist_get_type), (nautilus_clist_class_init), (nautilus_clist_set_arg), (nautilus_clist_get_arg), (nautilus_clist_init), (nautilus_clist_construct), (nautilus_clist_new), (nautilus_clist_new_with_titles), (nautilus_clist_set_hadjustment), (nautilus_clist_get_hadjustment), (nautilus_clist_set_vadjustment), (nautilus_clist_get_vadjustment), (nautilus_clist_set_scroll_adjustments), (nautilus_clist_set_shadow_type), (nautilus_clist_set_selection_mode), (nautilus_clist_freeze), (nautilus_clist_thaw), (nautilus_clist_column_titles_show), (nautilus_clist_column_titles_hide), (nautilus_clist_column_title_active), (nautilus_clist_column_title_passive), (nautilus_clist_column_titles_active), (nautilus_clist_column_titles_passive), (nautilus_clist_set_column_title), (nautilus_clist_get_column_title), (nautilus_clist_set_column_widget), (nautilus_clist_get_column_widget), (nautilus_clist_set_column_justification), (nautilus_clist_set_column_visibility), (nautilus_clist_set_column_resizeable), (nautilus_clist_set_column_auto_resize), (nautilus_clist_columns_autosize), (nautilus_clist_optimal_column_width): Had to create a copy of GtkCList to work around problems where the drawing code was getting called directly behind our derived classes back. Rebecka already set GtkCList up in the cut-n-paste directory. Move it to the Nautilus namespace so that it doesn't collide with the original. Add more methods to allow completely overriding all drawing by a derived class. Add not reached asserts in original GtkCList drawing code that was messing us up. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-list-column-title.c: (get_column_label_at), (get_column_frame_at), (nautilus_list_column_title_paint), (in_column_rect), (in_resize_rect): * libnautilus-extensions/nautilus-list.c: (nautilus_list_initialize_class), (activate_row), (nautilus_list_is_row_selected), (row_set_selected), (select_row_unselect_others), (nautilus_list_unselect_all), (nautilus_list_select_all), (nautilus_list_button_press), (nautilus_list_button_release), (nautilus_list_clear_keyboard_focus), (nautilus_list_set_keyboard_focus), (nautilus_list_keyboard_move_to), (nautilus_list_select_row), (keyboard_row_reveal_timeout_callback), (nautilus_list_reveal_row), (nautilus_clist_get_first_selected_row), (nautilus_clist_get_last_selected_row), (nautilus_list_keyboard_navigation_key_press), (nautilus_list_activate_selected_items), (nautilus_list_realize), (list_requisition_width), (nautilus_list_size_request), (new_column_width), (size_allocate_columns), (size_allocate_title_buttons), (nautilus_list_draw_focus), (get_cell_style), (get_cell_horizontal_start_position), (last_column_index), (get_cell_rectangle), (draw_cell), (draw_row), (nautilus_list_clear_from_row), (draw_rows), (draw_all), (nautilus_list_draw), (nautilus_list_expose), (nautilus_list_resize_column), (nautilus_list_mark_cell_as_link), (nautilus_list_set_cell_contents), (nautilus_list_set_pixbuf_list), (nautilus_list_track_new_column_width), (nautilus_list_motion), (nautilus_list_column_resize_track_start), (nautilus_list_column_resize_track), (nautilus_list_column_resize_track_end), (nautilus_list_real_scroll), (nautilus_list_clear), (nautilus_list_new_with_titles), (nautilus_list_row_at), (nautilus_list_get_selection), (nautilus_list_set_selection), (nautilus_list_each_selected_row), (nautilus_list_get_first_selected_row), (insert_row): * libnautilus-extensions/nautilus-list.h: * src/file-manager/fm-list-view.c: (column_clicked_callback), (fm_list_view_compare_rows), (compare_rows_by_name), (match_row_name), (context_click_selection_callback), (context_click_background_callback), (make_sorted_row_array), (select_row_common), (select_previous_next_common), (fm_list_nautilus_file_at), (row_get_data_binder), (fm_list_get_drag_pixmap), (create_list), (set_up_list), (add_to_list), (fm_list_view_clear), (fm_list_view_begin_adding_files), (fm_list_view_add_file), (remove_from_list), (fm_list_view_file_changed), (fm_list_view_done_adding_files), (real_is_empty), (fm_list_view_set_zoom_level), (fm_list_view_reset_row_height), (fm_list_view_select_all), (fm_list_view_sort_items), (install_row_images), (update_icons): Updated to match new renamings. * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-list.c: (draw_rows), (draw_all): Make these a method, call them as such instead of calling them directly. Switch to the new NAUTILUS_CALL_VIRTUAL macro.
* Fixed bug bug 3264 (Tree view shows no branches for directories,Darin Adler2000-09-262-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...HACK... nodes visible), bug 3290 (changing directory or refreshing causes Gdk to assert), bug 2420 (Need to free original key when removing model node), and other assorted problems. * components/tree/nautilus-tree-view.c: (insert_hack_node), (remove_hack_node), (nautilus_tree_view_insert_model_node): Fix problem where the hash table key was neither g_strdup'd on the way in, nor g_free'd on the way out. This caused all the problems with bad nesting in the tree view. * nautilus-installer/src/installer.c: (create_pixmap): * src/file-manager/fm-list-view.c: (install_row_images): * src/nautilus-theme-selector.c: (add_theme): Added more checks for NULL before calling gdk_bitmap_unref. * src/file-manager/fm-directory-view.c: (no_items_showing): Fixed a NautilusDirectory ref. count leak. * libnautilus-extensions/nautilus-font-factory.c: (unref_global_font_factory), (nautilus_get_current_font_factory): Unref the font factory on exit. (nautilus_font_factory_initialize_class), (font_hash_node_free), (free_one_hash_node), (destroy): Added code to actually destroy the font factory. (unref_fixed_font), (nautilus_font_factory_get_fallback_font): Unref the fixed font on exit. * libnautilus-extensions/nautilus-volume-monitor.c: (unref_global_volume_monitor), (nautilus_volume_monitor_get): Unref the volume monitor on exit. * src/nautilus-signaller.c: (unref_global_signaller), (nautilus_signaller_get_current): Unref the signaller on exit. * src/nautilus-component-adapter-factory.c: (nautilus_component_adapter_factory_initialize): Replaced some strange FIXMEs with a simpler one. (nautilus_component_adapter_factory_destroy): Fix a CORBA object reference leak. (nautilus_component_adapter_factory_get): Did a ref/sink. * components/adapter/nautilus-adapter-control-embed-strategy.c: (nautilus_adapter_control_embed_strategy_new): * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: (nautilus_adapter_embeddable_embed_strategy_new): * components/adapter/nautilus-adapter-file-load-strategy.c: (nautilus_adapter_file_load_strategy_new): * components/adapter/nautilus-adapter-progressive-load-strategy.c: (nautilus_adapter_progressive_load_strategy_new): * components/adapter/nautilus-adapter-stream-load-strategy.c: (nautilus_adapter_stream_load_strategy_new): * components/adapter/nautilus-adapter.c: (nautilus_adapter_new): * components/rpmview/nautilus-rpm-verify-window.c: (nautilus_rpm_verify_window_new): * components/services/install/lib/eazel-install-object.c: (eazel_install_new), (eazel_install_new_with_config): * components/services/time/service/trilobite-eazel-time-service.c: (trilobite_eazel_time_service_new): * components/services/trilobite/libtrilobite/trilobite-service-pass wordquery.c: (trilobite_passwordquery_new): * components/services/trilobite/libtrilobite/trilobite-service.c: (trilobite_service_new): * components/tree/nautilus-tree-expansion-state.c: (nautilus_tree_expansion_state_new): * components/tree/nautilus-tree-model.c: (nautilus_tree_model_new): * components/tree/nautilus-tree-node.c: (nautilus_tree_node_new): * cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_new): * cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_new): * libnautilus-extensions/bonobo-stream-vfs.c: (bonobo_stream_create): * libnautilus-extensions/nautilus-any-width-bin.c: (nautilus_any_width_bin_new): * libnautilus-extensions/nautilus-background.c: (nautilus_background_new): * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): * libnautilus-extensions/nautilus-caption-table.c: (nautilus_caption_table_new): * libnautilus-extensions/nautilus-caption.c: (nautilus_caption_new): * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_new): * libnautilus-extensions/nautilus-druid-page-eazel.c: (nautilus_druid_page_eazel_new), (nautilus_druid_page_eazel_new_with_vals): * libnautilus-extensions/nautilus-druid.c: (nautilus_druid_new): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_new): * libnautilus-extensions/nautilus-file-operations-progress.c: (nautilus_file_operations_progress_new): * libnautilus-extensions/nautilus-file.c: (nautilus_file_new_from_name), (nautilus_file_new_from_info): * libnautilus-extensions/nautilus-font-picker.c: (nautilus_font_picker_new): * libnautilus-extensions/nautilus-horizontal-splitter.c: (nautilus_horizontal_splitter_new): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_new): * libnautilus-extensions/nautilus-icon-factory.c: (get_icon_factory): * libnautilus-extensions/nautilus-image.c: (nautilus_image_new): * libnautilus-extensions/nautilus-keep-last-vertical-box.c: (nautilus_keep_last_vertical_box_new): * libnautilus-extensions/nautilus-label.c: (nautilus_label_new): * libnautilus-extensions/nautilus-list-column-title.c: (nautilus_list_column_title_new): * libnautilus-extensions/nautilus-list.c: (nautilus_list_new_with_titles): * libnautilus-extensions/nautilus-password-dialog.c: (nautilus_password_dialog_new): * libnautilus-extensions/nautilus-preference.c: (nautilus_preference_new_from_type): * libnautilus-extensions/nautilus-preferences-box.c: (nautilus_preferences_box_new): * libnautilus-extensions/nautilus-preferences-dialog.c: (nautilus_preferences_dialog_new): * libnautilus-extensions/nautilus-preferences-group.c: (nautilus_preferences_group_new): * libnautilus-extensions/nautilus-preferences-item.c: (nautilus_preferences_item_new): * libnautilus-extensions/nautilus-preferences-pane.c: (nautilus_preferences_pane_new): * libnautilus-extensions/nautilus-radio-button-group.c: (nautilus_radio_button_group_new): * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_new): * libnautilus-extensions/nautilus-string-picker.c: (nautilus_string_picker_new): * libnautilus-extensions/nautilus-text-caption.c: (nautilus_text_caption_new): * libnautilus-extensions/nautilus-undo-context.c: (nautilus_undo_context_new): * libnautilus-extensions/nautilus-undo-manager.c: (nautilus_undo_manager_new): * libnautilus-extensions/nautilus-user-level-manager.c: (user_level_manager_new): * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_new): * libnautilus/nautilus-view.c: (nautilus_view_new_from_bonobo_control): * src/file-manager/nautilus-trash-monitor.c: (nautilus_trash_monitor_get): * src/nautilus-desktop-window.c: (nautilus_desktop_window_new): * src/nautilus-property-browser.c: (nautilus_property_browser_new): * src/nautilus-shell.c: (nautilus_shell_new): * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_new): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_new): * src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu), (nautilus_sidebar_new): * src/nautilus-theme-selector.c: (nautilus_theme_selector_new): * src/nautilus-throbber.c: (nautilus_throbber_new): * src/nautilus-view-frame.c: (nautilus_view_frame_new): * src/nautilus-zoom-control.c: (nautilus_zoom_control_new): * src/nautilus-about.c: (nautilus_about_new): * src/nautilus-application.c: (nautilus_application_new), (nautilus_application_create_window): * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_new): After Tim Janik explained that gtk_type_new is a low-level call to be avoided, changed most uses of gtk_type_new to gtk_object_new or gtk_widget_new. Also, after Owen and Havoc explained that you can't just ignore the floating bit, added ref/sink calls to the functions used to create objects where we don't use the floating scheme. * src/nautilus-zoom-control.c: (nautilus_zoom_control_button_press_event): Take advantage of the fact that the new menu is floating and don't bother with ref'ing. * libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_new_with_titles): Added a cast. * components/adapter/main.c: (adapter_factory_make_object): * components/hardware/main.c: (hardware_view_make_object): * components/services/install/lib/eazel-install-corba-callback.c: (eazel_install_callback_get_type), (eazel_install_callback_new): * libnautilus-extensions/nautilus-theme.c: (nautilus_theme_get_theme), (nautilus_theme_set_theme), (nautilus_theme_get_theme_data): Whitespace tweaks.
* Cut and pasted the gtkclist widget into nautilus. Fixed bugzilla.eazel.comRebecca Schulman2000-09-226-0/+8709
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-21 Rebecca Schulman <rebecka@eazel.com> Cut and pasted the gtkclist widget into nautilus. Fixed bugzilla.eazel.com 481, to reflect user file filtering preferences in directory counts, and in the process, fixed bug 480. * configure.in: * cut-n-paste-code/widgets/.cvsignore: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/gtkclist/.cvsignore: * cut-n-paste-code/widgets/gtkclist/Makefile.am: * cut-n-paste-code/widgets/gtkclist/gtkclist.c: * cut-n-paste-code/widgets/gtkclist/gtkclist.h: (COLUMN_FROM_XPIXEL), (LIST_WIDTH), (gtk_clist_get_type), (gtk_clist_class_init), (gtk_clist_set_arg), (gtk_clist_get_arg), (gtk_clist_init), (gtk_clist_construct), (gtk_clist_new), (gtk_clist_new_with_titles), (gtk_clist_set_hadjustment), (gtk_clist_get_hadjustment), (gtk_clist_set_vadjustment), (gtk_clist_get_vadjustment), (gtk_clist_set_scroll_adjustments), (gtk_clist_set_shadow_type), (gtk_clist_set_selection_mode), (gtk_clist_freeze), (gtk_clist_thaw), (gtk_clist_column_titles_show), (gtk_clist_column_titles_hide), (gtk_clist_column_title_active), (gtk_clist_column_title_passive), (gtk_clist_column_titles_active), (gtk_clist_column_titles_passive), (gtk_clist_set_column_title), (gtk_clist_get_column_title), (gtk_clist_set_column_widget), (gtk_clist_get_column_widget), (gtk_clist_set_column_justification), (gtk_clist_set_column_visibility), (gtk_clist_set_column_resizeable), (gtk_clist_set_column_auto_resize), (gtk_clist_columns_autosize), (gtk_clist_optimal_column_width): * src/file-manager/Makefile.am: Add include of the cut-n-paste-code directory, so we can access the clist. * libnautilus-extensions/Makefile.am: include the new static gtkclist library * libnautilus-extensions/nautilus-list.h: include the cut and pasted widget instead of the gtk one. * libnautilus-extensions/nautilus-directory-async.c: (get_filter_options_for_directory_count), (start_getting_directory_counts): Add command to get filtering options for gnome-vfs based on user preferences. This works niftily when preferences change thanks to the callbacks in fm_directory_view
* Make the tinderbox a bit happier by mentioning some files that wereDarin Adler2000-09-201-0/+1
| | | | | | | * components/adapter/Makefile.am: * cut-n-paste-code/freetype/Makefile.am: Make the tinderbox a bit happier by mentioning some files that were missing from these makefiles.
* Fixed compiling with newer gcc. Freetype was trying to use token pastingDarin Adler2000-09-201-13/+2
| | | | | | | | | | | | | | | | | | | * cut-n-paste-code/freetype/ftdebug.h: Fixed compiling with newer gcc. Freetype was trying to use token pasting to attach the name of a function (FTMessage) onto the parameters to that function. There's no need to attempt this, and it's incorrect. I removed the token pasting attempt. Perhaps Raph should get this rolled back into the main freetype soruces. * libnautilus-extensions/bonobo-stream-vfs.c: Cleaned up the code a bit to match Nautilus coding style and remove some redundant stuff. * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_update_icon): Fixed a place where we unref the old value before ref'ing the new one. It's not really a bug, but it's a good habit to ref the new value first. Ran into this when I started looking for NautilusScalableIcon leaks.
* This should close bug #1361George Lebl2000-08-3013-3247/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Aug 29 22:43:15 2000 George Lebl <jirka@5z.com> This should close bug #1361 * configure.in, cut-n-paste-code/widgets/Makefile.am, cut-n-paste-code/widgets/nautilus-druid/*, po/POTFILES.in: Remove the nautilus druid hack from here. We can do all that we need from libnautilus extensions without need of cut and paste code. * libnautilus-extensions/nautilus-druid.[ch], libnautilus-extensions/nautilus-druid-page-eazel.[ch], po/POTFILES.in: Make NautilusDruid be a derivation of GnomeDruid and the NautilusDruidPageEazel of GnomeDruidPage. Also make use of more of the nautilus style of coding in both. Federico will kill me for using remove/add to move a file, but it's more then just a move anyway. * src/nautilus-first-time-druid.c (set_up_proxy_config_page) (next_update_page_callback) (next_update_feedback_page_callback) (next_proxy_configuration_page_callback) (finish_page_back_callback) (nautilus_first_time_druid_show) (download_callback) (initiate_file_download): Use the new nautilus druid and the new eazel druid page everywhere. Also fix one case of double adding things to a GtkBox.
* made it find gnome-vfs headersRobin Slomkowski2000-08-301-0/+1
|
* * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standJohn Sullivan2000-08-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ard.c: (nautilus_druid_page_standard_init): * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c: (nautilus_druid_size_request), (nautilus_druid_next_callback): * libnautilus-extensions/nautilus-background-canvas-group.c: (nautilus_background_canvas_group_render): * libnautilus-extensions/nautilus-directory-background.c: (nautilus_connect_background_to_directory_metadata): * libnautilus-extensions/nautilus-file-operations-progress.c: (truncate_string_from_start): * libnautilus-extensions/nautilus-file-operations.c: (handle_xfer_duplicate): * libnautilus-extensions/nautilus-font-picker.c: (nautilus_font_picker_initialize): * libnautilus-extensions/nautilus-gdk-extensions.c: (nautilus_gdk_font_get_bold): * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c: (nautilus_gdk_pixbuf_draw_text): * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_create_dialog): * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_gtk_button_auto_click), (nautilus_popup_menu_position_func): * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file), (cached_image_still_valid), (nautilus_icon_factory_make_thumbnails): * libnautilus-extensions/nautilus-icon-text-item.c: (iti_paint_text): * libnautilus-extensions/nautilus-list.c: (show_context_menu_callback), (nautilus_list_get_drop_action):
* fixed bug in new eazel druid where the next and previous buttons weren'tAndy Hertzfeld2000-08-261-0/+2
| | | | | fixed bug in new eazel druid where the next and previous buttons weren't being enabled and disabled properly for standard pages.
* Fix height issue in size_request and set the druid page height back to theGeorge Lebl2000-08-252-1/+2
| | | | | | | | | | | | | | | | | Fri Aug 25 18:13:09 2000 George Lebl <jirka@5z.com> * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-eazel.c, cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c (nautilus_druid_size_request): Fix height issue in size_request and set the druid page height back to the correct size (322 pixels) * src/nautilus-first-time-druid.c (user_level_selection_changed), (make_label_bold) (make_hbox_user_level_radio_button) (set_up_user_level_page): Partial arloyfication of the user level page. Not yet using NautilusLabel because that appears to be broken (or I'm using it wrong, will investigate).
* Remove these as they are obscolete anyway.George Lebl2000-08-258-1277/+729
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Aug 25 02:17:17 2000 George Lebl <jirka@5z.com> * cut-n-paste-code/widgets/nautilus-druid/Makefile.am, cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.c, cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.h, cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.c, cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.h: Remove these as they are obscolete anyway. * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c (nautilus_druid_init), (nautilus_druid_size_request), (nautilus_druid_size_allocate): Fix calculating of size and borders * icons/Makefile.am, icons/druid_*.png: Add Arlo's druid images. * po/POTFILES.in, cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-eazel.c, cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-eazel.h: Add the eazel druid page. Theoretically this should move to libnautilus-extentions soon, including deriving nautilus-druid from gnome-druid, in which way we can eliminate the entire cut-n-paste mess for the druid. Likely to do this tommorrow with the rest of the arloification. * src/nautilus-first-time-druid.c (set_up_background), (set_up_user_level_page), (set_up_service_signup_page), (set_up_update_page), (set_up_update_feedback_page), (set_page_sidebar), (nautilus_first_time_druid_show): Use the eazel page for the druid and set up the sidebar image to the standard one.
* made the druid's logo image be dynamically sized instead of fixed size;Andy Hertzfeld2000-08-243-43/+89
| | | | | | made the druid's logo image be dynamically sized instead of fixed size; also, it now uses the anti-aliased canvas for prettier edges. Made the first time druid set up the logo images.
* Only bugfixes so I suspect I'm allowed to check these in.George Lebl2000-08-042-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -George Fri Aug 04 14:21:51 2000 George Lebl <jirka@5z.com> * components/hardware/nautilus-hardware-view.c (setup_form_title): Check result of gnome_pixmap_file. If NULL, we can't make a new gnome-pixmap. * components/help/converters/gnome-db2html2/sect-elements.c (sect_get_infobox_logo) (sect_infobox_start_element): sect_get_infobox_logo can return a NULL so check its return and if NULL just add %s instead of <IMG ...> * components/services/vault/command-line/vault-operations.c, libnautilus-extensions/nautilus-list.c: add #include <string.h> * cut-n-paste-code/freetype/ftcalc.h, cut-n-paste-code/freetype/ftconfig.h: Well even though this is cut and paste code I NEED to add this patch for it to even compile on alpha, I'll try to get this upstream. The only changes are inside #ifdefs on platforms where long is 64 bit so it should not affect intel code at all. * libnautilus-extensions/nautilus-file-utilities.c (nautilus_format_uri_for_display): use g_strdup instead of strdup as then g_free is used and this would really confuse glib in memory checking mode. * librsvg/art_render_mask.c, librsvg/rsvg-bpath-util.c, librsvg/rsvg-ft.c: add #include <string.h> * src/Makefile.am: define NAUTILUS_PIXMAPDIR. This is neccessary for both making the tarballs and actual code sanity on switching toolbar themes etc. In GNOME 2.0 the GNOME_PATH can be sanely used to allow relocatable nautilus binary, but in 1.[02] this is the correct way to do things. * src/nautilus-complex-search-bar.c (nautilus_complex_search_bar_initialize) (load_find_them_pixmap_widget): If we can't load pixmaps don't add them. Also don't hardcode "/gnome/share" prefix and use the NAUTILUS_PIXMAPDIR define to find search.png AND make sure we can load it before using it. * src/nautilus-window-toolbars.c (find_toolbar_child) (setup_button) In toolbar_info use the NAUTILUS_PIXMAPDIR define to find pixmaps. remove get_stock_callback and get_stock_widget as those functions were an incredible hack and were likely to break. Replace with a function which searches the toolbar children and then finds correct icon widget. It also doesn't do anything if there is no icon. In setup button, use NAUTILUS_PIXMAPDIR to define pixmaps by their full name. If we cannot set the stock widget icon, then the icon is not registered and we register it with gnome-stock. Miraculously the current code worked but only worked because the eazel theme was set up in the toolbar_info, other themes with outside images would break.
* Make the cut-n-paste libraries be only static archives. Link all theRamiro Estrugo2000-07-262-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/html/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/rpmview/Makefile.am: * components/services/install/nautilus-view/Makefile.am: * components/services/inventory/nautilus-view/Makefile.am: * components/services/login/nautilus-view/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/services/vault/nautilus-view/Makefile.am: * components/tree/Makefile.am: * components/websearch/Makefile.am: * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * librsvg/Makefile.am: * src/Makefile.am: * test/Makefile.am: Make the cut-n-paste libraries be only static archives. Link all the private libraries statically into libnautilus-extensions. Remove all the references to private libraries in all the components and other users of libnautilus-extensions so that dependencies can be managed in just one place.
* Make distcheck happy.Ramiro Estrugo2000-07-201-0/+1
| | | | | * cut-n-paste-code/freetype/Makefile.am: Make distcheck happy.
* Various fixups to the freetype2 import.Raph Levien2000-07-206-4/+29
|
* Add missing included .[ch] files to build to make distcheck happy.Ramiro Estrugo2000-07-201-1/+113
| | | | | * cut-n-paste-code/freetype/Makefile.am: Add missing included .[ch] files to build to make distcheck happy.
* Build this beast only as a static library and dont install any of itsRamiro Estrugo2000-07-201-41/+40
| | | | | | | | | | * cut-n-paste-code/freetype/Makefile.am: Build this beast only as a static library and dont install any of its headers. * librsvg/Makefile.am: Link in the cut-and-pasted freetype lib statically into librsvg to avoid having its clients having a depenency on freetype.
* Change include style from <libtrilobite/xxx.h> to "xxx.h" to fix theDarin Adler2000-07-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-19 Darin Adler <darin@eazel.com> * components/services/trilobite/libtrilobite/libtrilobite.h: * components/services/trilobite/libtrilobite/trilobite-root-client.c: Change include style from <libtrilobite/xxx.h> to "xxx.h" to fix the build. * libnautilus-extensions/nautilus-directory.c: (make_uri_canonical), (is_canonical_uri): Add two new elements to the canonical URI rules in here: put a "file:" in front of things that don't have a scheme, and lower-case the scheme. * libnautilus-extensions/nautilus-string.h: * libnautilus-extensions/nautilus-string.c: (nautilus_istr_has_prefix), (nautilus_istr_has_suffix): Add case-insensitive versions of these calls. These terse names are maybe a little lame; istr is not completely clear. (I guess I now wish the "nautilus_" namespace was "n_" instead, like those rad Evolution people and their bold "e_"). * components/music/nautilus-music-view.c: (is_mp3_file), (nautilus_music_view_update_from_uri): * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_format_uri_for_display), (nautilus_get_local_path_from_uri): * libnautilus-extensions/nautilus-file.c: (nautilus_file_contains_text): * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file), (make_thumbnail_path), (load_specific_image): * libnautilus-extensions/nautilus-theme.c: (nautilus_theme_make_selector): * src/file-manager/fm-icon-view.c: (play_file), (preview_sound), (icon_container_preview_callback): * src/file-manager/fm-properties-window.c: (get_property_names_from_uri): * src/nautilus-location-bar.c: (try_to_expand_path): * src/nautilus-property-browser.c: (ensure_uri_is_image), (make_properties_from_directory_path): * src/nautilus-sidebar.c: (map_local_data_file), (add_command_buttons): * libnautilus-extensions/nautilus-directory-background.c: (local_data_file_to_uri): Use case-insensitive string functions when dealing with MIME types, URI schemes, or file name extensions for file types that are also used on Windows where file names are not case sensitive. * libnautilus-extensions/nautilus-string.c: (nautilus_self_check_string): * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_icon_is_different): * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_delete_items_with_uri): * src/nautilus-window-manage-views.c: (nautilus_window_reset_title_internal), (handle_go_back), (handle_go_forward), (handle_go_elsewhere): * src/nautilus-window-menus.c: (nautilus_window_add_bookmark_for_current_location): Get rid of uses of nautilus_eat_strcmp since it's yucky. * libnautilus-extensions/nautilus-debug.c: (nautilus_str_equal_with_free): Make a debug-only thing kind of like nautilus_eat_strcmp that's good for asserts. * src/nautilus-sidebar.c: (add_command_buttons): Fixed a storage leak. * libnautilus-extensions/nautilus-link-set.c: (link_set_path_name): Added a FIXME. * components/services/install/command-line/.cvsignore: * cut-n-paste-code/freetype/.cvsignore: Ignore some generated files.
* Added a hacked version of the freetype2 beta, for use by librsvg.Raph Levien2000-07-19146-1/+75257
|
* Fix typo Fix srcdir != builddir:Elliot Lee2000-07-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * TODO: Fix typo * components/rpmview/Makefile.am, components/services/install/command-line/Makefile.am, components/services/install/lib/Makefile.am, components/services/install/nautilus-view/Makefile.am, components/services/install/server/Makefile.am, components/services/startup/lib/Makefile.am, components/services/time/command-line/Makefile.am, components/services/time/service/Makefile.am, components/services/trilobite/helper/Makefile.am, components/services/trilobite/sample/command-line/Makefile.am, components/services/trilobite/sample/service/Makefile.am, components/services/vault/command-line/Makefile.am, cut-n-paste-code/widgets/e-paned/Makefile.am, cut-n-paste-code/widgets/nautilus-druid/Makefile.am, libnautilus-extensions/Makefile.am, src/Makefile.am, test/Makefile.am: Fix srcdir != builddir: * components/services/trilobite/helper/eazel-helper.c, components/services/vault/command-line/vault-operations.c, libnautilus-extensions/nautilus-graphic.c, libnautilus-extensions/nautilus-icon-container.c, libnautilus-extensions/nautilus-list.c: Include string.h for strlen prototype.