Commit b64baf35 authored by Morten Welinder's avatar Morten Welinder

GUI: Work around missing characters on win32.

parent a809abc9
2010-06-26 Morten Welinder <terra@gnome.org>
* gnumeric-expr-entry.c: Switch to triangles for argument markers.
Win32 likes that better, somehow. Fixes #622776.
2010-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnumeric-expr-entry.c (gee_check_tooltip): small fix
2010-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnumeric-expr-entry.c (gee_check_tooltip): Handle strings (and
* gnumeric-expr-entry.c (gee_check_tooltip): Handle strings (and
sheet names) better.
2010-06-18 Morten Welinder <terra@gnome.org>
......@@ -24,12 +29,12 @@
* gnumeric-expr-entry.c (gee_check_tooltip): don't create tooltip
in what looks like a range selector
2010-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnumeric-expr-entry.c (gee_check_tooltip): don't create tooltip
in range selectors or cell renderers yet.
(gee_create_tooltip): drop argument from
(gee_create_tooltip): drop argument from
gnm_func_convert_markup_to_pango
2010-06-16 Morten Welinder <terra@gnome.org>
......@@ -67,7 +72,7 @@
* gnumeric-expr-entry.c (gee_set_tooltip_argument): new
(gee_set_tooltip): use gee_set_tooltip_argument
2010-06-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnumeric-expr-entry.h (gnm_expr_entry_enable_tips): new
......@@ -113,10 +118,10 @@
2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnumeric-expr-entry.c (gee_delete_tooltip): watch
for disappearing entries
* gnumeric-expr-entry.c (gee_delete_tooltip): watch
for disappearing entries
(cb_gee_key_press_event): gee_set_tooltip will ref the fd
2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnumeric-expr-entry.c (_GnmExprEntry): add field
......
......@@ -41,8 +41,8 @@
#include <gdk/gdkkeysyms.h>
#include <string.h>
#define UNICODE_LEFT_ARROW "\xe2\xac\x85"
#define UNICODE_RIGHT_ARROW "\xe2\x9e\xa1"
#define UNICODE_LEFT_TRIANGLE "\xe2\x97\x80"
#define UNICODE_RIGHT_TRIANGLE "\xe2\x96\xb6"
#define UNICODE_CROSS_AND_SKULLBONES "\xe2\x98\xa0"
#define UNICODE_ELLIPSIS "\xe2\x80\xa6"
......@@ -695,11 +695,11 @@ gee_set_tooltip (GnmExprEntry *gee, GnmFunc *fd, gint args, gboolean had_stuff)
(_("%s: %s"),
arg_name,
gnm_func_get_arg_description (fd, i));
g_string_append (str, UNICODE_RIGHT_ARROW);
g_string_append (str, UNICODE_RIGHT_TRIANGLE);
}
gee_set_tooltip_argument (str, arg_name, i >= min);
if (i == args)
g_string_append (str, UNICODE_LEFT_ARROW);
g_string_append (str, UNICODE_LEFT_TRIANGLE);
g_free (arg_name);
} else
break;
......@@ -709,14 +709,14 @@ gee_set_tooltip (GnmExprEntry *gee, GnmFunc *fd, gint args, gboolean had_stuff)
g_string_append_c (str, sep);
g_string_append
(str, (args >= i && args < max)
? UNICODE_RIGHT_ARROW UNICODE_ELLIPSIS UNICODE_LEFT_ARROW
? UNICODE_RIGHT_TRIANGLE UNICODE_ELLIPSIS UNICODE_LEFT_TRIANGLE
: UNICODE_ELLIPSIS);
}
if (max == 0 && args == 0 && !had_stuff) {
extra = g_strdup_printf (_("%s takes no arguments"),
gnm_func_get_name (fd));
} else if (args >= max) {
g_string_append (str, UNICODE_RIGHT_ARROW UNICODE_CROSS_AND_SKULLBONES UNICODE_LEFT_ARROW);
g_string_append (str, UNICODE_RIGHT_TRIANGLE UNICODE_CROSS_AND_SKULLBONES UNICODE_LEFT_TRIANGLE);
extra = g_strdup_printf (_("Too many arguments for %s"),
gnm_func_get_name (fd));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment