summaryrefslogtreecommitdiff
path: root/cut-n-paste-code
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Change to use bonobo_object_unref now that the leaks have been fixed. ThisDarin Adler2000-07-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client): Change to use bonobo_object_unref now that the leaks have been fixed. This requires the new Bonobo or you'll have lots of leaked processes. Luckily, Nautilus won't compile without the new Bonobo due to my use of bonobo_object_shutdown in main :-) * configure.in: Fix the way -Werror works so it affects all directories, not just ones where we use WERROR. * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/rpmview/Makefile.am: * components/sample/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/inventory/lib/Makefile.am: * components/services/inventory/nautilus-view/Makefile.am: * components/services/inventory/service/Makefile.am: * components/services/login/lib/Makefile.am: * components/services/login/nautilus-view/Makefile.am: * components/services/login/service/Makefile.am: * components/services/startup/command-line/Makefile.am: * components/services/startup/lib/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/summary/lib/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * components/services/summary/service/Makefile.am: * components/services/time/command-line/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/time/service/Makefile.am: * components/services/trilobite/helper/Makefile.am: * components/services/trilobite/libtrilobite/Makefile.am: * components/services/trilobite/sample/command-line/.cvsignore: * components/services/trilobite/sample/command-line/Makefile.am: * components/services/trilobite/sample/lib/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/services/trilobite/sample/service/Makefile.am: * components/services/vault/command-line/Makefile.am: * components/services/vault/lib/Makefile.am: * components/services/vault/nautilus-view/Makefile.am: * components/services/vault/service/Makefile.am: * components/tree/Makefile.am: * components/websearch/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * librsvg/Makefile.am: * nautilus-installer/src/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Got rid of the WERROR shell variable. The -Werror switch is no longer a per-directory thing. * librsvg/Makefile.am: Added libpng to the libraries for the test program. Maybe this was the wrong thing to do, but before this change the link failed. * components/sample/Makefile.am: * components/sample/main.c: * components/sample/nautilus-sample-content-view.c: * components/sample/nautilus-sample-content-view.h: A clean-up of the sample, including fixing many bugs and adding lots of comments. I figure we want this to be as close to exemplary as possible since people will continue to start with it for new components. * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a NautilusFile object that I spotted in here. * src/nautilus-application.c: (nautilus_application_destroy_window): Re-added the code to quit when the last window is closed that Mike removed in his recent check-in. * src/nautilus-main.c: (main): Added a call to bonobo_shutdown. We don't need this call, but I say, "Why not?"
* Build the new nautilus druid.Ramiro Estrugo2000-07-011-1/+6
| | | | | | | | 2000-06-30 Ramiro Estrugo <ramiro@eazel.com> * configure.in: * cut-n-paste-code/widgets/Makefile.am: Build the new nautilus druid.
* Update these items to properly use the canvas pixbuf beast.Ramiro Estrugo2000-07-014-13/+29
| | | | | | | | | | | | | | | | | 2000-06-30 Ramiro Estrugo <ramiro@eazel.com> * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.c: (nautilus_druid_page_edge_construct): * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.c: (nautilus_druid_page_finish_configure_size), (nautilus_druid_page_finish_construct), (nautilus_druid_page_finish_set_logo), (nautilus_druid_page_finish_set_watermark): * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.c: (nautilus_druid_page_standard_construct): * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.c: (nautilus_druid_page_start_construct): Update these items to properly use the canvas pixbuf beast.
* Globally rename the GnomeDruid to NautilusDruid to preventRamiro Estrugo2000-07-0112-636/+635
| | | | namespace clashing with the gnome-libs-1-0 druid.
* Importing the gnome-libs HEAD druid to the cut-n-paste toxic dump.Ramiro Estrugo2000-07-0114-0/+3733
| | | | | | | | | | | | | | | | | | | | | 2000-06-30 Ramiro Estrugo <ramiro@eazel.com> * cut-n-paste-code/widgets/nautilus-druid/.cvsignore: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.c: * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.h: * 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-standard.c: * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.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: * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page.c: * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page.h: * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c: * cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.h: Importing the gnome-libs HEAD druid to the cut-n-paste toxic dump. Arlofication will proceed.
* Fix the email for bitching.Ramiro Estrugo1997-01-021-4/+4
| | | | | | * cut-n-paste-code/README: * libnautilus-extensions/README: Fix the email for bitching.
* Added a place to put cut-n-paste code. Cut-n-pasted the e-paned widgetRamiro Estrugo1997-01-0213-0/+1851
* 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/sample/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/websearch/Makefile.am: * configure.in: * cut-n-paste-code/.cvsignore: * cut-n-paste-code/Makefile.am: * cut-n-paste-code/README: * cut-n-paste-code/widgets/.cvsignore: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/e-paned/.cvsignore: * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_get_type), (e_hpaned_class_init), (e_hpaned_init), (e_hpaned_new), (e_hpaned_size_request), (e_hpaned_size_allocate), (e_hpaned_draw), (e_hpaned_xor_line), (e_hpaned_button_press), (e_hpaned_button_release), (e_hpaned_motion), (e_hpaned_handle_shown): * cut-n-paste-code/widgets/e-paned/e-hpaned.h: * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_get_type), (e_paned_class_init), (e_paned_child_type), (e_paned_init), (e_paned_set_arg), (e_paned_get_arg), (e_paned_realize), (e_paned_map), (e_paned_unmap), (e_paned_unrealize), (e_paned_expose), (e_paned_add1), (e_paned_add2), (e_paned_pack1), (e_paned_pack2), (e_paned_add), (e_paned_remove), (e_paned_forall), (e_paned_get_position), (e_paned_set_position), (e_paned_set_handle_size), (e_paned_compute_position), (e_paned_handle_shown), (e_paned_quantized_size): * cut-n-paste-code/widgets/e-paned/e-paned.h: * cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_get_type), (e_vpaned_class_init), (e_vpaned_init), (e_vpaned_new), (e_vpaned_size_request), (e_vpaned_size_allocate), (e_vpaned_draw), (e_vpaned_xor_line), (e_vpaned_button_press), (e_vpaned_button_release), (e_vpaned_motion), (e_vpaned_handle_shown): * cut-n-paste-code/widgets/e-paned/e-vpaned.h: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus-extensions/README: * libnautilus/README: * src/Makefile.am: * test/Makefile.am: Added a place to put cut-n-paste code. Cut-n-pasted the e-paned widget from evolution. Yes, and evil thing to do. Send me mail with alternative solutions. Also added README files for libnautilus and libnautilus-extenstions to clarify thieir public vs internal state. * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_real_set_content_view): Use the new NautilusHorizontalSplitter widget instead of the gtk one.