[gnome-commander] Fixed problem #649375 (bookmarks not updated for newly added ones)



commit efb48a2de270eba1e7d4bfe607c25c6a68e32270
Author: Cristian Buzduga <cristianbzdg gmail com>
Date:   Mon May 9 20:34:27 2011 +0200

    Fixed problem #649375 (bookmarks not updated for newly added ones)

 NEWS                           |    1 +
 doc/C/gnome-commander.xml      |    3 +++
 src/gnome-cmd-dir-indicator.cc |    1 +
 3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 36c3117..cbe0d6e 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,7 @@ gnome-commander 1.2.8.12
 ---------------
 
 Bug fixes:
+ * Fixed problem #649375 (bookmarks not updated for newly added ones)
 
 
 ===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index dab3b24..d6a5aaf 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -7674,6 +7674,9 @@
                 <para>Bug fixes:</para>
                 <para>
                     <itemizedlist>
+                        <listitem>
+                            <para>Fixed problem #649375 (bookmarks not updated for newly added ones)</para>
+                        </listitem>
                     </itemizedlist>
                 </para>
             </entry>
diff --git a/src/gnome-cmd-dir-indicator.cc b/src/gnome-cmd-dir-indicator.cc
index 9680e5c..15f52a2 100644
--- a/src/gnome-cmd-dir-indicator.cc
+++ b/src/gnome-cmd-dir-indicator.cc
@@ -396,6 +396,7 @@ static void on_bookmarks_add_current (GtkMenuItem *item, GnomeCmdDirIndicator *i
     bm->group = group;
 
     group->bookmarks = g_list_append (group->bookmarks, bm);
+    main_win->update_bookmarks();
 }
 
 



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