Skip to content

Commit

Permalink
disable remove tab when dir mounted or unmounted #568
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnorantGuru committed Sep 7, 2015
1 parent 4c4356d commit 150264a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,10 @@ void main_window_refresh_all_tabs_matching( const char* path )
// This function actually closes the tabs because refresh doesn't work.
// dir objects have multiple refs and unreffing them all wouldn't finalize
// the dir object for unknown reason.

// This breaks auto open of tabs on automount
return;
#if 0
GList* l;
FMMainWindow* a_window;
PtkFileBrowser* a_browser;
Expand Down Expand Up @@ -1132,6 +1136,7 @@ void main_window_refresh_all_tabs_matching( const char* path )
}
}
g_free( canon );
#endif
}

void main_window_rebuild_all_toolbars( PtkFileBrowser* file_browser )
Expand Down

0 comments on commit 150264a

Please sign in to comment.