From 5178020d52873aec82c4c83873b54c25cf6bc770 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 28 Jun 2003 07:49:32 +0000 Subject: Update. 2003-06-28 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (set_item_drag_source), (create_item): Update. --- ChangeLog | 7 +++++++ lib/egg/egg-editable-toolbar.c | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index de19b038c..3d41c7d17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-06-28 Marco Pesenti Gritti + + * lib/egg/egg-editable-toolbar.c: (set_item_drag_source), + (create_item): + + Update. + 2003-06-28 Marco Pesenti Gritti * embed/downloader-view.c: (downloader_view_update_controls), diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c index 619350d27..aa07db8a1 100755 --- a/lib/egg/egg-editable-toolbar.c +++ b/lib/egg/egg-editable-toolbar.c @@ -313,9 +313,10 @@ set_item_drag_source (GtkWidget *item, if (is_separator) { GtkWidget *icon; + GdkPixbuf *pixbuf; icon = _egg_editable_toolbar_new_separator_image (); - GdkPixbuf *pixbuf = gtk_image_get_pixbuf (GTK_IMAGE (icon)); + pixbuf = gtk_image_get_pixbuf (GTK_IMAGE (icon)); gtk_drag_source_set_icon_pixbuf (item, pixbuf); } else @@ -339,8 +340,6 @@ create_item (EggEditableToolbar *t, 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) @@ -349,6 +348,8 @@ create_item (EggEditableToolbar *t, } else { + g_signal_emit (G_OBJECT (t), egg_editable_toolbar_signals[ACTION_REQUEST], + 0, action_name); item = egg_action_create_tool_item (action); gtk_widget_set_sensitive (item, TRUE); } -- cgit v1.2.3