eel r2091 - in trunk: . eel



Author: alexl
Date: Tue Mar 11 15:00:37 2008
New Revision: 2091
URL: http://svn.gnome.org/viewvc/eel?rev=2091&view=rev

Log:
2008-03-11  Alexander Larsson  <alexl redhat com>

        * eel/eel-mount-operation.c:
        (ask_question):
	Don't pass in NULL as primary if there
	is no newline in the message.



Modified:
   trunk/ChangeLog
   trunk/eel/eel-mount-operation.c

Modified: trunk/eel/eel-mount-operation.c
==============================================================================
--- trunk/eel/eel-mount-operation.c	(original)
+++ trunk/eel/eel-mount-operation.c	Tue Mar 11 15:00:37 2008
@@ -209,7 +209,7 @@
 	
 	dialog = gtk_message_dialog_new (EEL_MOUNT_OPERATION (op)->priv->parent_window,
 					 0, GTK_MESSAGE_QUESTION,
-					 GTK_BUTTONS_NONE, "%s", primary);
+					 GTK_BUTTONS_NONE, "%s", primary != NULL ? primary : message);
 	g_free (primary);
 
 	if (secondary) {



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