[gnome-commander/gcmd-1-2-8] Fixed problem #649375 (bookmarks not updated for newly added ones)



commit bf1369d18f1890ecc4fde79ec5b1c3860eeafdde
Author: Cristian Buzduga <cristianbzdg gmail com>
Date:   Mon May 9 20:30:16 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 662baa4..723e133 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,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 82f4c11..72edfe5 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6088,6 +6088,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 e0bf0a8..1ce48fc 100644
--- a/src/gnome-cmd-dir-indicator.cc
+++ b/src/gnome-cmd-dir-indicator.cc
@@ -370,6 +370,7 @@ static void on_bookmarks_add_current (GtkMenuItem *item, GnomeCmdDirIndicator *i
     bm->group = group;
 
     group->bookmarks = g_list_append (group->bookmarks, bm);
+    gnome_cmd_main_win_update_bookmarks (main_win);
 }
 
 



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