Commit c8f6f960 authored by Andy Hertzfeld's avatar Andy Hertzfeld
Browse files

fixed bug where themed sidebar tabs weren't stacking correctly. Fixed by


	fixed bug where themed sidebar tabs weren't stacking correctly.  Fixed
	by using the actual tab height instead of the non-themed constant.
	Also, added newer tab_pieces image.
parent 198ccfc0
2000-07-03 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_or_hit_test_all_tabs):
fixed bug where themed tabs weren't stacking correctly. Fixed by
using the actual tab height instead of the constant used by the
default.
* icons/arlo/sidebar_tab_pieces.png:
replaced with newer version that has a background and edge piece.
2000-07-03 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c:
......
icons/arlo/sidebar_tab_pieces.png

5 KB | W: | H:

icons/arlo/sidebar_tab_pieces.png

6.22 KB | W: | H:

icons/arlo/sidebar_tab_pieces.png
icons/arlo/sidebar_tab_pieces.png
icons/arlo/sidebar_tab_pieces.png
icons/arlo/sidebar_tab_pieces.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -577,9 +577,10 @@ draw_or_hit_test_all_tabs (NautilusSidebarTabs *sidebar_tabs, gboolean draw_flag
if (x_pos > (widget->allocation.x + widget->allocation.width - 48)) {
/* wrap to the next line */
x_pos = widget->allocation.x + sidebar_tabs->details->tab_left_offset;
y_pos -= TAB_HEIGHT;
if (!is_themed)
y_pos -= TAB_ROW_V_OFFSET;
if (is_themed)
y_pos -= sidebar_tabs->details->piece_offsets[TAB_NORMAL_LEFT].height;
else
y_pos -= TAB_HEIGHT + TAB_ROW_V_OFFSET;
first_flag = TRUE;
if ((next_tab != NULL) && ((next_tab->next != NULL) || this_item->visible)) {
total_height += TAB_HEIGHT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment