Yasumichi Akahoshi
yasum****@users*****
2005年 2月 9日 (水) 21:40:11 JST
Index: cxplorer/src/cxp-right-pane.c diff -u cxplorer/src/cxp-right-pane.c:1.4 cxplorer/src/cxp-right-pane.c:1.5 --- cxplorer/src/cxp-right-pane.c:1.4 Wed Feb 9 20:38:43 2005 +++ cxplorer/src/cxp-right-pane.c Wed Feb 9 21:40:11 2005 @@ -93,6 +93,7 @@ static void cxp_right_pane_show_preview (GtkTextBuffer * text_buffer, const gchar * filename); + GType cxp_right_pane_get_type (void) { static GType type = 0; @@ -682,3 +683,7 @@ return NULL; } +void cxp_right_pane_set_show_dot_file (CxpRightPane *right_pane, gboolean show_dot_file) +{ + right_pane->priv->show_dot_file = show_dot_file; +} Index: cxplorer/src/cxp-right-pane.h diff -u cxplorer/src/cxp-right-pane.h:1.1 cxplorer/src/cxp-right-pane.h:1.2 --- cxplorer/src/cxp-right-pane.h:1.1 Tue Feb 8 18:55:16 2005 +++ cxplorer/src/cxp-right-pane.h Wed Feb 9 21:40:11 2005 @@ -49,5 +49,6 @@ GtkWidget *cxp_right_pane_new (void); void cxp_right_pane_change_directory (CxpRightPane *self, const gchar *dirname); gchar *cxp_right_pane_get_active_file_name (CxpRightPane *right_pane); +void cxp_right_pane_set_show_dot_file (CxpRightPane *right_pane, gboolean show_dot_file); #endif /* CXP_RIGHT_PANE_H */ Index: cxplorer/src/menubar.c diff -u cxplorer/src/menubar.c:1.27 cxplorer/src/menubar.c:1.28 --- cxplorer/src/menubar.c:1.27 Wed Feb 9 20:38:43 2005 +++ cxplorer/src/menubar.c Wed Feb 9 21:40:11 2005 @@ -5,7 +5,7 @@ * This file contains functions which related menubar. * @author Yasumichi Akahoshi <yasum****@users*****> * @date Tue Jun 8 22:32:55 2004 - * $Revision: 1.27 $ + * $Revision: 1.28 $ ****************************************************************************/ #ifdef HAVE_CONFIG_H @@ -22,6 +22,7 @@ #include "support.h" #include "menubar.h" #include "actcalls.h" +#include "cxp-right-pane.h" /**A user enables it to input a * This function create interface of menu. @@ -478,6 +479,7 @@ cxplorer = (Cxplorer *) gpData; cxplorer->gbShowDotFile = gcmItem->active; cxp_dir_view_set_show_dot_file (cxplorer->dirview, cxplorer->gbShowDotFile); + cxp_right_pane_set_show_dot_file (CXP_RIGHT_PANE(cxplorer->right_pane), cxplorer->gbShowDotFile); cxp_dir_view_refresh (cxplorer->dirview); }