diff --git a/src/button/button.c b/src/button/button.c index e898465..60f0e2b 100644 --- a/src/button/button.c +++ b/src/button/button.c @@ -90,7 +90,7 @@ void init_button() { GList *to_remove = panel_config.button_list; for (int k = 0; k < strlen(panel_items_order) && to_remove; k++) { - if (panel_items_order[k] == 'E') { + if (panel_items_order[k] == 'P') { to_remove = to_remove->next; } } diff --git a/src/tint2conf/properties.c b/src/tint2conf/properties.c index 009c462..f9d4391 100644 --- a/src/tint2conf/properties.c +++ b/src/tint2conf/properties.c @@ -1053,6 +1053,11 @@ void create_panel_items(GtkWidget *parent) itemsColName, _("Executor"), itemsColValue, "E", -1); + gtk_list_store_append(all_items, &iter); + gtk_list_store_set(all_items, &iter, + itemsColName, _("Button"), + itemsColValue, "P", + -1); panel_items_view = gtk_tree_view_new(); gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(panel_items_view),