Use a cross-with-arrows instead of a hand for the cursor

Cross-with-arrows means 'you can move me', while hand means 'you can click me'
in this day and age.  Pointed out by Ka-Hing Cheung <kahing@gmail.com>

Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
Federico Mena Quintero 2010-02-16 15:09:06 -06:00
parent b06684e157
commit 188d5bfefb

View file

@ -1496,12 +1496,12 @@ on_output_event (FooScrollArea *area,
GnomeOutputInfo *output = data; GnomeOutputInfo *output = data;
App *app = g_object_get_data (G_OBJECT (area), "app"); App *app = g_object_get_data (G_OBJECT (area), "app");
/* If the mouse is inside the outputs, set the cursor to a hand. See /* If the mouse is inside the outputs, set the cursor to "you can move me". See
* on_canvas_event() for where we reset the cursor to the default if it * on_canvas_event() for where we reset the cursor to the default if it
* exits the outputs' area. * exits the outputs' area.
*/ */
if (!app->current_configuration->clone && get_n_connected (app) > 1) if (!app->current_configuration->clone && get_n_connected (app) > 1)
set_cursor (GTK_WIDGET (area), GDK_HAND1); set_cursor (GTK_WIDGET (area), GDK_FLEUR);
if (event->type == FOO_BUTTON_PRESS) if (event->type == FOO_BUTTON_PRESS)
{ {
@ -1607,8 +1607,8 @@ on_canvas_event (FooScrollArea *area,
gpointer data) gpointer data)
{ {
/* If the mouse exits the outputs, reset the cursor to the default. See /* If the mouse exits the outputs, reset the cursor to the default. See
* on_output_event() for where we set the cursor to a hand if it is over one * on_output_event() for where we set the cursor to the movement cursor if
* of the outputs. * it is over one of the outputs.
*/ */
set_cursor (GTK_WIDGET (area), GDK_BLANK_CURSOR); set_cursor (GTK_WIDGET (area), GDK_BLANK_CURSOR);
} }