gedit r6406 - in trunk: . gedit



Author: pborelli
Date: Wed Aug 13 20:04:04 2008
New Revision: 6406
URL: http://svn.gnome.org/viewvc/gedit?rev=6406&view=rev

Log:
2008-08-13  Paolo Borelli  <pborelli katamail com>

	* gedit/gedit-commands-help.c:
	* gedit/gedit-plugins-manager.c:
	Use the "program-name" property for the about dialog



Modified:
   trunk/ChangeLog
   trunk/gedit/gedit-commands-help.c
   trunk/gedit/gedit-plugin-manager.c

Modified: trunk/gedit/gedit-commands-help.c
==============================================================================
--- trunk/gedit/gedit-commands-help.c	(original)
+++ trunk/gedit/gedit-commands-help.c	Wed Aug 13 20:04:04 2008
@@ -43,7 +43,7 @@
 
 void
 _gedit_cmd_help_contents (GtkAction   *action,
-			 GeditWindow *window)
+			  GeditWindow *window)
 {
 	gedit_debug (DEBUG_COMMANDS);
 
@@ -52,7 +52,7 @@
 
 void
 _gedit_cmd_help_about (GtkAction   *action,
-		      GeditWindow *window)
+		       GeditWindow *window)
 {
 	static const gchar * const authors[] = {
 		"Paolo Maggi <paolo gnome org>",
@@ -88,6 +88,7 @@
 					 NULL);
 
 	gtk_show_about_dialog (GTK_WINDOW (window),
+			       "program-name", "gedit",
 			       "authors", authors,
 			       "comments", _(comments),
 			       "copyright", copyright,
@@ -96,7 +97,6 @@
 			       "translator-credits", _("translator-credits"),
 			       "version", VERSION,
 			       "website", "http://www.gedit.org";,
-			       "name", "gedit",
 			       NULL);
 
 	if (logo)

Modified: trunk/gedit/gedit-plugin-manager.c
==============================================================================
--- trunk/gedit/gedit-plugin-manager.c	(original)
+++ trunk/gedit/gedit-plugin-manager.c	Wed Aug 13 20:04:04 2008
@@ -103,7 +103,7 @@
 		gtk_widget_destroy (pm->priv->about);
 
 	pm->priv->about = g_object_new (GTK_TYPE_ABOUT_DIALOG,
-		"name", gedit_plugin_info_get_name (info),
+		"program-name", gedit_plugin_info_get_name (info),
 		"copyright", gedit_plugin_info_get_copyright (info),
 		"authors", gedit_plugin_info_get_authors (info),
 		"comments", gedit_plugin_info_get_description (info),



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