1. 03 Jan, 2002 3 commits
    • Darin Adler's avatar
      Don't use the eel_eat function. · 1cb7f70f
      Darin Adler authored
      	* test/test.c: (test_text_caption_get_text_as_int):
      	Don't use the eel_eat function.
      1cb7f70f
    • Darin Adler's avatar
      Turn on test subdirectory. · 3eec4d53
      Darin Adler authored
      	* Makefile.am: Turn on test subdirectory.
      	* test/test.c: (test_init), (test_label_new):
      	* test/test.h:
      	Build without using EelLabel.
      
      	* src/nautilus-sidebar-title.c: Remove unused header include.
      3eec4d53
    • Darin Adler's avatar
      Port from EelLabel to GtkLabel. · fa2a9d00
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(update_uptime_text), (setup_overview_form):
      	* components/music/nautilus-music-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_progress_display):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_init), (labeled_image_configure),
      	(labeled_image_new), (make_category),
      	(property_browser_category_button_new),
      	(nautilus_property_browser_update_contents):
      	* test/test.h:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init):
      	Port from EelLabel to GtkLabel.
      
      	* components/news/nautilus-news.c: (do_destroy),
      	(draw_rss_logo_image), (draw_rss_title), (draw_rss_items),
      	(nautilus_news_set_title), (free_channel),
      	(empty_message_size_allocate), (set_up_main_widgets),
      	(make_news_view):
      	* libnautilus-private/nautilus-icon-private.h:
      	* src/nautilus-sidebar-tabs.c:
      	(nautilus_sidebar_tabs_load_theme_data),
      	(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
      	(draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width),
      	(nautilus_sidebar_tabs_add_view):
      	Port to Pango text instead of Eel text.
      
      	* libnautilus-private/nautilus-customization-data.c:
      	(add_reset_text):
      	* libnautilus-private/nautilus-icon-factory.c:
      	(embedded_text_font_changed_callback), (embed_text):
      	* src/nautilus-about.c: (draw_aa_string), (draw_author_list),
      	(nautilus_about_draw_info), (nautilus_about_update_authors):
      	Disable Eel text and ifdef with GNOME2_CONVERSION_COMPLETE.
      
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-global-preferences.c:
      	Turn off font-related preferences. Maybe delete later or
      	convert for Pango fonts.
      
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-container.h:
      	Remove eel-scalable-font.h includes.
      
      	* src/nautilus-component-adapter-factory.c:
      	(nautilus_component_adapter_factory_create_adapter):
      	Disable the adapter because it was causing problems.
      fa2a9d00
  2. 07 Dec, 2001 1 commit
  3. 21 Nov, 2001 1 commit
    • Michael Meeks's avatar
      fix. · 7a030297
      Michael Meeks authored
      2001-11-21  Michael Meeks  <michael@ximian.com>
      
      	* test/test-nautilus-wrap-table.c (main): fix.
      
      	* test/test-nautilus-mime-actions.c (main): upd. init.
      
      	* test/test.c (test_init): upd.
      	(test_label_new): kill tile_pixbuf support.
      	(test_image_new): ditto.
      
      	* test/test-nautilus-async-activation.c (main): upd.
      
      	* test/Makefile.am: add CORE_CFLAGS, update LDADD.
      
      	* libnautilus-private/nautilus-directory.c
      	(nautilus_directory_destroy): rename to
      	(nautilus_directory_dispose): this, but leave as a
      	gtk object for now, double emission protect, move
      	removal from directories list to head & split into:
      	(nautilus_directory_finalize): here.
      
      	* libnautilus-private/nautilus-directory-async.c
      	(nautilus_directory_async_state_changed): fully remove
      	GTK_OBJECT_DESTROYED check.
      7a030297
  4. 09 Nov, 2001 1 commit
  5. 07 Nov, 2001 1 commit
    • Darin Adler's avatar
      Switch to glib's gettext. · f6cff97c
      Darin Adler authored
      	* acconfig.h:
      	* configure.in:
      	Switch to glib's gettext.
      
      	* components/help/converters/*:
      	Remove, since these were moved to libgnome.
      
      	* Many files:
      	Get rid of incorrect uses of many locale-specific functions like
      	g_strcasecmp and isspace.
      f6cff97c
  6. 06 Nov, 2001 1 commit
  7. 04 Nov, 2001 1 commit
  8. 28 Oct, 2001 1 commit
  9. 11 Jul, 2001 1 commit
    • Darin Adler's avatar
      Fix code that was using <ctype.h> functions and passing char's rather than · 800e4fc1
      Darin Adler authored
      	* components/help/converters/gnome-info2html2/html.c:
      	(write_menu_entry_html):
      	* components/help/converters/gnome-man2html2/gnome-man2html.c:
      	(add_links), (scan_escape), (scan_format), (scan_table),
      	(scan_expression), (scan_request), (scan_troff),
      	(scan_troff_mandoc), (main):
      	* src/nautilus-first-time-druid.c: (load_netscape_proxy_settings):
      	* src/nautilus-property-browser.c: (emblem_keyword_valid):
      	Fix code that was using <ctype.h> functions and passing char's
      	rather than int's (using the standard "cast to unsigned char"
      	trick).
      
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_denies_access_permission),
      	(nautilus_file_can_set_permissions), (nautilus_file_set_owner),
      	(nautilus_file_get_group_name), (nautilus_file_can_set_group),
      	(nautilus_file_get_settable_group_names),
      	(nautilus_file_set_group):
      	Get rid of the assumption that GnomeVFSFileInfo field types match
      	the platform-specific uid_t and gid_t. This involves doing a few
      	more type casts.
      	(nautilus_extract_top_left_text): Fix a use of isprint on a char
      	rather than an int.
      
      	* libnautilus-private/nautilus-volume-monitor.c: Added ifdefs so
      	this file can compile for Solaris without warnings.
      
      	* test/test.c: (test_window_set_title_with_pid): Don't assume that
      	getpid() returns an int. Instead cast it to unsigned long for
      	printing.
      800e4fc1
  10. 04 May, 2001 2 commits
  11. 02 May, 2001 2 commits
    • Ramiro Estrugo's avatar
      Lots of improvement. Make dealing with dependency libs/cflags simpler. · 60b832fd
      Ramiro Estrugo authored
      	* configure.in:
      	Lots of improvement.  Make dealing with dependency libs/cflags simpler.
      
      	* applets/launcher/Makefile.am:
      	* applets/preferences-applet/Makefile.am:
      	* components/adapter/Makefile.am:
      	* components/hardware/Makefile.am:
      	* components/help/Makefile.am:
      	* components/history/Makefile.am:
      	* components/image-viewer/Makefile.am:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/music/Makefile.am:
      	* components/news/Makefile.am:
      	* components/notes/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/text/Makefile.am:
      	* components/throbber/Makefile.am:
      	* components/tree/Makefile.am:
      	* helper-utilities/error-dialog/Makefile.am:
      	* icons/arlo/throbber/Makefile.am:
      	* icons/crux_eggplant/backgrounds/Makefile.am:
      	* icons/crux_eggplant/sidebar_tab_pieces/Makefile.am:
      	* icons/crux_eggplant/throbber/Makefile.am:
      	* icons/gnome/throbber/Makefile.am:
      	* icons/sidebar_tab_pieces/Makefile.am:
      	* libnautilus-adapter/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	* test/Makefile.am:
      	Eliminate cut-n-paste disease by using dependency macros defined
      	in configure.in.
      60b832fd
    • Ramiro Estrugo's avatar
      Use NAUTILUS_VERSION_INSIST from hack-macros instead of · 6e7d921c
      Ramiro Estrugo authored
      2001-05-01  Ramiro Estrugo  <ramiro@eazel.com>
      
      	    * configure.in:
      	    Use NAUTILUS_VERSION_INSIST from hack-macros instead of
      	    EAZEL_VERSION_INSIST.
      
      2001-05-01  Ramiro Estrugo  <ramiro@eazel.com>
      
      	    * applets/launcher/Makefile.am:
      	    * applets/preferences-applet/Makefile.am:
      	    * components/adapter/Makefile.am:
      	    * components/hardware/Makefile.am:
      	    * components/help/Makefile.am:
      	    * components/history/Makefile.am:
      	    * components/image-viewer/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/sample/Makefile.am:
      	    * components/text/Makefile.am:
      	    * components/throbber/Makefile.am:
      	    * components/tree/Makefile.am:
      	    * configure.in:
      	    * libnautilus-extensions/Makefile.am:
      	    * libnautilus/Makefile.am:
      	    * src/Makefile.am:
      	    * src/file-manager/Makefile.am:
      	    * test/Makefile.am:
      	    Patch from Christopher Lahey <clahey@ximian.com>.
      	    Use EEL_CFLAGS, LIBRSVG_CFLAGS instead of EEL_INCLUDEDIR, and
      	    EEL_CFLAGS.  Thanks Chris.
      6e7d921c
  12. 30 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Change parameters for functions that accept and return ArtIRect, · 1260bbb9
      Ramiro Estrugo authored
      	* components/news/nautilus-news.c:
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	* libnautilus-extensions/nautilus-icon-canvas-item.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	* src/file-manager/fm-list-view.c:
      	* src/nautilus-about.c:
      	* test/test.c:
      	Change parameters for functions that accept and return ArtIRect,
      	EelArtIPoint, ArtDRect, EelDimensions to pass by value instead of
      	by pointer.
      1260bbb9
  13. 23 Apr, 2001 1 commit
  14. 04 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Remove librsvg. · fbbaf803
      Ramiro Estrugo authored
      	* Makefile.am:
      	Remove librsvg.
      
      	* librsvg/.cvsignore:
      	* librsvg/Makefile.am:
      	* librsvg/art_render.c:
      	* librsvg/art_render.h:
      	* librsvg/art_render_gradient.c:
      	* librsvg/art_render_gradient.h:
      	* librsvg/art_render_mask.c:
      	* librsvg/art_render_mask.h:
      	* librsvg/art_render_svp.c:
      	* librsvg/art_render_svp.h:
      	* librsvg/art_rgba.c:
      	* librsvg/art_rgba.h:
      	* librsvg/example-nested-transform.svg:
      	* librsvg/makefile-simple:
      	* librsvg/opacity.svg:
      	* librsvg/rsvg-bpath-util.c:
      	* librsvg/rsvg-bpath-util.h:
      	* librsvg/rsvg-css.c:
      	* librsvg/rsvg-css.h:
      	* librsvg/rsvg-defs.c:
      	* librsvg/rsvg-defs.h:
      	* librsvg/rsvg-ft.c:
      	* librsvg/rsvg-ft.h:
      	* librsvg/rsvg-paint-server.c:
      	* librsvg/rsvg-paint-server.h:
      	* librsvg/rsvg-path.c:
      	* librsvg/rsvg-path.h:
      	* librsvg/rsvg.c:
      	* librsvg/rsvg.h:
      	* librsvg/subpixel-text-test:
      	* librsvg/test-ft-gtk.c:
      	* librsvg/test-ft.c:
      	* librsvg/test-rsvg.c:
      	* librsvg/test.svg:
      	Move librsvg to its own top level GNOME CVS module.
      
      	* configure.in:
      	Add librsvg and eel dependencies.
      	Remove librsvg and font entries.
      
      	* nautilus.spec.in:
      	Remove font entries.  Add librsvg and eel requirements.
      
      	* data/Makefile.am:
      	* data/fonts/.cvsignore:
      	* data/fonts/Makefile.am:
      	* data/fonts/urw/.cvsignore:
      	* data/fonts/urw/Makefile.am:
      	* data/fonts/urw/README:
      	* data/fonts/urw/fonts.dir:
      	* data/fonts/urw/n019003l.afm:
      	* data/fonts/urw/n019003l.pfb:
      	* data/fonts/urw/n019003l.pfm:
      	* data/fonts/urw/n019004l.afm:
      	* data/fonts/urw/n019004l.pfb:
      	* data/fonts/urw/n019004l.pfm:
      	* data/fonts/urw/n019023l.afm:
      	* data/fonts/urw/n019023l.pfb:
      	* data/fonts/urw/n019023l.pfm:
      	* data/fonts/urw/n019024l.afm:
      	* data/fonts/urw/n019024l.pfb:
      	* data/fonts/urw/n019024l.pfm:
      	Retire default fonts.  These now live in eel.
      
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_destroy):
      	* libnautilus/nautilus-view.c: (nautilus_view_destroy):
      	Update for eel changes.  Use eel-gtk-macros.
      
      	* nautilus-installer/src/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_destroy),
      	(nautilus_druid_page_eazel_finalize),
      	(nautilus_druid_page_eazel_size_allocate),
      	(nautilus_druid_page_eazel_size_request):
      	Update for eel changes.  Use eel-gtk-macros.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-bonobo-extensions.c:
      	* libnautilus-extensions/nautilus-bonobo-extensions.h:
      	* libnautilus-extensions/nautilus-bookmark.c:
      	* libnautilus-extensions/nautilus-ctree.c:
      	* libnautilus-extensions/nautilus-customization-data.c:
      	* libnautilus-extensions/nautilus-dateedit-extensions.c:
      	* libnautilus-extensions/nautilus-dateedit-extensions.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	* libnautilus-extensions/nautilus-directory-background.c:
      	* libnautilus-extensions/nautilus-directory-background.h:
      	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	* libnautilus-extensions/nautilus-directory.c:
      	* libnautilus-extensions/nautilus-drag-window.c:
      	* libnautilus-extensions/nautilus-drag.c:
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	* libnautilus-extensions/nautilus-druid.c:
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	* libnautilus-extensions/nautilus-file-operations.c:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	* libnautilus-extensions/nautilus-file.c:
      	* libnautilus-extensions/nautilus-font-factory.c:
      	* libnautilus-extensions/nautilus-gconf-extensions.c:
      	* libnautilus-extensions/nautilus-generous-bin.c:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	* libnautilus-extensions/nautilus-icon-canvas-item.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	* libnautilus-extensions/nautilus-icon-container.h:
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	* libnautilus-extensions/nautilus-icon-factory.h:
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	* libnautilus-extensions/nautilus-link-set.c:
      	* libnautilus-extensions/nautilus-link.c:
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	* libnautilus-extensions/nautilus-list.c:
      	* libnautilus-extensions/nautilus-medusa-support.c:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	* libnautilus-extensions/nautilus-metafile-factory.c:
      	* libnautilus-extensions/nautilus-metafile.c:
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	* libnautilus-extensions/nautilus-preferences-group.c:
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	* libnautilus-extensions/nautilus-preferences.c:
      	* libnautilus-extensions/nautilus-preferences.h:
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	* libnautilus-extensions/nautilus-program-choosing.h:
      	* libnautilus-extensions/nautilus-search-uri.c:
      	* libnautilus-extensions/nautilus-sidebar-functions.c:
      	* libnautilus-extensions/nautilus-tabs.c:
      	* libnautilus-extensions/nautilus-theme.c:
      	* libnautilus-extensions/nautilus-thumbnails.c:
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	* libnautilus-extensions/nautilus-trash-file.c:
      	* libnautilus-extensions/nautilus-trash-monitor.c:
      	* libnautilus-extensions/nautilus-undo-context.c:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	Use new eel library.
      
      	* libnautilus-extensions/nautilus-art-extensions.c:
      	* libnautilus-extensions/nautilus-art-extensions.h:
      	* libnautilus-extensions/nautilus-art-gtk-extensions.c:
      	* libnautilus-extensions/nautilus-art-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	* libnautilus-extensions/nautilus-background-canvas-group.h:
      	* libnautilus-extensions/nautilus-background.c:
      	* libnautilus-extensions/nautilus-background.h:
      	* libnautilus-extensions/nautilus-caption-table.c:
      	* libnautilus-extensions/nautilus-caption-table.h:
      	* libnautilus-extensions/nautilus-caption.c:
      	* libnautilus-extensions/nautilus-caption.h:
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	* libnautilus-extensions/nautilus-clickable-image.h:
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	* libnautilus-extensions/nautilus-debug-drawing.h:
      	* libnautilus-extensions/nautilus-debug.c:
      	* libnautilus-extensions/nautilus-debug.h:
      	* libnautilus-extensions/nautilus-ellipsizing-label.c:
      	* libnautilus-extensions/nautilus-ellipsizing-label.h:
      	* libnautilus-extensions/nautilus-enumeration.c:
      	* libnautilus-extensions/nautilus-enumeration.h:
      	* libnautilus-extensions/nautilus-font-manager.c:
      	* libnautilus-extensions/nautilus-font-manager.h:
      	* libnautilus-extensions/nautilus-font-picker.c:
      	* libnautilus-extensions/nautilus-font-picker.h:
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-extensions.h:
      	* libnautilus-extensions/nautilus-gdk-font-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-font-extensions.h:
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glyph.c:
      	* libnautilus-extensions/nautilus-glyph.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-graphic-effects.c:
      	* libnautilus-extensions/nautilus-graphic-effects.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	* libnautilus-extensions/nautilus-image-table.c:
      	* libnautilus-extensions/nautilus-image-table.h:
      	* libnautilus-extensions/nautilus-image-with-background.c:
      	* libnautilus-extensions/nautilus-image-with-background.h:
      	* libnautilus-extensions/nautilus-image.c:
      	* libnautilus-extensions/nautilus-image.h:
      	* libnautilus-extensions/nautilus-label-with-background.c:
      	* libnautilus-extensions/nautilus-label-with-background.h:
      	* libnautilus-extensions/nautilus-label.c:
      	* libnautilus-extensions/nautilus-label.h:
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	* libnautilus-extensions/nautilus-labeled-image.h:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	* libnautilus-extensions/nautilus-password-dialog.h:
      	* libnautilus-extensions/nautilus-radio-button-group.c:
      	* libnautilus-extensions/nautilus-radio-button-group.h:
      	* libnautilus-extensions/nautilus-region.c:
      	* libnautilus-extensions/nautilus-region.h:
      	* libnautilus-extensions/nautilus-scalable-font-private.h:
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-self-checks.c:
      	* libnautilus-extensions/nautilus-self-checks.h:
      	* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
      	* libnautilus-extensions/nautilus-smooth-text-layout-cache.h:
      	* libnautilus-extensions/nautilus-smooth-text-layout.c:
      	* libnautilus-extensions/nautilus-smooth-text-layout.h:
      	* libnautilus-extensions/nautilus-smooth-widget.c:
      	* libnautilus-extensions/nautilus-smooth-widget.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-string-list.c:
      	* libnautilus-extensions/nautilus-string-list.h:
      	* libnautilus-extensions/nautilus-string-map.c:
      	* libnautilus-extensions/nautilus-string-map.h:
      	* libnautilus-extensions/nautilus-string-picker.c:
      	* libnautilus-extensions/nautilus-string-picker.h:
      	* libnautilus-extensions/nautilus-string.c:
      	* libnautilus-extensions/nautilus-string.h:
      	* libnautilus-extensions/nautilus-text-caption.c:
      	* libnautilus-extensions/nautilus-text-caption.h:
      	* libnautilus-extensions/nautilus-viewport.c:
      	* libnautilus-extensions/nautilus-viewport.h:
      	* libnautilus-extensions/nautilus-wrap-table.c:
      	* libnautilus-extensions/nautilus-wrap-table.h:
      	* libnautilus-extensions/nautilus-xml-extensions.c:
      	* libnautilus-extensions/nautilus-xml-extensions.h:
      	Remove these files.  These are all part of eel now.
      
      	* applets/launcher/nautilus-launcher-applet.c:
      	* applets/preferences-applet/nautilus-preferences-applet.c:
      	* components/adapter/Makefile.am:
      	* components/adapter/main.c:
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	* components/adapter/nautilus-adapter-factory-server.c:
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	* components/adapter/nautilus-adapter.c:
      	* components/hardware/Makefile.am:
      	* components/hardware/nautilus-hardware-view.c:
      	* components/help/Makefile.am:
      	* components/help/help-method.c:
      	* components/help/hyperbola-filefmt.c:
      	* components/help/hyperbola-nav-tree.c:
      	* components/history/Makefile.am:
      	* components/history/nautilus-history-view.c:
      	* components/image-viewer/Makefile.am:
      	* components/image-viewer/nautilus-image-view.c:
      	* components/loser/content/Makefile.am:
      	* components/loser/content/nautilus-content-loser.c:
      	* components/loser/sidebar/Makefile.am:
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	* components/mozilla/Makefile.am:
      	* components/mozilla/bonobo-extensions.c:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* components/music/Makefile.am:
      	* components/music/nautilus-music-view.c:
      	* components/notes/Makefile.am:
      	* components/notes/nautilus-notes.c:
      	* components/rpmview/Makefile.am:
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	* components/rpmview/nautilus-rpm-view-install.c:
      	* components/rpmview/nautilus-rpm-view.c:
      	* components/sample/nautilus-sample-content-view.c:
      	* components/services/install-view/Makefile.am:
      	* components/services/install-view/callbacks.c:
      	* components/services/install-view/forms.c:
      	* components/services/install-view/nautilus-service-install-view.c:
      	* components/services/install/lib/eazel-install-logic2.c:
      	* components/services/install/server/main.c:
      	* components/services/inventory-view/Makefile.am:
      	* components/services/inventory-view/nautilus-inventory-config-page
      	.c:
      	* components/services/inventory-view/nautilus-inventory-disable-pag
      	* components/services/inventory-view/nautilus-inventory-enable-page
      	* components/services/inventory-view/nautilus-inventory-view.c:
      	* components/services/inventory/Makefile.am:
      	* components/services/inventory/eazel-inventory-upload-callback.c:
      	* components/services/inventory/eazel-inventory.c:
      	* components/services/inventory/main.c:
      	* components/services/login/nautilus-view/Makefile.am:
      	* components/services/login/nautilus-view/nautilus-change-password-
      	view.c:
      	* components/services/login/nautilus-view/password-box.c:
      	* components/services/nautilus-dependent-shared/Makefile.am:
      	* components/services/nautilus-dependent-shared/eazel-services-exte
      	nsions.c:
      	* components/services/nautilus-dependent-shared/eazel-services-exte
      	nsions.h:
      	* components/services/nautilus-dependent-shared/eazel-services-foot
      	er.c:
      	* components/services/nautilus-dependent-shared/eazel-services-head
      	er.c:
      	* components/services/nautilus-dependent-shared/test-footer-header.
      	c:
      	* components/services/summary/Makefile.am:
      	* components/services/summary/nautilus-summary-callbacks.c:
      	* components/services/summary/nautilus-summary-dialogs.c:
      	* components/services/summary/nautilus-summary-dialogs.h:
      	* components/services/summary/nautilus-summary-footer.c:
      	* components/services/summary/nautilus-summary-menu-items.c:
      	* components/services/summary/nautilus-summary-view-private.h:
      	* components/services/summary/nautilus-summary-view.c:
      	* components/services/time/nautilus-view/main.c:
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.
      	c:
      	* components/services/trilobite/sample/nautilus-view/Makefile.am:
      	* components/text/Makefile.am:
      	* components/text/nautilus-text-view.c:
      	* components/throbber/Makefile.am:
      	* components/throbber/main.c:
      	* components/throbber/nautilus-throbber.c:
      	* components/tree/Makefile.am:
      	* components/tree/nautilus-tree-change-queue.c:
      	* components/tree/nautilus-tree-expansion-state.c:
      	* components/tree/nautilus-tree-model.c:
      	* components/tree/nautilus-tree-node.c:
      	* components/tree/nautilus-tree-view-dnd.c:
      	* components/tree/nautilus-tree-view.c:
      	* helper-utilities/authenticate/Makefile.am:
      	* helper-utilities/authenticate/nautilus-authenticate.c:
      	* nautilus-installer/src/nautilus-druid.c:
      	* src/Makefile.am:
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-error-reporting.c:
      	* src/file-manager/fm-icon-text-window.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	* src/nautilus-about.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmark-parsing.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-component-adapter-factory.c:
      	* src/nautilus-desktop-window.c:
      	* src/nautilus-first-time-druid.c:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-main.c:
      	* src/nautilus-navigation-bar.c:
      	* src/nautilus-profiler.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-search-bar-criterion.c:
      	* src/nautilus-search-bar.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-tabs.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-signaller.c:
      	* src/nautilus-simple-search-bar.c:
      	* src/nautilus-switchable-navigation-bar.c:
      	* src/nautilus-switchable-search-bar.c:
      	* src/nautilus-theme-selector.c:
      	* src/nautilus-view-frame-corba.c:
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window-toolbars.c:
      	* src/nautilus-window.c:
      	* src/nautilus-window.h:
      	* src/nautilus-zoom-control.c:
      	Update for new eel library usage.
      
      	* test/test-nautilus-background.c:
      	* test/test-nautilus-clickable-image.c:
      	* test/test-nautilus-font-manager.c:
      	* test/test-nautilus-font-picker.c:
      	* test/test-nautilus-font-simple.c:
      	* test/test-nautilus-font.c:
      	* test/test-nautilus-glyph-simple.c:
      	* test/test-nautilus-glyph.c:
      	* test/test-nautilus-image-background.c:
      	* test/test-nautilus-image-scrolled.c:
      	* test/test-nautilus-image-simple.c:
      	* test/test-nautilus-image-table.c:
      	* test/test-nautilus-image-tile.c:
      	* test/test-nautilus-image.c:
      	* test/test-nautilus-label-background.c:
      	* test/test-nautilus-label-flavorful.c:
      	* test/test-nautilus-label-offset.c:
      	* test/test-nautilus-label-scrolled.c:
      	* test/test-nautilus-label-simple.c:
      	* test/test-nautilus-label-wrapped.c:
      	* test/test-nautilus-label.c:
      	* test/test-nautilus-labeled-image.c:
      	* test/test-nautilus-password-dialog.c:
      	* test/test-nautilus-pixbuf-tile.c:
      	* test/test-nautilus-smooth-text-layout.c:
      	* test/test-nautilus-viewport-constraint.c:
      	* test/test-nautilus-widgets.c:
      	Remove these.  They live in eel now.
      
      	* test/vsignore:
      	* test/kefile.am:
      	* test/st-nautilus-preferences-change.c:
      	* test/st-nautilus-preferences-display.c:
      	* test/st-nautilus-wrap-table.c:
      	* test/st.c:
      	* test/st.h:
      	Update for new eel library usage.
      fbbaf803
  15. 28 Mar, 2001 1 commit
    • Ramiro Estrugo's avatar
      Fix bugs: · f7170ace
      Ramiro Estrugo authored
      	7343 - Fonts checks should work even when nautilus has not
      	undergone 'make install'
      
      	7703 - index status dialog is mixing gnome dialog font and
      	nautilus custom font
      
      	7204 - Need a better way to pick a fallback font
      
      	1102 - Embedded text should use preferences to determine the font
      	it uses
      
      	7357 - Preferences dialog spews critical in the ja_JP locale
      
      	7344 - NautilusScalable should not be doing any preferences
      	peeking
      
      	7345 - Default font "helvetica" hard coded and marked for
      	translatation in many places
      
      	7834 - Should mark selected style in font picker menu
      
      	5239 - Please make the text viewer use a fixed-width font
      
      	7401 - Non smooth font family picker should have a "GTK System
      	Font" entry
      
      	Work in progress for related bugs:
      
      	5101 - font sizes hard-coded in icon view
      	5456 - Sidebar tabs use hard coded font families
      	7670 - Font size is small in list view.
      
      	reviewed by: Glynn Foster <glynn.foster@ireland.sun.com>
      
      	* components/notes/nautilus-notes.c: (make_notes_view):
      	Dont translate the font name.
      
      	* components/text/nautilus-text-view-ui.xml:
      	Add default and fixed entries.
      
      	* components/text/nautilus-text-view.c:
      	(nautilus_text_view_initialize_class),
      	(nautilus_text_view_initialize), (nautilus_text_view_destroy),
      	(nautilus_text_view_update_font), (handle_ui_event),
      	(merge_bonobo_menu_items), (nautilus_text_view_zoom_to_level),
      	(zoomable_zoom_to_fit_callback), (font_changed_callback):
      	Dont store the font name and size.  Compute these as needed.  Use
      	deltas instead of hard coded font sizes to compute the font size
      	for a given zoom level.  Store the font changes in preferences.
      
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_initialize), (nautilus_caption_set_title_label),
      	(nautilus_caption_get_title_label),
      	(nautilus_caption_get_title_label_width),
      	(nautilus_caption_set_child), (nautilus_caption_set_spacing):
      	* libnautilus-extensions/nautilus-caption.h:
      	Add support for nice caption alignments.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(add_preferences_callbacks), (remove_preferences_callbacks):
      	A bit of a hack.  Keep track of changes in the default smooth font
      	so that embedded icon text previews can be updated as needed.
      
      	* libnautilus-extensions/nautilus-font-factory.c:
      	(nautilus_font_factory_get_font_by_family),
      	A temporary hack for default system font usage.  In a future
      	checkin this will not be needed anymore.
      
      	(nautilus_font_factory_get_font_from_preferences):
      	Dont translate font names anymore.
      
      	* libnautilus-extensions/nautilus-font-manager.c:
      	(font_description_new), (font_description_free),
      	(font_description_get_char_set), (font_description_table_for_each),
      	(font_list_find_bold_callback), (get_test_font_dir),
      	(nautilus_self_check_font_manager):
      	* libnautilus-extensions/nautilus-font-manager.h:
      	Merge char_set_registry and char_set_encoding into one string
      	'char_set.'  Make the font checks work even if nautilus has not
      	undergone 'make install'
      
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
      	(font_picker_populate), (font_make_style_name),
      	(font_style_entry_new), (compare_style),
      	(global_font_list_populate_callback):
      	* libnautilus-extensions/nautilus-font-picker.h:
      	Sublcass the font picker from NautilusCaption so that it will
      	nicely align in the preferences dialog.
      	Mark selected style in font picker menus by using radio buttons.
      	Fix a storage leak on destruction.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_compare_integer), (nautilus_self_check_glib_extensions):
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	New GCompare function for integers.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_install_defaults),
      	(global_preferences_create_dialog),
      	(global_preferences_create_search_pane),
      	(global_preferences_create_sidebar_panels_pane),
      	(global_preferences_pane_update_callback),
      	(global_preferences_get_dialog),
      	(global_preferences_install_sidebar_panel_defaults),
      	(global_preferences_make_sidebar_panel_key),
      	(global_preferences_is_sidebar_panel_enabled),
      	(global_preferences_install_home_location_defaults),
      	(global_preferences_install_font_defaults),
      	(global_preferences_install_medusa_defaults),
      	(global_preferences_populate_pane),
      	(global_preferences_get_smooth_font),
      	(global_preferences_get_smooth_bold_font),
      	(nautilus_global_preferences_get_icon_view_smooth_font),
      	(nautilus_global_preferences_get_default_smooth_font),
      	(nautilus_global_preferences_get_default_smooth_bold_font),
      	(nautilus_global_preferences_initialize):
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	Simplify the creation of preferences by using structures to
      	describe both preferences and preference fialog entries.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_get_system_font):
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	New function to obtain the "Gtk System Font."
      
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_initialize_class),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg),
      	(nautilus_icon_canvas_item_set_smooth_font_size):
      	* libnautilus-extensions/nautilus-icon-canvas-item.h:
      	Use signed integers for the font dimensions.
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_initialize),
      	(nautilus_icon_container_update_icon),
      	(nautilus_icon_container_theme_changed),
      	(nautilus_icon_container_set_font_size_table):
      	* libnautilus-extensions/nautilus-icon-container.h:
      	* libnautilus-extensions/nautilus-icon-private.h:
      	Dont translate the font names.  Rename the font size table to
      	better reflect its purpose.  Use signed integers for font sizes.
      
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(embedded_text_font_changed_callback), (embedded_text_font_free),
      	(embed_text):
      	Keep track of changes in the smooth font used for embedded text so
      	that the icon text previews will update as needed.
      
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_find_pane):
      	* libnautilus-extensions/nautilus-preferences-box.h:
      	New function to find a named pane.
      
      	* libnautilus-extensions/nautilus-preferences-group.c:
      	(preferences_group_align_captions),
      	(nautilus_preferences_group_update),
      	(nautilus_preferences_group_get_title_label):
      	* libnautilus-extensions/nautilus-preferences-group.h:
      	Add support for aligning captions.
      
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(nautilus_preferences_item_initialize),
      	(preferences_item_construct), (preferences_item_update_enum),
      	(preferences_item_create_enum),
      	(preferences_item_update_short_enum),
      	(preferences_item_create_short_enum),
      	(preferences_item_update_boolean),
      	(preferences_item_create_boolean),
      	(preferences_item_update_editable_string),
      	(preferences_item_create_editable_string),
      	(preferences_item_update_editable_integer),
      	(preferences_item_create_editable_integer),
      	(preferences_item_update_constrained_integer),
      	(preferences_item_create_constrained_integer),
      	(preferences_item_update_font), (preferences_item_create_font),
      	(preferences_item_update_smooth_font),
      	(preferences_item_create_smooth_font),
      	(nautilus_preferences_item_new),
      	(enum_radio_group_changed_callback),
      	(boolean_button_toggled_callback), (font_item_changed_callback),
      	(editable_string_changed_callback),
      	(editable_integer_changed_callback),
      	(constrained_integer_changed_callback),
      	(nautilus_preferences_item_update_displayed_value),
      	(preferences_item_update_editable_integer_settings_at_idle),
      	(nautilus_preferences_item_get_control_showing),
      	(nautilus_preferences_item_set_constrained_integer_paramaters),
      	(nautilus_preferences_item_child_is_caption),
      	(nautilus_preferences_item_get_caption_title_label_width),
      	(nautilus_preferences_item_set_caption_spacing):
      	* libnautilus-extensions/nautilus-preferences-item.h:
      	Add a new CONSTRAINED INTEGER item type.  Add support for aligning
      	captions.
      	Dont translate font names.
      
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_add_group),
      	(nautilus_preferences_pane_add_item_to_nth_group),
      	(nautilus_preferences_pane_get_num_visible_groups),
      	(nautilus_preferences_pane_get_num_groups),
      	(nautilus_preferences_pane_find_group):
      	* libnautilus-extensions/nautilus-preferences-pane.h:
      	Add a function for finding a named group.
      
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_get_default_font),
      	(nautilus_scalable_font_get_default_bold_font):
      	Dont peek preferences for the default fonts.  These are now
      	handled in nautilus-global-preferences.
      
      	* libnautilus-extensions/nautilus-smooth-text-layout.c:
      	(smooth_text_layout_line_list_new),
      	(smooth_text_layout_line_list_new_wrapped),
      	(nautilus_smooth_text_layout_new),
      	(nautilus_smooth_text_layout_set_font_size):
      	Use signed integers for font sizes.
      
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_initialize),
      	(nautilus_string_picker_set_string_list):
      	Update for Caption superclass changes.  Dont make singleton
      	choices insensitive.
      
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_initialize):
      	* libnautilus-extensions/nautilus-text-caption.h:
      	Update for Caption superclass changes.  Fix errors in header comments.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize), (fm_directory_view_destroy):
      	* src/file-manager/fm-directory-view.h:
      	Remove knowledge of font stuff.  The fonts for icon and list view
      	are now handled separately so each subclass will have to do its
      	own preferences listening.
      
      	* src/file-manager/fm-icon-view.c: (set_sort_criterion_by_id),
      	(font_changed_callback), (smooth_font_changed_callback),
      	(standard_font_size_changed_callback),
      	(fm_icon_view_initialize_class), (fm_icon_view_initialize),
      	(fm_icon_view_update_icon_container_font_size_table),
      	(fm_icon_view_update_icon_container_smooth_font),
      	(create_icon_container):
      	Keep track of icon view font changes.  Use deltas to compute the
      	font sizes instead of hard coded point sizes.
      
      	* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
      	(fm_list_view_initialize), (fm_list_view_update_font),
      	(font_or_font_size_changed_callback),
      	(fm_list_view_image_display_policy_changed):
      	Keep track of list view font changes.  Use deltas to compute the
      	font sizes instead of hard coded point sizes.
      
      	* src/file-manager/nautilus-indexing-info.c:
      	(last_index_time_and_reindex_button_dialog_new),
      	(index_progress_dialog_new):
      	Dont use smooth labels mixed in with regular gtk labels.
      
      	* src/nautilus-sidebar-tabs.c:
      	(nautilus_sidebar_tabs_load_theme_data),
      	(smooth_font_changed_callback), (nautilus_sidebar_tabs_initialize),
      	(nautilus_sidebar_tabs_destroy):
      	Add macros and FIXME for hard coded font size.  NULL out the tab_font
      	when its unreffed, otherwise all hell breaks lose when user level
      	changes.  Update for default font changes.
      
      	* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
      	(nautilus_sidebar_title_initialize),
      	(nautilus_sidebar_title_destroy), (update_font):
      	Keep track of smooth font changes.  Update for default font changes.
      
      	* test/test-nautilus-font-manager.c: (font_iterator_callback):
      	* test/test-nautilus-font-picker.c: (update_font),
      	(print_selected_font_callback), (main):
      	* test/test-nautilus-label-simple.c: (use_system_font_callback),
      	(use_system_font_bold_callback), (main):
      	Update for font picker and font manager changes.
      f7170ace
  16. 21 Mar, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 88b3ea09
      Ramiro Estrugo authored
      	Fix a bunch of font bugs that dropped of the 1.0 plate.
      
      	7371 - Fonts in font pickers are in no particular order
      	7387 - Font selection defaults to bold for some fonts
      	7421 - Font option menu in "Appearances" too long for screen
      	7473 - Switching off "smooth graphics" leaves font family grouping
      	7486 - Font style menu disabled when it shouldn't be
      	7487 - Would be nice if font styles were submenus
      	7718 - 'cursor' font doesn't display
      
      	* libnautilus-extensions/nautilus-art-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-art-gtk-extensions.c:
      	(nautilus_screen_get_dimensions): Fix a really silly typo.
      	(nautilus_gtk_widget_get_dimensions): Make the documentation a
      	little better.
      	(nautilus_gtk_widget_get_preferred_dimensions): New function to
      	get a widget's preferred dimensions.
      
      	* libnautilus-extensions/nautilus-font-manager.c:
      	(font_description_new): Use consistent variable names.  Set a
      	'is_ignored' flag if the font is ignored.
      	(font_description_free): Use consistent variable names.
      	(font_description_table_find): Ignore black listed fonts.
      	(font_description_table_for_each): Ignore black listed fonts.
      	(font_directory_is_ignored): Put constants on top of file.
      	(font_foundry_is_ignored), (font_family_is_ignored): New functions
      	to check for specific black listed font foundries and/or families.
      	(ensure_local_font_table): Rename to 'local' from 'global' - this
      	is something i need for a future change where the font manager
      	will be able to handle both 'local' and 'server' fonts.
      	Move the font ignoring code from nautilus-font-picker.c here so
      	that it is in one place.
      
      	* libnautilus-extensions/nautilus-font-picker.h:
      	Subclass it from GtkHBox instead of GtkVBox now that it is not as
      	wide.
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(option_menu_button_press_event), (menu_deactivate),
      	(nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
      	(style_menu_item_activate_callback),
      	(style_menu_item_button_release_event), (font_picker_add_item),
      	(font_picker_populate), (font_make_name), (font_make_style_name),
      	(font_slant_string_to_enum), (font_set_width_string_to_enum),
      	(font_style_entry_new), (font_style_entry_free),
      	(compare_font_entry), (global_font_list_get), (compare_int),
      	(compare_style), (global_font_list_populate_callback),
      	(nautilus_gtk_menu_shell_get_num_items),
      	(font_picker_get_selected_style_entry),
      	(font_picker_find_entries_for_font),
      	(font_picker_get_index_for_entry), (nautilus_font_picker_new),
      	(nautilus_font_picker_get_selected_font),
      	(nautilus_font_picker_set_selected_font):
      	Move the black listed font code into the font manager.  Use option
      	menus directly instead of NautilusStringPickers.  Put the style
      	choices in cascading submenus.  Deal with the case when too many
      	choices dont fit on the screen.
      
      	* test/test-nautilus-font-manager.c:
      	* test/test-nautilus-font-picker.c:
      	Update for font picker changes.
      88b3ea09
  17. 05 Mar, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 24faaf92
      Ramiro Estrugo authored
      		      Maciej Stachowiak  <mjs@eazel.com>
      
      		      Bugs:
      
      		      6368 - Multibyte font handling in non smooth mode.
      		      2673 - Need to hook up the new font picker to nautilus
      		      1274 - Add support for picking a custom font
      
      		      * components/history/Makefile.am:
      		      * components/history/nautilus-history-view.c: (main):
      		      Initialize gettext for the history component so it can display
      		      localized strings.
      
      		      * components/notes/nautilus-notes.c: (make_notes_view):
      		      Set the notes widget font from preferences so it can be properly
      		      localized.
      
      		      * components/text/nautilus-text-view.c:
      		      (nautilus_text_view_set_font):
      		      Use the localized font name to make this work in locales other
      		      than the default.
      
      		      * libnautilus-extensions/Makefile.am:
      		      Add a macro for finding data on the source tree for the situation
      		      when 'make install' has not be run.
      
      		      * libnautilus-extensions/nautilus-font-factory.c:
      		      (nautilus_font_factory_get_font_by_family): Workaround the problem
      		      that fully qualified localized fonts were being processed
      		      incorrectly.  We simply leave them alone now.
      		      (nautilus_font_factory_get_font_from_preferences): Use the
      		      localized font string to make this work on more locales.
      
      		      * libnautilus-extensions/nautilus-font-manager.h:
      		      * libnautilus-extensions/nautilus-font-manager.c:
      		      (font_description_table_find): New function to find a description
      		      in a table.
      		      (font_description_table_for_each): Change the return value to a
      		      boolean to indicate whether to stop the iteration or not.  Switch
      		      the order of an assert and assigned.
      		      (collect_fonts_from_directory): Use macros for the mime type
      		      strings.
      		      (font_ignore_directory): Add more directories to ignore.
      		      (font_manager_collect_font_tables): Change prepend to append to
      		      get fonts in a better order (fallback and user fonts first)
      		      , (font_table_list_find),
      		      (free_font_tables), (ensure_global_font_table),
      		      (nautilus_font_manager_for_each_font): Use just one global table
      		      for all fonts instead of 3.
      		      (nautilus_font_manager_get_default_font): Compute the default
      		      dynamically to take user choices into account.  Make it work on
      		      non installed nautilus builds.
      		      (nautilus_font_manager_get_default_bold_font): Same as above for a
      		      bold font.
      		      (nautilus_font_manager_file_is_scalable_font): New function to
      		      check that a file is really a scalable font:
      		      (font_list_find_bold_callback), (nautilus_font_manager_get_bold),
      		      (nautilus_font_manager_weight_is_bold): New functions to find a
      		      bold font in the global tables.
      		      (nautilus_self_check_font_manager): Make it work on not installed
      		      nautilus builds and remove the hack where checks would on run for
      		      the "ramiro" user.
      
      		      * libnautilus-extensions/nautilus-font-picker.c:
      		      (nautilus_font_picker_initialize), (font_list_find),
      		      (font_picker_update_styles), (font_picker_populate),
      		      (font_picker_font_changed_callback),
      		      (font_picker_style_changed_callback), (font_find_style),
      		      (ignore_font), (font_make_name), (font_make_style),
      		      (global_font_list_free), (font_list_count_families),
      		      (global_font_list_get), (global_font_list_populate_callback),
      		      (nautilus_font_picker_get_selected_font),
      		      (nautilus_font_picker_set_selected_font):
      		      Make the font list global and not per widget instance.  Use better
      		      labels for the font styles.  Use better labels for font names
      		      (foundry and family vs just family depending on how many families
      		      of the same font are found)
      
      		      * libnautilus-extensions/nautilus-global-preferences.h:
      		      * libnautilus-extensions/nautilus-global-preferences.c:
      		      (global_preferences_install_font_defaults): Add new smooth font
      		      preference for the icon container.
      		      (nautilus_global_preferences_get_smooth_font): New function to
      		      safely get a smooth font out of preferences.
      
      		      * libnautilus-extensions/nautilus-icon-container.c:
      		      (nautilus_icon_container_initialize): Use the localized version of
      		      the font strings and add a FIXME for the problem of checking these
      		      in many disparate places in nautilus.
      
      		      * libnautilus-extensions/nautilus-program-chooser.c:
      		      (program_file_pair_get_program_name_for_display): Use the
      		      localized version of the application name strings.
      
      		      * libnautilus-extensions/nautilus-scalable-font.h:
      		      * libnautilus-extensions/nautilus-scalable-font.c:
      		      (nautilus_scalable_font_initialize_class),
      		      (nautilus_scalable_font_initialize),
      		      (nautilus_scalable_font_destroy), (nautilus_scalable_font_new),
      		      (nautilus_scalable_font_make_bold),
      		      (nautilus_scalable_font_get_default_font),
      		      (nautilus_scalable_font_get_default_bold_font),
      		      (free_global_font_handle_table),
      		      (initialize_global_stuff_if_needed),
      		      (nautilus_scalable_font_get_rsvg_handle):
      		      Simplify this class a lot by using the font manager.  No longer
      		      need to manage font lookup and queries.
      
      		      * libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
      		      (nautilus_self_check_smooth_text_layout_cache): Fix a comment.
      		      Dont hardcode the font family.  Use the default font.  Remove the
      		      #ifdef hacker for "before make install fonts broken" problem which
      		      is now fixed.
      
      		      * src/file-manager/fm-directory-view.h:
      		      * src/file-manager/fm-directory-view.c:
      		      (directory_view_smooth_font_changed_callback),
      		      (fm_directory_view_initialize), (fm_directory_view_destroy):
      		      Add method for responding to changes in the smooth font for AA
      		      mode of the icon container.
      
      		      * src/file-manager/fm-icon-view.c:
      		      (fm_icon_view_smooth_font_changed),
      		      (fm_icon_view_initialize_class),
      		      (fm_icon_view_update_icon_container_smooth_font),
      		      (create_icon_container):
      		      Add support for responding to change in the smooth font.  Update
      		      the icon container's smooth font on such changes.
      
      		      * src/nautilus-about.c: (nautilus_about_draw_info):
      		      Change the offset of the "Nautilus" title which broken when jsh
      		      make glyphs render properly taking the baseline into account.
      
      		      * src/nautilus-sidebar-title.c: (update_font):
      		      Use the localized font name.
      
      		      * src/nautilus-sidebar.c: (nautilus_sidebar_add_panel),
      		      (nautilus_sidebar_remove_panel):
      		      Use the localized sidebar tabs descriptions.
      
      		      * src/nautilus-window.c: (create_view_as_menu_item):
      		      Use the localized "View as" labels.
      
      		      * test/test-nautilus-font-manager.c: (font_iterator_callback):
      		      * test/test-nautilus-font-picker.c: (update_font),
      		      (font_changed_update_label_callback),
      		      (font_changed_update_file_name_callback),
      		      (use_defalt_font_callback), (use_defalt_bold_font_callback),
      		      (use_defalt_font_update_picker_callback),
      		      (use_defalt_bold_font_update_picker_callback), (main):
      		      * test/test.c: (test_quit):
      		      Updates for changes in font manager and font picker.
      24faaf92
  18. 03 Mar, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: <delete if not using a buddy> · a5eedddc
      Ramiro Estrugo authored
      2001-03-02  Ramiro Estrugo  <ramiro@eazel.com>
      
      	    reviewed by: <delete if not using a buddy>
      
      	    Bug 2673 - Need to hook up the new font picker to nautilus .
      
      	    * configure.in:
      	    Remove an old font setup hack that never really worked.
      
      	    * data/fonts/urw/fonts.dir:
      	    Rename the fonts to "Helvetica Default" in order not to clash with
      	    system fonts.
      
      	    * libnautilus-extensions/nautilus-font-manager.h:
      	    * libnautilus-extensions/nautilus-font-manager.c:
      	    (font_description_new): Add a font type parameter.
      	    (font_lists_total_num_fonts): New function to count the total
      	    number of scalable fonts detetected.
      	    (font_description_table_add): Pass in the detected font lists to
      	    do reality checks.
      	    (font_get_font_type): New function.
      	    (font_description_table_get_length),
      	    (font_description_table_peek_nth),
      	    (font_description_table_get_nth_file_name): Name the parameters
      	    more consistently.
      	    (font_description_table_for_each): Add font type parameter
      	    (font_description_table_new): Rework to not require storing the
      	    detected font list.  We now use that only for the duration of the
      	    constructor.  Lost the install_font_lists dumbness.
      	    (font_server_for_each_font_directory_internal): Use g_warning
      	    instead of g_print.
      	    (font_ignore_directory): New function to determine whether we
      	    should ignore a directory - makes things much faster.
      	    (font_manager_collect_font_tables): New function to handle all the
      	    work of collecting font directories into tables.
      	    (font_server_for_each_callback), (font_table_list_free),
      	    (font_table_list_for_each), (free_font_tables),
      	    (ensure_at_exit_handler), (ensure_fallback_font_table),
      	    (ensure_user_font_table), (ensure_system_font_tables): Add 3
      	    tables for fallback, system and users fonts.  These are populated
      	    as needed.
      	    (nautilus_font_manager_for_each_font): Iterate the 3 font talbles.
      	    (nautilus_font_manager_get_fallback_font) : New function to obtain
      	    a fallback font quickly without having to check the system.
      	    (call_chop_off_comments), (nautilus_self_check_font_manager):
      	    Rework the checks to not create a temp directory.  Unfortunately
      	    they now only run for me.
      
      	    * libnautilus-extensions/nautilus-font-picker.h:
      	    * libnautilus-extensions/nautilus-font-picker.c:
      	    (nautilus_font_picker_initialize_class),
      	    (nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
      	    (font_entry_list_find), (font_picker_update),
      	    (font_name_picker_changed_callback),
      	    (style_picker_changed_callback), (ignore_font),
      	    (font_manager_callback), (style_list_for_each_callback),
      	    (font_entry_list_for_each_callback),
      	    (nautilus_font_picker_get_selected_font),
      	    (nautilus_font_picker_set_selected_font),
      	    (nautilus_font_picker_set_title_label):
      	    Use the new font manager.
      
      	    * libnautilus-extensions/nautilus-global-preferences.h:
      	    * libnautilus-extensions/nautilus-global-preferences.c:
      	    (global_preferences_install_descriptions),
      	    (global_preferences_install_defaults),
      	    (global_preferences_create_dialog), (appearnace_pane_update),
      	    (global_preferences_create_font_group),
      	    (global_preferences_install_home_location_defaults),
      	    (global_preferences_install_font_defaults):
      	    Add a new preference for the smooth font.
      	    Factor our the default font code to its own function.  Setup the
      	    font pickers items to be mutually exclusive according to the
      	    smooth graphics mode preference value.
      
      	    * libnautilus-extensions/nautilus-gtk-extensions.h:
      	    * libnautilus-extensions/nautilus-gtk-extensions.c:
      	    (nautilus_gtk_widget_set_shown):
      	    New function to show or hide a widget in one go.
      
      	    * libnautilus-extensions/nautilus-preferences-group.c:
      	    (nautilus_preferences_group_update):
      	    Dont show the widget if a controlling preference prevents it.
      
      	    * libnautilus-extensions/nautilus-preferences-item.h:
      	    * libnautilus-extensions/nautilus-preferences-item.c:
      	    (preferences_item_update_smooth_font),
      	    (preferences_smooth_font_changed_callback),
      	    (preferences_item_create_smooth_font): Add support for a smooth
      	    font picker.
      	    (preferences_item_destroy), (preferences_item_construct),
      	    (nautilus_preferences_item_set_control_preference),
      	    (nautilus_preferences_item_set_control_action),
      	    (nautilus_preferences_item_get_control_showing): Add support for
      	    using a controlling preference which can force the widget to be
      	    shown or hidden depending on its value.
      
      	    * libnautilus-extensions/nautilus-preferences-pane.c:
      	    (nautilus_preferences_pane_update):
      	    Use new gtk extension to show or hide the widget in one go.
      
      	    * libnautilus-extensions/nautilus-scalable-font.h:
      	    * libnautilus-extensions/nautilus-scalable-font.c:
      	    (font_family_string_map_new): Update fallback font name.
      	    (nautilus_scalable_font_new_from_file_name): New function to
      	    create a font directly from a font file name.
      	    (nautilus_scalable_font_get_default_font): Update fallback font name.
      	    (nautilus_scalable_font_get_default_bold_font): New function to
      	    get a fallback bold font.
      	    Remove some unsed functions.  Remove the font setup hack, the font
      	    manager takes care of that now.
      
      	    * libnautilus-extensions/nautilus-string-picker.h:
      	    * libnautilus-extensions/nautilus-string-picker.c:
      	    (nautilus_string_picker_clear):
      	    New function to clear the string picker.
      
      	    * libnautilus-extensions/nautilus-tabs.c:
      	    (nautilus_tabs_initialize):
      	    Fix the hard coded font name.
      
      	    * src/nautilus-first-time-druid.c: (new_title_label):
      	    Fix the hard coded font name.
      
      	    * src/nautilus-sidebar-tabs.c:
      	    (nautilus_sidebar_tabs_load_theme_data):
      	    Fix the hard coded font name.
      
      	    * test/Makefile.am:
      	    * test/test-nautilus-font-manager.c: (font_type_to_string),
      	    (font_iterator_callback), (font_table_for_each_callback), (main):
      	    * test/test-nautilus-font-picker.c: (font_picker_changed_callback),
      	    (main):
      	    * test/test-nautilus-glyph-simple.c: (main):
      	    * test/test-nautilus-label.c: (main):
      	    Update for new font picker and font manager changes.
      a5eedddc
  19. 02 Mar, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Eskil Heinous Olsen <eskil@eazel.com> · c82b8217
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-string-list.h:
      	* libnautilus-extensions/nautilus-string-list.c:
      	(nautilus_string_list_nth_as_integer),
      	(nautilus_self_check_string_list):
      	New function to get the nth string as an integer - and checks.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-font-manager.h:
      	* libnautilus-extensions/nautilus-font-manager.c:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	New files.  Support for collecting information about the scalable
      	fonts installed on the system.  Parts written by Pavel Cisler.
      
      	* components/text/nautilus-text-view.c:
      	(nautilus_text_view_initialize):
      	Mark a string for translation.
      
      	* libnautilus-extensions/nautilus-font-factory.c:
      	(nautilus_font_factory_get_font_by_family):
      	Take fontsets into account.  Patch submitted by
      	eungkyu@sparcs.kaist.ac.kr.
      
      	* libnautilus-extensions/nautilus-preferences-item.h:
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(nautilus_preferences_item_initialize_class),
      	(nautilus_preferences_item_initialize), (preferences_item_destroy),
      	(preferences_item_construct), (preferences_item_update_enum),
      	(preferences_item_create_enum),
      	(preferences_item_update_short_enum),
      	(preferences_item_create_short_enum),
      	(preferences_item_update_boolean),
      	(preferences_item_create_boolean),
      	(preferences_item_update_editable_string),
      	(preferences_item_create_editable_string),
      	(preferences_item_update_integer),
      	(preferences_item_create_integer),
      	(preferences_item_update_font_family),
      	(preferences_item_create_font_family),
      	(nautilus_preferences_item_new),
      	(enum_radio_group_changed_callback),
      	(nautilus_preferences_item_update_displayed_value),
      	(update_text_settings_at_idle):
      	Clean this up a bit.  Follow nautilus coding conventions more.
      	Remove long unused theme picker.
      	Remove unused GtkArg stuff.
      
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_new):
      	* libnautilus-extensions/nautilus-preferences-pane.h:
      	Remove unused pane description.
      
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_add_pane):
      	* libnautilus-extensions/nautilus-preferences-box.h:
      	Remove unused pane description.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_install_defaults): Mark font name for
      	translation.
      	(global_preferences_create_dialog),
      	(global_preferences_create_search_pane): Remove unused pane
      	description.
      
      	* test/.cvsignore:
      	* test/Makefile.am:
      	* test/test-nautilus-glyph-simple.c: (main):
      	* test/test-nautilus-glyph.c: (main):
      	* test/test-nautilus-labeled-image.c: (main):
      	* test/test-nautilus-smooth-text-layout.c: (main):
      	* test/test-nautilus-font-manager.c: (main):
      	* test/test.c: (test_quit):
      	* test/test.h:
      	Some minor changes.  New test for font manager.
      c82b8217
  20. 28 Feb, 2001 1 commit
  21. 27 Feb, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 2f9d6bc2
      Darin Adler authored
      	Fixed bug 6725 (Crash on Refresh if viewed file/folder is deleted
      	outside of Nautilus):
      
      	* src/nautilus-window-manage-views.c: (free_location_change):
      	Reorder so we cancel the callbacks before more I/O has the chance
      	to happen.
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(nautilus_directory_async_state_changed): Don't do any I/O for a
      	NautilusDirectory object once it's destroyed. Unfortunately, it's
      	still possible for destroying one NautilusDirectory object to
      	cause I/O to happen on another, so this doesn't fix the bug (which
      	is why we also need the change above).
      
      	Fixed bug 7080 (Nautilus build failure on Red Hat 7.)
      
      	* libnautilus-extensions/nautilus-medusa-support.c: Fixed the bad
      	#endif with non-comment text after it.
      
      	Worked on bug 6928 (create fallback mechanism so eazel-logos
      	version of each graphic is found if present). We still need a
      	separate fallback mechanism for the theme XML file, since the
      	throbber has a different number of frames.
      
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_pixmap_directory): Simplify.
      	(nautilus_pixmap_file): Look in eazel-logos directory first, so we
      	will pick up logo graphics if there, and non-logo graphics otherwise.
      	* test/test-nautilus-image-simple.c: (main): Remove a reference to
      	a logo graphic.
      
      	* eazel-logos/.cvsignore:
      	* eazel-logos/About_Image.png:
      	* eazel-logos/about_background.png:
      	* eazel-logos/druid_header.png:
      	* eazel-logos/eazel-logo-right-side-logo.png:
      	* eazel-logos/throbber/.cvsignore:
      	* eazel-logos/throbber/001.png:
      	* eazel-logos/throbber/002.png:
      	* eazel-logos/throbber/003.png:
      	* eazel-logos/throbber/004.png:
      	* eazel-logos/throbber/005.png:
      	* eazel-logos/throbber/006.png:
      	* eazel-logos/throbber/007.png:
      	* eazel-logos/throbber/008.png:
      	* eazel-logos/throbber/009.png:
      	* eazel-logos/throbber/010.png:
      	* eazel-logos/throbber/011.png:
      	* eazel-logos/throbber/012.png:
      	* eazel-logos/throbber/013.png:
      	* eazel-logos/throbber/014.png:
      	* eazel-logos/throbber/015.png:
      	* eazel-logos/throbber/rest.png:
      	* eazel-logos/default.xml:
      	Added a new directory with copies of all graphics with the Eazel
      	logo in them. Next we have to make this directory actually build
      	and install these logos. Then Non-Eazel-logo'd graphics suitable
      	for GPL will replace the original copies and these will keep the
      	Eazel logo versions. The directory also contains the XML file for
      	the default theme, since we need to change the throbber frames for
      	the logo vs. non-logo version of the throbber.
      
      	* components/services/nautilus-dependent-shared/icons/Makefile.am:
      	* components/services/nautilus-dependent-shared/icons/eazel-cloud-logo.png:
      	* components/services/nautilus-dependent-shared/icons/eazel-services-logo.png:
      	* components/services/nautilus-dependent-shared/icons/service-summary-logo-top.png:
      	* components/services/nautilus-dependent-shared/icons/startup-logo.png:
      	* icons/Makefile.am:
      	* icons/eazel-logo.gif:
      	* icons/nautilus-logo.png:
      	Removed unused graphics with the Eazel logo in them. There are a
      	lot more unused graphics and someone should go through and remove
      	them. I'm thinking of writing a script to do it.
      
      	Other changes.
      
      	* components/services/install/nautilus-view/.cvsignore:
      	* components/services/vault/.cvsignore:
      	* components/services/vault/command-line/.cvsignore:
      	* data/top/.cvsignore:
      	Re-removed .cvsignore files for empty directories.
      
      	* THANKS: Corrected one email address.
      	* check-THANKS.pl: Updated for the latest ChangeLog typos.
      2f9d6bc2
  22. 26 Feb, 2001 1 commit
    • Ramiro Estrugo's avatar
      Ignore generated files. · e6525d26
      Ramiro Estrugo authored
      	* .cvsignore:
      	* help/nautilus-user-manual/es/.cvsignore:
      	* omf-install/.cvsignore:
      	* test/.cvsignore:
      	* user-guide/C/.cvsignore:
      	Ignore generated files.
      e6525d26
  23. 23 Feb, 2001 4 commits
    • Ramiro Estrugo's avatar
      reviewed by: Gene Z. Ragan <gzr@eazel.com> · 2db06b91
      Ramiro Estrugo authored
      	Fix bugs:
      
      	2784 - NautilusScalableFont text clipping is broken.
      	2831 - Icon container redraw performance is poor in smooth mode.
      	Optimized this case some.  Its still not as good as we
      	would like it to be.  Thanks to the following changes, it
      	is possible to optimize it even more - by caching the
      	layouts of icons for example.  We need to profile with the
      	new changes.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(measure_label_text), (draw_or_measure_label_text_aa),
      	(draw_label_text_aa):
      	* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
      	Use NautilusSmoothTextLayout instead of NautilusTextLayout.
      
      	* libnautilus-extensions/nautilus-label.h:
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_initialize_class), (nautilus_label_initialize),
      	(nautilus_label_destroy), (nautilus_label_set_arg),
      	(nautilus_label_get_arg), (nautilus_label_size_allocate),
      	(label_composite_pixbuf_callback), (label_get_text_dimensions),
      	(label_smooth_text_ensure), (label_smooth_text_clear),
      	(nautilus_label_set_smooth_font),
      	(nautilus_label_set_smooth_font_size),
      	(nautilus_label_set_is_smooth),
      	(nautilus_label_set_smooth_line_wrap_width),
      	(nautilus_label_set_smooth_drop_shadow_offset),
      	(nautilus_label_set_text), (nautilus_label_set_wrap),
      	(nautilus_label_new_solid), (nautilus_label_make_bold),
      	(nautilus_label_make_larger), (nautilus_label_make_smaller),
      	(nautilus_label_set_never_smooth):
      	Simplified.  Use NautilusSmoothTextLayout to handle laying
      	out the text.
      
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_new),
      	(nautilus_scalable_font_measure_text),
      	(nautilus_scalable_font_draw_text),
      	(initialize_global_stuff_if_needed),
      	(nautilus_scalable_font_get_underline_height),
      	(nautilus_scalable_font_get_baseline):
      	Simplified.  Use NautilusSmoothTextLayout.  Remove no longer
      	needed functions.
      
      	* libnautilus-extensions/nautilus-smooth-text-layout.h:
      	* libnautilus-extensions/nautilus-smooth-text-layout.c:
      	New class to handle smooth text layout needs.  Layout details are
      	private to make it easirt to fix bugs in the future.
      
      	* libnautilus-extensions/nautilus-text-layout.c:
      	* libnautilus-extensions/nautilus-text-layout.h:
      	Retire.
      
      	* test/.cvsignore:
      	* test/Makefile.am:
      	* test/test-nautilus-font-simple.c: (main):
      	* test/test-nautilus-font.c: (main):
      	* test/test-nautilus-glyph-simple.c: (glyph_new), (main):
      	* test/test-nautilus-label-simple.c: (main):
      	* test/test-nautilus-label-wrapped.c: (create_nautilus_label),
      	(main):
      	* test/test-nautilus-smooth-text-layout.c: (main):
      	New smooth text layout test.  Update test for smooth layout changes.
      2db06b91
    • Arik Devens's avatar
    • Arik Devens's avatar
      New test for nautilus_viewport_constrain_width function. Eventually i will... · f32598d0
      Arik Devens authored
      New test for nautilus_viewport_constrain_width function. Eventually i will generalize it into a more usefull test of the constrain functions.
      f32598d0
    • Arik Devens's avatar
      Added constrain functions to the nautilus-viewport widget so you can constrain... · 9840842c
      Arik Devens authored
      Added constrain functions to the nautilus-viewport widget so you can constrain the size of the children in either direction to the size of the viewport.
      9840842c
  24. 22 Feb, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> · f2453a7d
      Ramiro Estrugo authored
      	* components/mozilla/nautilus-mozilla-encoding-tables.c:
      	No need to have 2 strings.  Use an array of just one string.
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_view_create_charset_encoding_submenu):
      	Replace assertion with a more robust check for NULL.
      
      
      	reviewed by: Seth Nickell <seth@eazel.com>
      
      	* applets/preferences-applet/nautilus-preferences-applet.c:
      	(quit_nautilus_button_clicked_callback),
      	(start_nautilus_button_clicked_callback),
      	(restart_nautilus_button_clicked_callback),
      	(exit_button_clicked_callback), (main):
      	Add a exit button for the applet itself.  Renamed nautilus remote
      	callbacks to be clearer.
      
      	* libnautilus-extensions/nautilus-art-extensions.h:
      	* libnautilus-extensions/nautilus-art-extensions.c:
      	(nautilus_art_irect_is_valid),
      	(nautilus_self_check_art_extensions): New functions and tests for
      	checking whether a rectangle is valid.
      
      	* libnautilus-extensions/nautilus-glyph.h: Use int instead
      	of guint everywhere.
      	* libnautilus-extensions/nautilus-glyph.c: (nautilus_glyph_new),
      	(nautilus_glyph_free), (glyph_get_width_space_safe): New functions
      	to get dimensions that work with glyphs that are just empty space.
      	(glyph_get_height_space_safe), (nautilus_glyph_get_width),
      	(nautilus_glyph_get_height), (nautilus_glyph_get_dimensions): Make
      	these work with empty spaces.
      	(glyph_is_valid), (nautilus_glyph_draw_to_pixbuf): Use libart rgba
      	functions instead of doing our own alpha blending.  Allow for
      	rendering glyphs with just blank spaces (noop).  Remove debug code.
      	(nautilus_glyph_intersect): New function to intersect a glyph at
      	some coordinates with a rectangle.
      
      	* test/test-nautilus-glyph-simple.c: (main):
      	* test/test-nautilus-glyph.c: (glyph_new), (main):
      	* test/test.c: (test_pixbuf_draw_rectangle_tiled):
      	More glyph tests.
      f2453a7d
  25. 15 Feb, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 88ebb708
      Ramiro Estrugo authored
                           Except for the self checks code.
      
      		     Change code that used a ArtIRect as a "frame" to use
      		     NautilusDimensions instead.  Change all foo_frame functions to
      		     foo_dimensions.
      
      		     * libnautilus-extensions/nautilus-art-extensions.h:
      		     Add a new structure to represent dimensions using signed integers.
      		     Retire nautilus_art_ipoint_assign.
      		     * libnautilus-extensions/nautilus-art-extensions.c:
      		     (nautilus_dimensions_empty): New function to check for empty
      		     dimensions.
      		     (nautilus_art_irect_assign_dimensions): New function to assign
      		     dimensions to a rectangle.
      		     (nautilus_self_check_art_extensions): New self checks.
      
      		     * libnautilus-extensions/nautilus-art-gtk-extensions.h:
      		     * libnautilus-extensions/nautilus-art-gtk-extensions.c:
      		     (nautilus_gdk_rectangle_to_art_irect),
      		     (nautilus_screen_get_dimensions), (nautilus_gdk_window_get_bounds),
      		     (nautilus_gdk_window_get_screen_relative_bounds),
      		     (nautilus_gtk_widget_get_bounds),
      		     (nautilus_gtk_widget_get_dimensions),
      		     (nautilus_gdk_window_clip_dirty_area_to_screen),
      		     (nautilus_art_irect_to_gdk_rectangle),
      		     (nautilus_gdk_window_get_dimensions): New function to get
      		     the dimensions of a GdkWindow.
      		     Update for frame to dimensions changes.  Change functions names to
      		     lose the "irect" sub-prefix.
      
      		     * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
      		     * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
      		     (nautilus_gdk_pixbuf_get_dimensions),
      		     (nautilus_gdk_pixbuf_fill_rectangle_with_color),
      		     (nautilus_gdk_pixbuf_draw_to_drawable),
      		     (nautilus_gdk_pixbuf_draw_to_pixbuf),
      		     (nautilus_gdk_pixbuf_draw_to_pixbuf_alpha),
      		     (nautilus_gdk_pixbuf_new_from_pixbuf_sub_area),
      		     (pixbuf_draw_tiled), (nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
      		     (nautilus_gdk_pixbuf_draw_to_drawable_tiled),
      		     (nautilus_gdk_pixbuf_intersect): New functions
      		     (nautilus_self_check_gdk_pixbuf_extensions): New self checks.
      		     Update for frame vs dimenensions changes.  Simplify clipping code
      		     by using nautilus_gdk_pixbuf_intersect.  Move
      		     nautilus_gdk_window_get_dimensions to
      		     nautilus_gdk_window_get_dimensions in art-gtk-extensions.
      
      		     * libnautilus-extensions/nautilus-debug-drawing.c:
      		     (debug_pixbuf_viewer_size_request),
      		     (nautilus_debug_pixbuf_draw_point),
      		     (nautilus_debug_pixbuf_draw_rectangle),
      		     (nautilus_debug_pixbuf_draw_rectangle_inset):
      		     Update for frame vs dimenensions changes.
      
      		     * libnautilus-extensions/nautilus-clickable-image.c:
      		     (label_handle_motion):
      		     Update for art-gtk extensions changes.
      
      		     * libnautilus-extensions/nautilus-glyph.h:
      		     * libnautilus-extensions/nautilus-glyph.c: (nautilus_glyph_new):
      		     Change order of parameters to match NautilusScalalbleFont.
      		     (nautilus_glyph_get_dimensions), (nautilus_glyph_draw_to_pixbuf):
      		     Update for frame vs dimenensions changes.
      
      		     * libnautilus-extensions/nautilus-lib-self-check-functions.h:
      		     New declaration for art_extensions and gdk_pixbuf_extensions.
      
      		     * libnautilus-extensions/nautilus-self-checks.c:
      		     (nautilus_check_rectangle_result),
      		     (nautilus_check_dimensions_result):
      		     * libnautilus-extensions/nautilus-self-checks.h:
      		     Add support for checking functions that return rectangles and
      		     dimensions.
      
      		     * libnautilus-extensions/nautilus-scalable-font.h:
      		     * libnautilus-extensions/nautilus-scalable-font.c:
      		     (nautilus_scalable_font_measure_text): Return
      		     NautilusDimensions instead of using pointer parameters.
      		     (nautilus_scalable_font_text_width): Simplify by calling
      		     scalable_font_measure_text.
      		     (nautilus_scalable_font_draw_text),
      		     (nautilus_scalable_font_measure_text_lines),
      		     (nautilus_scalable_font_draw_text_lines_with_dimensions),
      		     (nautilus_scalable_font_draw_text_lines):
      		     Update for frame vs dimenensions changes.  Use NautilusDimensions
      		     arrays instead of individial width and height arrays.  Change all
      		     function signatures to pass in only a font_size instead of both
      		     font_width and font_height.  Simplifies using these a bit.
      		     (nautilus_scalable_font_largest_fitting_font_size): Fix bug where
      		     we were always using the wrong font size to compute the largest
      		     fitting font.
      
      		     * libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
      		     Update for scalable font font_size api changes.
      
      		     * libnautilus-extensions/nautilus-image-table.c:
      		     (image_table_clear_dirty_areas):
      		     Update for frame vs dimenensions changes.
      
      		     * libnautilus-extensions/nautilus-image.c:
      		     (nautilus_image_size_request), (image_get_pixbuf_dimensions),
      		     (image_get_pixbuf_bounds), (image_get_tile_dimensions):
      		     Update for frame vs dimenensions changes.
      
      		     * libnautilus-extensions/nautilus-label.h:
      		     * libnautilus-extensions/nautilus-label.c:
      		     (nautilus_label_initialize_class), (nautilus_label_set_arg),
      		     (nautilus_label_get_arg), (nautilus_label_size_request),
      		     (nautilus_label_size_allocate), (label_composite_pixbuf_callback),
      		     (label_draw_text_to_pixbuf): Fix a type.  Was using [x,x] instead
      		     of [x,y] to render the string.
      		     (label_get_text_dimensions), (label_get_text_bounds),
      		     (label_get_tile_dimensions), (label_line_geometries_clear),
      		     (label_line_geometries_recompute),
      		     Update for frame vs dimenensions changes.  Make the
      		     'smooth_line_wrap' attribute an int instead of a guint.  Use an
      		     array of NautilusDimensions to store text lines geometries instead
      		     of separete width and height arrays.
      		     (label_get_default_line_wrap_width),
      		     (nautilus_label_set_smooth_line_wrap_width),
      		     (nautilus_label_get_smooth_line_wrap_width):
      		     Change signature to return an int instead of a guint.
      
      		     * libnautilus-extensions/nautilus-labeled-image.c:
      		     (nautilus_labeled_image_size_request),
      		     (labeled_image_get_image_dimensions),
      		     (labeled_image_get_label_dimensions),
      		     (labeled_image_get_image_bounds_fill),
      		     (nautilus_labeled_image_get_image_bounds),
      		     (labeled_image_get_label_bounds_fill),
      		     (nautilus_labeled_image_get_label_bounds),
      		     (labeled_image_get_content_dimensions),
      		     (labeled_image_get_content_bounds):
      		     Update for frame vs dimenensions changes.
      
      		     * libnautilus-extensions/nautilus-smooth-widget.h:
      		     * libnautilus-extensions/nautilus-smooth-widget.c:
      		     (smooth_widget_paint_tile_transparent),
      		     (nautilus_smooth_widget_get_preferred_dimensions):
      		     Update for frame vs dimenensions changes.
      
      		     * libnautilus-extensions/nautilus-tabs.c: (measure_tab_name),
      		     (draw_tab_label):
      		     Update for font api changes.
      
      		     * libnautilus-extensions/nautilus-text-layout.c:
      		     (nautilus_text_layout_new), (nautilus_text_layout_paint):
      		     Update for frame vs dimenensions changes.
      
      		     * libnautilus-extensions/nautilus-wrap-table.c:
      		     (nautilus_wrap_table_size_request), (wrap_table_layout),
      		     (wrap_table_art_irect_max_dimensions),
      		     (wrap_table_get_max_child_dimensions),
      		     (wrap_table_get_content_dimensions):
      		     Update for frame vs dimenensions changes.
      
      		     * src/nautilus-about.c: (draw_aa_string):
      		     Update for frame vs dimenensions changes.
      
      		     * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
      		     (draw_one_tab_themed), (get_tab_width):
      		     Update for frame vs dimenensions changes.
      
      		     * test/test-nautilus-font-simple.c: (main):
      		     * test/test-nautilus-font.c: (main):
      		     * test/test-nautilus-glyph-simple.c: (glyph_new):
      		     * test/test-nautilus-glyph.c: (glyph_new), (main):
      		     * test/test-nautilus-pixbuf-tile.c:
      		     * test/test.c: (test_pixbuf_draw_rectangle_tiled):
      		     Update test for frame vs dimenensions changes and font api
      		     changes.
      88ebb708
  26. 14 Feb, 2001 2 commits
    • Ramiro Estrugo's avatar
      Two very tiny tweaks to help debug clipping bugs. · dae99c14
      Ramiro Estrugo authored
      	* test/test-nautilus-glyph.c: (main):
      	* test/test-nautilus-label-simple.c: (main):
      	Two very tiny tweaks to help debug clipping bugs.
      dae99c14
    • Ramiro Estrugo's avatar
      reviewed by: Arik Devens <arik@eazel.com> · a9818eb5
      Ramiro Estrugo authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-label.c:
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-text-layout.c:
      	* libnautilus-extensions/nautilus-text-layout.h:
      	* test/test-nautilus-font.c:
      	Move the text layout code to its own place.  No real code changes.
      a9818eb5
  27. 13 Feb, 2001 2 commits
    • Ramiro Estrugo's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> · b075065c
      Ramiro Estrugo authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-glyph.h:
      	* libnautilus-extensions/nautilus-glyph.c:
      	New class.  A wrapper on RsvgGlyph that makes it simple and fast
      	to draw smooth text on pixbufs
      
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	(nautilus_clickable_image_initialize_class),
      	(nautilus_clickable_image_realize):
      	Remove unrealize() method that was a noop.
      
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	(nautilus_debug_pixbuf_draw_point),
      	(nautilus_debug_pixbuf_draw_rectangle),
      	(nautilus_debug_pixbuf_draw_rectangle_inset):
      	* libnautilus-extensions/nautilus-debug-drawing.h:
      	Add some pixbuf drawing functions to debug clip areas in pixbufs.
      
      	* libnautilus-extensions/nautilus-image-table.c:
      	(nautilus_image_table_initialize_class),
      	(nautilus_image_table_remove):
      	Remove add() method that was a noop.
      
      	* test/.cvsignore:
      	* test/Makefile.am:
      	* test/test-nautilus-font-simple.c: (main):
      	* test/test-nautilus-font.c: (main):
      	* test/test-nautilus-glyph-simple.c: (glyph_new), (main):
      	* test/test-nautilus-glyph.c: (glyph_new), (main):
      	* test/test.c: (test_window_set_title_with_pid),
      	(test_pixbuf_draw_rectangle_tiled):
      	* test/test.h:
      	New NautilusGlyph tests.  Also remove the broken pixbuf drawing
      	debug code.  Use the debugging code in nautilus-debug-drawing.[ch]
      	instead.
      b075065c
    • Ramiro Estrugo's avatar
      reviewed by: Darin Adler <darin@eazel.com> · b28f5a6e
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(while_realized_disconnecter),
      	(nautilus_gtk_signal_connect_while_realized):
      	New function to connect to a signal of an object while a widget is
      	realized.
      	(while_realized_disconnecter): Changed signature to be void - no
      	need to return a value here.  As such, the GTK_SIGNAL_FUNC casts
      	are no longer needed.
      
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	(nautilus_clickable_image_realize),
      	(nautilus_clickable_image_unrealize):
      	Use nautilus_gtk_signal_connect_while_realized so that we dont
      	have to keep track of the signal ids and ancestor widget.
      
      	* libnautilus-extensions/nautilus-image-table.c:
      	(nautilus_image_table_realize), (nautilus_image_table_unrealize):
      	Use nautilus_gtk_signal_connect_while_realized so that we dont
      	have to keep track of the signal ids and ancestor widget.
      
      	* test/test-nautilus-clickable-image.c: (main):
      	Add a windowed ancestor inbetween in order to test
      	nautilus_gtk_signal_connect_while_realized.
      b28f5a6e
  28. 12 Feb, 2001 2 commits
    • Ramiro Estrugo's avatar
      New NautilusWrapTable test. · f34f7295
      Ramiro Estrugo authored
      	* test/.cvsignore:
      	* test/Makefile.am:
      	* test/test-nautilus-wrap-table.c: (main):
      	New NautilusWrapTable test.
      f34f7295
    • Ramiro Estrugo's avatar
      A tiny bit more debug code. · 24fe2c9c
      Ramiro Estrugo authored
      	* test/test-nautilus-clickable-image.c: (main):
      	* test/test-nautilus-labeled-image.c: (button_callback),
      	(labeled_image_button_window_new):
      	A tiny bit more debug code.
      24fe2c9c
  29. 10 Feb, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Robey Pointer <robey@eazel.com> · 5585ad97
      Ramiro Estrugo authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-region.c:
      	* libnautilus-extensions/nautilus-region.h:
      	New class for super easy region management using rectangle.
      
      	* libnautilus-extensions/nautilus-art-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-art-gtk-extensions.c:
      	(nautilus_gdk_rectangle_assign_irect):
      	New function to convert ArtIRect to GdkRectangles.
      
      	* libnautilus-extensions/nautilus-customization-data.h:
      	* libnautilus-extensions/nautilus-customization-data.c:
      	(nautilus_customization_data_get_next_element_for_display):
      	Return pixbufs and labels for the object instead of widgets.  This
      	is so that the caller can use the widget that best suits its
      	display needs.
      
      	* libnautilus-extensions/nautilus-image-table.h:
      	* libnautilus-extensions/nautilus-image-table.c:
      	(nautilus_image_table_initialize_class),
      	(nautilus_image_table_initialize),
      	(nautilus_image_table_expose_event),
      	(nautilus_image_table_realize), (nautilus_image_table_unrealize),
      	(nautilus_image_table_set_is_smooth_signal),
      	(image_table_foreach_child_subtract_content),
      	(image_table_clear_dirty_areas), (image_table_peek_clear_gc),
      	(image_table_emit_signal), (image_table_handle_motion),
      	(ancestor_button_press_event), (ancestor_button_release_event),
      	(nautilus_image_table_new), (nautilus_image_table_set_is_smooth),
      	(nautilus_image_table_set_smooth_background_color):
      	Add support for smoothnes.  Register widget as a possible smooth
      	widget.  When smoothness changes, we modify our background drawing
      	behavior such that in smooth mode we dont flicker at all.
      
      	Remove grab/ungrab pair that could screw up operations.  Turns out
      	these are not needed.
      
      	Change event signal emissions to include more data from the raw
      	gdk events without exposing these.
      
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_initialize_class):
      	Update for new smooth widget class registration scheme.
      
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_initialize_class):
      	Update for new smooth widget class registration scheme.
      
      	* libnautilus-extensions/nautilus-labeled-image.h:
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	(nautilus_labeled_image_size_allocate),
      	(nautilus_labeled_image_get_image_bounds),
      	(nautilus_labeled_image_get_label_bounds):
      	Make these two functions public.
      
      	* libnautilus-extensions/nautilus-smooth-widget.h:
      	* libnautilus-extensions/nautilus-smooth-widget.c:
      	(smooth_widget_type_list_free), (smooth_widget_list_free),
      	(widget_is_smooth), (nautilus_smooth_widget_register),
      	(nautilus_smooth_widget_register_type):
      	Add mechanism for registering types that are meant to be smooth.
      	That way we dont need to hardcode the list of smooth widget
      	classes.  Also made sure to free the static lists at exit time.
      
      	* libnautilus-extensions/nautilus-viewport.h:
      	* libnautilus-extensions/nautilus-viewport.c:
      	(nautilus_viewport_initialize_class),
      	(nautilus_viewport_initialize), (nautilus_viewport_destroy),
      	(nautilus_viewport_draw), (nautilus_viewport_expose_event),
      	(nautilus_viewport_realize), (nautilus_viewport_paint),
      	(nautilus_viewport_set_is_smooth_signal), (nautilus_viewport_new),
      	(nautilus_viewport_set_is_smooth),
      	(nautilus_viewport_get_scroll_offset):
      	Add support for smoothness.  When the is_smooth attribute changes,
      	the viewport will not clear the background on resize - and so its
      	content will not flicker.
      
      	Add function for querying the scroll offset.
      
      	* libnautilus-extensions/nautilus-wrap-table.h:
      	* libnautilus-extensions/nautilus-wrap-table.c:
      	(wrap_table_get_content_frame), (wrap_table_get_scroll_offset),
      	(nautilus_wrap_table_get_homogeneous),
      	(nautilus_wrap_table_reorder_child):
      	Fix a mod by zero error.
      	Add support for reordering children.
      
      	* src/file-manager/fm-properties-window.c: (create_emblems_page):
      	Simplify a bit by using NautilusWrapTable instead of a GtkTable
      	with a hard coded number of columns.  The emblems now wrap to fit
      	the available space.  Also use NautilusLabeledImages instead of
      	boxes.  Update for changes in customization data api.
      	Remove check box painting workaround.  Its taken care of in
      	NautilusLabeledImage now.
      
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_initialize_class),
      	(nautilus_property_browser_initialize), (element_clicked_callback),
      	(nautilus_property_browser_preferences_changed),
      	(make_property_tile), (make_properties_from_directories),
      	(add_reset_property), (make_properties_from_xml_node),
      	(property_browser_category_button_new), (make_category_link),
      	(nautilus_property_browser_update_contents),
      	(emit_emblems_changed_signal):
      	Use a NautilusImageTable instead of a GtkTable to make things wrap
      	propertly and thus not have to recreate the whole property box
      	each time its resized.  Remove a lot of hard coded dimensions.
      	Simplified a bit by using NautilusLabeledImages.
      
      	* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
      	Update for changes in customization data api.
      
      	* test/test-nautilus-image-table.c: (labeled_image_new),
      	(foo_timeout), (image_table_size_allocate),
      	(image_table_new_scrolled):
      	Update for new image table features.
      5585ad97
  30. 08 Feb, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Mike Fleming <mfleming@eazel.com> · 6767f292
      Ramiro Estrugo authored
      	Minus the 2 new widgets.
      
      	      * libnautilus-extensions/Makefile.am:
      	      New files.
      
      	      * libnautilus-extensions/nautilus-labeled-image.h:
      	      * libnautilus-extensions/nautilus-labeled-image.c:
      	      (button_leave_callback), (button_focus_out_event_callback),
      	      (nautilus_labeled_image_check_button_new): Add workaround for
      	      rendering problems with GtkCheckButton.
      	      (nautilus_labeled_image_set_label_never_smooth): New function to
      	      make the label part possibly never smooth.
      
      	      * libnautilus-extensions/nautilus-clickable-image.h:
      	      * libnautilus-extensions/nautilus-clickable-image.c:
      	      (ancestor_button_press_event), (ancestor_button_release_event),
      	      (nautilus_clickable_image_new),
      	      (nautilus_clickable_image_new_from_file_name): New function to
      	      create clickable images from image files.  Add grab/ungrab calls
      	      to match the logic in GtkButton.
      
      	      * libnautilus-extensions/nautilus-wrap-table.h:
      	      * libnautilus-extensions/nautilus-wrap-table.c:
      	      New class.
      
      	      * libnautilus-extensions/nautilus-image-table.c:
      	      * libnautilus-extensions/nautilus-image-table.h:
      	      New class.
      
      	      * test/test-nautilus-image-table.c:
      	      * test/.cvsignore:
      	      * test/Makefile.am:
      	      Image table test.
      6767f292