[gimp] app: set "hide-empty" to FALSE on the input method submenu
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: set "hide-empty" to FALSE on the input method submenu
- Date: Sat, 20 Feb 2010 15:04:17 +0000 (UTC)
commit a0da3ffc15599e2a2f00681c85fc341e1f7082ff
Author: Michael Natterer <mitch gimp org>
Date: Sat Feb 20 16:03:51 2010 +0100
app: set "hide-empty" to FALSE on the input method submenu
app/actions/text-tool-actions.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/text-tool-actions.c b/app/actions/text-tool-actions.c
index 79bb1ba..50b6ed4 100644
--- a/app/actions/text-tool-actions.c
+++ b/app/actions/text-tool-actions.c
@@ -113,6 +113,9 @@ static const GimpRadioActionEntry text_tool_direction_actions[] =
};
+#define SET_HIDE_EMPTY(action,condition) \
+ gimp_action_group_set_action_hide_empty (group, action, (condition) != 0)
+
void
text_tool_actions_setup (GimpActionGroup *group)
{
@@ -126,6 +129,8 @@ text_tool_actions_setup (GimpActionGroup *group)
NULL,
GIMP_TEXT_DIRECTION_LTR,
G_CALLBACK (text_tool_direction_cmd_callback));
+
+ SET_HIDE_EMPTY ("text-tool-input-methods-menu", FALSE);
}
/* The following code is written on the assumption that this is for a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]