kov changed gksu/trunk/ChangeLog, gksu/trunk/gksu/gksu.c, gksu/trunk/gksu/util.c

Gustavo Noronha kov at costa.debian.org
Sun Aug 21 01:10:43 UTC 2005


Mensagem de log: 
	* gksu/{gksu,util}.c:
	- make error reporting more aestheticaly pleasant



-----


Modified: gksu/trunk/ChangeLog
===================================================================
--- gksu/trunk/ChangeLog	2005-08-21 01:09:38 UTC (rev 422)
+++ gksu/trunk/ChangeLog	2005-08-21 01:10:43 UTC (rev 423)
@@ -1,5 +1,8 @@
 2005-08-20  Gustavo Noronha Silva  <kov at debian.org>
 
+	* gksu/{gksu,util}.c:
+	- make error reporting more aestheticaly pleasant
+
 	* Release 1.3.4
 
 2005-08-18  Guilherme de S. Pastore  <gpastore at colband.com.br>

Modified: gksu/trunk/gksu/gksu.c
===================================================================
--- gksu/trunk/gksu/gksu.c	2005-08-21 01:09:38 UTC (rev 422)
+++ gksu/trunk/gksu/gksu.c	2005-08-21 01:10:43 UTC (rev 423)
@@ -1074,7 +1074,7 @@
       if (error)
 	{
 	  gk_dialog (GTK_MESSAGE_ERROR, 
-		     _("Failed to run %s as user %s:\n %s"),
+		     _("<b>Failed to run %s as user %s.</b>\n\n%s"),
 		     gksu_context_get_command (context),
 		     gksu_context_get_user (context),
 		     error->message);

Modified: gksu/trunk/gksu/util.c
===================================================================
--- gksu/trunk/gksu/util.c	2005-08-21 01:09:38 UTC (rev 422)
+++ gksu/trunk/gksu/util.c	2005-08-21 01:10:43 UTC (rev 423)
@@ -14,9 +14,9 @@
   msg = g_strdup_vprintf(format, ap);
   va_end(ap);
 
-  diag_win = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
-				     type, GTK_BUTTONS_CLOSE,
-				     msg);
+  diag_win = gtk_message_dialog_new_with_markup (NULL, GTK_DIALOG_MODAL,
+						 type, GTK_BUTTONS_CLOSE,
+						 msg);
 			     
   gtk_signal_connect_object (GTK_OBJECT(diag_win), "delete_event",
 			     GTK_SIGNAL_FUNC(gtk_main_quit), 




More information about the gksu-commits mailing list