[Nautilus-list] an useless patch



hi

	here is a yet another tiny and useless patch.

regards,
Diego

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.5216
diff -u -r1.5216 ChangeLog
--- ChangeLog	21 Apr 2002 14:09:34 -0000	1.5216
+++ ChangeLog	21 Apr 2002 14:16:29 -0000
@@ -1,3 +1,8 @@
+2002-04-21	Diego González  <diego pemas net>
+
+	* src/nautilus-window-menus.c (help_menu_about_nautilus_callback):
+	  prettify the about dialog box
+
 2002-04-20	Diego González  <diego pemas net
 
 	* src/nautilus-preferences-dialog.c: split "Windows & Desktop" into two
Index: src/nautilus-window-menus.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window-menus.c,v
retrieving revision 1.234
diff -u -r1.234 nautilus-window-menus.c
--- src/nautilus-window-menus.c	20 Apr 2002 17:49:27 -0000	1.234
+++ src/nautilus-window-menus.c	21 Apr 2002 14:16:29 -0000
@@ -546,6 +546,7 @@
 			           gpointer user_data, 
 			           const char *verb)
 {
+	GdkPixbuf *pixbuf;
 	static GtkWidget *about = NULL;
 	const char *authors[] = {
 		"Alexander Larsson",
@@ -581,6 +582,7 @@
 	const char *copyright;
 	const char *translator_credits;
 	const char *locale;
+	char *file;
 
 	if (about == NULL) {
 		/* We could probably just put a translation in en_US
@@ -602,6 +604,13 @@
 			copyright = _("Copyright (C) 1999-2001 Eazel, Inc.");
 		}
 
+		file = gnome_program_locate_file (NULL, 
+						  GNOME_FILE_DOMAIN_PIXMAP, 
+						  "nautilus-launch-icon.png", 
+						  TRUE, NULL);
+		pixbuf = gdk_pixbuf_new_from_file (file, NULL);
+		g_free (file);
+
 		/* Translators should localize the following string
 		 * which will be displayed at the bottom of the about
 		 * box to give credit to the translator(s).
@@ -618,7 +627,8 @@
 					 authors,
 					 NULL,
 					 translator_credits,
-					 NULL);
+					 pixbuf);
+					 
 		gtk_window_set_transient_for (GTK_WINDOW (about), GTK_WINDOW (user_data));
 		
 		eel_add_weak_pointer (&about);


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