aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-editable-toolbar.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-29 16:32:01 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-29 16:32:01 +0800
commitb41b89d2288fa87201f17909ce6ca252dacd292e (patch)
tree607e01e621657cf0badea7c4403d6f4a240fef5d /lib/egg/egg-editable-toolbar.c
parent515526399a7f11480c4077c55cdde9c5a796aca4 (diff)
downloadgsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar
gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.gz
gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.bz2
gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.lz
gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.xz
gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.zst
gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.zip
Make sure marshalers are regenerated
2003-06-29 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/Makefile.am: Make sure marshalers are regenerated * lib/egg/egg-editable-toolbar.c: * lib/egg/eggmarshalers.c: * lib/egg/eggmarshalers.h: * lib/egg/eggmarshalers.list: * lib/egg/eggradiotoolbutton.c: * lib/egg/eggradiotoolbutton.h: * lib/egg/eggtoggletoolbutton.c: * lib/egg/eggtoggletoolbutton.h: * lib/egg/eggtoolbar.c: * lib/egg/eggtoolbar.h: * lib/egg/eggtoolbutton.c: * lib/egg/eggtoolbutton.h: * lib/egg/eggtoolitem.c: * lib/egg/eggtoolitem.h: Update
Diffstat (limited to 'lib/egg/egg-editable-toolbar.c')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index f421b9227..81a7c1a58 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -333,23 +333,24 @@ create_item (EggEditableToolbar *t,
int position)
{
GtkWidget *item;
- EggAction *action;
const char *action_name;
gboolean is_separator;
+ EggAction *action;
action_name = egg_toolbars_model_item_nth
(model, toolbar_position, position,
&is_separator);
- g_signal_emit (G_OBJECT (t), egg_editable_toolbar_signals[ACTION_REQUEST],
- 0, action_name);
- action = find_action (t, action_name);
if (is_separator)
{
item = GTK_WIDGET (egg_separator_tool_item_new ());
+ action = NULL;
}
else
{
+ g_signal_emit (G_OBJECT (t), egg_editable_toolbar_signals[ACTION_REQUEST],
+ 0, action_name);
+ action = find_action (t, action_name);
item = egg_action_create_tool_item (action);
gtk_widget_set_sensitive (item, TRUE);
}