mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 10:45:41 +00:00
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.
This commit is contained in:
parent
198ccfc04d
commit
c8f6f960af
|
@ -1,3 +1,12 @@
|
|||
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:
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 6.2 KiB |
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue