[Cxplorer-cvs 00884] CVS update: cxplorer/src

Back to archive index

Yasumichi Akahoshi yasum****@users*****
2005年 2月 9日 (水) 23:16:19 JST


Index: cxplorer/src/actcalls.c
diff -u cxplorer/src/actcalls.c:1.24 cxplorer/src/actcalls.c:1.25
--- cxplorer/src/actcalls.c:1.24	Wed Feb  9 22:56:15 2005
+++ cxplorer/src/actcalls.c	Wed Feb  9 23:16:19 2005
@@ -22,7 +22,7 @@
  * GtkButton on toolbar.
  * @author  Yasumichi Akahoshi <yasum****@users*****>
  * @date Fri Jun 11 00:16:18 2004
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -126,29 +126,19 @@
  */
 void on_property_activate (GtkWidget * gwCaller, gpointer user_data)
 {
-	/*
 	Cxplorer *cxplorer;
-	gchar *gcFullPath;
-	GtkWidget *gwDialog;
-	GtkTreeIter gtIter;
-	GtkTreeModel *gtModel;
-	GtkTreeSelection *gtSelection;
+	gchar *fullpath;
+	GtkWidget *dialog;
 
 	cxplorer = (Cxplorer *) user_data;
-	gtSelection =
-		gtk_tree_view_get_selection (GTK_TREE_VIEW
-					     (cxplorer->gwFileListView));
-	if (gtk_tree_selection_get_selected (gtSelection, &gtModel, &gtIter))
+	if ((fullpath = cxp_right_pane_get_active_file_name(CXP_RIGHT_PANE(cxplorer->right_pane)))!=NULL)
 	{
-		gtk_tree_model_get (gtModel, &gtIter, FVC_FILE_PATH,
-				    &gcFullPath, FVC_TERMINATOR);
-		gwDialog = create_property_dialog (gcFullPath);
+		dialog = create_property_dialog (fullpath);
 
-		gtk_dialog_run (GTK_DIALOG (gwDialog));
+		gtk_dialog_run (GTK_DIALOG (dialog));
 
-		gtk_widget_destroy (gwDialog);
+		gtk_widget_destroy (dialog);
 	}
-	*/
 }
 
 /**
Index: cxplorer/src/cxp-right-pane.c
diff -u cxplorer/src/cxp-right-pane.c:1.6 cxplorer/src/cxp-right-pane.c:1.7
--- cxplorer/src/cxp-right-pane.c:1.6	Wed Feb  9 22:56:15 2005
+++ cxplorer/src/cxp-right-pane.c	Wed Feb  9 23:16:19 2005
@@ -737,8 +737,7 @@
 							 GTK_DIALOG_DESTROY_WITH_PARENT,
 							 GTK_MESSAGE_ERROR,
 							 GTK_BUTTONS_CLOSE,
-							 "Error making file '%s': %s",
-							 base_name,
+							 "%s",
 							 g_strerror (errno));
 			gtk_dialog_run (GTK_DIALOG (dialog));
 			gtk_widget_destroy (dialog);


Cxplorer-cvs メーリングリストの案内
Back to archive index