Need to call gettext in script-fu_menu_compare. Spotted by Sven. Removed
2004-11-20 Kevin Cozens <kcozens@cvs.gimp.org> * plug-ins/script-fu/script-fu-scripts.c: Need to call gettext in script-fu_menu_compare. Spotted by Sven. Removed obsolete #define's.
This commit is contained in:
committed by
Kevin Cozens
parent
9d69dfec29
commit
44a8b8c6b1
@ -45,15 +45,6 @@
|
||||
#include "script-fu-intl.h"
|
||||
|
||||
|
||||
#define RESPONSE_RESET 1
|
||||
#define RESPONSE_ABOUT 2
|
||||
|
||||
#define TEXT_WIDTH 100
|
||||
#define COLOR_SAMPLE_WIDTH 100
|
||||
#define COLOR_SAMPLE_HEIGHT 15
|
||||
#define SLIDER_WIDTH 80
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
gchar *pdb_name;
|
||||
@ -1014,7 +1005,8 @@ script_fu_menu_compare (gconstpointer a,
|
||||
const SFMenu *menu_b = b;
|
||||
|
||||
if (menu_a->menu_path && menu_b->menu_path)
|
||||
return g_utf8_collate (menu_a->menu_path, menu_b->menu_path);
|
||||
return g_utf8_collate (gettext (menu_a->menu_path),
|
||||
gettext (menu_b->menu_path));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user