summaryrefslogtreecommitdiff
path: root/x11/gnome-libs/patches/patch-ag
blob: e86fd6c4845b21bb01e6df498ebbc7f571a8345d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
$NetBSD: patch-ag,v 1.7 2004/02/18 11:56:02 jmmv Exp $

--- libgnomeui/gnome-messagebox.c.orig	2000-06-29 03:40:25.000000000 +0200
+++ libgnomeui/gnome-messagebox.c
@@ -109,7 +109,7 @@ gnome_message_box_new (const gchar      
 	if (strcmp(GNOME_MESSAGE_BOX_INFO, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Information"));
-		s = gnome_unconditional_pixmap_file("gnome-info.png");
+		s = gnome_unconditional_pixmap_file("gnome1-info.png");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -118,7 +118,7 @@ gnome_message_box_new (const gchar      
 	else if (strcmp(GNOME_MESSAGE_BOX_WARNING, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Warning"));
-		s = gnome_unconditional_pixmap_file("gnome-warning.png");
+		s = gnome_unconditional_pixmap_file("gnome1-warning.png");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -127,7 +127,7 @@ gnome_message_box_new (const gchar      
 	else if (strcmp(GNOME_MESSAGE_BOX_ERROR, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Error"));
-		s = gnome_unconditional_pixmap_file("gnome-error.png");
+		s = gnome_unconditional_pixmap_file("gnome1-error.png");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -136,7 +136,7 @@ gnome_message_box_new (const gchar      
 	else if (strcmp(GNOME_MESSAGE_BOX_QUESTION, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Question"));
-		s = gnome_unconditional_pixmap_file("gnome-question.png");
+		s = gnome_unconditional_pixmap_file("gnome1-question.png");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -155,7 +155,7 @@ gnome_message_box_new (const gchar      
 	if ( (pixmap == NULL) ||
 	     (GNOME_PIXMAP(pixmap)->pixmap == NULL) ) {
         	if (pixmap) gtk_widget_destroy(pixmap);
-		s = gnome_unconditional_pixmap_file ("gnome-default-dlg.png");
+		s = gnome_unconditional_pixmap_file ("gnome1-default-dlg.png");
          	if (s) {
 			pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -242,7 +242,7 @@ gnome_message_box_newv (const gchar     
 	if (strcmp(GNOME_MESSAGE_BOX_INFO, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Information"));
-		s = gnome_pixmap_file("gnome-info.png");
+		s = gnome_pixmap_file("gnome1-info.png");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -251,7 +251,7 @@ gnome_message_box_newv (const gchar     
 	else if (strcmp(GNOME_MESSAGE_BOX_WARNING, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Warning"));
-		s = gnome_pixmap_file("gnome-warning.png");
+		s = gnome_pixmap_file("gnome1-warning.png");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -260,7 +260,7 @@ gnome_message_box_newv (const gchar     
 	else if (strcmp(GNOME_MESSAGE_BOX_ERROR, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Error"));
-		s = gnome_pixmap_file("gnome-error");
+		s = gnome_pixmap_file("gnome1-error");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -269,7 +269,7 @@ gnome_message_box_newv (const gchar     
 	else if (strcmp(GNOME_MESSAGE_BOX_QUESTION, message_box_type) == 0)
 	{
 		gtk_window_set_title (GTK_WINDOW (message_box), _("Question"));
-		s = gnome_pixmap_file("gnome-question.png");
+		s = gnome_pixmap_file("gnome1-question.png");
 		if (s) {
                         pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);
@@ -288,7 +288,7 @@ gnome_message_box_newv (const gchar     
 	if ( (pixmap == NULL) ||
 	     (GNOME_PIXMAP(pixmap)->pixmap == NULL) ) {
         	if (pixmap) gtk_widget_destroy(pixmap);
-		s = gnome_pixmap_file("gnome-default.png");
+		s = gnome_pixmap_file("gnome1-default.png");
          	if (s) {
 			pixmap = gnome_pixmap_new_from_file(s);
                         g_free(s);