From beb9cae497f4126e2055375a02fd8cb8f9cd373b Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sat, 9 Sep 2006 00:36:23 +0000 Subject: [PATCH] added missing include. 2006-09-09 Sven Neumann * app/dialogs/about-dialog.c: added missing include. * app/display/display-enums.[ch] * app/dialogs/preferences-dialog.c: changed labels for "space-bar-action" preference. Suggestions welcome for further improvements. --- ChangeLog | 11 ++++++++++- app/dialogs/about-dialog.c | 1 + app/dialogs/preferences-dialog.c | 2 +- app/display/display-enums.c | 6 +++--- app/display/display-enums.h | 6 +++--- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index bdba0ee94f..480843d3cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-09-09 Sven Neumann + + * app/dialogs/about-dialog.c: added missing include. + + * app/display/display-enums.[ch] + * app/dialogs/preferences-dialog.c: changed labels for + "space-bar-action" preference. Suggestions welcome for further + improvements. + 2006-09-08 Manish Singh * plug-ins/pygimp/pygimp-drawable.c @@ -166,7 +175,7 @@ * app/base/pixel-region.[ch] * app/base/tile-manager.[ch] * app/base/tile-swap.[ch]: removed code that tried to swap in - tiles asynchronously (but ended up calling up nothing). + tiles asynchronously (but ended up calling nothing). 2006-09-07 Sven Neumann diff --git a/app/dialogs/about-dialog.c b/app/dialogs/about-dialog.c index 2b2f7f6e20..f44e077af6 100644 --- a/app/dialogs/about-dialog.c +++ b/app/dialogs/about-dialog.c @@ -23,6 +23,7 @@ #include #include "libgimpbase/gimpbase.h" +#include "libgimpwidgets/gimpwidgets.h" #include "dialogs-types.h" diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c index 38500a6ca0..139fd51332 100644 --- a/app/dialogs/preferences-dialog.c +++ b/app/dialogs/preferences-dialog.c @@ -1981,7 +1981,7 @@ prefs_dialog_new (Gimp *gimp, table = prefs_table_new (1, GTK_CONTAINER (vbox2)); prefs_enum_combo_box_add (object, "space-bar-action", 0, 0, - _("Action bound to the space bar:"), + _("While space bar is pressed:"), GTK_TABLE (table), 0, size_group); /* Mouse Pointers */ diff --git a/app/display/display-enums.c b/app/display/display-enums.c index cf47c924f7..701bdd1aa3 100644 --- a/app/display/display-enums.c +++ b/app/display/display-enums.c @@ -83,9 +83,9 @@ gimp_space_bar_action_get_type (void) static const GimpEnumDesc descs[] = { - { GIMP_SPACE_BAR_ACTION_NONE, N_("None"), NULL }, - { GIMP_SPACE_BAR_ACTION_PAN, N_("Pan"), NULL }, - { GIMP_SPACE_BAR_ACTION_MOVE, N_("Move"), NULL }, + { GIMP_SPACE_BAR_ACTION_NONE, N_("No action"), NULL }, + { GIMP_SPACE_BAR_ACTION_PAN, N_("Pan view"), NULL }, + { GIMP_SPACE_BAR_ACTION_MOVE, N_("Switch to Move tool"), NULL }, { 0, NULL, NULL } }; diff --git a/app/display/display-enums.h b/app/display/display-enums.h index ee2d7cbdf0..db48aaed9c 100644 --- a/app/display/display-enums.h +++ b/app/display/display-enums.h @@ -52,9 +52,9 @@ GType gimp_space_bar_action_get_type (void) G_GNUC_CONST; typedef enum { - GIMP_SPACE_BAR_ACTION_NONE, /*< desc="None" >*/ - GIMP_SPACE_BAR_ACTION_PAN, /*< desc="Pan" >*/ - GIMP_SPACE_BAR_ACTION_MOVE /*< desc="Move" >*/ + GIMP_SPACE_BAR_ACTION_NONE, /*< desc="No action" >*/ + GIMP_SPACE_BAR_ACTION_PAN, /*< desc="Pan view" >*/ + GIMP_SPACE_BAR_ACTION_MOVE /*< desc="Switch to Move tool" >*/ } GimpSpaceBarAction;