diff options
author | Andy Hertzfeld <andy@src.gnome.org> | 2000-08-14 04:17:20 +0000 |
---|---|---|
committer | Andy Hertzfeld <andy@src.gnome.org> | 2000-08-14 04:17:20 +0000 |
commit | fa39263c906d89a0b38f4c8a57feaa4132c64c8b (patch) | |
tree | 8fb31c3eeabe04c7db79b19fe0b45aa9fe37fa80 /src/nautilus-sidebar-tabs.c | |
parent | 0fa612197dbda4153a854db0d54ff4b39f565c48 (diff) | |
download | nautilus-fa39263c906d89a0b38f4c8a57feaa4132c64c8b.tar.gz |
added a separate theme selection window and removed theme selection from
added a separate theme selection window and removed theme
selection from the property browser
Diffstat (limited to 'src/nautilus-sidebar-tabs.c')
-rw-r--r-- | src/nautilus-sidebar-tabs.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/nautilus-sidebar-tabs.c b/src/nautilus-sidebar-tabs.c index 15d8b89e6..e26922d62 100644 --- a/src/nautilus-sidebar-tabs.c +++ b/src/nautilus-sidebar-tabs.c @@ -114,8 +114,6 @@ static int nautilus_sidebar_tabs_expose (GtkWidget * static void nautilus_sidebar_tabs_destroy (GtkObject *object); static void nautilus_sidebar_tabs_size_allocate (GtkWidget *widget, GtkAllocation *allocatoin); -static void nautilus_sidebar_tabs_size_request (GtkWidget *widget, - GtkRequisition *requisition); static void nautilus_sidebar_tabs_load_tab_pieces (NautilusSidebarTabs *sidebar_tabs, const char *tab_piece_directory); static void nautilus_sidebar_tabs_unload_tab_pieces (NautilusSidebarTabs *sidebar_tabs); @@ -138,7 +136,6 @@ nautilus_sidebar_tabs_initialize_class (NautilusSidebarTabsClass *class) object_class->destroy = nautilus_sidebar_tabs_destroy; widget_class->expose_event = nautilus_sidebar_tabs_expose; - widget_class->size_request = nautilus_sidebar_tabs_size_request; widget_class->size_allocate = nautilus_sidebar_tabs_size_allocate; } @@ -448,21 +445,6 @@ nautilus_sidebar_tabs_size_allocate(GtkWidget *widget, GtkAllocation *allocation } } -static void -nautilus_sidebar_tabs_size_request (GtkWidget *widget, GtkRequisition *requisition) -{ - NautilusSidebarTabs *sidebar_tabs = NAUTILUS_SIDEBAR_TABS(widget); - - /* layout tabs to make sure height measurement is valid */ - measure_total_height (sidebar_tabs); - - requisition->width = widget->parent ? widget->parent->allocation.width: 136; - if (sidebar_tabs->details->title_mode) - requisition->height = sidebar_tabs->details->tab_height; - else - requisition->height = sidebar_tabs->details->total_height + TAB_TOP_GAP; -} - /* draw a single tab using the default, non-themed approach */ static int draw_one_tab_plain (NautilusSidebarTabs *sidebar_tabs, GdkGC *gc, |