Commit 34427f75 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

Minor code cleanup in glade-command.c

parent 8c711609
......@@ -1735,12 +1735,11 @@ glade_command_create(GladeWidgetAdaptor *adaptor, GladeWidget *parent, GladePlac
return NULL;
widgets = g_list_prepend(widgets, widget);
glade_command_push_group(_("Create %s"), g_list_length (widgets) == 1 ? widget->name : _("multiple"));
glade_command_push_group(_("Create %s"), widget->name);
glade_command_add(widgets, parent, placeholder, FALSE);
if (widgets)
return widget;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment