Dear LUK, Do you mean the shortcut in the left panel? I try the items in bookmark menu and it works.
If you mean the shortcut, here's the workaround diff. Please try it first. Regards, Ying-Chun Liu -- PaulLiu(劉穎駿) E-mail address: [EMAIL PROTECTED]
Index: ptk/ptk-file-browser.c =================================================================== --- ptk/ptk-file-browser.c (revision 432) +++ ptk/ptk-file-browser.c (working copy) @@ -381,6 +381,7 @@ file_browser ); vfs_dir_unref( file_browser->dir ); } + /* Remove all idle handlers which are not called yet. */ do @@ -396,6 +397,8 @@ g_object_unref( G_OBJECT( file_browser->file_list ) ); } + g_object_unref (file_browser->fmMainWindow); + G_OBJECT_CLASS( parent_class ) ->finalize( obj ); } @@ -427,6 +430,8 @@ file_browser->folder_view ); gtk_widget_show_all( file_browser->folder_view_scroll ); + file_browser->fmMainWindow = mainWindow; + g_object_ref (file_browser->fmMainWindow); return ( GtkWidget* ) file_browser; } @@ -1279,7 +1284,17 @@ { if ( strcmp( dir_path, ptk_file_browser_get_cwd( file_browser ) ) ) { - ptk_file_browser_chdir( file_browser, dir_path, TRUE ); + switch ( appSettings.openBookmarkMethod ) { + case 1: + ptk_file_browser_chdir( file_browser, dir_path, TRUE ); + break; + case 2: + fm_main_window_add_new_tab(file_browser->fmMainWindow,dir_path,appSettings.showSidePane,appSettings.sidePaneMode ); + break; + case 3: + fm_main_window_add_new_window(file_browser->fmMainWindow,dir_path,appSettings.showSidePane,appSettings.sidePaneMode ); + break; + } } g_free( dir_path ); } Index: ptk/ptk-file-browser.h =================================================================== --- ptk/ptk-file-browser.h (revision 432) +++ ptk/ptk-file-browser.h (working copy) @@ -79,6 +79,8 @@ gboolean busy; glong prev_update_time; guint update_timeout; + + GtkWidget * fmMainWindow; }; typedef enum{
signature.asc
Description: OpenPGP digital signature