[gnome-commander/gcmd-1-2-8] Fixed problem #616367 ("File not found" dialog after startup)



commit 1c9effa4abefc14d28c52d918b6d6dfacd9fb60d
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Jun 20 14:07:12 2010 +0200

    Fixed problem #616367 ("File not found" dialog after startup)

 NEWS                      |    1 +
 doc/C/gnome-commander.xml |    3 +++
 src/gnome-cmd-dir.cc      |    2 +-
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 3b86324..6a5ead4 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ gnome-commander 1.2.8.7
 
 Bug fixes:
  * Fixed problem #540438 (no GUI message if meld cannot be executed)
+ * Fixed problem #616367 ("File not found" dialog after startup)
  * Fixed problem #620650 (buffer overflow in load_fav_apps())
 
 
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index cbdfb55..d885124 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6046,6 +6046,9 @@
                             <para>Fixed problem #540438 (no GUI message if meld cannot be executed)</para>
                         </listitem>
                         <listitem>
+                            <para>Fixed problem #616367 ("File not found" dialog after startup)</para>
+                        </listitem>
+                        <listitem>
                             <para>Fixed problem #620650 (buffer overflow in load_fav_apps())</para>
                         </listitem>
                     </itemizedlist>
diff --git a/src/gnome-cmd-dir.cc b/src/gnome-cmd-dir.cc
index 8c5eef9..9f61156 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -358,7 +358,7 @@ GnomeCmdDir *gnome_cmd_dir_new (GnomeCmdCon *con, GnomeCmdPath *path)
     }
     else
     {
-        create_error_dialog (gnome_vfs_result_to_string (res));
+        gnome_cmd_show_message (GTK_WINDOW (main_win), gnome_cmd_path_get_display_path (path), gnome_vfs_result_to_string (res));
         gnome_vfs_file_info_unref (info);
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]