[nautilus-actions] Setup item label before application name in window title



commit dab7500c913c09a967b3e28f0d6abc2bfce40df4
Author: Pierre Wieser <pwieser trychlos org>
Date:   Thu Dec 30 15:31:48 2010 +0100

    Setup item label before application name in window title

 ChangeLog                   |    3 +++
 src/nact/nact-main-window.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d95fc2c..1ee6ccc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-12-30 Pierre Wieser <pwieser trychlos org>
 
+	* src/nact/nact-main-window.c (setup_dialog_title):
+	Setup item label before application name in window title.
+
 	* src/core/na-icontext.c (na_icontext_read_done):
 	Convert 'all/allfiles' mimetype to 'all/all' + 'file' scheme.
 
diff --git a/src/nact/nact-main-window.c b/src/nact/nact-main-window.c
index 2fbaae9..a56128d 100644
--- a/src/nact/nact-main-window.c
+++ b/src/nact/nact-main-window.c
@@ -1364,7 +1364,7 @@ setup_dialog_title( NactMainWindow *window )
 
 	if( window->private->selected_item ){
 		label = na_object_get_label( window->private->selected_item );
-		tmp = g_strdup_printf( "%s - %s", title, label );
+		tmp = g_strdup_printf( "%s - %s", label, title );
 		g_free( label );
 		g_free( title );
 		title = tmp;



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