[PATCH] : Small button problem in Apply filter dialog box



	Hi all,
the Apply filters dialog box has 2 buttons between the lists. They are 
create by a call to

gnome_pixmap_button(pixmap,"");

It was OK before, but now (and I don't know what has changed in between 
because this code did not change for sure) the button is enormous and full 
with a random text.
This small patch fixes it adding a small text.
Bye
Manu
--- /home/manu/prog/balsa-cvs/balsa/src/filter-run-dialog.c	Sun Jun 23 10:32:52 2002
+++ balsa-current/src/filter-run-dialog.c	Mon Aug 12 06:29:02 2002
@@ -314,14 +314,14 @@
        pixmaps, hope this one is correct*/
     /* Right/Add button */
     pixmap = gnome_stock_new_with_icon(GNOME_STOCK_MENU_FORWARD);
-    button = gnome_pixmap_button(pixmap,"");
+    button = gnome_pixmap_button(pixmap,_("Add"));
     gtk_signal_connect_object(GTK_OBJECT(button), "clicked",
                               GTK_SIGNAL_FUNC(fr_add_pressed), 
                               GTK_OBJECT(p));
     gtk_container_add(GTK_CONTAINER(bbox), button);
     /* Left/Remove button */
     pixmap = gnome_stock_new_with_icon(GNOME_STOCK_MENU_BACK);
-    button = gnome_pixmap_button(pixmap,"");
+    button = gnome_pixmap_button(pixmap,_("Remove"));
     gtk_signal_connect_object(GTK_OBJECT(button), "clicked",
                               GTK_SIGNAL_FUNC(fr_remove_pressed), 
                               GTK_OBJECT(p));


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