Code

Fixed warning from double append.
authorjoncruz <joncruz@users.sourceforge.net>
Sun, 22 Mar 2009 04:56:29 +0000 (04:56 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Sun, 22 Mar 2009 04:56:29 +0000 (04:56 +0000)
src/ui/dialog/swatches.cpp

index b0f7dd1cb26ab5226dfd31b26c2d92915908de9d..fdf320c06cf5c99880c1cc306a1b79a6f4e841d9 100644 (file)
@@ -410,7 +410,6 @@ static gboolean handleButtonPress( GtkWidget* /*widget*/, GdkEventButton* event,
             gtk_widget_set_sensitive( child, FALSE );
 
             child = gtk_menu_item_new_with_label(_("Edit..."));
-            gtk_menu_shell_append(GTK_MENU_SHELL(popupMenu), child);
             g_signal_connect( G_OBJECT(child),
                               "activate",
                               G_CALLBACK(editGradient),