Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16567 lines (13567 sloc) 646.354 kb
2000-08-31 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
Libtrilobite now needs gnome-vfs -- oops.
2000-08-31 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(parse_a_service), (parse_a_eazel_news_item),
(parse_a_update_news_item):
* components/services/summary/lib/eazel-summary-shared.h:
Adding the rest of the xml parser.
2000-08-31 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_close_log), (trilobite_open_uri),
(trilobite_fetch_uri), (trilobite_fetch_uri_to_file):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
Add trilobite_fetch_uri() and trilobite_fetch_uri_to_file() to the
core utils in libtrilobite. This makes it easy to use gnome-vfs
to fetch a remote file into a buffer (hint: XML).
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
* components/services/trilobite/libtrilobite/trilobite-redirect.h:
Fetch the url redirection table from an XML file on the server and
store it in gconf for other views to use.
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (trilobite_root_client_initialize):
Clarify the FIXME.
2000-08-31 John Sullivan <sullivan@eazel.com>
* components/tree/nemo-tree-expansion-state.c:
Made the tree view expansion state preference use a full gconf
path so it's not coupled to user level.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nemo-throbber.c: (select_throbber_image),
(nemo_throbber_load_images):
made the throbber throb in the intended direction (clockwise); the
problem was caused by prepending to the image list, which was reversing
their order - fixed by making it append instead.
2000-08-31 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(summary_data_new), (services_data_new), (eazel_news_data_new),
(update_news_data_new), (parse_a_service),
(parse_a_eazel_news_item), (parse_a_update_news_item),
(build_services_glist_from_xml), (build_eazel_news_glist_from_xml),
(build_update_news_glist_from_xml), (parse_summary_xml_file):
New snapshot of the summary xml parser. Getting closer to finished.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
various cleanups and enhancements for the rpm view
* components/rpmview/nemo-rpm-view.h:
moved the details private again by moving them out of the header file
* components/rpmview/nemo-rpm-view.c:
(nemo_rpm_view_initialize),
(nemo_rpm_view_update_from_uri), (nemo_rpm_view_get_uri),
(nemo_rpm_view_verify_package_callback):
moved the details back here; added an accessor for the uri field;
added a verify button; changed label info text back to using non-aa
text, since aa-text doesn't justify right yet; captured images
from the header if present.
* components/rpmview/nemo-rpm-view-install.c:
(nemo_rpm_view_install_done),
(nemo_rpm_view_install_package_callback):
used the new accessor for uris.
2000-08-31 John Sullivan <sullivan@eazel.com>
* libnemo-extensions/nemo-gtk-extensions.c:
(finish_button_activation): Little bitty code cleanup.
2000-08-31 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1699, get help stuff to render in mozilla.
* components/mozilla/main.c: (main):
* components/mozilla/nemo-mozilla-content-view.c:
(mozilla_vfs_read_callback), (mozilla_vfs_callback),
Two new callbacks to handle streaming of data into
the mozilla component.
(nemo_mozilla_content_view_load_uri):
* components/mozilla/nemo-mozilla-content-view.oafinfo:
Modified file so mozilla component will handle all types.
2000-08-31 Rebecca Schulman <rebecka@eazel.com>
Completed the rest of 2369 for the required
milestone.
* check-FIXME.pl: Make the script a little
bit smarter about recognizing FIXMEs with
bug reports.
* src/nemo-search-bar-criterion.c:
* src/nemo-search-bar-criterion.h:
* src/nemo-search-bar-criterion-private.h:
(nemo_search_bar_criterion_destroy),
(nemo_search_bar_criterion_new), (option_menu_callback),
(nemo_search_bar_criterion_set_callback),
(nemo_search_bar_criterion_new_from_values),
(nemo_search_bar_criterion_next_new),
(nemo_search_bar_criterion_first_new),
(nemo_search_bar_criterion_get_location),
(get_next_default_search_criterion_type),
(nemo_search_bar_criterion_show),
(nemo_search_bar_criterion_hide),
(nemo_search_bar_criterion_human_from_uri),
(nemo_search_uri_get_first_criterion), (get_name_location_for),
(get_content_location_for), (get_file_type_location_for),
(get_size_location_for), (get_emblem_location_for),
(get_date_modified_location_for), (get_owner_location_for),
(make_emblem_value_menu), (emblems_changed_callback):
* libnemo-extensions/Makefile.am:
* src/Makefile.am:
moved search bar criterion class out of
libnemo-extensions and into /src
Added acceptance of the emblems changed signal, which
causes a redraw of an emblem criteria menu.
* libnemo-extensions/nemo-directory.c:
(nemo_directory_destroy), (construct_private_metafile_vfs_uri),
(nemo_directory_new):
Changed the name of metafile_vfs_uri function from
metafile_uri to reflect its return of a gnome vfs uri.
Check for the case where the metafile was not successfully
created when freeing.
* src/nemo-complex-search-bar.c: (criterion_callback):
got rid of extraneous print statement.
* src/nemo-property-browser.c: (remove_emblem),
(emblem_dialog_clicked), (emit_emblems_changed_signal):
Added the emission of signals that happen when the list of
emblems change so that we tell the search bar about it.
* src/nemo-signaller.c: (nemo_signaller_initialize_class):
* src/nemo-signaller.h:
Added an "emblems changed" signal to the signaller's vocabulary,
since we need a global signal, so this seems to be the logical
object to attach it to.
2000-08-31 John Sullivan <sullivan@eazel.com>
Fixed bug 2013 (Enter should start complex search when any
search text field has focus)
* libnemo-extensions/nemo-gtk-extensions.c:
(nemo_gtk_button_auto_click): Now checks for insensitive
state and does nothing in that case.
* src/nemo-complex-search-bar.c:
(nemo_complex_search_bar_initialize):
Made find button get created before criteria widgets.
(attach_criterion_to_search_bar): Wire up "activate"
signal for text field to auto_click the find button.
* src/nemo-simple-search-bar.c:
(nemo_simple_search_bar_initialize): Now the
"activate" signal for the one text field here calls
auto_click on the button instead of calling a separate
callback that checks button sensitivity (indirectly) and
then starts search. Watch the button depress as if by magic!
Impress your friends!
2000-08-31 John Sullivan <sullivan@eazel.com>
Fixed bug 1037 (Use "folder" instead of "directory" consistently)
I think I found them all. If you find any others, fix them or
write up new bug reports about them.
* libnemo-extensions/nemo-file.c:
(format_item_count_for_display), (nemo_file_dump):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_display_selection_info):
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Replaced uses of "directory"
and "directories" in the UI with "folder" and "folders"
* src/nemo-window-menus.c: (nemo_window_initialize_menus):
* src/nemo-window-private.h:
* src/nemo-window-toolbars.c: Same as above. Also moved the
hint strings used by both toolbar buttons and menu items into
a shared header file instead of duplicating them.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/nemo-mozilla-content-view.c:
(nemo_mozilla_content_view_initialize),
(bonobo_mozilla_callback):
Add commented out support for registering a component.
Add a dumb streaming example.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/mozilla-components.cpp:
* components/mozilla/mozilla-components.h:
New dumb wrapper for registering a mozilla xpcom component from the
Nemo universe.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nemo-toolbar.c: (nemo_toolbar_size_allocate):
fixed bug 2628, merged toolbar items appear after throbber, by
saving and restoring the current position around the positioning
of the throbber.
2000-08-31 John Sullivan <sullivan@eazel.com>
Converted more preferences to not be coupled to user level,
following up on Ramiro's change to make this possible. Note
that some of your preferences might experience a one-time
change after this checkout (most noticeably the sidebar width).
* libnemo-extensions/nemo-global-preferences.c:
(global_preferences_register): Removed default values for
sidebar width.
* libnemo-extensions/nemo-global-preferences.h:
Renamed NEMO_PREFERENCES_ICON_VIEW_TEXT_ATTRIBUTE_NAMES to
NEMO_PREFERENCES_ICON_CAPTIONS.
Moved NEMO_PREFERENCES_ICON_CAPTIONS,
NEMO_PREFERENCES_SHOW_BUILT_IN_BOOKMARKS, and
NEMO_PREFERENCES_SIDEBAR_WIDTH to the non-user-level-coupled
section, and gave them full gconf paths.
Added clarifying comment to NEMO_PREFERENCES_SIDEBAR_PANELS_NAMESPACE.
* src/file-manager/fm-directory-view.c:
Removed mysterious semicolon that was the first character in the file.
(fm_directory_view_initialize), (fm_directory_view_destroy):
Update for name change of NEMO_PREFERENCES_ICON_CAPTIONS.
* src/file-manager/fm-icon-text-window.c:
(changed_attributes_option_menu_callback),
(create_icon_text_window), (fm_icon_text_window_destroy_callback),
(fm_get_text_attribute_names_preference_or_default):
Update for name change of NEMO_PREFERENCES_ICON_CAPTIONS.
* src/nemo-window.c: (nemo_window_initialize): Teensy
comment clarification.
2000-08-31 John Sullivan <sullivan@eazel.com>
Fixed bug 2327 (Alt-key shortcuts to navigate menus shouldn't
work on Desktop). Control-key shortcuts to invoke items directly
still work. I had to fix a Bonobo bug to make this work, so
until you get a new Bonobo this won't work for you (but it will
still compile and run and all).
* src/nemo-window.h:
Prototype for nemo_window_disable_keyboard_navigation_for_menus.
* src/nemo-window-menus.c: Added normal_menu_titles, a static
array of menu paths used for iterating across all the textual
menu titles.
(get_menu_title): New function, returns menu title given path.
(remove_underline_accelerator_from_menu_title): New function,
resets the label of a menu to be the same, but without the underline.
(nemo_window_disable_keyboard_navigation_for_menus): New function,
iterates through normal_menu_titles calling remove_underline_...
on each.
(new_top_level_menu): Now computes title from path using get_menu_title
instead of taking title as parameter.
(nemo_window_create_top_level_menus): New function, creates all
the top-level menus (other than weird user level one) by iterating
across normal_menu_titles.
(nemo_window_initialize_menus): Now calls _create_top_level_menus
instead of creating each one at a time.
* src/nemo-desktop-window.c: (nemo_desktop_window_new):
Now calls nemo_window_disable_keyboard_navigation_for_menus
just after creating the NemoWindow.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nemo-about.c: (nemo_about_initialize),
(nemo_about_draw_info):
draw the passed-in comment in the appropriate position. This change
completes the new about dialog.
* src/nemo-window-menus.c: (help_menu_about_nemo_callback):
tweaked the about window comment and authors.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nemo-about.c: (nemo_about_initialize):
fixed bug 2653, about window crashes if shown more than once.
Fixed by setting the "close_hides" boolean. Also, set the
title of the window to "About Nemo".
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
Bug 1293. Core dump if gconf returns bad values
* libnemo-extensions/nemo-user-level-manager.c:
(nemo_user_level_manager_get_user_level):
Add blurb explaining why its ok to trust the returned string.
This was actually fixed by komrade Jirka's last checkin to this
file.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
* src/nemo-window-menus.c:
(nemo_window_initialize_menus): Use
gtk_signal_connect_while_alive() for user_level_changed_callback
so that we dont get callbacks after we are dead.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
Task 1229. Need support for preferences not coupled to user level.
* libnemo-extensions/nemo-global-preferences.c:
(global_preferences_register):
Add FIXME for the issue of setting default values for non user
level specific preferences.
* libnemo-extensions/nemo-global-preferences.h:
Add blurb explaining preferences that are user level specific and
those that arent.
* libnemo-extensions/nemo-preferences.c:
(preferences_hash_node_add_by_user_level_callbacks),
(preferences_hash_node_add_callback),
New functions to deal with callbacks for preferences that are
coupled to the user level.
(preferences_hash_node_check_changes_func),
(preferences_make_make_gconf_key),
(preferences_gconf_by_user_level_callback),
(preferences_gconf_callback), (nemo_preferences_add_callback),
New functions to deal with callbacks for preferences that are NOT
coupled to the user level.
(nemo_preferences_set_boolean),
(nemo_preferences_get_boolean),
(nemo_preferences_set_string_list),
(nemo_preferences_get_string_list),
(nemo_preferences_set_enum), (nemo_preferences_get_enum),
(nemo_preferences_set), (nemo_preferences_get):
Add support for preferences that are not coupled to the user
level. Compute gconf keys by taking the preference name into
account. If it begins with a "/" (indicating it is fully
qualified) then treat it as a regular gconf key and use it as is.
Otherwise, use the user_level_manager to compute a key according
to the current user level.
* libnemo-extensions/nemo-preferences.h:
Add documentation explaining the two different ways to specify
preference names depending on whether they are user level specific
or not.
* src/nemo-first-time-druid.c: (set_http_proxy):
Use the non user level specific perferences support instead of
poking gconf directly.
2000-08-31 Eskil Heyn Olsen <eskil@eazel.com>
* nemo-installer/src/evil.xpm:
Forget the evil xpm for failed operation.
2000-08-31 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_done):
Debug output.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_flatten_categories), (install_new_packages),
(eazel_install_download_packages),
(eazel_install_pre_install_packages),
(eazel_install_do_install_packages),
(eazel_install_prune_packages),
(eazel_install_package_name_compare),
(eazel_install_fetch_rpm_dependencies):
Revamped a lot to prevent multiple downloads of the same file (bug
2643), as the installer revealed some easy ways to trigger
that. Basically, I no longer handle each category individually,
but flatten the list. Also handles package-list xml's with
dependency trees.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_category), (osd_parse_implementation), (osd_parse_softpkg):
Removed xml_get_prop and use xml_get_value instead.
* nemo-installer/src/Makefile:
* nemo-installer/src/Makefile.am:
* nemo-installer/src/callbacks.c: (begin_install):
* nemo-installer/src/installer.c: (create_pixmap),
(create_what_to_do_page), (create_install_page),
(create_finish_page_good), (create_finish_page_evil),
(create_window), (install_done), (toggle_button_lock),
(toggle_button_toggled), (eazel_installer_add_category),
(create_info_druid_page), (check_system),
(eazel_install_parse_dont_shows), (eazel_install_parse_must_haves),
(eazel_install_parse_depends), (eazel_installer_load_dependencies),
(eazel_install_get_depends), (eazel_installer_initialize):
* nemo-installer/src/installer.h:
* nemo-installer/src/link.sh:
* nemo-installer/src/main.c: (nemo_pixmap_file):
* nemo-installer/src/package-list-depends.xml:
* nemo-installer/src/prescript:
Slam bam thank you mam. Now uses the nemo-druid, and only grew
by 100k... phew.
Added some funky xml parsing so you can control category
dependency via a xml file.
2000-08-31 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(build_services_glist_from_xml), (build_eazel_news_glist_from_xml),
(build_update_news_glist_from_xml), (parse_summary_xml_file):
* components/services/summary/lib/eazel-summary-shared.h:
Added the beginnings of the summary configuration xml parser.
Nowhere close to working yet.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
added a new about box that uses anti-aliased text.
* icons/Makefile.am:
* icons/about_background.png:
added image for about background
* src/Makefile.am:
* src/nemo-about.c,h: (nemo_about_initialize_class),
(nemo_about_destroy), (nemo_about_initialize),
(nemo_about_new), (draw_pixbuf), (nemo_about_repaint),
(draw_aa_string), (nemo_about_draw_info):
added a new class for our about box
* src/nemo-window-menus.c: (help_menu_about_nemo_callback):
invoked nemo_about instead of gnome_about
update the list of authors and other info
2000-08-31 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nemo-tree-view.c: fix bug 2468.
maciej now owes me a restaurant. (zuni ?)
* libnemo-extensions/nemo-file.c:
(nemo_file_get_type_as_string): update to gnome-vfs API
changes.
2000-08-30 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nemo-label.c: (justification_changed_callback),
(drop_shadow_offset_changed_callback),
(create_justification_frame), (create_drop_shadow_offset_frame),
(main):
Add justification tests. Add drop shadow tests.
2000-08-30 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-volume-monitor.c: (eject_cdrom):
Fixed bug 2446, need to implement CDROM ejection.
It's in there. Let's see what breaks.
* src/nemo-window.c: (nemo_window_initialize_class):
(realize):
Added a new hint for sawfish and removed a focus flag at the
reccomendation of John Harper.
2000-08-30 John Sullivan <sullivan@eazel.com>
Fixed bug 2393 (need cleaner way for directory view subclasses
to insert menu items)
I'm going to be futzing with directory view context menu items
soon, so I started by cleaning up the architecture a little to
make future futzing easier.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(set_menu_item_path): New function, stores the menu's path
identifier in the GtkMenuItem (via set_data) so that it can
be compared against later.
(menu_item_matches_path): New function, checks whether a menu
item's stored path matches a specified one.
(fm_directory_view_add_context_menu_item): Renamed this function
from fm_directory_view_add_menu_item for clarity, and gave it
a path parameter so callers could specify the path by which the
item can later be identified. Calls set_menu_item_path with
path.
(append_gtk_menu_item_with_view): call set_menu_item_path.
(real_create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items):
Update for fm_directory_view_add_context_menu_item change.
(add_open_with_gtk_menu_item): Add comment about lameness that I
will fix soon.
(fm_directory_view_get_context_menu_index): Reimplement using
menu_item_matches_path instead of hardwiring indices that could
easily get out of synch with actual menu-creation code (and were
in fact out of synch). Added a GtkMenu parameter as part of this.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
Update for fm_directory_view_add_context_menu_item change.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_create_selection_context_menu_items),
* src/file-manager/fm-search-list-view.c:
(real_create_selection_context_menu_items): Update for
fm_directory_view_get_context_menu_index change.
2000-08-30 Andy Hertzfeld <andy@eazel.com>
* src/nemo-throbber.c: (get_throbber_dimensions),
(nemo_throbber_initialize):
made the throbber compute its size using all of its constituent
images instead of just the rest image. Plus some minor clean-ups.
2000-08-30 Darin Adler <darin@eazel.com>
* libnemo-extensions/nemo-directory.c:
(construct_private_metafile_uri), (nemo_self_check_directory):
* libnemo-extensions/nemo-icon-factory.c:
(make_thumbnail_path):
* libnemo-extensions/nemo-link.c: (make_local_path):
Use escape function in gnome-vfs instead of one in Nemo.
* libnemo-extensions/nemo-string.h:
* libnemo-extensions/nemo-string.c:
(nemo_str_strip_chr), (nemo_str_double_underscores),
(nemo_str_middle_truncate): Use g_new instead of g_malloc.
Helps get rid of silly "sizeof (char)" business.
Remove nemo_str_escape_slashes.
2000-08-30 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/Makefile.am:
* components/services/summary/lib/.cvsignore:
* components/services/summary/lib/Makefile.am:
* components/services/summary/lib/eazel-summary-shared.c:
(http_fetch_remote_file):
* components/services/summary/lib/eazel-summary-shared.h:
* configure.in:
Adding a portion of the shared download / parse framework
for summary configuration.
2000-08-30 Rebecca Schulman <rebecka@eazel.com>
Most of the work on 2369, to add the emblems to the search
criteria. This work involved refactoring the code to generate
property information for display. This new code is used by the
code to create the search criterion, and also by the emblem
display code, which is in nemo-property-browser.
* libnemo-extensions/Makefile.am:
* libnemo-extensions/nemo-customization-data.c:
* libnemo-extensions/nemo-customization-data.h:
(nemo_customization_data_new),
(nemo_customization_data_get_next_element_for_display),
(nemo_customization_data_private_data_was_displayed),
(nemo_customization_data_destroy),
(get_global_customization_uri), (get_private_customization_uri),
(get_file_path_for_mode),
(nemo_customization_make_background_chit),
(format_name_for_display), (strip_extension):
New file with extracted methods from nemo-property browser.
The new API initiates a new structure, and has an iterative call
to "get the next element for display" which returns a correctly
sized pixmap widget and a label widget containing the name appropriate
for display.
* libnemo-extensions/nemo-dateedit-extensions.c:
(nemo_gnome_date_edit_get_date_as_string):
Removed extraneous debugging printf.
* libnemo-extensions/nemo-search-bar-criterion.c:
* libnemo-extensions/nemo-search-bar-criterion.h:
(nemo_search_bar_criterion_new_from_values),
(nemo_search_bar_criterion_next_new),
(nemo_search_bar_criterion_get_location),
(get_emblem_location_for), (get_date_modified_location_for),
(make_emblem_value_menu):
Added code to generate the emblem menu, and to generate a
search criterion for the search uri from the menu's settings.
* libnemo-extensions/nemo-search-uri.c:
More language updated, and added text for emblems
* src/nemo-property-browser.c: (make_drag_image),
(make_properties_from_directories), (make_category):
Updated this code to deal with new refactoring.
2000-08-30 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus):
Moved the "Tighter Layout" and "Reversed Order" toggle items
into the "Lay out items" submenu, after discussing with Andy
(who had earlier discussed with Arlo).
2000-08-30 Robey Pointer <robey@eazel.com>
* src/nemo-main.c: (main):
* src/nemo-shell.c: (corba_open_default_window),
(save_window_states), (restore_window_states), (corba_restart):
Make restart save window sizes, positions, and uri's in a gconf
setting, so that the windows can be (mostly) restored.
2000-08-30 Andy Hertzfeld <andy@eazel.com>
* src/nemo-throbber.c: (nemo_throbber_initialize),
(nemo_throbber_load_images),
(nemo_throbber_button_press_event):
some samll clean-ups for the throbber, including removing some
debug messages that were accidentally left in, which John called
"throbber spam".
2000-08-30 Mike Fleming <mfleming@eazel.com>
eazel:summary view now calls ammonite to log in.
Also added ammonite dependency to configure.in when
nemo is compiled with --enable-eazel-services
* components/services/summary/nemo-view/Makefile.am:
* components/services/summary/nemo-view/nemo-summary-view.c
: (entry_changed_cb), (authn_cb_succeeded), (authn_cb_failed),
(login_button_cb), (logout_button_cb),
(nemo_summary_view_initialize),
(nemo_summary_view_destroy):
* configure.in:
2000-08-30 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-mime-actions.c:
(nemo_mime_get_default_component_for_uri_internal):
Fixed bug 1158, GnomeVFSMimeHandlers code needs error handling.
There was a lonely FIXME here. A NULL is now returned instead of
an assert. A NULL is handled properly by all callers of this function.
* src/file-manager/fm-desktop-icon-view.c: (event_callback),
(fm_desktop_icon_view_initialize):
Work in progress trying to get keyboard events to the desktop.
I am working with John Harper on this.
2000-08-30 Ali Abdin <aliabdin@aucegypt.edu>
New tags to fix the following bugs: #2383, #2384, #2386, #2387,
#2382, #2523
Also add in a first cut at Navigation Links (Bug #2201)
* components/help/converters/gnome-db2html2/gdb3html.h:
Add the following tags: superscript, systemitem, varname, option,
quote, blockquote - Fixes bug #2383, #2384, #2386, #2387, #2382, #2523
Add a sect1id_stack GList to the Context struct
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_blockquote_start_element),
(sect_blockquote_end_element),
(sect_quote_start_element),
(sect_quote_end_element),
(sect_sup_start_element),
(sect_sup_end_element): New functions to handle some of the new tags
* components/help/converters/gnome-db2html2/gdb3html.c:
(find_first_element): Remove inadvertant debug check-in
(sect_footer),
(print_footer): New functions to handle the output of a footer
(sect1_start_element): New 'shared' function that builds a GList of
sect1 id's
(article_end_element): No longer print out </HTML> or </BODY> as that
should be handled by the footer
(parse_file): Modify to print out the footer
* components/help/converters/gnome-db2html2/toc-elements.c:
* components/help/converters/gnome-db2html2/sect-preparse.c:
(sect_preparse_sect_start_element): Make a call to the
sect1_start_element function when we encounter a sect1 tag
(toc_sect_start_element): ditto
2000-08-30 Robin * Slomkowski <rslomkow@eazel.com>
README: added requirement of GCONF_0_8 tag
2000-08-30 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nemo-rpm-view.c:
(nemo_rpm_view_update_from_uri):
Changed the comments reg. bug 1657
components/services/install/command-line/eazel-alt-install-corba.c:
(create_package),
Handles ~ in filenames now
(main):
Proper gtk_signal_func cast for the delete_files signal
* components/services/install/command-line/eazel-gen-pre-xml.sh:
Script to generate a colon-delimited file for eazel-gen-xml, by
using rpm -qp on rpm files.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_initialize):
-DEAZEL_INSTALL_SLIM no longer creates a userlocal rpmdb
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (free_string),
(gnome_vfs_fetch_remote_file)
(get_url_for_package):
Added D: to debug output, nicefied the gnome-vfs stuff after shane
laughed at me
(eazel_install_fetch_package),
Added the md5 stuff, it's commented out, as there is no md5 in the
xml from the server, thus checking md5 would fail all packages.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages), (download_all_packages),
(eazel_install_pre_install_packages), (install_packages),
(uninstall_packages),
(eazel_install_prepare_rpm_system), (eazel_install_add_to_rpm_set),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies):
So much...
- xml packagelist can now have soft_depends which
the download and install now checks for
- removed some leaks
- check for reopening rpmdb which is bad
- clarifying comments for div FIXME's
(eazel_install_prune_packages),
Fixed a vaarg usage
* components/services/install/lib/eazel-install-types.h:
Added md5 to the PackageData struct
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (categorydata_destroy_foreach),
(packagedata_new), (packagedata_destroy_foreach),
Added md5 to the PackageData struct
Now has some debug stuff to check for deallocating structes.
(packagedata_remove_soft_dep),
added function to remove a package from another packages soft_deps
(rpmfilename_from_packagedata):
Fixed a wrong g_strconcat
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list)
Generates nicer category names...
(parse_category), (parse_memory_transaction_file),
Uses categorydata_new now
(osd_parse_implementation),
Added FIXME reg. md5 check
(parse_osd_xml_from_memory):
D: to debug output
* components/services/install/lib/makefile.staticlib.in:
No longer sets the defines, they are now set in the link.sh
scrip in the nemo-installer
* nemo-installer/src/Makefile:
* nemo-installer/src/Makefile.am:
* nemo-installer/src/callbacks.c: (druid_cancel),
(begin_install), (druid_finish), (prep_install):
* nemo-installer/src/installer.c: (set_white_stuff),
(create_what_to_do_page), (create_install_page),
(create_finish_page), (create_window), (set_images),
(eazel_install_progress), (eazel_download_progress),
(install_failed_helper), (install_failed), (download_failed),
(eazel_install_preflight), (eazel_install_dep_check),
(eazel_install_delete_files), (eazel_installer_add_category),
(check_system), (eazel_installer_do_install),
(eazel_installer_finalize), (eazel_installer_unref),
(eazel_installer_class_initialize), (eazel_installer_initialize),
(eazel_installer_get_type), (eazel_installer_new):
* nemo-installer/src/installer.h:
* nemo-installer/src/interface.c:
* nemo-installer/src/link.sh:
* nemo-installer/src/main.c: (oaf_init), (bonobo_init):
* nemo-installer/src/support.c:
* nemo-installer/src/support.h:
Created a gtkobject for the installer, revamped the choice stuff,
so it now offers the categories, stabilization work etc.
2000-08-30 Andy Hertzfeld <andy@eazel.com>
added a Netscape-like throbber widget to the toolbar, to give busy feedback. It uses
uses a generic animation from Arlo, but it's themable. It still needs some clean-up
but it's mostly done.
* configure.in:
* icons/Makefile.am:
* icons/throbber
* icons/throbber/.cvsignore:
* icons/throbber/Makefile.am:
* icons/throbber/*.png:
added a directory of frame images for the generic throbber.
* src/Makefile.am:
* src/nemo-throbber.c,h: (nemo_throbber_initialize_class),
(nemo_throbber_destroy), (get_throbber_dimensions),
(nemo_throbber_initialize), (nemo_throbber_new),
(nemo_throbber_theme_changed), (draw_pixbuf),
(select_throbber_image), (draw_throbber_image),
(nemo_throbber_draw), (nemo_throbber_expose),
(bump_throbber_frame), (nemo_throbber_start),
(nemo_throbber_stop), (nemo_throbber_unload_images),
(load_themed_image), (make_throbber_frame_name),
(nemo_throbber_load_images),
(nemo_throbber_button_press_event),
(nemo_throbber_size_allocate):
added a throbber widget that animates while pages are loaded.
* src/nemo-toolbar.h:
made the nemo toolbar know about the throbber
* src/nemo-toolbar.c,h: (nemo_toolbar_set_throbber),
(nemo_toolbar_size_allocate):
made the nemo toolbar position the throbber on the far right
* src/nemo-window-toolbars.c: (allocate_throbber),
(nemo_window_initialize_toolbars):
allocate the throbber when we make the toolbar
* src/nemo-window.c: (nemo_window_allow_stop):
tell the throbber to start and stop when page loading begins/ends. We piggy-back
off of the stop button.
* src/nemo-window.h:
made the nemo_window know about the throbber
2000-08-29 Mike Fleming <mfleming@eazel.com>
* src/nemo-first-time-druid.c:
(next_proxy_configuration_page_callback), (download_callback),
(initiate_file_download), (set_http_proxy), (getline_dup),
(load_nscp_proxy_settings), (attempt_http_proxy_autoconfigure):
Bug #1812
First-time druid now autoprobes for HTTP proxy settings and
saves them to GConf. Now gnome-vfs needs to be fixed to make use
of this (ammonite already does).
Tue Aug 29 22:43:15 2000 George Lebl <jirka@5z.com>
This should close bug #1361
* configure.in, cut-n-paste-code/widgets/Makefile.am,
cut-n-paste-code/widgets/nemo-druid/*,
po/POTFILES.in:
Remove the nemo druid hack from here. We can do all
that we need from libnemo extensions without need of
cut and paste code.
* libnemo-extensions/nemo-druid.[ch],
libnemo-extensions/nemo-druid-page-eazel.[ch],
po/POTFILES.in:
Make NemoDruid be a derivation of GnomeDruid and
the NemoDruidPageEazel of GnomeDruidPage. Also make
use of more of the nemo style of coding in both. Federico
will kill me for using remove/add to move a file, but it's more
then just a move anyway.
* src/nemo-first-time-druid.c (set_up_proxy_config_page)
(next_update_page_callback) (next_update_feedback_page_callback)
(next_proxy_configuration_page_callback)
(finish_page_back_callback) (nemo_first_time_druid_show)
(download_callback) (initiate_file_download):
Use the new nemo druid and the new eazel druid page everywhere.
Also fix one case of double adding things to a GtkBox.
2000-08-29 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
Added an accelerator for the New Folder item.
* src/file-manager/fm-directory-view.c: (select_all_callback),
(fm_directory_view_add_menu_item),
(fm_directory_view_real_create_background_context_menu_items):
Added support for accelerators in popup menu items. You
specify the accelerator key by placing an _ before the desired
letter.
* libnemo-extensions/nemo-drag.c:
(nemo_drag_can_accept_item):
Fixed a bug dealing with dragging over trash.
2000-08-29 Andy Hertzfeld <andy@eazel.com>
* components/rpmview/nemo-rpm-view.c:
(nemo_rpm_view_initialize),
(nemo_rpm_view_update_from_uri):
used nemo_label to provide anti-aliased text in the rpm-view,
as well as some other clean-ups. The labels aren't aligned properly,
due to a bug in nemo_label that Ramiro will be fixing soon.
* src/nemo-property-browser.c:
(nemo_property_browser_initialize), (make_category_link),
(nemo_property_browser_update_contents):
changed command buttons at bottom back to using non-aa text at
Arlo's request; also, put the labels inside the category buttons
like Susan and Arlo both want, as well as other minor tweaks.
* src/nemo-sidebar-title.c: (update_font):
changed a comment as part of resolving a FIXME.
2000-08-29 Arlo Rose <arlo@eazel.com>
Fixed all outstanding cHRM white point problems.
* data/emblems/OK.png
* data/emblems/draft.png
* data/emblems/erase.png
* data/emblems/favorite.png
* data/emblems/important.png
* data/emblems/new.png
* data/emblems/ohno.png
* data/emblems/personal.png
* data/emblems/urgent.png
* icons/backgrounds.png
* icons/colors.png
* icons/emblems.png
* icons/knob.png
* icons/nemo-logo.png
* icons/search.png
* icons/eazel/i-directory-aa.png
* icons/eazel/i-directory-accept-72.png
2000-08-29 Robin * Slomkowski <rslomkow@eazel.com>
* cut-n-paste-code/widgets/nemo-druid/Makefile.am:
added VFS_CFLAGS so it could find gnome vfs headers.
2000-08-29 Robey Pointer <robey@eazel.com>
* components/services/install/nemo-view/nemo-service-instal
l-view.c: (current_progress_bar_complete),
(nemo_service_install_preflight_check),
(show_dialog_and_run_away), (nemo_service_install_done),
(nemo_service_install_failed):
Restore code to jump to the summary widget after an install (for
demo), and make a dialog popup before then.
2000-08-29 Michael Engber <engber@eazel.com>
Fixed warning caused by passing NULL for a directory - bug 2079.
* src/file-manager/fm-icon-view.c: (layout_changed_callback):
2000-08-29 Darin Adler <darin@eazel.com>
* libnemo-extensions/nemo-directory-async.c:
(call_ready_callbacks), (start_or_stop_io),
(nemo_directory_async_state_changed):
Fixed bug that showed up as warnings on exit and fails of "make
check". The code needs to check for I/O that must be stopped after
calling "call_when_ready" callbacks. I improved the structure here
a bit too by making a new function.
* libnemo-extensions/nemo-directory.c:
(nemo_self_check_directory): Fixed a mistake in the self-check
that made it check the wrong thing.
* libnemo-extensions/nemo-link-set.c: (link_set_path_name):
Use nemo_make_path instead of the hard-coded equivalent.
* libnemo-extensions/nemo-gtk-extensions.h: Reformatted.
* src/nemo-property-browser.c: (remove_emblem): Formatting tweak.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 2223 (selecting separator of "View As" option
menu causes problems).
Surprise, surprise, surprise -- separator menu items are
not treated as insensitive by default, so you can select
them. This makes no difference in pull-down menus, but
leads to trouble in option menus.
* src/nemo-window.c:
(new_gtk_separator): New convenience function, makes
a separator item, sets it to be insensitive, and shows it.
(replace_special_current_view_in_content_view_menu),
(nemo_window_load_content_view_menu): Deploy new_gtk_separator.
2000-08-29 Gene Z. Ragan <gzr@eazel.com>
Refactored function and fixed a bug.
* libnemo-extensions/nemo-drag.c:
(nemo_drag_can_accept_item):
Fixed bug 1950, Trash icon on desktop should have
"Empty Trash" in its right click menu
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(new_folder_menu_item_callback), (empty_trash_callback),
(trash_link_is_selection),
(fm_desktop_icon_view_create_selection_context_menu_items),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-directory-view.c:
(bonobo_menu_open_callback),
(fm_directory_trash_link_in_selection),
(real_create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items),
(fm_directory_view_real_create_selection_context_menu_items),
(create_selection_context_menu):
* src/file-manager/fm-directory-view.h:
2000-08-29 Mathieu Lacage <mathieu@eazel.com>
* libnemo-extensions/nemo-search-uri.c: (parse_uri),
(nemo_self_check_search_uri): fix a checks. fix a space
added in the generated sentences.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 1884 (mistyped URL is changed back to previous)
* src/nemo-window-manage-views.c:
(nemo_window_end_location_change_callback): Replaced
a nemo_navigation_bar_set_location call with a comment
explaining why not to call it there.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 2173 (We should allow clearing the History list)
There's now a Forget History item in the Go menu which
(after confirmation) forgets the history items in the Go
menu and the back/forward chains of each Nemo window.
Afterwards, the Go menu's history list contains only locations
currently being displayed.
* src/nemo-window.h: Changed back_list and forward_list
from GSList * to GList * so I could use nemo glist
convenience functions (there's no efficiency issue with these
small lists). Added prototypes for new functions
nemo_clear_back_list, nemo_clear_forward_list, and
nemo_forget_history.
* src/nemo-window.c:
(nemo_window_clear_forward_list),
(nemo_window_clear_back_list): New functions that free and
set to NULL the back & forward lists.
(nemo_window_destroy): Use nemo_window_clear_back_list
and nemo_window_clear_forward_list instead of replicating code.
(nemo_window_back_or_forward),
(nemo_window_get_base_page_index): Replace "slist" with "list"
(free_history_list): Set history_list variable to NULL in addition
to freeing its contents.
(nemo_forget_history): New function, walks through all windows
clearing out their back/forward lists, and throws away all of the
history list except currently-displayed locations.
* src/nemo-window-manage-views.c: (handle_go_back),
(handle_go_forward), (handle_go_elsewhere): Changed "slist"
to "list" in various places; called new nemo_clear_forward_list
instead of replicating code.
* src/nemo-window-menus.c:
(forget_history_if_confirmed): New function, calls nemo_history_forget
if user confirms via modeless dialog (because it would be a pain to
accidentally choose this menu item and erase your history).
(go_menu_forget_history_callback): New function used by new menu item,
calls forget_history_if_confirmed.
(nemo_window_initialize_menus): Add "Forget History" item to Go menu.
* src/nemo-window-toolbars.c: (create_back_or_forward_menu):
Replace "slist" with "list"
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_create_background_context_menu_items):
Just clarified a comment.
2000-08-29 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nemo-view/nemo-summary-view.c
: (generate_summary_form), (login_button_cb), (logout_button_cb):
Adding the logout button so that Mike can hook up the callbacks.
2000-08-29 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-buffered-widget.c:
* libnemo-extensions/nemo-label.h:
* libnemo-extensions/nemo-scalable-font.h:
Dumb documentation typos.
2000-08-29 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-string-map.c:
Remove a FIXME (bug 2442) which i already fixed.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 2182 (right-clicking on zoom control changes zoom level)
* src/nemo-zoom-control.c:
(nemo_zoom_control_button_press_event): Made the zoom
control use Ramiro's nifty nemo_pop_up_context_menu code
to offset the menu position slightly.
2000-08-29 John Sullivan <sullivan@eazel.com>
Redid changes that converted "Ascending/Descending" menu items
into single "Reversed Order" menu item. Andy accidentally
clobbered my entire set of changes with a more recent check-in.
* src/file-manager/fm-icon-view.c: (tighter_layout_callback),
(update_layout_menus), (sort_callback), (sort_direction_callback),
(manual_layout_callback), (fm_icon_view_merge_menus),
(fm_icon_view_initialize_class):
2000-08-29 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. All Nemo FIXMEs currently
have bug numbers. Huzzah! (Too bad the same can't be said for
gnome-vfs, oaf, medusa, ...)
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies):
* components/services/install/lib/eazel-install-types.c:
* components/services/install/nemo-view/nemo-service-instal
l-view.c: (current_progress_bar_complete),
(nemo_service_install_downloading):
* components/services/time/nemo-view/trilobite-eazel-time-view.
c:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_pexec):
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (trilobite_root_client_initialize):
* components/services/vault/command-line/main.c:
* src/nemo-view-frame-bonobo-control.c:
(nemo_view_frame_activate_uri):
* src/nemo-view-frame-bonobo-embeddable.c:
(bonobo_subdoc_load_location):
* src/nemo-window-private.h:
2000-08-29 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 21 to go.
* cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-stand
ard.c: (nemo_druid_page_standard_init):
* cut-n-paste-code/widgets/nemo-druid/nemo-druid.c:
(nemo_druid_size_request), (nemo_druid_next_callback):
* libnemo-extensions/nemo-background-canvas-group.c:
(nemo_background_canvas_group_render):
* libnemo-extensions/nemo-directory-background.c:
(nemo_connect_background_to_directory_metadata):
* libnemo-extensions/nemo-file-operations-progress.c:
(truncate_string_from_start):
* libnemo-extensions/nemo-file-operations.c:
(handle_xfer_duplicate):
* libnemo-extensions/nemo-font-picker.c:
(nemo_font_picker_initialize):
* libnemo-extensions/nemo-gdk-extensions.c:
(nemo_gdk_font_get_bold):
* libnemo-extensions/nemo-gdk-pixbuf-extensions.c:
(nemo_gdk_pixbuf_draw_text):
* libnemo-extensions/nemo-global-preferences.c:
(global_preferences_create_dialog):
* libnemo-extensions/nemo-gtk-extensions.c:
(nemo_gtk_button_auto_click),
(nemo_popup_menu_position_func):
* libnemo-extensions/nemo-icon-factory.c:
(nemo_icon_factory_get_icon_for_file),
(cached_image_still_valid),
(nemo_icon_factory_make_thumbnails):
* libnemo-extensions/nemo-icon-text-item.c:
(iti_paint_text):
* libnemo-extensions/nemo-list.c:
(show_context_menu_callback), (nemo_list_get_drop_action):
2000-08-29 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 49 to go.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_uninstall_downward_traverse):
* libnemo-extensions/nemo-merged-directory.c:
(nemo_merged_directory_add_real_directory):
* libnemo-extensions/nemo-mime-actions.c:
(make_oaf_query_with_known_mime_type),
(make_oaf_query_with_uri_scheme_only):
* libnemo-extensions/nemo-preferences.c:
(nemo_preferences_set_string_list):
* libnemo-extensions/nemo-program-chooser.c:
(program_file_pair_compute_status), (get_supertype_from_file):
* libnemo-extensions/nemo-scalable-font.c:
(nemo_scalable_font_measure_text):
* libnemo/nemo-view.c: (view_frame_call_begin):
* nemo-installer/src/support.c: (create_pixmap),
(create_image):
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(volume_unmounted_callback), (place_home_directory):
* src/file-manager/fm-icon-view.c: (get_next_position),
(play_file), (get_icon_text_callback):
* src/file-manager/fm-list-view.c: (fm_list_view_initialize),
(create_list), (fm_list_view_set_zoom_level),
(fm_list_view_font_family_changed):
* src/file-manager/nemo-indexing-info.c:
(nemo_indexing_info_show_dialog):
* src/nemo-application.c: (nemo_application_startup):
* src/nemo-first-time-druid.c:
(next_proxy_configuration_page_callback), (initiate_file_download):
* src/nemo-property-browser.c: (add_background_to_browser):
* src/nemo-shell.c:
2000-08-29 Andy Hertzfeld <andy@eazel.com>
* src/nemo-first-time-druid.c: (proxy_selection_changed),
(set_up_proxy_config_page), (next_update_feedback_page_callback),
(next_proxy_configuration_page_callback),
(finish_page_back_callback), (nemo_first_time_druid_show),
(download_callback), (initiate_file_download):
made the first time druid handle proxy configuration, which is presented to
the user if an error occurs during the initial http update process. Plus some
other cleanups.
* src/nemo-property-browser.c:
tweaked the background color
* src/nemo-theme-selector.c:
tweaked the background color
2000-08-28 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages):
Fix small bug that made emit_done() always signal success.
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_packages), (eazel_install_start_transaction):
* components/services/install/lib/eazel-install-rpm-signature.c:
(trilobite_check_rpm_signature):
Return failure if the transaction fails. Only call root-helper
once now (let root-helper handle the password retries). Fix pexec
calls to check for the new return value.
* components/services/install/nemo-view/nemo-service-instal
l-view.c: (nemo_service_try_again), (set_root_client):
Set up try_again callback to allow 3 attempts at entering the root
password.
* components/services/trilobite/idl/trilobite-service.idl:
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (impl_Trilobite_PasswordQueryClient_try_again),
(trilobite_root_client_get_epv),
(trilobite_root_client_class_initialize):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_destroy),
(trilobite_root_helper_class_initialize), (eazel_helper_start),
(eazel_helper_password), (trilobite_root_helper_start):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
h:
* components/services/trilobite/libtrilobite/trilobite-service-pass
wordquery.c: (trilobite_passwordquery_initialize),
(trilobite_passwordquery_get_password),
(trilobite_passwordquery_try_again):
Add try_again signal to the root-client, root-helper, and
PasswordQueryClient APIs.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_pexec), (trilobite_init):
pexec now returns the child pid.
2000-08-29 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_fetch_remote_package_list):
Smarter package-list url generation.
* components/services/install/lib/eazel-install-public.h:
Expose fetch_remote_package_list call, used for the installer.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_uninstall_downward_traverse):
Removed FIXME that was in error.
* nemo-installer/src/callbacks.c: (druid_cancel),
(begin_install), (druid_finish), (prep_install):
* nemo-installer/src/callbacks.h:
* nemo-installer/src/installer.c: (check_system),
(eazel_installer_do_install):
* nemo-installer/src/installer.h:
* nemo-installer/src/interface.c: (set_white_stuff),
(create_what_to_do_page), (create_window), (set_images),
(eazel_install_progress), (eazel_download_progress),
(install_failed_helper), (install_failed), (download_failed),
(eazel_install_preflight), (eazel_install_dep_check),
(eazel_install_delete_files), (eazel_installer_add_category),
(eazel_installer_finalize), (eazel_installer_unref),
(eazel_installer_class_initialize), (eazel_installer_initialize),
(eazel_installer_get_type), (eazel_installer_new):
* nemo-installer/src/interface.h:
* nemo-installer/src/main.c: (main):
Slaughtering and revamping the installer. It now loads the
packagelist as one of the first things (needs changing to support
proxies), then inserts a radiobutton pr. category (needs to be
togglebuttons instead).
2000-08-28 Mathieu Lacage <mathieu@eazel.com>
* NEWS: add news from latest PR1 release.
* components/tree/nemo-tree-view.c: make dnd do real file operations
from tree view to other views. Dnd to tree view depends on the views code
which needs to be fixed (related to bug 2353).
* libnemo-extensions/Makefile.am: add nemo-fils-operations.
* libnemo-extensions/nemo-file-operations-progress.c:
(nemo_file_operations_progress_update),
(nemo_file_operations_progress_close),
(nemo_file_operations_progress_destroy),
(nemo_file_operations_progress_initialize),
(nemo_file_operations_progress_initialize_class),
(nemo_file_operations_progress_new),
(nemo_file_operations_progress_set_total),
(nemo_file_operations_progress_set_operation_string),
(nemo_file_operations_progress_new_file),
(nemo_file_operations_progress_clear),
(nemo_file_operations_progress_update_sizes),
(nemo_file_operations_progress_freeze),
(nemo_file_operations_progress_thaw): modify API name.
* libnemo-extensions/nemo-file-operations-progress.h: idem
* libnemo-extensions/nemo-file-operations.c: idem
(xfer_dialog_clicked_callback), (create_xfer_dialog),
(progress_dialog_set_files_remaining_text),
(progress_dialog_set_to_from_item_text), (handle_xfer_ok),
(handle_xfer_vfs_error), (nemo_file_operations_copy_move),
(nemo_file_operations_new_folder),
(nemo_file_operations_move_to_trash),
(nemo_file_operations_delete),
(nemo_file_operations_empty_trash):
* libnemo-extensions/nemo-file-operations.h: idem.
* src/file-manager/Makefile.am: remove dfos* from compilation.
* src/file-manager/fm-directory-view.c:
(bonobo_menu_empty_trash_callback),
(fm_directory_view_create_links_for_files),
(fm_directory_view_duplicate_selection),
(fm_directory_view_trash_or_delete_selection),
(fm_directory_view_new_folder),
(fm_directory_view_move_copy_items): make it call nemo-file-operations
functions.
2000-08-28 Robey Pointer <robey@eazel.com>
* components/services/install/nemo-view/nemo-service-instal
l-view.c: (nemo_install_parse_uri), (make_new_status),
(turn_cylon_off), (current_progress_bar_complete),
(nemo_service_install_preflight_check),
(nemo_service_install_download_failed),
(nemo_service_install_done), (nemo_service_install_failed):
* components/services/install/nemo-view/nemo-service-instal
l-view.h:
Add "?version=" checking into the install view url, for
bootstrapping the installer.
* components/services/nemo-dependent-shared/shared-service-widg
ets.c: (create_label_widget), (create_services_title_widget),
(create_services_header_widget):
Change titlebar font sizes to fit Arlo specifications.
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-buffered-widget.c:
(nemo_buffered_widget_initialize),
(nemo_buffered_widget_destroy),
(buffered_widget_update_pixbuf),
(create_background_pixbuf_from_none),
(create_background_pixbuf_from_solid),
(create_background_pixbuf_from_ancestor),
(create_background_pixbuf),
(nemo_buffered_widget_get_vertical_offset),
(nemo_buffered_widget_set_background_type),
(nemo_buffered_widget_get_background_type),
(nemo_buffered_widget_set_background_color),
(nemo_buffered_widget_get_background_color):
* libnemo-extensions/nemo-buffered-widget.h:
* libnemo-extensions/nemo-gdk-extensions.c:
(nemo_gdk_gc_ref_if_not_null),
(nemo_gdk_gc_unref_if_not_null):
* libnemo-extensions/nemo-gdk-extensions.h:
Add unref/ref functions for gcs that take NULL.
* libnemo-extensions/nemo-label.c: (nemo_label_new):
* libnemo-extensions/nemo-label.h:
Make the constructor work just like GtkLabel by accepting a string.
* components/music/nemo-music-view.c:
(nemo_music_view_initialize), (add_play_controls):
Use the new NemoLabel constructor.
* components/services/nemo-dependent-shared/shared-service-widg
ets.c: (create_label_widget):
Use the new NemoLabel constructor.
* src/nemo-first-time-druid.c: (make_anti_aliased_label),
(set_up_update_feedback_page):
Use the new NemoLabel constructor.
* src/nemo-property-browser.c:
(nemo_property_browser_initialize),
(make_properties_from_directory_path),
(make_properties_from_xml_node), (make_category_link):
Use the new NemoLabel constructor.
Fix the tile names to be antialises by using the new buffered
widget SOLID background mode.
* src/nemo-sidebar-title.c:
(sidebar_create_smooth_components_if_needed):
Use the new NemoLabel constructor.
* src/nemo-theme-selector.c:
(nemo_theme_selector_initialize):
Use the new NemoLabel constructor.
* test/test-nemo-image.c: (main):
* test/test-nemo-label.c: (main):
Use the new NemoLabel constructor.
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nemo-window-menus.c: (get_static_bookmarks_file_path):
use the static bookmarks that were downloaded from the service
if they are present; otherwise fall back to the built-in ones.
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nemo-sidebar-title.c:
(nemo_sidebar_title_select_text_color),
(nemo_sidebar_title_theme_changed),
(sidebar_create_smooth_components_if_needed):
added a drop shadow to the sidebar labels, controllable by the
current theme
* icons/arlo/arlo.xml:
added a drop shadow offset to the arlo theme
* libnemo-extensions/nemo-label.h:
fixed a cut-n-paste error in the set_drop_shadow_offset call, by
changing the parameter from "alpha" to "offset"
2000-08-28 Darin Adler <darin@eazel.com>
* src/file-manager/fm-directory-view.c: (display_pending_files):
Lets try that again, this time with feeling.
2000-08-28 Darin Adler <darin@eazel.com>
* src/file-manager/fm-directory-view.c: (display_pending_files):
Fixed a FIXME.
2000-08-28 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
Readded eazel-gen-xml
* components/services/install/command-line/eazel-alt-install-corba.c:
(done),
Check the result flag
(main):
Added revert to the commandline options.
* components/services/install/idl/trilobite-eazel-install.idl:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_done), (eazel_install_callback_class_initialize),
Added a boolean flag to the done signal
(eazel_install_callback_simple_query):
Removed a blank line!
* components/services/install/lib/eazel-install-corba-callback.h:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_simple_query):
Corrected the parse of the root argument
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_query_package_system),
Uses the enum return status from eazel-install-rpm-glue.c. The
delete_files signal now depend on this enum.
(eazel_install_emit_done), (eazel_install_emit_done_default):
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-public.h:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Added the root field to the packagedata
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_all_packages),
(install_packages), (uninstall_all_packages), (uninstall_packages),
(hest), (revert_transaction),
(eazel_install_start_transaction_make_rpm_argument_list),
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_start_transaction),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_prepare_rpm_system),
(eazel_install_prepare_package_system),
(eazel_install_check_existing_packages), (print_package_list),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber):
Uses the enum return status from eazel-install-rpm-glue.c. Also
added "D: " to all the debug output, so I can easily remove them
in the future.
* components/services/install/lib/eazel-install-rpm-glue.h:
Redefined the functions to return an enum status instead of bool.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_destroy_foreach):
Added the root field to the packagedage (bug 2345)
* components/services/time/service/main.c:
(trilobite_service_factory_destroy):
Fixed the destruction of the factory object
* components/services/time/service/trilobite-eazel-time-service-publi
c.h:
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_check_time),
(trilobite_eazel_time_service_finalize),
(trilobite_eazel_time_service_unref),
(trilobite_eazel_time_service_class_initialize),
(trilobite_eazel_time_service_initialize_load_config),
(trilobite_eazel_time_service_initialize),
(trilobite_eazel_time_service_do_http_request):
Added "D: " to debug output. The service now reads config from a
xml config file (bug 945). Removed the _destroy call and added a
unref and finallize instead.
* components/services/trilobite/libtrilobite/helixcode-utils.h:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
(xml_get_value):
Returns the string as a g_strdup'ed value instead. Added a bug
(2448) reg. making it return const char * instead.
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
*components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_get_config_dir_string):
Added this call, which returns the top dir for
* nemo-installer/src/Makefile:
* nemo-installer/src/callbacks.c:
* nemo-installer/src/callbacks.h:
* nemo-installer/src/installer.c: (installer):
* nemo-installer/src/interface.c: (create_window):
* nemo-installer/src/main.c:
Begun work on using the categories.
2000-08-28 Robey Pointer <robey@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-md5.c:
(_byte_reverse), (md5_init), (md5_update), (md5_final),
(md5_transform), (md5_get_digest), (md5_get_digest_from_file),
(main):
* components/services/install/lib/eazel-install-md5.h:
Add MD5 code (stolen from evolution).
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 77 to go. I am exhausted
from creating bug reports, so the remaining ones will have
to wait until at least tomorrow.
* src/nemo-complex-search-bar.c:
(nemo_complex_search_bar_set_location),
(fewer_options_callback), (update_options_buttons_state):
* src/nemo-search-bar.c:
* src/nemo-sidebar-tabs.c: (draw_one_tab_themed),
(get_tab_width):
* src/nemo-sidebar.c: (receive_dropped_uri_list),
(receive_dropped_keyword), (add_command_buttons):
* src/nemo-simple-search-bar.c:
(nemo_search_uri_to_simple_search_criteria),
(nemo_simple_search_criteria_to_search_uri):
* src/nemo-switchable-search-bar.c:
(search_bar_preference_changed_callback),
(nemo_switchable_search_bar_set_location),
(nemo_search_uri_is_displayable_by_mode):
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nemo-property-browser.c: (make_anti_aliased_label),
(nemo_property_browser_initialize),
(make_properties_from_directory_path),
(make_properties_from_xml_node), (make_category),
(make_category_link), (nemo_property_browser_update_contents):
used anti-aliased text via nemo_label where appropriate
* src/nemo-theme-selector.c: (make_anti_aliased_label),
(nemo_theme_selector_initialize):
used anti-aliased text via nemo_label where appropriate
2000-08-28 J Shane Culpepper <pepper@eazel.com>
* components/services/install/lib/eazel-install-types.h:
Removing old FIXME comments.
2000-08-28 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/TODO:
Updated.
* components/help/converters/gnome-db2html2/AUTHORS:
New file (to give credit where its due and to show who to contact
for maintainership purposes)
* components/help/converters/gnome-db2html2/sect-elements.c
(sect_table_with_border_start_element) Its a good idea to actually
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 94 to go.
* libnemo-extensions/nemo-icon-canvas-item.c: (map_pixbuf),
(draw_label_text_aa), (nemo_icon_canvas_item_event):
* libnemo-extensions/nemo-icon-container.c: (icon_free),
(get_all_icon_bounds), (lay_down_icons_tblr), (lay_down_icons),
(nemo_icon_container_move_icon), (stop_rubberbanding),
(destroy), (hide_rename_widget):
* libnemo-extensions/nemo-icon-dnd.c:
(nemo_icon_container_dropped_icon_feedback),
(receive_dropped_keyword), (auto_scroll_timeout_callback),
(nemo_icon_container_find_drop_target),
(nemo_icon_dnd_update_drop_target), (nemo_icon_dnd_fini):
* libnemo-extensions/nemo-link-set.c: (link_set_path_name),
(expand_uri):
* libnemo-extensions/nemo-link.c:
(nemo_link_get_root_property),
(nemo_link_get_additional_text), (make_local_path),
(nemo_link_get_image_uri), (nemo_link_get_link_uri),
(nemo_link_get_link_type):
* src/nemo-sidebar-title.c:
(nemo_sidebar_title_select_text_color), (update_font),
(update_title), (update_more_info), (update_emblems),
(update_notes):
2000-08-28 Michael Engber <engber@eazel.com>
The three zooming related items no longer appear in
the desktop's right click menu (bug 1737)
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(change_desktop_background_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_zoom_items):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(real_create_background_context_menu_zoom_items),
(create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items):
* src/file-manager/fm-directory-view.h:
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 142 to go.
* src/nemo-view-frame-nemo-view.c: (load_location),
(stop_loading), (selection_changed), (title_changed):
* src/nemo-view-frame.c:
(nemo_view_frame_handle_client_destroy),
(nemo_view_frame_set_active_errors):
* src/nemo-window-manage-views.c:
(nemo_window_report_load_underway),
(nemo_window_report_load_complete),
(nemo_window_report_load_failed),
(nemo_window_update_view),
(nemo_window_load_sidebar_panel), (open_location),
(nemo_window_update_state),
(nemo_window_end_location_change_callback):
* src/nemo-window-menus.c: (get_static_bookmarks_file_path):
* src/nemo-window.c: (nemo_window_load_content_view_menu):
* tools/leak-checker/nemo-leak-checker.c: (detect_reentry):
* tools/leak-checker/nemo-leak-hash-table.c:
(nemo_leak_hash_element_vector_add),
(nemo_leak_hash_table_remove):
2000-08-28 Robey Pointer <robey@eazel.com>
components/services/install/nemo-view/nemo-service-install-
view.c: (generate_install_form), (create_package),
(nemo_install_parse_uri), (make_new_status),
(current_progress_bar_complete),
(nemo_service_install_downloading),
(nemo_service_install_dependency_check),
(nemo_service_install_preflight_check),
(nemo_service_install_download_failed),
(nemo_service_install_installing),
(nemo_service_install_done), (nemo_service_install_failed),
(nemo_service_need_password),
(nemo_service_install_view_update_from_uri),
(service_install_load_location_callback):
components/services/install/nemo-view/nemo-service-install-
view.h:
support local file RPMs and using a specific server (mostly for
demo purposes); make sure "test mode" is off; some i18n cleanup
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 166 to go.
* libnemo-extensions/nemo-search-bar-criterion.c:
(nemo_search_bar_criterion_destroy), (get_size_location_for),
(get_emblem_location_for):
* libnemo-extensions/nemo-search-uri.c:
* libnemo-extensions/nemo-stock-dialogs.c:
(timed_wait_callback):
* libnemo-extensions/nemo-string-map.c:
* libnemo-extensions/nemo-trash-directory.c:
(get_volume_vfs_uri_if_writable):
* libnemo-extensions/nemo-volume-monitor.c:
(mount_volume_mount), (eject_cdrom), (mount_volume_floppy_add),
(mount_volume_add_aliases), (mntent_is_removable_fs),
(find_volumes), (nemo_volume_monitor_mount_unmount_removable):
2000-08-28 Pavel Cisler <pavel@eazel.com>
* libnemo-extensions/nemo-file.c:
(nemo_file_is_in_trash):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_can_move_file_to_trash):
Fix FIXME 2428 and 2389.
Made it so that the respective gnome_vfs_find_directory calls
won't do any I/O.
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 187 to go. This time I
didn't check in until I was sure I hadn't broken the build.
* libnemo-extensions/nemo-directory-async.c:
(allow_metafile), (set_up_request_by_file_attributes),
(activation_uri_nemo_link_read_callback),
(activation_uri_gmc_link_read_callback):
* libnemo-extensions/nemo-file-utilities.c:
* libnemo-extensions/nemo-file-utilities.h:
* libnemo-extensions/nemo-file.c: (nemo_file_rename),
(nemo_file_compare_for_sort), (nemo_file_can_get_owner),
(nemo_file_set_owner), (nemo_file_can_get_group),
(nemo_file_get_group_name), (nemo_file_set_group),
(nemo_file_get_owner_as_string), (nemo_file_is_in_trash),
(nemo_file_mark_gone), (nemo_file_dump):
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-properties-window.c: (attach_owner_menu):
fixed problem with extra slash in comment breaking the build
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 207 to go.
* components/tree/nemo-tree-model.c:
(nemo_tree_model_destroy),
(nemo_tree_model_monitor_remove), (report_node_added),
(report_node_changed), (nemo_tree_stop_monitoring_internal):
* components/tree/nemo-tree-view.c:
(nemo_tree_view_should_skip_file): Added bug numbers to FIXMEs.
* src/file-manager/fm-directory-view.c: Doh! Added a forward
declaration for a function that I changed from public to private
earlier and checked in without building accidentally.
2000-08-28 John Sullivan <sullivan@eazel.com>
Wrote new bug reports for FIXMEs, and added bug numbers.
Now there are 219 Nemo FIXMEs without bug numbers.
* components/hardware/nemo-hardware-view.c:
(get_RAM_description):
* components/help/converters/gnome-db2html2/gdb3html.c:
(parse_file):
* components/help/help-method.c: (escape_for_shell),
(help_uri_to_string), (convert_file_to_uri), (find_help_file):
* components/music/nemo-music-view.c: (play_status_display),
(slider_moved_callback), (slider_release_callback),
(nemo_music_view_drag_data_received):
* components/rpmview/nemo-rpm-view.c:
(nemo_rpm_view_update_from_uri):
* components/sample/nemo-sample-content-view.c:
2000-08-28 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #1942, Trash icon on desktop has "Move to Trash" in
right-click menu.
* libnemo-extensions/nemo-link.c:
(nemo_link_is_home_link), (nemo_link_is_trash_link),
(nemo_link_can_accept_drag):
Rename path argument to uri. The funciton can accrept
a URI.
* libnemo-extensions/nemo-link.h:
* src/file-manager/fm-directory-view.c: (trash_link_is_in_files),
(fm_directory_trash_link_in_selection),
(fm_directory_view_real_create_selection_context_menu_items):
New functions to identify if a Trash link is in the selection.
2000-08-28 Pavel Cisler <pavel@eazel.com>
* README:
Added libunicode to the list of dependencies because new
gtkhtlm depends on it now.
2000-08-28 John Sullivan <sullivan@eazel.com>
Some FIXME work. Removed some obsolete FIXMEs, and added
bug numbers to others (some existing bug reports, some new
bug reports). 236 FIXMES without bug numbers remain.
* src/file-manager/fm-directory-view.c:
(zoomable_zoom_to_fit_callback),
(fm_directory_view_can_move_file_to_trash),
(fm_directory_view_trash_or_delete_selection), (activate_callback),
(fm_directory_view_activate_file),
(fm_directory_view_get_context_menu_index):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-error-reporting.c: (fm_rename_file):
* src/file-manager/fm-error-reporting.h:
* src/file-manager/fm-properties-window.c:
(activate_group_callback), (attach_group_menu),
(activate_owner_callback), (attach_owner_menu),
(create_basic_page), (create_permissions_page):
* src/file-manager/fm-search-list-view.c: (real_merge_menus):
* src/nemo-sidebar.c: (receive_dropped_uri_list):
2000-08-28 Rebecca Schulman <rebecka@eazel.com>
Work on task 1969, allow content searches to
be done by looking for "All of the words" or
"any of the words"
The work to correct the Search results titles
still needs to be done.
* libnemo-extensions/nemo-search-bar-criterion.c:
(nemo_search_bar_criterion_new_from_values),
(nemo_search_bar_criterion_next_new),
(get_next_default_search_criterion_type),
(get_content_location_for):
Change content information. Also removed location criterion
because we are not shipping vault searching for 1.0, so the
location is always "my computer"
* libnemo-extensions/nemo-search-bar-criterion.h:
* src/nemo-complex-search-bar.c:
(unattach_criterion_from_search_bar):
Fixed bug that would not detach date criteria correctly
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
Complete task 1511. Icons not AA in properties dialog.
* src/file-manager/fm-properties-window.c:
(get_pixbuf_for_properties_window),
(update_properties_window_icon), (create_image_widget_for_file),
(create_basic_page):
Use NemoImage instead of GtkPixmap so that if the
SMOOTH_GRAPHICS preference is true, the icon will display using
alpha compositing.
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-buffered-widget.c:
(nemo_buffered_widget_initialize),
(nemo_buffered_widget_realize),
(nemo_buffered_widget_draw),
(background_appearance_changed_callback),
(connect_to_background_if_needed):
Delay the connection to the NemoBackground until its time to
redraw the widget. Only make this connection if an ancestor
widget with an attatched NemoBackground exists.
This allows subclasses to be used on both widgets with and without
NemoBackgrounds attatched.
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-label.c:
(nemo_label_set_font_from_components):
* libnemo-extensions/nemo-label.h:
New convenient function to set the font from components.
* components/music/nemo-music-view.c:
(nemo_music_view_initialize), (add_play_controls):
Use new nemo_label_set_font_from_components to avoid font
object leaks.
components/services/nemo-dependent-shared/shared-service-widgets.c:
(create_label_widget), (create_services_title_widget):
Use new nemo_label_set_font_from_components.
* src/nemo-first-time-druid.c: (make_anti_aliased_label),
(make_hbox_user_level_radio_button), (set_up_update_feedback_page):
Use new nemo_label_set_font_from_components to avoid font
object leaks.
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nemo-first-time-druid.c: (make_anti_aliased_label),
(make_hbox_user_level_radio_button), (set_up_user_level_page),
(set_up_service_signup_page), (set_up_update_page),
(set_up_update_feedback_page), (nemo_first_time_druid_show),
(download_callback), (initiate_file_download):
used anti-aliased text, via nemo_label, throughout the first time druid
* components/music/nemo-music-view.c:
(nemo_music_view_initialize),
(music_view_set_selected_song_title), (add_play_controls),
(nemo_music_view_update_from_uri):
used anti-aliased text via nemo_label, for title and other labels
2000-08-27 J Shane Culpepper <pepper@eazel.com>
components/services/summary/nemo-view/nemo-summary-view.c:
(generate_summary_form), (maintenance_button_cb), (goto_vault_cb),
(update_netscape_cb):
Another summary snapshot. Still needs alot of ui work as well as
hooking up the xml parsing.
2000-08-27 Ali Abdin <aliabdin@aucegypt.edu>
Entity support done in the bad evil way! (fixes bug #2200)
(we should re-write gnome-db2html2 to use the DOM parser - but this
should be filed as another bug - and this code is here until
gnome-db2html2 IS written to use the DOM parser)
* components/help/converters/gnome-db2html2/toc-elements.c:
Extend the ElementInfo toc_elements[] table down to the 'TABLE' tag
Fixes bug #2361 - It took me an INSANE amount of time for such a
simple little FIX. The shitty thing is, I knew the problem when I
started but then I decided to 'explore'
* components/help/converters/gnome-db2html2/gdb3html.[ch]:
Include libxml header's (for entity support). Include an
xmlParserCtxtPtr in the Context struct
(gdb3html_comment), (gdb3html_warning), (gdb3html_error),
(gdb3html_characters): Renamed into its own namespace (to avoid clash
with libxml header)
(gdb3html_internalSubset), (gdb3html_isStandalone),
(gdb3html_hasInternalSubset), (gdb3html_hasExternalSubset),
(gdb3html_resolveEntity), (gdb3html_entityDecl),
(gdb3html_notationDecl), (gdb3html_attributeDecl),
(gdb3html_elementDecl), (gdb3html_unparsedEntityDecl),
(gdb3html_reference), (gdb3html_processingInstruction),
(gdb3html_getParameterEntity): New functions (that handle DOM parsing
using SAX)
(cdata_block), (gdb3html_characters), (end_element),
(start_element), (start_document), (end_document),
(get_entity): Include calls to the DOM SAX handler
(xml_parse_document): New function to get the xmlDocPtr without
spewing warning/error messages all over the place.
(parse_file): Initialize the ParserCtxt and substitute entities by
default
2000-08-26 Andy Hertzfeld <andy@eazel.com>
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-eazel.c
: (nemo_druid_page_eazel_prepare):
fixed bug in the new eazel druid where the next and back buttons weren't
being enabled and disabled properly for standard pages
2000-08-26 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-directory-view.c: (compute_menu_item_info),
(fm_directory_view_real_create_selection_context_menu_items):
cleaned up the context menu a little bit by adding a separator after
the 3 open commands and adding an ellipsis to "Show Properties".
2000-08-26 Andy Hertzfeld <andy@eazel.com>
At Bud's request, added a "use tighter layout" option in the view menu, which causes
the icon view to use a tighter layout algorithm. It defaults to off.
* libnemo-extensions/nemo-icon-container.c:
* libnemo-extensions/nemo-icon-container.h:
* libnemo-extensions/nemo-icon-private.h:
(get_icon_space_width), (lay_down_one_line),
(lay_down_icons_horizontal),
(nemo_icon_container_set_tighter_layout),
(nemo_icon_container_is_auto_layout),
(nemo_icon_container_is_tighter_layout):
added a "tighter layout" boolean; when it's set, don't pad out
to the nearest power of two.
* libnemo-extensions/nemo-metadata.h:
added a tag for tighter layout in the metadata
* src/file-manager/fm-icon-view.c,h: (tighter_layout_callback),
(compute_menu_item_info), (insert_one_context_menu_item),
(update_layout_menus), (fm_icon_view_get_directory_tighter_layout),
(fm_icon_view_real_get_directory_tighter_layout),
(fm_icon_view_set_directory_tighter_layout),
(fm_icon_view_real_set_directory_tighter_layout),
(fm_icon_view_begin_loading),
(insert_bonobo_menu_item), (sort_callback),
(sort_direction_callback), (manual_layout_callback),
(layout_changed_callback), (fm_icon_view_merge_menus),
(update_one_menu_item), (fm_icon_view_initialize_class):
added a "tighter layout" boolean as an instance variable,
added a toggle menu item, and hooked everything up so the
menu item toggles the tighter layout state. It stores it
per directory in the metadata.
2000-08-25 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 2071 to improve the date modified search
criterion. Also, an change to the indexing info dialog
because of a change in the medusa search service API
* libnemo-extensions/nemo-dateedit-extensions.c:
(nemo_gnome_date_edit_get_date_as_string):
* libnemo-extensions/nemo-dateedit-extensions.h:
* libnemo-extensions/Makefile.am:
An extra addition to the gnome dateedit widget we need for
the modified search criterion
* src/nemo-complex-search-bar.c:
(nemo_complex_search_bar_get_location),
(attach_criterion_to_search_bar):
* libnemo-extensions/nemo-search-bar-criterion-private.h:
* libnemo-extensions/nemo-search-bar-criterion.c:
* libnemo-extensions/nemo-search-bar-criterion.h:
(nemo_search_bar_criterion_new_from_values),
(nemo_search_bar_criterion_next_new),
(nemo_search_bar_criterion_get_location),
(get_date_modified_location_for):
Changed date modified bar to take a date edit widget
instead of an entry or menu, and parse the operatory coorectly
* src/file-manager/nemo-indexing-info.c:
(nemo_indexing_info_show_dialog):
Changed because medusa api was updated
2000-08-25 J Shane Culpepper <pepper@eazel.com>
components/services/summary/nemo-view/nemo-summary-view.c:
(generate_summary_form), (entry_changed_cb), (login_button_cb),
(maintenance_button_cb):
Another summary snapshot. Added the login frame skeleton.
2000-08-25 Robey Pointer <robey@eazel.com>
* src/nemo-application.c: (nemo_application_startup):
* src/nemo-application.h:
* src/nemo-first-time-druid.c: (druid_finished):
* src/nemo-main.c: (main):
* src/nemo-shell-interface.idl:
* src/nemo-shell.c: (nemo_shell_get_epv), (corba_quit),
(corba_restart):
Add corba 'restart' call to the IDL, and match it with
command-line option '--restart'. On restart, Nemo goes
through all the exit code, then does an exec() on itself instead
of exit().
2000-08-25 John Sullivan <sullivan@eazel.com>
Fixed bug 1782 (File->Open after opening a folder crashes)
The problem was that the menus weren't being updated when
switching locations, so menus like "Open" were still sensitive
because there used to be a selection.
* src/file-manager/fm-directory-view.c:
Added menus_merged boolean to Details struct.
(fm_directory_view_merge_menus): Set menus_merged to TRUE.
(fm_directory_view_load_uri): update menus when loading URI,
but only if menus_merged is TRUE (so you don't try to update
nonexistent menus the first time, which would make Bonobo sad)
2000-08-25 John Sullivan <sullivan@eazel.com>
Fixed bug 1934 ("View as" menu gets ludicrously tall when
you add search criteria)
* src/nemo-window.c: (nemo_window_constructed):
Put "View as" option menu into a GtkVBox so it doesn't
insist on filling the available space vertically.
Fri Aug 25 18:13:09 2000 George Lebl <jirka@5z.com>
* cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-eazel.c,
cut-n-paste-code/widgets/nemo-druid/nemo-druid.c
(nemo_druid_size_request):
Fix height issue in size_request and set the druid page height back
to the correct size (322 pixels)
* src/nemo-first-time-druid.c (user_level_selection_changed),
(make_label_bold) (make_hbox_user_level_radio_button)
(set_up_user_level_page): Partial arloyfication of the
user level page. Not yet using NemoLabel because
that appears to be broken (or I'm using it wrong, will
investigate).
2000-08-25 Michael Engber <engber@eazel.com>
Refactored draw_pixbuf_aa.
* libnemo-extensions/nemo-background.c: (draw_pixbuf_aa),
(draw_pixbuf_scaled_aspect_aa), (draw_pixbuf_scaled_aa),
(draw_pixbuf_centered_aa), (draw_pixbuf_tiled_aa):
2000-08-25 Mathieu Lacage <mathieu@eazel.com>
components/tree/nemo-tree-view.c: implement dnd to/from
tree view. Closes tasks 1533 and 1534.
2000-08-25 Darin Adler <darin@eazel.com>
* libnemo-extensions/nemo-volume-monitor.h:
* libnemo-extensions/nemo-volume-monitor.c:
(is_floppy_mount_path): Added helper.
(floppy_sort): Simplified logic.
(nemo_volume_monitor_get_removable_volume_names): Used the
prepend/reverse idiom instead of append.
(nemo_volume_monitor_volume_is_mounted): Fixed extremely
unlikely but possible buffer overflow and checked result from
sscanf.
(mount_volume_mount): Use g_strchomp instead of rolling our own.
Took out some dead code.
(mount_volumes_update_is_mounted): Fixed extremely unlikely but
possible buffer overflow and checked result from sscanf.
(mount_volume_add_aliases): Fixed possible buffer overflow and
storage leak.
(mount_volume_ext2_add): Removed code to ignore all ext2 volumes
other than "/". Moved the hack into FMDesktopIconView.
(mount_volume_cdrom_set_state), (mount_volume_floppy_set_state),
(mount_volume_ext2_set_state), (mount_volume_set_state),
(volume_set_state_empty) (mount_volume_activate_cdrom),
(mount_volume_activate_floppy), (mount_volume_activate_ext2),
(mount_volume_activate), (eject_cdrom), (mount_volume_deactivate),
(mount_volume_check_change), (check_permissions),
(mount_volume_floppy_add),
(cdrom_ioctl_frenzy), (mount_volume_iso9660_add),
(add_mount_volume), (mntent_is_removable_fs), (find_volumes),
(nemo_volume_monitor_mount_unmount_removable),
(free_volume_info), (get_iso9660_volume_name),
(get_ext2_volume_name), (get_floppy_volume_name):
Removed mount_type and volume_fd. Made a bunch of formerly-
public things private and added NEMO_ prefix to some public
identifier that didn't have it.
* libnemo-extensions/nemo-trash-directory.c:
(get_volume_vfs_uri_if_writable):
Changed callers to use the constants with the NEMO_ prefix.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
Moved the "/" hack here (marked with a FIXME and bug number) and
made the two cases that create mount links share code. Also
made it use type instead of the now-gone mount_type.
(startup_create_mount_links), (volume_mounted_callback): Call the
new common routine instead of having two copies of the same code.
2000-08-25 John Sullivan <sullivan@eazel.com>
Made sorting by size put big ones first, to match
common sense. (Date now puts recent ones first by
the same reasoning.) Changed "Ascending/Descending"
pair of items to single "Reversed Order" item so
it isn't making any promises about order.
* libnemo-extensions/nemo-file.c:
(nemo_file_compare_directories_by_size): Reverse
the logic for directory ordering.
* src/file-manager/fm-icon-view.c:
Changed Details field from updating_bonobo_radio_menu_item
to updating_bonobo_marked_menu_item since it now covers one
toggle item also.
(update_layout_menus), (sort_callback), (sort_direction_callback),
(manual_layout_callback), (fm_icon_view_merge_menus): Changed
all the code dealing with "Ascending/Descending" radio-item pair
to deal with single "Reversed Order" toggle item instead.
2000-08-24 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/gdb3html.h:
Add in support for the <mousebutton> tag
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-buffered-widget.c:
(nemo_buffered_widget_initialize_class),
(nemo_buffered_widget_realize),
(nemo_buffered_widget_draw),
(nemo_buffered_widget_size_allocate),
(nemo_buffered_widget_expose_event):
Some dumb renamings and superfluous assertion removal.
* libnemo-extensions/nemo-image.c:
(nemo_image_initialize_class), (nemo_image_draw),
(nemo_image_expose_event), (nemo_image_paint),
(nemo_image_set_alpha_mode):
Add support for two alpha rendering modes: 1) FULL, the pixbuf is
composited on top of the widget's background - expensive. 2)
THRESHOLD, the pixbuf is drawn with an alpha threshold without any
compositing - fast but not as smooth.
* libnemo-extensions/nemo-label.c: (render_buffer_pixbuf):
Remove a dumb printf i left in before.
* src/nemo-sidebar-title.c:
(nemo_sidebar_title_initialize), (update_icon),
(nemo_sidebar_title_hit_test_icon),
(sidebar_create_smooth_components_if_needed),
(sidebar_create_normal_components_if_needed),
(smooth_graphics_mode_changed_callback):
Use the new dual alpha support in the image class to simplify
things. Create only one icon and change the alpha mode on that
when the smooth graphics preference changes. Ill do the same for
emblems later.
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nemo-label.c:
(red_label_color_value_changed_callback),
(green_label_color_value_changed_callback),
(blue_label_color_value_changed_callback),
(alpha_label_color_value_changed_callback),
(red_background_color_value_changed_callback),
(green_background_color_value_changed_callback),
(blue_background_color_value_changed_callback),
(alpha_background_color_value_changed_callback),
(widget_set_nemo_background_image),
(widget_set_nemo_background_color),
(widget_get_nemo_background_color),
(background_changed_callback), (main):
Fix the background color test.
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
components/services/nemo-dependent-shared/shared-service-widgets.c:
(create_label_widget), (create_services_title_widget),
(create_services_header_widget):
components/services/nemo-dependent-shared/shared-service-widgets.h:
Update for changes label/image changes that fix the ugly margins.
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-buffered-widget.c:
(nemo_buffered_widget_initialize),
(buffered_widget_update_pixbuf),
(nemo_buffered_widget_set_tile_pixbuf),
(nemo_buffered_get_tile_pixbuf_size),
(nemo_buffered_widget_set_horizontal_offset),
(nemo_buffered_widget_get_horizontal_offset),
(nemo_buffered_widget_set_vertical_offset),
(nemo_buffered_widget_get_vertical_offset):
* libnemo-extensions/nemo-buffered-widget.h:
Add suport for a vertical and horizontal offset. Pass these on to
the pixbuf render function so that the subclasses can do stuff
with them.
* libnemo-extensions/nemo-image.c:
(nemo_image_initialize), (nemo_image_size_request),
(render_buffer_pixbuf), (nemo_image_set_overall_alpha),
(nemo_image_set_alpha_mode), (nemo_image_get_alpha_mode):
* libnemo-extensions/nemo-image.h:
Use the GtkMisc xpad/ypad into account when computing the
requested geometry.
Add preliminary support an alpha mode so that the image widget can
server as a regular thresholded pixbuf display without doing the
full and expensive compositing on the background. Not hooked up yet.
Update for vertical/horizontal offset support.
* libnemo-extensions/nemo-label.c:
(nemo_label_size_request), (render_buffer_pixbuf):
Use the GtkMisc xpad/ypad into account when computing the
requested geometry.
Update for vertical/horizontal offset support.
2000-08-25 Maciej Stachowiak <mjs@eazel.com>
* components/tree/Makefile.am:
* components/tree/libmain.c: (tree_shlib_object_destroyed),
(tree_shlib_make_object):
* components/tree/main.c: (tree_exe_object_destroyed),
(tree_exe_make_object), (main):
* components/tree/nemo-tree-view-iids.h:
* components/tree/nemo-tree-view.oafinfo: Removed
* components/tree/nemo-tree-view.oafinfo.exe: Added
* components/tree/nemo-tree-view.oafinfo.shlib: Added
* configure.in:
Added capability to build the tree view as either a shared library
server or an executable server, as part of the plan to fix
1647. However, using the shlib component causes massive
instability in both the tree view and nemo in general. I am
leaving the executable component the default until I fix this.
Fri Aug 25 02:17:17 2000 George Lebl <jirka@5z.com>
* cut-n-paste-code/widgets/nemo-druid/Makefile.am,
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-finish.c,
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-finish.h,
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-start.c,
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-start.h:
Remove these as they are obscolete anyway.
* cut-n-paste-code/widgets/nemo-druid/nemo-druid.c
(nemo_druid_init), (nemo_druid_size_request),
(nemo_druid_size_allocate):
Fix calculating of size and borders
* icons/Makefile.am, icons/druid_*.png: Add Arlo's druid images.
* po/POTFILES.in,
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-eazel.c,
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-eazel.h:
Add the eazel druid page. Theoretically this should move to
libnemo-extentions soon, including deriving nemo-druid from
gnome-druid, in which way we can eliminate the entire
cut-n-paste mess for the druid. Likely to do this tommorrow with
the rest of the arloification.
* src/nemo-first-time-druid.c (set_up_background),
(set_up_user_level_page), (set_up_service_signup_page),
(set_up_update_page), (set_up_update_feedback_page),
(set_page_sidebar), (nemo_first_time_druid_show):
Use the eazel page for the druid and set up the sidebar image
to the standard one.
2000-08-25 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
No longer builds anything else then eazel-install.
* components/services/install/command-line/eazel-alt-install-corba.c:
(install_failed),
Changed output...
(create_package),
if used with --file and the filename does not start with /, adds
$cwd to filename
(main):
Commandline arg for rpm db root
* components/services/install/idl/trilobite-eazel-install.idl:
Added the rpm db root arg to install, uninstall, query and revert.
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_install_packages),
(eazel_install_callback_uninstall_packages),
(eazel_install_callback_simple_query),
(eazel_install_callback_revert_transaction):
Added support for rpm db root arguments for the four major
operations. Encodes root==NULL to ""
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_install_packages),
(impl_Eazel_Install_uninstall_packages),
(impl_Eazel_Install_revert_transaction),
(impl_Eazel_Install_simple_query):
Decode the root arg... big stuff heh ?
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_class_initialize),
(eazel_install_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_revert_transaction_from_file),
(eazel_install_query_package_system), (string_list_copy),
(eazel_install_set_root_dirs):
Changed the root_dir GtkArg to a GList, so you can set the array
of roots to use. The object defaults to use /var/lib/rpm and
~/.nemo/rpmdb as roots. If ~/.nemo/rpmdb does not exist,
it will create a rpmdb in this dir.
In -private.h, I've removed the rpmdb var in the packsys.rpm
union, and now have a hashtable that maps from root dir to rpmdb.
in the private struct, there is also a cur_root var, which holds
the root given to the four calls, or DEFAULT_RPM_DB_ROO
(/var/lib/rpm) if called with root==NULL.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file):
Added gnome_vfs_callback_struct so I can transfer both the
file_to_report and EazelInstall object. Thus gnome-vfs downloads
now again reports short names (eg. xfig instead of
xfig-3.2.2-_beta1-2).
* components/services/install/lib/eazel-install-query.h:
Comments on how to use the query call.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query),
Now collects the result into a parameter instead of returning a glist.
(eazel_install_simple_query):
If no cur_root is set in the EazelInstall object, it queries on
all the databases, otherwise, it only queries the cur_root db.
Plus I fixed some horribleness in the vaarg stuff.
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_all_packages),
(install_packages), (uninstall_packages),
(eazel_install_start_transaction),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system),
(eazel_install_prepare_package_system),
(eazel_install_add_to_rpm_set),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies),
(eazel_install_ensure_deps),
Changed to use the new hashtable of rpmdb's.
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install),
(eazel_uninstall_globber):
The uninstall stuff uses eazel_install_simple_query now (bug
1697). Also did more work on the downward traverse, although I
still feel it's too dangerous to actually use. But now the upwards
works properly (by using the neglist feature in the query, fixes
bug 1539)
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Eek, I used pointers into the rpmheader instead of copying them
out. At least that
* components/services/install/lib/eazel-install-xml-package-list.c:
(xml_get_prop),
Made a funky xml_get_prop call, that like xmlGetProp gets a
property, but also g_strdup's it and free the malloc'ed libxml value.
(parse_category), (generate_xml_package_list),
(osd_parse_implementation), (osd_parse_softpkg),
(parse_osd_xml_from_memory):
Uses xml_get_prop
* components/services/install/nemo-view/nemo-service-install.
c: (nemo_service_install_view_install_package_callback),
(nemo_service_install_view_uninstall_package_callback):
Pass NULL for the root parameter, that causes eazelinstall to
default to the /var/lib/rpm db
2000-08-24 J Shane Culpepper <pepper@eazel.com>
components/services/summary/nemo-view/nemo-summary-view.c:
(generate_summary_form):
Snapshot checkin of the parent frame layout. Still looks bad but
I wanted capture the parent changes in case I do something dumb.
2000-08-24 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-buffered-widget.c:
(nemo_buffered_widget_expose),
(buffered_widget_create_pixbuf_from_background),
(nemo_buffered_widget_get_tile_pixbuf),
(nemo_buffered_get_tile_pixbuf_size):
* libnemo-extensions/nemo-buffered-widget.h:
New function to access the tile_height.
* libnemo-extensions/nemo-label.c:
(nemo_label_size_request):
Take the tile height into account when computing the requested
label height.
2000-08-24 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nemo-tree-view.c
(view_node_to_uri): New function.
(lots of places): Use it.
2000-08-24 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_table_with_border_start_element): Renamed from
sect_table_start_element to this.
(sect_table_without_border_start_element): New function
(sect_member_start_element): ditto
(sect_member_end_element): ditto
* components/help/converters/gnome-db2html2/gdb3html.h:
Add in support for the <simplelist> and <member> tags
2000-08-24 Darin Adler <darin@eazel.com>
Moved functions to gnome-vfs.
* components/music/nemo-music-view.c: (play_current_file),
(nemo_music_view_update_from_uri):
* libnemo-extensions/nemo-bookmark.c:
(nemo_bookmark_uri_known_not_to_exist):
* libnemo-extensions/nemo-directory-background.c:
(theme_image_path_to_uri),
(nemo_directory_background_read_desktop_settings),
(nemo_directory_background_write_desktop_settings):
* libnemo-extensions/nemo-file-utilities.c:
(nemo_get_user_main_directory), (nemo_is_remote_uri):
* libnemo-extensions/nemo-gdk-pixbuf-extensions.c:
(nemo_gdk_pixbuf_load):
* libnemo-extensions/nemo-icon-factory.c:
(make_thumbnail_path), (path_represents_svg_image),
(load_specific_image), (nemo_icon_factory_make_thumbnails):
* libnemo-extensions/nemo-link-set.c: (expand_uri):
* libnemo-extensions/nemo-link.c: (nemo_link_create),
(nemo_link_set_icon), (nemo_link_set_link_uri),
(nemo_link_set_type), (nemo_link_get_root_property),
(make_local_path), (nemo_link_get_image_uri):
* libnemo-extensions/nemo-preferences-item.c:
(add_icon_themes):
* libnemo-extensions/nemo-program-choosing.c:
(nemo_launch_application_parented):
* libnemo-extensions/nemo-trash-directory.c:
(get_volume_vfs_uri_if_writable):
* libnemo-extensions/nemo-volume-monitor.c:
(mount_volume_mount):
* src/file-manager/fm-desktop-icon-view.c:
(startup_create_mount_links), (volume_mounted_callback),
(place_home_directory), (get_local_path):
* src/file-manager/fm-directory-view.c: (activate_callback):
* src/file-manager/fm-icon-view.c: (play_file):
* src/file-manager/fm-properties-window.c:
(get_and_ref_file_to_display):
* src/nemo-desktop-window.c: (nemo_desktop_window_new):
* src/nemo-property-browser.c:
(nemo_property_browser_drag_data_get), (remove_background),
(remove_emblem), (emblem_image_file_changed),
(add_background_to_browser), (emblem_dialog_clicked),
(make_properties_from_directory):
* src/nemo-sidebar.c: (map_local_data_file),
(uri_is_local_image):
* src/nemo-theme-selector.c: (populate_list_with_themes):
* src/nemo-view-frame-bonobo-embeddable.c:
(bonobo_subdoc_load_location):
* src/nemo-window.c: (nemo_window_go_home):
Changed to use local path functions from gnome-vfs now that
they are moved there from Nemo.
* libnemo-extensions/nemo-file-utilities.h:
* libnemo-extensions/nemo-file-utilities.c:
Removed the local path functions since they are in gnome-vfs
now and all callers have been changed to use those.
2000-08-24 Robey Pointer <robey@eazel.com>
* components/services/install/nemo-view/nemo-service-install-view.c:
(nemo_service_install_view_destroy),
(nemo_install_parse_uri), (spin_cylon),
(nemo_service_install_downloading),
(nemo_service_install_download_failed),
(nemo_service_install_done), (nemo_service_install_failed),
(nemo_service_install_view_update_from_uri):
* components/services/install/nemo-view/nemo-service-install-view.h:
Hardcode rpm install server host/port (for now), changing the url
format to the requested "eazel-install:xfig". Unref the root
client and install service correctly. Spin a cylon when waiting
to contact the remote server.
* components/services/nemo-dependent-shared/shared-service-widgets.c:
(create_label_widget), (create_services_title_widget),
(create_services_header_widget):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_init):
* libnemo/nemo-view.c: (view_frame_call_end):
2000-08-24 Mathieu Lacage <mathieu@eazel.com>
* nemo-gdk-extensions.c: (nemo_gdk_color_to_rgb): space,
(nemo_gdk_rgb_to_color): add function.. could be useful.
* nemo-gdk-extensions.h: add prototype.
* nemo-gtk-extensions.c: (rgb_to_hls): new internal function. converts
from rgb to hls., (hls_to_rgb): from hls to rgb,
(nemo_gtk_style_shade): necassery magic to "shade a color by a given
amount... All this was copied from panel.c which was in turn copied from
gtk.
* nemo-gtk-extensions.h: add prototype.
2000-08-24 Robey Pointer <robey@eazel.com>
* components/services/install/nemo-view/nemo-service-install-view.c:
(generate_install_form),
(nemo_service_install_view_destroy),
(nemo_install_parse_uri), (make_new_status),
(current_progress_bar_complete),
(nemo_service_install_downloading),
(nemo_service_install_installing),
(nemo_service_install_failed),
(nemo_service_need_password), (set_root_client),
(nemo_service_install_view_update_from_uri):
* components/services/install/nemo-view/nemo-service-install-view.h:
More cleanup of the RPM install view: rudimentary password dialog,
cleaned out old unused code, and hooked up the RPM package info to
display in the top field, instead of the fake "The Gimp" info.
Also removed the forced delays in updating (install happens in
"realtime" now!).
2000-08-24 Arlo Rose <arlo@eazel.com>
* icon/search_results.png
Added an icon to be used in the search results side bar.
2000-08-24 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nemo-view/main.c:
(service_install_object_destroyed), (service_install_make_object),
(main):
* components/services/install/nemo-view/nemo-service-install-view.c:
(show_overall_feedback),
(nemo_service_install_view_initialize_class),
(nemo_service_install_view_initialize),
(nemo_service_install_view_destroy),
(nemo_service_install_view_get_nemo_view),
(nemo_service_install_downloading),
(nemo_service_install_installing),
(nemo_service_install_view_update_from_uri),
(nemo_service_install_view_load_uri),
(service_install_load_location_callback):
* components/services/inventory/lib/eazel-inventory-shared.c:
(add_package_info), (read_proc_info), (add_info), (add_io_info),
(add_hardware_info), (synchronize_configuration_metafile),
(update_configuration_metafile), (create_configuration_metafile):
* components/services/inventory/nemo-view/main.c:
(inventory_object_destroyed), (inventory_make_object), (main):
* components/services/inventory/nemo-view/nemo-inventory-view.c:
(generate_inventory_form), (gather_config_button_cb),
(register_later_cb), (show_feedback), (make_http_post_request),
(go_to_uri), (get_home_uri), (update_now), (generate_form_title),
(nemo_inventory_view_initialize_class),
(nemo_inventory_view_initialize),
(nemo_inventory_view_destroy),
(nemo_inventory_view_get_nemo_view),
(nemo_inventory_view_load_uri),
(inventory_load_location_callback):
* components/services/login/nemo-view/main.c:
(login_object_destroyed), (login_make_object), (main):
* components/services/login/nemo-view/nemo-login-view.c:
(entry_changed_cb), (login_button_cb), (maintenance_button_cb),
(nemo_login_view_initialize_class),
(nemo_login_view_initialize), (nemo_login_view_destroy),
(nemo_login_view_get_nemo_view),
(nemo_login_view_load_uri), (login_load_location_callback):
* components/services/nemo-dependent-shared/shared-service-utilities.c:
(go_to_uri), (is_location):
* components/services/startup/nemo-view/main.c:
(service_object_destroyed), (service_make_object), (main):
* components/services/startup/nemo-view/nemo-service-startup-view.c:
(generate_form_logo),
(nemo_service_startup_view_initialize_class),
(nemo_service_startup_view_initialize),
(nemo_service_startup_view_destroy),
(nemo_service_startup_view_get_nemo_view),
(nemo_service_startup_view_load_uri),
(service_load_location_callback):
* components/services/summary/nemo-view/main.c:
(summary_object_destroyed), (summary_make_object), (main):
* components/services/summary/nemo-view/nemo-summary-view.c:
(generate_summary_form), (nemo_summary_view_initialize_class),
(nemo_summary_view_initialize),
(nemo_summary_view_destroy),
(nemo_summary_view_get_nemo_view),
(nemo_summary_view_load_uri), (summary_load_location_callback):
Cleaning up some code to meet coding standards.
2000-08-24 Michael Engber <engber@eazel.com>
Added a Change Desktop Background item to the right click
menu of the desktop. I brings up the background capplet (bug
1791). While I was at it I made it so the Change Background
item for the desktop was called Change Desktop Background in
accordance with Arlo's wishes.
* libnemo-extensions/nemo-directory-background.c:
(nemo_directory_background_is_set):
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(reset_desktop_background_menu_item_callback),
(change_desktop_background_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_background_ite
ms):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(real_create_background_context_menu_background_items),
(create_background_context_menu_background_items),
(fm_directory_view_real_create_background_context_menu_items):
* src/file-manager/fm-directory-view.h:
2000-08-24 Alastair McKinstry <mckinstry@computer.org>
* configure.in: Added "ga" to ALL_LINGUAS
2000-08-24 John Sullivan <sullivan@eazel.com>
Fixed bug 1653 (new menu layout). View menu now contains
Show/Hide items for tool bar, location bar, sidebar, and
status bar. The preference now controls only what you get
for new windows. Any future "menus aren't quite right"
issues should be filed as new bugs.
* libnemo-extensions/nemo-global-preferences.h:
* libnemo-extensions/nemo-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
Renamed NEMO_PREFERENCES_DISPLAY_SIDEBAR and its ilk to
NEMO_PREFERENCES_START_WITH_SIDEBAR since these preferences
now only affect the initial appearance of new windows. Also,
clarified the text that appears in the preferences window for these.
* src/nemo-window-menus.c:
Removed a bunch of code #ifdeffed WINDOW_ITEMS_TEST since the
functionality it partly implemented is now implemented for real.
(view_menu_show_hide_sidebar_callback),
(view_menu_show_hide_tool_bar_callback),
(view_menu_show_hide_location_bar_callback),
(view_menu_show_hide_status_bar_callback):
New menu callback functions that toggle the visibility of the
various views.
(nemo_window_update_show_hide_menu_items): New function,
sets the text in the show/hide menu items based on current
visibility.
(nemo_window_initialize_menus): Put the Show/Hide menu items
in the menu.
* src/nemo-window-private.h: Add prototype for
nemo_window_update_show_hide_menu_items.
* src/nemo-window.h: Renamed statusbar_ctx -> status_bar_context_id
and statusbar_clear_id -> status_bar_clear_id; renamed show/hide
locationbar/toolbar/statusbar to use location_bar, tool_bar, and
status_bar (GTK bad English usage notwithstanding); added prototypes
for nemo_window_sidebar_showing and its ilk.
* src/nemo-window.c:
(nemo_window_initialize), (nemo_window_destroy): Removed
monitoring & unmonitoring of DISPLAY_SIDEBAR-type preferences since
changing these preferences now has no dynamic effect.
(nemo_window_clear_status), (nemo_window_set_status),
(nemo_window_constructed): Fixed wordgroupingification of
status_bar et al.
(show_dock_item), (hide_dock_item): New functions to share code of
show/hide location bar & tool bar functions; these call
nemo_window_update_show_hide_menu_items now also.
(dock_item_showing): New function, tests visibility of named dock item.
(nemo_window_hide_location_bar),
(nemo_window_show_location_bar),
(nemo_window_hide_tool_bar), (nemo_window_show_tool_bar):
Use new code-sharing functions.
(nemo_window_location_bar_showing),
(nemo_window_tool_bar_showing),
(nemo_window_sidebar_showing),
(nemo_window_status_bar_showing): New functions to test visibility
(nemo_window_hide_sidebar),
(nemo_window_show_sidebar),
(nemo_window_hide_status_bar),
(nemo_window_show_status_bar): These call
nemo_window_update_show_hide_menu_items now.
(nemo_window_show): Updated for naming changes.
* RENAMING: Noted that the evil one-word "toolbar" phrase
is still rampant in Nemo.
2000-08-24 John Sullivan <sullivan@eazel.com>
Fixed bug 2119 (Alt-key navigation for menus doesn't work).
* libnemo-extensions/nemo-icon-container.c:
(key_press_event):
* libnemo-extensions/nemo-list.c:
(nemo_list_key_press):
Made the type-select mechanism for list and icon views not
eat alt-key combinations, so they can be used for pulling
down menus.
2000-08-23 Maciej Stachowiak <mjs@eazel.com>
Fix for 1528. "Where's the money, Lebowski?"
* components/tree/nemo-tree-model.c
(nemo_tree_model_monitor_node): A few changes to avoid
crashing when re-monitoring a node.
* components/tree/nemo-tree-view.c
(uri_to_view_node, model_node_to_view_node): New convenience
functions.
(insert_hack_node, nemo_tree_view_insert_model_node,
nemo_tree_view_remove_model_node,
nemo_tree_view_update_model_node,
nemo_tree_view_find_parent_node): Use the new functions
(notify_done_loading, notify_node_seen,
nemo_tree_view_model_node_added_callback,
nemo_tree_view_model_done_loading_callback,
get_uri_sequence_to_root, call_when_root_seen,
call_when_uri_loaded_or_parent_done_loading,
cancel_selection_in_progress, expand_uri_sequence_and_select_end,
nemo_tree_view_load_uri, tree_load_location_callback,
tree_select_row_callback): New mess^Wcode to select on content
view navigation, handling all the asynchronicity.
* libnemo-extensions/nemo-file-utilities.h,
libnemo-extensions/nemo-file-utilities.c:
(nemo_make_uri_canonical): Export the function formerly known
as `make_uri_canonical' in natuilus-directory.c.
(nemo_self_check_file_utilities): Move tests here.
* libnemo-extensions/nemo-directory.c:
(make_uri_canonical): remove
(nemo_directory_get_internal):
s/make_uri_canonical/nemo_make_uri_canonical/
(nemo_self_check_directory): Remove tests for
make_uri_canonical
2000-08-24 Andy Hertzfeld <andy@eazel.com>
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-finish.c:
(nemo_druid_page_finish_init),
(nemo_druid_page_finish_destroy),
(nemo_druid_page_finish_configure_size),
(nemo_druid_page_finish_set_logo):
changed the logo from being a fixed width and height to
automatically adjusting image dimensions; also, made it use the
anti-aliased canvas for prettier images
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-standard.c:
(nemo_druid_page_standard_init),
(nemo_druid_page_standard_configure_size),
(nemo_druid_page_standard_construct),
(nemo_druid_page_standard_set_logo):
ditto for standard pages; this stuff should really be in the superclass
cut-n-paste-code/widgets/nemo-druid/nemo-druid-page-start.c:
(nemo_druid_page_start_init),
(nemo_druid_page_start_configure_size):
ditto for the finish page
* src/nemo-first-time-druid.c: (druid_finished),
(nemo_first_time_druid_show), (download_callback):
added setting the logo image and some other improvements; the logo image
still looks a bit crufty and needs to be tweaked by Susan
2000-08-23 Robey Pointer <robey@eazel.com>
* components/services/install/nemo-view/Makefile.am:
Fix RPM install view's include path to find libtrilobite.
components/services/install/nemo-view/nemo-service-install-
view.c: (generate_install_form), (generate_current_progress),
(create_package), (nemo_install_parse_uri), (make_new_status),
(spin_cylon), (current_progress_bar_complete),
(nemo_service_install_downloading),
(nemo_service_install_dependency_check),
(nemo_service_install_preflight_check),
(nemo_service_install_download_failed),
(nemo_service_install_installing),
(nemo_service_install_done), (get_password_dude),
(set_root_client), (nemo_service_install_view_update_from_uri),
(service_install_load_location_callback):
components/services/install/nemo-view/nemo-service-install-
view.h:
Make RPM install view actually work (using the trilobite install
service) instead of being smoke & mirrors. Make bottom panel be a
fixed table that scrolls through (label, progress-bar) pairs for
status on downloading and installing various RPMs.
2000-08-23 John Sullivan <sullivan@eazel.com>
More work on bug 1653 (new menu layout). Now there's a
permanent "View" menu that contains Refresh and zooming
items and the icon view merges its stuff in there. The
icon view now has a "Clean Up by Name" item to do a
one-shot sort of icons in manual layout mode.
* libnemo-extensions/nemo-icon-container.c:
(key_press_event):
* libnemo-extensions/nemo-list.c:
(nemo_list_key_press):
Don't use any control-key combinations for type-select
(this was blocking Control-= and others)
* libnemo/nemo-bonobo-ui.h: Added #defines for View menu
and placeholders in it.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class), (bump_zoom_level),
(zoom_to_level), (restore_default_zoom_level), (can_zoom_in),
(can_zoom_out): Override all zoom-related functions to do
nothing, so you can't use keyboard equivalents or other trickery
to zoom on the desktop.
* src/file-manager/fm-icon-view.h:
Define clean_up function pointer
* src/file-manager/fm-icon-view.c:
(set_sort_criterion): Just moved this function.
(fm_icon_view_clean_up): New function, calls virtual function.
(fm_icon_view_real_clean_up): New function, sorts one time by name.
(clean_up_callback): New function, calls fm_icon_view_clean_up
(compute_menu_item_info): Add clean up case
(update_layout_menus): Update sensitivity of Clean Up item
(get_next_position): New helper function to get a position for
a Bonobo menu item based on the one you want to be after. Works
around Bonobo bug where the last item's position is reported as -1.
(fm_icon_view_merge_menus): Deploy get_next_position; get rid of
Layout menu and redo items in View menu to match design in bug 1653.
(fm_icon_view_initialize_class): Wire up clean_up function pointer
* src/nemo-window-menus.c:
(view_menu_reload_callback): Renamed from go_menu_reload_callback
(view_menu_zoom_in_callback), (view_menu_zoom_out_callback),
(view_menu_zoom_normal_callback): New functions, used by zooming menu
items.
(nemo_window_initialize_menus): Add View menu; move Reload to
View menu and rename it Refresh; add zooming menu items.
* src/nemo-window-private.h: Add #defines for zooming menu item paths;
add prototypes for nemo_window_zoom_xxx functions.
* src/nemo-window.c:
(nemo_window_zoom_in),
(nemo_window_zoom_to_level), (nemo_window_zoom_out),
(nemo_window_zoom_to_fit): Renamed these to better match new
shared-between-files status, and reordered the parameters.
(nemo_window_constructed): use gtk_signal_connect_object with
nemo_window_zoom functions since their parameters have flipped.
(nemo_window_zoom_level_changed_callback): Set sensitivity of
zooming menu items appropriately.
* src/nemo-window-manage-views.c:
(nemo_window_load_content_view): Desensitize the zoom menu items
when we hide the zoom control.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_create_background_context_menu_items):
Change "Zoom to Default" to "Normal Size" in the context menu,
to match terminology in View menu.
* src/nemo-window-toolbars.c: Rename Reload to Refresh to match
menu item & new design
2000-08-23 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-undo-signal-handlers.c:
* libnemo-extensions/nemo-undo-signal-handlers.h:
(nemo_undo_set_up_nemo_entry_for_undo),
(nemo_undo_tear_down_nemo_entry_for_undo),
(nemo_undo_set_up_editable_for_undo),
(nemo_undo_tear_down_editable_for_undo):
Rename functions to be verb phrases as opposed to nouns.
* components/notes/nemo-notes.c: (finish_loading_note),
(notes_load_location), (make_notes_view):
Rename functions to use new names above.
* libnemo-extensions/nemo-entry.c:
(nemo_entry_initialize):
Rename functions to use new names above.
* src/file-manager/fm-properties-window.c: (create_basic_page):
Rename functions to use new names above.
2000-08-23 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-undo-signal-handlers.c:
(nemo_undo_teardown_nemo_entry_for_undo),
(nemo_undo_teardown_editable_for_undo):
Adding the call to unregister form the undo manager was not such
a good idea. I am backing it out for now.
2000-08-23 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2282, Undo menu item initially sensitive, but
nothing to undo.
* components/notes/nemo-notes.c: (finish_loading_note),
(notes_load_location), (make_notes_view):
Disconnect the editable object form the undo manager
while location is being changed so an undo transaction
is not registered during inital text loading.
* libnemo-extensions/nemo-undo-signal-handlers.c:
(nemo_undo_teardown_nemo_entry_for_undo),
(nemo_undo_setup_editable_for_undo),
(nemo_undo_teardown_editable_for_undo):
When a teardown function is called, also unregister the
GtkObject from the undo manager in addtion to signal
disconnection.
2000-08-23 Darin Adler <darin@eazel.com>
* libnemo-extensions/nemo-file-utilities.c:
(nemo_read_entire_file): Added missing close calls.
(read_file_close_callback): Got rid of overzealous check for
error code on close. The close could fail, and we really don't
care much since we've already read the file contents.
2000-08-23 Darin Adler <darin@eazel.com>
* libnemo-extensions/nemo-directory-async.c:
(get_info_callback): Added missing call to nemo_file_changed
for the case where get_file_info fails.
(start_getting_file_info): Fixed broken logic that was recursing
instead of looping when get_file_info fails and added missing call
to nemo_file_changed.
(nemo_directory_async_state_changed): Moved the check for
ready callbacks to the end of the function. This fixed the problem
with the trash properties never showing up.
* src/file-manager/dfos-xfer.c: (get_link_name),
(get_duplicate_name), (handle_xfer_duplicate):
Redid the duplicate names functions so they are easier to localize
and marked the strings that need localizing with _().
* libnemo-extensions/nemo-background.c:
(nemo_background_get_combine_mode),
(nemo_background_set_combine_mode),
(nemo_background_get_image_placement),
(nemo_background_set_image_placement): Added return_if_fail
calls as appropriate.
(nemo_background_image_fully_obscures): Simplified nested if
statements a bit.
(nemo_background_draw), (draw_pixbuf_aa): Added return_if_fail
calls as appropriate.,
(nemo_background_draw_aa), (nemo_background_is_set),
(nemo_background_is_loaded), (nemo_background_reset) :
Added return_if_fail calls as appropriate.
(nemo_background_real_reset): Added code to emit changed signals.
(nemo_background_is_dark): Added return_if_fail calls as appropriate.
* libnemo-extensions/nemo-background.h:
* libnemo-extensions/nemo-directory-background.c:
(nemo_directory_background_get_default_settings),
(nemo_directory_background_read_desktop_settings),
(nemo_directory_background_write_desktop_settings),
(nemo_directory_background_write_desktop_default_settings),
(nemo_directory_background_is_set),
(saved_settings_changed_callback):
Changed the type "nemo_background_image_placement" to
"NemoBackgroundImagePlacement" to match our style guidelines
(inherited from GNOME of course).
2000-08-23 John Sullivan <sullivan@eazel.com>
Checked in this patch from Ken Kocienda, which fixes
bug 390 (wrong magic number used when computing alpha
threshhold). Thanks Ken!
* libnemo-extensions/nemo-gdk-pixbuf-extensions.h:
New #define for NEMO_STANDARD_ALPHA_THRESHHOLD
* components/music/nemo-music-view.c:
(nemo_music_view_update_from_uri):
* libnemo-extensions/nemo-bookmark.c:
(nemo_bookmark_get_pixmap_and_mask):
* libnemo-extensions/nemo-icon-dnd.c:
(nemo_icon_dnd_begin_drag):
* libnemo-extensions/nemo-icon-factory.c:
(nemo_icon_factory_get_pixmap_and_mask_for_file):
* libnemo-extensions/nemo-list-column-title.c:
(load_up_indicator):
* libnemo-extensions/nemo-list.c: (draw_cell):
* src/file-manager/fm-properties-window.c:
(get_pixmap_and_mask_for_properties_window),
(create_image_widget_for_emblem):
* src/nemo-bookmarks-window.c:
* src/nemo-complex-search-bar.c:
(load_find_them_pixmap_widget):
* src/nemo-property-browser.c: (set_emblem_image_from_file),
(element_clicked_callback), (make_properties_from_directory_path):
* src/nemo-sidebar-title.c: (add_emblem):
* src/nemo-theme-selector.c: (add_theme):
* src/nemo-window.c: (nemo_window_realize):
Replaced all uses of correct or incorrect magic numbers
with NEMO_STANDARD_ALPHA_THRESHHOLD in calls to
gdk_pixbuf_render_pixmap_and_mask.
2000-08-23 Yuri Syrota <rasta@renome.rovno.ua>
* configure.in: Added "uk" to ALL_LINGUAS
2000-08-23 Ramiro Estrugo <ramiro@eazel.com>
components/services/nemo-dependent-shared/shared-service-widgets.c:
(create_image_widget), (create_label_widget),
(create_services_title_widget), (create_services_header_widget),
(set_widget_foreground_color), (show_feedback):
components/services/nemo-dependent-shared/shared-service-widgets.h:
Update these for the last round of NemoImage and NemoLabel
changes. They look better now, but the margins are still off.
Ill fix that soon.
2000-08-23 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-label.c: (render_buffer_pixbuf),
(label_recompute_line_geometries), (nemo_label_new),
(nemo_label_set_text), (nemo_label_set_font),
(nemo_label_set_font_size):
Bug 2286 - sidebar text gets cut off. The problem was that the
text geometry was not being recomputed on changes that affected
it, like font and font size. Put the geometry code to a new
function.
Also fix a dumb overflow bug caused by abusing guint16.
* libnemo-extensions/nemo-scalable-font.c:
(nemo_scalable_font_draw_text_lines):
Was not setting the rectangle end point.
2000-08-22 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1570, Undo of typing when renaming says
"Undo Rename"
* libnemo-extensions/nemo-icon-text-item.c:
(register_rename_undo):
Changed "Rename" to "Typing"
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(create_default_configuration_metafile),
Default DRY_RUN to FALSE instead of TRUE... beware.
(init_default_install_configuration):
Default transaction_dir to g_get_home_dir()/.nemo/transactions/
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (eazel_install_fetch_package),
Trying to make the gnomevfs fetching work properly.
(get_url_for_package):
Removed the check, since I need to do it in the gnome-vfs callback
loop.
2000-08-22 Gene Z. Ragan <gzr@eazel.com>
Work in progress to support dragging onto
NemoLink files. Dragging on the trash
still does not work.
* libnemo-extensions/nemo-icon-container.c:
* libnemo-extensions/nemo-icon-container.h:
(nemo_icon_container_initialize_class),
(nemo_icon_container_get_icon_uri),
(nemo_icon_container_get_icon_drop_target_uri):
New signal to return the target URI of a drag target.
This was done to support dragging onto NautilyusLink files.
* libnemo-extensions/nemo-drag.c:
(nemo_drag_can_accept_item):
Add call to nemo_icon_container_get_icon_drop_target_uri
and remove call to nemo_icon_container_get_icon_uri
* libnemo-extensions/nemo-icon-dnd.c:
* libnemo-extensions/nemo-icon-private.h:
(nemo_icon_container_find_drop_target):
Some code cleanup to fix a leak.
* libnemo-extensions/nemo-link.c:
* libnemo-extensions/nemo-link.h:
(nemo_link_can_accept_drag):
New function that currently return TRUE for all links.
* src/file-manager/fm-icon-view.c: (get_icon_uri_callback),
(get_icon_drop_target_uri_callback), (create_icon_container):
Connect to new signal and add implementation.
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback):
Added the nessecary code for the download progress signal emits
for gnome-vfs download
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_osd_xml_from_memory):
removed debug output
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
* components/services/install/lib/eazel-install-metadata.c:
(create_default_metadata), (get_boolean_value_from_string):
About to make create_default_metadata switch to ~/ instead of /var.
* components/services/install/lib/eazel-install-protocols.c:
(get_url_for_package)
Robey committed a fix for the multiple url stuff.
(gnome_vfs_fetch_remote_file):
english output instead of binary.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_osd_xml_from_memory):
Insert null at the end for the </packages> tag. Needed to lose the
weird </xmp> tags.
2000-08-22 John Sullivan <sullivan@eazel.com>
More work on bug 1653 (new menu layout)
Fixed bug 1996 (No way to activate "Web Search" from keyboard)
* src/file-manager/fm-directory-view.c: (compute_menu_item_info):
Changed text from "Select All" to "Select All Files" for clarity.
* src/nemo-window-menus.c:
(file_menu_web_search_callback): New function, calls
nemo_window_go_web_search
(nemo_window_initialize_menus): Added underscore-accelerator
to Close _All Windows; added separator before Select All;
gave Find Control-F; added Web Search;
gave Back Control-[; gave Forward Control-]; gave Add Bookmark
Control-B. (Note that you might not see these until you delete
the file ~/.gnome/accels/nemo
* src/nemo-window-toolbars.c:
(toolbar_clear_search_mode): removed this function.
(toolbar_home_callback),
(toolbar_search_web_callback): Removed calls to
toolbar_clear_search_mode; this behavior has been moved into
nemo_window_go_home and nemo_window_go_web_search
instead so the menu items can share it.
* src/nemo-window.c: (nemo_window_go_web_search),
(nemo_window_go_home): Clear search mode in these
bottleneck functions.
2000-08-22 Mathieu Lacage <mathieu@eazel.com>
Add rebecka's class for queues.
* libnemo-extensions/Makefile.am: add files.
* libnemo-extensions/nemo-lib-self-check-functions.h:
add self-test function for queues
* libnemo-extensions/nemo-queue.c: (nemo_queue_new),
(nemo_queue_add), (nemo_queue_remove),
(nemo_queue_free_deep), (nemo_queue_is_empty),
(nemo_queue_free), (nemo_self_check_queue):
* libnemo-extensions/nemo-queue.h:
2000-08-22 John Sullivan <sullivan@eazel.com>
More work on bug 1653 (new menu layout)
Fixed bug 1995 (No way to enter/leave search mode from keyboard)
Fixed bug 1999 (No way to reload from keyboard)
* libnemo/nemo-bonobo-ui.h: Added more placeholders.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_merge_menus): Position "Empty Trash"
menu item and separator using placeholder.
* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
Fixed bug where "Restore Icon's Original Size" was using the
wrong plurality.
(insert_bonobo_menu_item): Renamed this from append_ and gave
it a position parameter.
(fm_icon_view_merge_menus): Used placeholders to put the menu
items in the order specified by bug 1653.
* src/nemo-switchable-navigation-bar.h:
* src/nemo-switchable-navigation-bar.c:
(nemo_switchable_navigation_bar_get_mode): New function;
formerly there was a public setter but no public getter.
* src/nemo-window-menus.c:
(file_menu_close_window_callback): Removed redundant assert.
(file_menu_toggle_find_mode_callback): New function, toggles
whether we're in search mode.
(go_menu_reload_callback): New function, reloads.
(nemo_window_initialize_menus): Tweaked hint for "Close All Windows",
added Find/Browse menu item; Changed "Up" to "Up a Level" to
match bug 1653; added "Reload" to Go menu.
(nemo_window_update_find_menu_item): New function, sets the
label of the Find/Browse menu item based on search mode's state.
* src/nemo-window-private.h: added #define for
NEMO_MENU_PATH_RELOAD_ITEM; added prototype for
nemo_window_update_find_menu_item.
* src/nemo-window-toolbars.c: Changed "Search" to "Find"
to match menu item (and Arlo's design).
* src/nemo-window.h,
* src/nemo-window.c:
(navigation_bar_mode_changed_callback): Update Find menu item.
(nemo_window_get_search_mode): New function; formerly there
was a public setter but no public getter.
(nemo_window_allow_reload): Update menu item sensitivity.
2000-08-22 Andy Hertzfeld <andy@eazel.com>
fixed bugs 643 and 605, by not accepting multiple or remote images
as custom icons, and displaying informative error messages.
* src/nemo-sidebar.c: (receive_dropped_uri_list):
added separate checks for multiple uris and remote files and displayed
an appropriate message using nemo_error_dialog.
* libnemo-extensions/nemo-icon-factory.c:
(load_specific_image):
removed a fixme now that it's fixed
2000-08-22 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-background.c:
(nemo_background_image_fully_obscures):
Added a missing paren to fix build breakage.
2000-08-22 Michael Engber <engber@eazel.com>
Fixed backgrounds to draw images scaled & centered
in aa mode. (bug 2231)
* libnemo-extensions/nemo-background.c:
(nemo_background_image_fully_obscures):
2000-08-22 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
(transform_file): Ooops - there was a bug in this causing the
index.html file not to load. It is now fixed (but is still broken
until help renders with Mozilla)
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_end_element): Forgot a break in a case statement. This
stops erroneous </A></H4> tags being inserted (Fixes Bug #2178)
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.c:
Added the 'Markup' tag - Fixes Bug #2228
* components/help/converters/gnome-db2html2/gdb3html.[ch]:
(start_element),
(characters): Added a 'empty_element' to the Context struct.
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_country_characters): New function - not used yet
(sect_write_characters): Remove a 'hack' for the 'entry' tag
(sect_entry_end_element): Print a &nbsp; if it is an empty element
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_all_packages),
Print package name in front of install status
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_rpm_propcess_pipe),
Use transaction even when EAZEL_INSTALL_SLIM is defined. The lets
the bootstrap installer save a transaction for the install of
nemo.
(eazel_install_prune_packages),
indention fix
(eazel_install_fetch_rpm_dependencies),
When EAZEL_INSTALL_SLIM, ignore lib dep problems. This is a temp
fix while the installer does not use SoftCat
(print_package_list)
Horrible mem mishandling
* nemo-installer/src/Makefile:
* nemo-installer/src/Makefile.am:
Added -EAZEL_INSTALL_SLIM and -DNO_TEXT_BOX to the makefile
* nemo-installer/src/callbacks.c: (begin_install):
After install, jump to next page
* nemo-installer/src/installer.c: (eazel_install_progress),
, (eazel_install_dep_check), (check_system),
(installer),
Use the gtk_label instead of a gtk_text thingy.
(install_failed_helper):
Fixed output format
* nemo-installer/src/interface.c: (create_what_to_do_page):
* nemo-installer/src/main.c:
Added the --force option, to force install.
2000-08-22 J Shane Culpepper <pepper@eazel.com>
components/services/install/nemo-view/nemo-service-install-
view.c: (nemo_service_install_view_update_from_uri),
(service_install_load_location_callback):
components/services/startup/nemo-view/nemo-service-startup-
view.c: (generate_startup_form),
(nemo_service_startup_view_load_uri),
(service_load_location_callback):
* src/nemo-first-time-druid.c: (druid_finished):
Fixing the go_to_uri problem so that the first time druid works and
eazel: redirects work more consistently.
2000-08-21 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-link.c:
* libnemo-extensions/nemo-link.h:
(nemo_link_set_link_uri):
New function to allow the setting of the LINK property
tp be the URI passed in.
* src/file-manager/fm-desktop-icon-view.c:
(find_and_rename_trash_link):
Change Trash link to use trash: uri insated of path to
trash directory. This code checks and verifies that
the trash link has this set properly on desktop launch.
Mon Aug 21 23:35:18 2000 George Lebl <jirka@5z.com>
* components/html/ntl-web-browser.c (main): properly handle
gconf error, and init it to NULL first. This will avoid
crashes on error.
* libnemo-extentions/Makefile.am,
libnemo-extentions/nemo-preferences-private.h,
libnemo-extentions/nemo-preferences.c: Add a
nemo_preferences_handle_error functions for use in
nemo-preferences and user level manager to handle and reset
GConf exceptions. The reason a new "private" header was added is
to preserve the gconf encapsulation outside libnemo-extentions,
plus it's only useful there.
* libnemo-extentions/nemo-preferences.c
(preferences_hash_node_add_callback)
(preferences_hash_node_remove_callback)
(preferences_gconf_callback) (preferences_initialize_if_needed)
(nemo_preferences_set_boolean) (nemo_preferences_get_boolean)
(nemo_preferences_set_string_list)
(nemo_preferences_get_string_list)
(nemo_preferences_set_enum) (nemo_preferences_get_enum)
(nemo_preferences_set) (nemo_preferences_get)
libnemo-extensions/nemo-user-level-manager.c
(user_level_manager_new) (user_level_manager_ensure_global_manager)
(nemo_user_level_manager_set_user_level)
(nemo_user_level_manager_get_user_level_as_string)
(nemo_user_level_manager_set_default_value_if_needed)
(nemo_user_level_manager_compare_preference_between_user_levels):
Handle GConf exceptions. Try to revert to sane behaviour on
errors, such as using defaults. Remove all the asserts for
conditions that arise from gconf errors. Fixes bug 672
2000-08-21 Darin Adler <darin@eazel.com>
Finished task 571 (Make a Trash "virtual directory" with trash
from all volumes). Some loose ends are already reported in bugs
2146, 2243, and 2244.
* libnemo-extensions/Makefile.am:
* libnemo-extensions/nemo-merged-directory.h:
* libnemo-extensions/nemo-merged-directory.c:
Moved all the guts of NemoTrashDirectory that are solely
about having a single directory that's a union of a bunch of
real directories into a separate base class. Also finished the
implementation, leaving only unimportant loose ends.
* libnemo-extensions/nemo-trash-directory.h:
* libnemo-extensions/nemo-trash-directory.c:
(get_volume_vfs_uri_if_writable), (find_directory_callback),
(add_volume), (remove_trash_volume), (remove_volume),
(add_one_volume), (volume_mounted_callback),
(volume_unmounted_callback), (nemo_trash_directory_initialize),
(remove_trash_volume_cover), (trash_destroy),
(nemo_trash_directory_initialize_class):
Added the code to find the trash on all volumes.
* libnemo-extensions/nemo-glib-extensions.h:
* libnemo-extensions/nemo-glib-extensions.c:
(flatten_hash_table_element),
(nemo_g_hash_table_safe_for_each): Added a new version of the
hash table iterator that works even if the callback removes items
from the hash table.
* libnemo-extensions/nemo-scalable-font.c:
(nemo_scalable_font_largest_fitting_font_size): Added code to
handle the case of an empty name; the old code worked with NULL,
but not with "".
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_trash_state_changed_callback),
(find_and_rename_trash_link), (create_or_rename_trash):
* src/file-manager/nemo-trash-monitor.c:
(nemo_trash_monitor_initialize):
Changed to use the new "trash:" URL instead of locating one of
the trash folders.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(fm_directory_all_selected_items_in_trash):
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class):
The "share_parent" optimization didn't work for the new trash.
Instead of fixing it, I just removed it.
* src/nemo-window-manage-views.c: (compute_default_title),
(nemo_window_update_title): Made two changes to the default
title: 1) Use "" instead of "Nemo" when there's no title.
We still use "Nemo" in the window title, but not in the
sidebar any more. 2) Use the scheme part of a URI if there's
nothing after the colon. This works nicely for the trash.
* libnemo-extensions/nemo-background-canvas-group.c:
(nemo_background_canvas_group_render): Removed some unneeded
code and the FIXME that goes with it.
* libnemo-extensions/nemo-directory.c:
(nemo_directory_is_not_empty): Removed an overzealous assert.
2000-08-21 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(eazel_install_progress_signal), (main):
* components/services/install/command-line/eazel-package-query.c:
(main):
* components/services/install/command-line/eazel-revert.c:
(eazel_install_progress_signal):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_revert_transaction_from_file):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(download_all_packages), (eazel_uninstall_globber):
* components/services/install/lib/eazel-install-tests.c:
(dump_package_list):
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (packagedata_new),
(packagedata_fill_from_rpm_header), (packagedata_destroy_foreach):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml),
(osd_parse_softpkg):
Renames the summary field to description (PackageData
struc). Added a revert_transaction_from_file, which reads the xml
file. Fixed some const issues.
* nemo-installer/src/callbacks.c:
* nemo-installer/src/installer.c: (eazel_install_progress),
(eazel_install_preflight), (make_dirs), (check_system),
(revert_nemo_install), (installer):
* nemo-installer/src/interface.c: (create_what_to_do_page),
(create_install_page), (create_finish_page):
* nemo-installer/src/link.sh:
* nemo-installer/src/main.c: (main):
* nemo-installer/src/prescript:
Added GPL license to all the bootstrap installer code. Inserted a
textbox into the installer, that
displays current action/package description during download. It
now also checks linux distro and for a helix install.
2000-08-21 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-link.c:
(nemo_link_create):
Added a link type argument to API to allow caller to
specify type of link.
(nemo_link_is_volume_link), (nemo_link_is_home_link),
(nemo_link_is_trash_link):
Renamed old constants to use _TAG at the end of old define.
The name of th eprevious define is now used in the
enumeration of link types.
* libnemo-extensions/nemo-link.h:
Added argument to nemo_link_create and created
an enum to define the types of links.
* src/file-manager/fm-desktop-icon-view.c:
(startup_create_mount_links), (volume_mounted_callback),
(place_home_directory), (create_or_rename_trash),
(get_sort_category):
Changed callers of nemo_link_create to use new argument.
* src/file-manager/fm-properties-window.c:
(get_and_ref_file_to_display):
Changed callers of nemo_link_create to use new argument.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
* libnemo-extensions/nemo-global-preferences.h:
* src/file-manager/fm-directory-view.c:
(smooth_graphics_mode_changed_callback),
(fm_directory_view_initialize), (fm_directory_view_destroy):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (get_icon_images_callback),
(fm_icon_view_smooth_graphics_mode_changed),
(fm_icon_view_initialize_class),
(fm_icon_view_update_smooth_graphics_mode),
(create_icon_container):
* src/nemo-sidebar-title.c:
(nemo_sidebar_title_initialize),
(nemo_sidebar_title_destroy),
(smooth_graphics_mode_changed_callback):
Changed "anti_aliased_mode" to "smooth_graphics_mode" cause it
much smoother.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-label.c:
(nemo_label_initialize), (nemo_label_size_request),
(render_buffer_pixbuf), (nemo_label_set_text),
(nemo_label_set_font), (nemo_label_set_text_color),
(nemo_label_set_text_alpha),
(nemo_label_set_drop_shadow_offset),
(nemo_label_get_drop_shadow_offset),
(nemo_label_set_drop_shadow_color):
* libnemo-extensions/nemo-label.h:
Add support for drop shadows.
* src/nemo-sidebar-title.c:
(nemo_sidebar_title_initialize):
Make the offset between labels more pleasing to comrade arlo.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-scalable-font.c:
(nemo_scalable_font_measure_text_lines):
Remove some dumbass assertions that were never meant to be there.
2000-08-21 John Sullivan <sullivan@eazel.com>
Finished bug 1750 ("Reveal in New Window" feature for
search results). Now choosing this menu item opens the
right window, selects the right item, and scrolls as
necessary to reveal the selected item.
* libnemo-extensions/nemo-icon-container.h,
* libnemo-extensions/nemo-icon-container.c:
(nemo_icon_container_reveal): New function, wrapper for
existing private reveal_icon function that first finds the
NemoIcon for the given NemoIconData.
* libnemo-extensions/nemo-list.h,
* libnemo-extensions/nemo-list.c:
(nemo_list_reveal_row): Renamed this function from
reveal_row and made it public.
(keyboard_row_reveal_timeout_callback): Accounted for
name change
(nemo_list_get_first_selected_row): New function, returns
index of first selected item.
* src/file-manager/fm-icon-view.c: (fm_icon_view_set_selection),
* src/file-manager/fm-list-view.c: (fm_list_view_set_selection):
reveal first selected item. This has the (good, I think) side effect
of scrolling as necessary to make sure at least one selected item
is in view whenever the selection is explicitly set, which includes
when creating a new folder and when switching views with an existing
selection (but beware, switching from list view to icon view with a
selection currently crashes due to bug 2222).
2000-08-21 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2137, renaming of trash causes a duplicate trash to
appear.
If the user renames trash, it will get renamed back to Trash
when the desktop is restarted. When we have individual file reneaming
permissions, this will never be an issue.
Fixed bug 2144, renaming home link on desktop causes a duplicate
to appear.
* libnemo-extensions/nemo-link.c:
* libnemo-extensions/nemo-link.h:
(nemo_link_is_home_link), (nemo_link_is_trash_link):
Two new functions to identify specific types of links
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Trash link is now created here,
(find_home_link),
(place_home_directory):
Modified functions to handle situations where home link
has been renamed by the user.
(find_and_rename_trash_link),
(create_or_rename_trash):
New functions to handle creation of trash link.
* src/nemo-desktop-window.c:
(nemo_desktop_window_new):
Moved creation of trash link to FMDesktopIconView
2000-08-21 Andy Hertzfeld <andy@eazel.com>
* libnemo-extensions/nemo-icon-factory.c:
(nemo_get_current_icon_factory), (icon_theme_changed_callback):
made the icon factory ask the current theme for the icon directory
to use, so themes can easily use each other's icons without copying
them.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-buffered-widget.c:
(nemo_buffered_widget_realize):
Add a evil hack to keep track of background changes. I have a
better fix for this that I will commit soon.
* src/nemo-sidebar-title.c:
(nemo_sidebar_title_initialize),
(nemo_sidebar_title_destroy),
(nemo_sidebar_title_select_text_color),
(nemo_sidebar_title_theme_changed), (update_icon),
(update_font), (update_title), (update_more_info), (update_all),
(nemo_sidebar_title_hit_test_icon),
(sidebar_create_smooth_components_if_needed),
(sidebar_create_normal_components_if_needed),
(anti_aliased_mode_changed_callback):
* src/nemo-sidebar-title.h:
* src/nemo-sidebar.c: (background_appearance_changed_callback):
Add support for smoother graphics. Use new NemoLabel and
NemoImage widgets to render alpha composited pixbufs and anti
aliases text.
The old non-smooth widgets are still supported and should continue
to work as expected whenever the smooth graphics preference is
toggled.
2000-08-21 J Shane Culpepper <pepper@eazel.com>
* components/services/Makefile.am:
* components/services/install/nemo-view/Makefile.am:
* components/services/login/nemo-view/Makefile.am:
* components/services/nemo-dependant-shared/.cvsignore:
* components/services/nemo-dependant-shared/Makefile.am:
* components/services/nemo-dependant-shared/icons/.cvsignore:
* components/services/nemo-dependant-shared/icons/Makefile.am:
* components/services/nemo-dependant-shared/shared-service-utilit
ies.c:
* components/services/nemo-dependant-shared/shared-service-utilit
ies.h:
* components/services/nemo-dependant-shared/shared-service-widget
s.c:
* components/services/nemo-dependant-shared/shared-service-widget
s.h:
* components/services/nemo-dependent-shared/.cvsignore:
* components/services/nemo-dependent-shared/Makefile.am:
* components/services/nemo-dependent-shared/icons/.cvsignore:
* components/services/nemo-dependent-shared/icons/Makefile.am:
* components/services/nemo-dependent-shared/shared-service-utilit
ies.c: (go_to_uri), (is_location):
* components/services/nemo-dependent-shared/shared-service-utilit
ies.h:
* components/services/nemo-dependent-shared/shared-service-widget
s.c: (create_image_widget), (create_services_title_widget),
(create_services_header_widget), (set_widget_foreground_color),
(show_feedback):
* components/services/nemo-dependent-shared/shared-service-widget
s.h:
* components/services/startup/nemo-view/Makefile.am:
* components/services/summary/nemo-view/Makefile.am:
* configure.in:
Moving nemo-dependant-shared to nemo-dependent-shared. The
poor spelling was too much.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-scalable-font.c:
(parse_font_description_file), (font_family_new),
(font_family_table_add_fonts), (font_family_string_map_new),
(nemo_scalable_font_new),
(nemo_scalable_font_largest_fitting_font_size),
(nemo_scalable_font_draw_text_lines),
(font_family_table_get_family_list), (font_family_table_free),
(nemo_scalable_font_query_font),
(default_font_at_exit_destructor),
(font_family_table_at_exit_destructor),
(font_family_string_map_at_exit_destructor),
(initialize_global_stuff_if_needed):
Add a simple font family map. The idea is to make it very simple
to specifiy font family names without having to know what the
exact name of the font is.
2000-08-21 John Sullivan <sullivan@eazel.com>
After talking to Darin, split up
nemo_file_get_parent_uri into a _for_display
version and the standard "pure" one. We had callers
that wanted each type.
* libnemo-extensions/nemo-file.h,
* libnemo-extensions/nemo-file.c:
(nemo_file_get_parent_uri_for_display):
New function, formats the result of get_parent_uri
for user-ready display.
(nemo_file_get_parent_uri): Took out the format
code from this more basic function.
(nemo_file_compare_by_directory_name): Use the
for_display version here.
(nemo_file_get_string_attribute): Use the
for_display version here.
2000-08-21 John Sullivan <sullivan@eazel.com>
Fixed bug 1456 ("file://" shouldn't appear in locations
in Property window)
Robert Brady <rwb197@zepler.org> submitted a patch for this
bug (thanks Robert!). The patch worked, but I ended up fixing
it a somewhat different way when I realized that we had two
similar routines that needed to be merged.
* libnemo-extensions/nemo-file.c:
(nemo_file_get_directory_name): Removed this function;
callers should use get_parent_uri instead.
(nemo_file_get_parent_uri): Use
nemo_format_uri_for_display before returning result,
since this call is intended for display purposes; beef up
comment to explain.
(nemo_file_compare_by_directory_name): Use _get_parent_uri
instaed of _get_directory_name
(nemo_file_get_string_attribute): Eliminate "directory"
string attribute.
* src/file-manager/fm-search-list-view.c:
(real_get_column_specification): Use "parent_uri" instead of
"directory" name. The only visible effect this has is to remove
the trailing slashes from the "Directory" column. Also, changed
title of column from "Directory" to "Where" to match properties
window.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-string-list.c:
(nemo_string_list_new), (nemo_string_list_new_from_string),
(nemo_string_list_new_from_string_list),
(nemo_string_list_new_from_tokens),
(nemo_string_list_contains), (nemo_string_list_equals),
(nemo_string_list_get_index_for_string),
(nemo_string_list_sort),
(nemo_string_list_remove_duplicates), (str_is_equal),
(nemo_self_check_string_list):
* libnemo-extensions/nemo-string-list.h:
Add support for case insensitive string lists.
* libnemo-extensions/nemo-string-map.c,
* libnemo-extensions/nemo-string-map.c:
(nemo_string_map_add), (map_entry_new),
(map_entry_list_lookup_mapped_string), (str_is_equal),
(nemo_self_check_string_map):
Add support for case insensitive string maps.
* libnemo-extensions/nemo-string.c:
(nemo_istr_compare):
Add missing function that apparentlt was missing and unnoticed.
* libnemo-extensions/nemo-font-picker.c:
(font_picker_update_weight_picker),
(font_picker_update_slant_picker),
(font_picker_update_set_width_picker):
* libnemo-extensions/nemo-preference.c:
(preference_allocate_type_info):
* libnemo-extensions/nemo-preferences-item.c:
(preferences_item_create_font_family),
(preferences_item_create_theme):
* libnemo-extensions/nemo-scalable-font.c:
(parse_font_description_file), (font_family_table_add_fonts),
(nemo_scalable_font_largest_fitting_font_size),
(font_family_table_get_family_list),
(nemo_scalable_font_query_font):
* libnemo-extensions/nemo-string-picker.c:
(nemo_string_picker_initialize),
(nemo_string_picker_get_string_list),
(nemo_string_picker_insert_string):
* libnemo-extensions/nemo-user-level-manager.c:
(user_level_manager_new),
(nemo_user_level_manager_get_user_level_names):
* src/file-manager/fm-directory-view.c:
(real_get_emblem_names_to_exclude):
* src/nemo-application.c:
(nemo_application_check_user_directories):
* test/test-nemo-image.c: (create_font_picker_frame):
* test/test-nemo-label.c: (create_font_picker_frame):
* test/test-nemo-widgets.c: (test_string_picker):
Update for case insensitive support changes in string list api.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-directory.c:
Check for NULL before dereferencing 'directories'.
I was playing around with test (moving their order of execution).
directories was null at exit time, and an assertion was triggered
inside the GHashTable.
(nemo_directory_number_outstanding),
(nemo_self_check_directory): Fix a typo that was making the
checks fail.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-gdk-pixbuf-extensions.c:
(nemo_gdk_pixbuf_render_to_pixbuf_tiled), Fix from andy to
properly deal with pixbufs that have alpha channels.
(nemo_gdk_pixbuf_fill_rectangle_with_color), New function to
fill an area of a pixbuf with a given color.
(nemo_gdk_pixbuf_render_to_drawable),
(nemo_gdk_pixbuf_render_to_pixbuf),
(nemo_gdk_pixbuf_render_to_pixbuf_alpha), New functions to
handle pixbuf rendering to various destinations using the same
api. Also, these do clipping if needed to prevent overflow.
(nemo_gdk_pixbuf_save_to_file), Make this function public.
It used to live in the icon factory.
(nemo_gdk_pixbuf_ref_if_not_null),
(nemo_gdk_pixbuf_unref_if_not_null): New functions to
make pixbuf ref/unref code more readably by dealing with NULL
pixbufs.
* libnemo-extensions/nemo-gdk-pixbuf-extensions.h:
* libnemo-extensions/nemo-icon-factory.c:
(nemo_icon_factory_make_thumbnails):
Make the save_pixbuf function public and move it to the gdk_pixbuf
place.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-gtk-extensions.c:
(nemo_gtk_widget_set_background_color),
(nemo_gtk_widget_set_foreground_color),
(nemo_gtk_widget_find_windowed_ancestor):
* libnemo-extensions/nemo-gtk-extensions.h:
New function to find a windowed ancestor for a GtkWidget.
New functions to change a widget's background and foreground.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-gdk-extensions.c:
(nemo_gdk_font_get_bold), (nemo_gdk_create_copy_area_gc):
* libnemo-extensions/nemo-gdk-extensions.h:
New utility function to create copy area gcs.
New macros to pack and unpack RGBA values.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-string-picker.c:
(nemo_string_picker_insert_string),
(nemo_string_picker_contains):
* libnemo-extensions/nemo-string-picker.h:
New function to test whether the string picker contains a string.
Also add some more documentation.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-glib-extensions.h:
Add two dumb macros to make macro declaration easier.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-string-list.c:
(nemo_string_list_new_from_tokens),
(nemo_string_list_contains), (nemo_string_list_sort),
(nemo_string_list_remove_duplicates),
(nemo_string_list_get_longest_string),
(nemo_string_list_get_longest_string_length),
(nemo_self_check_string_list):
* libnemo-extensions/nemo-string-list.h:
New functions to find the longest string and longest string length.
Also, some function pointers cast cleanup.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
Tasks: 1612, 1274, 1511 and 1588.
* libnemo-extensions/nemo-scalable-font.c:
* libnemo-extensions/nemo-scalable-font.h:
New GtkObject subclass that provdes a simple interface to raph's
librsvg FreeType2 bases anti aliased text rendering.
* libnemo-extensions/nemo-font-picker.c:
* libnemo-extensions/nemo-font-picker.h:
New font picker class. I will soon use it in the preferences
dialog instead of the current one.
* libnemo-extensions/nemo-buffered-widget.c:
* libnemo-extensions/nemo-buffered-widget.h:
New virtual widget class that encapsulates the details of finding
a suitable background for compositing pixbufs.
* libnemo-extensions/nemo-image.c:
* libnemo-extensions/nemo-image.h:
Rewritten NemoImage class. Took out all the label stuff,
which lives in its own class. Now subclassed from
NemoBufferedWidget so that background the image gets
composited on is always correct and groks NemoBackground.
* libnemo-extensions/nemo-label.c:
* libnemo-extensions/nemo-label.h:
New NemoLabel widget class. A label widget that is capable of
displaying anti aliased text composited over a complex background.
The background can be installed as NemoBackground on a
NemoLabel widget or any of its ancestors. The best background
will automatically be found and used by the widget.
* services/nemo-dependant-shared/shared-service-widgets.c,
* services/nemo-dependant-shared/shared-service-widgets.h,
* services/startup/nemo-view/nemo-service-startup-view.c:
Update for changes in the NemoImage api. Unfortunately, these
components are slightly broken now cause of the NemoImage
changes. I will fix them shortly.
* libnemo-extensions/nemo-string-map.c:
* libnemo-extensions/nemo-string-map.h:
New simple class to map an arbitrary number of strings to a single
string.
* libnemo-extensions/nemo-lib-self-check-functions.h:
Add tests for the new string map class.
* libnemo-extensions/Makefile.am:
Build the new widgets. Also add some depedencies on the static
libraries we link into this beast. This way,
libnemo-extensions will rebuild of one if its dependency
static libs is touched.
* test/.cvsignore,
* test/Makefile.am,
* test/test-nemo-font-picker.c,
* test/test-nemo-font.c,
* test/test-nemo-image.c,
* test/test-nemo-label.c:
Update test programs for new widgets.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-background.c:
(nemo_widget_has_attached_background):
* libnemo-extensions/nemo-background.h:
New function to test whether a GtkWidget has an attatched
NemoBackground. This is needed because of the
nemo_get_widget_background will implicitly attatch a
background. This creates serious problems for widget hierarchies
where the only interesting background is that of an ancestor.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/test-ft.c: (main):
Update for changes in librsvg glyph_xy return values.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-string.c:
(nemo_istr_is_equal), (nemo_self_check_string):
* libnemo-extensions/nemo-string.h:
Add a case insensitive version of nemo_str_is_equal.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnemo-extensions/nemo-string.c:
(nemo_str_count_characters), (nemo_self_check_string):
* libnemo-extensions/nemo-string.h:
New function to count the occurance of a character in a string.
2000-08-20 Andy Hertzfeld <andy@eazel.com>
* src/nemo-first-time-druid.c: (set_up_update_feedback_page),
(next_update_page_callback), (nemo_first_time_druid_show),
(download_callback), (initiate_file_download):
work on required task 1826; made the first time druid load the nemo update file
asynchronously, and then expand it into a directory at ~/.nemo. There's still
a lot of refinement left to do, but the basic functionality is there now.
Sat Aug 19 23:43:23 2000 George Lebl <jirka@5z.com>
* librsvg/rsvg.c (rsvg_ctx_free_helper) (rsvg_entity_decl):
use xml memory allocation/deallocation routines for strings
which are allocated/deallocated inside libxml to make glib
memory checking not crash
* libnemo-extentions/nemo-gnome-extentions.[ch]:
add a function nemo_gnome_stock_set_icon_or_register which
does the GnomeStock voodoo for setting stock toolbar icons to
arbitrary files
* src/nemo-window-toolbars.c (set_up_button): Use the
nemo_gnome_stock_set_icon_or_register function as per Darin's
FIXME which thus got removed.
2000-08-19 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nemo-tree-model.c: (report_node_added,
report_node_changed): Create the NemoDirectory for a node when
and if we discover it is a directory.
* components/tree/nemo-tree-node.c:
(nemo_tree_node_destroy, nemo_tree_node_new): Don't
automatically create a NemoDirectory; unref the
NemoDirectory only if present.
* components/tree/nemo-tree-view.c: Remove gratuitous include
of nemo-directory.h
2000-08-19 Andy Hertzfeld <andy@eazel.com>
* src/nemo-sidebar-tabs.c: (draw_or_layout_all_tabs):
fixed a bug in the themed sidebar tabs where the layout and drawing
code paths would get out of whack, resulting in messed up tab layout
2000-08-19 Mathieu Lacage <mathieu@eazel.com>
completes task 1567. it shows a bug in the way the history
view displays the current location given the history. to be
fixed soon.
* components/history/nemo-history-view.c:
(history_load_location), (history_title_changed), (make_obj):
add title_changed_callback, connect it to changed_title signal.
make it call load_location.
Hack evil stuff in load_location: a hand-made lock because the
function calls some gtk calls which seem to make the main loop
run at least once. This allowed the main loop to use the events
in the event queue and it happened that the title_changed signal
is usually emited more than once so it called again the
non-reentrant signal callback... BAD THINGS HAPPENED.
* libnemo/nemo-view-component.idl: add changed_title method
to Nemo::View.
* libnemo/nemo-view.c: (impl_Nemo_View_title_changed),
(nemo_view_initialize_class): implement the new idl function and
add a signal for it.
* libnemo/nemo-view.h: add the new signal class method.
* src/nemo-view-frame-bonobo-control.c: add the title_changed
field to the vtable.
* src/nemo-view-frame-nemo-view.c: (title_changed): idem.
* src/nemo-view-frame-private.h: idem.
* src/nemo-view-frame.c: (nemo_view_frame_title_changed):
add api function to emit the signal and make the actual corba call.
* src/nemo-view-frame.h: add function prototype.
* src/nemo-window-manage-views.c: add calls to
(nemo_window_update_title): to notify view frames of changed
titles.
2000-08-18 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-volume-monitor.c:
* libnemo-extensions/nemo-volume-monitor.h:
(nemo_volume_monitor_initialize), (find_volumes):
Removed public call to nemo_volume_monitor_find_volumes
and replaced with find_volumes which is called internally
when class is initialized.
* src/file-manager/fm-desktop-icon-view.c:
(startup_create_mount_links), (fm_desktop_icon_view_initialize),
(volume_mounted_callback):
Create a callback that is called for each mounted volume
to create mounted volume icons when desktop is created.
* icons/trash-empty.png:
* icons/trash-full.png:
Added new Trash icons to try and make text appear centered.
Fri Aug 18 21:22:17 2000 George Lebl <jirka@5z.com>
* components/hardware/nemo-hardware-view.c
(read_proc_info) (extract_info) (get_CPU_description)
(get_RAM_description):
Use g_strdup instead of strdup
(get_CPU_description):
Free allocated data when returning due to an error
* components/music/nemo-music-view.c
(nemo_music_view_update_from_uri):
Initialize clist_entry in a loop, use g_strdup_printf instead
of malloc and sprintf, and properly free allocated data after use
* components/services/inventory/lib/eazel-inventory-shared.c
(read_proc_info)
components/services/inventory/nemo-view/nemo-inventory-view.c
(gather_config_button_cb)
libnemo-extensions/nemo-string.c
(nemo_str_middle_truncate)
librsvg/rsvg.c (rsvg_ctx_free):
Use g_strdup instead of strdup and g_free instead of free to
prevent crashes with glib compiled with --enable-mem-check
* src/file-manager/Makefile.am,
src/file-manager/nemo-indexing-info.[ch],
src/file-manager/fm-search-list-view.c (indexing_info_callback)
(real_merge_menus):
Bug #1369: Add a dialog for indexing info to the file menu. The
dialog shows the last time the indexing was done and allows to
update the indexes. Only shown on the file search result dialog
2000-08-18 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-volume-monitor.c:
(nemo_volume_monitor_initialize),
(nemo_volume_monitor_destroy), (mount_volume_is_mounted),
(mount_volume_cdrom_set_state), (mount_volume_floppy_set_state),
(mount_volume_ext2_set_state), (mount_volume_set_state),
(volume_set_state_empty), (mount_volume_mount),
(mount_volume_activate_cdrom), (mount_volume_activate_floppy),
(mount_volume_activate_ext2), (mount_volume_activate),
(eject_cdrom), (mount_volume_deactivate),
(mount_volume_do_nothing), (mount_volume_check_change),
(mount_volumes_update_is_mounted), (mount_volumes_check_status),
(mount_volume_floppy_add), (mount_volume_ext2_add),
(mount_volume_iso9660_add), (mount_volume_add_aliases),
(add_mount_volume), (mntent_is_removable_fs),
(nemo_volume_monitor_find_volumes),
(nemo_volume_monitor_each_volume),
(nemo_volume_monitor_each_mounted_volume),
(nemo_volume_monitor_mount_unmount_removable),
(free_volume_info), (get_iso9660_volume_name),
(get_ext2_volume_name), (get_floppy_volume_name):
* libnemo-extensions/nemo-volume-monitor.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize), (volume_mounted_callback),
(volume_unmounted_callback):
More naming fixes. Remove info from NemoDeviceInfo and renamed it
NemoVolume. Removed device naming and use volume instead. Named other
structs with Nemo prepended.
2000-08-18 John Sullivan <sullivan@eazel.com>
More work on bug 1750 ("Reveal in New Window" feature for
search results). Now it opens a new window with the right
item selected. The only remaining work is to make the new
window scroll as necessary to reveal the item.
Along the way, fixed an unreported bug where the selection
wasn't being maintained on view switches.
* libnemo-extensions/nemo-gtk-extensions.h:
added #define for nemo_gtk_marshal_NONE__STRING_POINTER.
* libnemo/nemo-view-component.idl:
Added open_in_new_window_and_select call.
* libnemo/nemo-view.h,
* libnemo/nemo-view.c:
(nemo_view_open_in_new_window_and_select):
* src/nemo-view-frame-corba.c:
(impl_Nemo_ViewFrame_open_location_in_new_window),
(impl_Nemo_ViewFrame_open_in_new_window_and_select):
* src/nemo-view-frame-private.h:
* src/nemo-view-frame.c:
(nemo_view_frame_initialize_class),
(nemo_view_frame_open_in_new_window_and_select):
* src/nemo-view-frame.h: Wired together the various
pieces to get open_in_new_window_and_select across CORBA
and into the view frame.
* src/nemo-window.h: added pending_selection field
* src/nemo-window-manage-views.h: added
nemo_window_open_in_new_window_and_select
* src/nemo-window.c:
(nemo_window_open_in_new_window_and_select_callback),
(nemo_window_connect_view): Wiring to connect view
frame signals to window.
(nemo_window_destroy): free pending_selection
* src/nemo-window-manage-views.c:
(nemo_window_update_view): Changed call from
nemo_window_report_selection_changed to
nemo_view_frame_selection_changed. This was the source
of the selection-not-preserved-across-view-changes bug.
Darin came up with this fix.
(open_location): Added a new_selection parameter to this
bottleneck function. It is set as the pending_selection
in the window.
(nemo_window_open_location),
(nemo_window_open_location_in_new_window),
(nemo_window_report_location_change): Update existing
callers of open_location to pass NULL for new_selection parameter.
(nemo_window_open_in_new_window_and_select): New function,
calls open_location with a selection (among other parameters).
(nemo_window_update_state): When loading a new location, set
the location to pending_selection rather than NULL (and clear
pending_selection later so it doesn't unnecessarily hang around).
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback):
Call open_in_new_window_and_select instead of just
open_location_in_new_window
2000-08-18 Michael Engber <engber@eazel.com>
Final cut at syncing our desktop background with GNOME's (bug 1047)
Now we are notified when the background capplet makes a change
to the desktop. There are still some problems, e.g. we don't get
notified when the "try" button is hit. A separate bug has been
filed about the remaining issues.
* libnemo-extensions/nemo-directory-background.c:
(nemo_directory_background_set_desktop),
(call_settings_changed),
(nemo_directory_background_event_filter),
(desktop_background_destroyed_callback),
(nemo_directory_background_receive_root_window_changes),
(background_changed_callback), (saved_settings_changed_callback),
(nemo_directory_background_theme_changed),
(background_reset_callback), (background_destroyed_callback),
(nemo_connect_background_to_directory_metadata):
2000-08-18 Gene Z. Ragan <gzr@eazel.com>
* libnemo-extensions/nemo-link.c:
* libnemo-extensions/nemo-link.h:
(nemo_link_is_volume_link):
New function. Identifies if link is a volume link.
* libnemo-extensions/nemo-volume-monitor.c:
* libnemo-extensions/nemo-volume-monitor.h:
(nemo_volume_monitor_initialize_class),
(mount_device_is_mounted), (mount_device_cdrom_set_state),
(mount_device_floppy_set_state), (mount_device_ext2_set_state),
(mount_device_set_state), (device_set_state_empty),
(mount_device_mount), (mount_device_activate_cdrom),
(mount_device_activate_floppy), (mount_device_activate_ext2),
(mount_device_activate), (eject_cdrom), (mount_device_deactivate),
(mount_device_do_nothing), (mount_device_check_change),
(mount_devices_update_is_mounted), (mount_device_floppy_add),
(mount_device_ext2_add), (mount_device_iso9660_add),
(mount_device_add_aliases), (add_mount_device),
(nemo_volume_monitor_each_device),
(nemo_volume_monitor_each_mounted_device),
(nemo_volume_monitor_mount_unmount_removable),
(free_device_info), (get_iso9660_volume_name),
(get_ext2_volume_name), (get_floppy_volume_name):
Renamed DeviceInfo to NemoDeviceInfo.
Removed all code that handled links and moved to
FMDesktopIconView. Fixed creation of volume mounted signal
to have proper signature,
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize), (volume_mounted_callback),
(volume_unmounted_callback), (remove_old_mount_links):
Added signal handlers for mount and unmount signals emitted
by NemoVolumeMonitor. These handlers create and remove
mount links.
2000-08-18 Mathieu Lacage <mathieu@eazel.com>
Cleans up the HistoryFrame : remove the History object
and replaces it with HistoryList.
* components/history/nemo-history-view.c: (get_history_list),
(history_load_location):
* libnemo/nemo-view-component.idl:
* src/nemo-history-frame.c:
* src/nemo-view-frame.c:
(nemo_view_frame_get_history_list):
* src/nemo-view-frame.h:
* src/nemo-window.c:
(nemo_window_get_history_list_callback):
2000-08-18 John Sullivan <sullivan@eazel.com>
More menu tweaking, including switching over to use
Bonobo "menu placeholders" for menu-merging components.
Fixed bug 1859 (Need improved way to position added menu items)
* libnemo/nemo-bonobo-ui.h:
Removed all menu item paths except those we expect to
be merged over (like "Select All"). Added new placeholder
paths for components to use when merging instead of relying
on the positions of specific menu items. Commented the intended
use of each placeholder.
* components/loser/content/nemo-content-loser.c:
(loser_merge_bonobo_items_callback):
* components/loser/sidebar/nemo-sidebar-loser.c:
(loser_merge_bonobo_items_callback):
* components/sample/nemo-sample-content-view.c:
(sample_merge_bonobo_items_callback):
Updated menu-merging code to use placeholder paths.
* src/file-manager/fm-directory-view.c:
(reset_bonobo_trash_delete_menu), (reset_bonobo_open_with_menu),
(fm_directory_view_real_merge_menus): Updated menu-merging code
to use placeholder paths or to base positions off other
directory view menu items. Added separator before Empty Trash.
* src/file-manager/fm-directory-view.h: Updated #defines for
directory view menu paths (some used by subclasses)
* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
Change "Restore Icon to Unstretched Size" to "Restore Icon's
Original Size" to match Arlo's wording (and similarly for
the plural case)
* src/nemo-window-menus.c:
Moved in the menu paths that were moved out of nemo-bonobo-ui.h
(append_placeholder): New function, wrapper for
bonobo_ui_handler_menu_new_placeholder
(nemo_window_remove_bookmarks_menu_items),
(refresh_dynamic_bookmarks), (append_static_bookmarks):
Simplified logic of rebuilding bookmarks menu by
using placeholder instead of details->last_static_bookmark_path.
(nemo_window_initialize_menus): Insert the placeholders defined
in nemo-bonobo-ui.h; add Control-/ for "About Nemo" per Arlo.
(nemo_window_remove_go_menu_items),
(refresh_go_menu): Use placeholder to position History menu items.
* src/nemo-window-private.h: Removed last_static_bookmark_path;
moved #defines for back/forward/up menu paths here.
* src/nemo-window.c: (nemo_window_destroy): Removed
last_static_bookmark_path.
Fixed bug 2166 (Clearing name field in Properties window doesn't work right)
* src/file-manager/fm-properties-window.c:
(name_field_update_to_match_file): Changed a char * to const char *
for clarity.
(name_field_restore_original_name): New function, restores the original
contents of the name field, no questions asked.
(name_field_done_editing): When handling empty-string case, use
restore_original_name instead of update_to_match_file, which was too
clever for this case.
2000-08-18 Darin Adler <darin@eazel.com>
* src/nemo-window-menus.c: (help_menu_about_nemo_callback):
* libnemo-extensions/nemo-program-chooser.c:
(nemo_program_chooser_new),
(nemo_program_chooser_show_no_choices_message):
Fixed bug 2210 (GNOME is referred to as Gnome in the about