[nautilus-actions] Fix selection management in ActionsList
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Subject: [nautilus-actions] Fix selection management in ActionsList
- Date: Tue, 14 Jul 2009 18:49:36 +0000 (UTC)
commit 1221fbb86b9f2572bd949d9e1ae320f595b803d4
Author: Pierre Wieser <pwieser trychlos org>
Date: Thu Jul 2 22:51:38 2009 +0200
Fix selection management in ActionsList
src/nact/nact-main-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/nact/nact-main-window.c b/src/nact/nact-main-window.c
index dcf6b80..afe12f8 100644
--- a/src/nact/nact-main-window.c
+++ b/src/nact/nact-main-window.c
@@ -627,7 +627,11 @@ static void
set_current_action( NactMainWindow *window, const NAAction *action )
{
g_free( window->private->current_uuid );
+ window->private->current_uuid = NULL;
+
g_free( window->private->current_label );
+ window->private->current_label = NULL;
+
if( action ){
g_assert( NA_IS_ACTION( action ));
window->private->current_uuid = na_action_get_uuid( action );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]