e934e18...
by
Andy Hertzfeld <email address hidden>
tweaked the transparency and timeout values.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(create_annotation), (nautilus_icon_canvas_item_set_note_state):
tweaked the transparency and timeout values.
c0fff8a...
by
Andy Hertzfeld <email address hidden>
improved the note sizing, by actually measuring the text and adjusting for
* libnautilus-extensions/nautilus-canvas-note-item.c:
(nautilus_canvas_note_item_set_note_text), (draw_item_aa_text),
(nautilus_canvas_note_item_draw):
improved the note sizing, by actually measuring the text and
adjusting for the canvas scale factor.
* libnautilus-extensions/nautilus-icon-canvas-item.c: (hit_test):
made hit-testing prefer emblems when they overlap the icon, since
they're visually on top.
6d5a64f...
by
Andy Hertzfeld <email address hidden>
if there is no annotation text, delete the annotation.
* libnautilus-extensions/nautilus-annotation.c:
(nautilus_annotation_add_annotation):
if there is no annotation text, delete the annotation.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(create_annotation):
changed the annotation color/transparency to be more saturated,
as specified by Arlo.
c1967c9...
by
Andy Hertzfeld <email address hidden>
fixed the partial drawing problems in aa-mode plus other tweaks.
* libnautilus-extensions/nautilus-canvas-note-item.c:
(update_item_bounding_box), (draw_item_aa_text),
(nautilus_canvas_note_item_update):
fixed the partial drawing problems in aa-mode plus
other tweaks.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize), (remove_annotation),
(create_annotation_timeout_callback),
(nautilus_icon_canvas_item_set_note_state),
(nautilus_icon_canvas_item_event):
made annotations appear only if you linger over the emblem
for at least one second.
462d3ea...
by
Andy Hertzfeld <email address hidden>
some more work at making the annotations show up properly, but there's
* libnautilus-extensions/nautilus-canvas-note-item.c: (get_bounds),
(update_item_bounding_box),
(nautilus_canvas_note_item_set_note_text),
(nautilus_canvas_note_item_set_arg),
(nautilus_canvas_note_item_get_arg),
(nautilus_canvas_note_item_translate),
(nautilus_canvas_note_item_bounds),
(nautilus_canvas_note_item_draw),
(nautilus_canvas_note_item_point),
(nautilus_canvas_note_item_update):
* libnautilus-extensions/nautilus-canvas-note-item.h:
some more work at making the annotations show up properly, but
there's still more to do.
fb05e87...
by
Andy Hertzfeld <email address hidden>
restored the annotation preferences that was inadvertently left out of
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog):
restored the annotation preferences that was inadvertently left
out of yesterday's merge.
2f45445...
by
Andy Hertzfeld <email address hidden>
merged with HEAD to create the post-1_0_9 branch.
merged with HEAD to create the post-1_0_9 branch.
The annotation preferences got disabled since the preference
stuff changed alot; I'll fix that soon.
0f7c34d...
by
Andy Hertzfeld <email address hidden>
added a way for sidebar views to specify small images that are displayed
added a way for sidebar views to specify small images that
are displayed in their tab for notification purposes. Used
that to make the notes component indicate if a note is present or
not.
* components/notes/nautilus-notes.c: (get_bonobo_properties),
(set_bonobo_properties), (load_note_text_from_metadata),
(done_with_file), (notes_load_metainfo),
(notify_listeners_if_changed), (notes_save_metainfo), (do_destroy),
(notes_get_indicator_image), (make_notes_view):
added a property bag to the notes component to provide a tab_image
property, and made it notify the listeners when the note text
changes.
* icons/Makefile.am:
* icons/note-indicator.png:
new notes indicator image from Arlo.
* src/nautilus-sidebar-tabs.c: (tab_item_destroy),
(pixbuf_composite), (draw_one_tab_plain), (draw_one_tab_themed),
(get_tab_width), (draw_or_layout_all_tabs),
(nautilus_sidebar_tabs_expose),
(nautilus_sidebar_tabs_update_tab_item), (get_tab_item_from_view),
(nautilus_sidebar_tabs_update_all_indicators),
(nautilus_sidebar_tabs_update_indicator),
(tab_indicator_changed_callback),
(nautilus_sidebar_tabs_connect_view):
* src/nautilus-sidebar-tabs.h:
made the sidebar tabs hook up to the nautilus_view's tab_image
property and use it to display a notification image in the tab
if necessary.
* src/nautilus-sidebar.c: (view_loaded_callback),
(nautilus_sidebar_add_panel):
connect the sidebar tabs to a newly added view, once the view
is loaded.
* src/nautilus-view-frame.c: (nautilus_view_frame_get_control):
* src/nautilus-view-frame.h:
added nautilus_view_frame_get_control so view properties can be
accessed by the sidebar.
9a61eb3...
by
Ramiro Estrugo <email address hidden>
Restore the "dance." It was needed after all to deal with situations when
* src/nautilus-sidebar.c: (toggle_sidebar_panel):
Restore the "dance." It was needed after all to deal with
situations when the display become out of whack with the number of
running sidebar panels, for example when a panel crashes.
Added a comment to this effect as well.
1b93029...
by
Ramiro Estrugo <email address hidden>
When the constrained interger values are change, we need to update the
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_set_constrained_integer_values): When
the constrained interger values are change, we need to update the
displayed value as well, otherwise the very first time the
preferences dialogs shows, the selected entry will be wrong.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_key_make_for_getter):
Fix for bug 7939 - preference value not set at Intermediate level
when defined at Novice and visible at Advanced.
The problem was that when a preference is not visible and it does
not have a default for the current user_level, then the default
value was 0. The fix was to do is to find the closest
(lowest) user_level with a good default and use that.