[gnome-commander/gcmd-1-3] Fix for crash when assigning new UserAction (no.action)



commit 4f3ce80f87809d61a4e002498e72a4e9ee141594
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon May 25 22:48:46 2009 +0200

    Fix for crash when assigning new UserAction (no.action)
---
 ChangeLog                             |    5 +++++
 src/gnome-cmd-key-shortcuts-dialog.cc |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5a7a29e..9492af0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-25  Piotr Eljasiak  <epiotr use pl>
+
+	* src/gnome-cmd-key-shortcuts-dialog.cc:
+	Fix for crash when assigning new UserAction (no.action)
+
 2009-05-23  Piotr Eljasiak  <epiotr use pl>
 
 	* po/POTFILES.in:
diff --git a/src/gnome-cmd-key-shortcuts-dialog.cc b/src/gnome-cmd-key-shortcuts-dialog.cc
index 1421a64..293375c 100644
--- a/src/gnome-cmd-key-shortcuts-dialog.cc
+++ b/src/gnome-cmd-key-shortcuts-dialog.cc
@@ -624,7 +624,8 @@ static void add_clicked_callback (GtkButton *button, GtkWidget *view)
 
     gtk_list_store_append (GTK_LIST_STORE (model), &iter);
     gtk_list_store_set (GTK_LIST_STORE (model), &iter,
-                        COL_ACTION, _("Do nothing"),                                                                    // FIXME: temporarily, use "no.action" -> _("Do nothing")
+                        COL_ACTION, _("Do nothing"),
+                        COL_NAME, "no.action",
                         -1);
 
     GtkTreePath *path = gtk_tree_model_get_path (model, &iter);



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