v1.2.1: widget_builder now only lets you assign classes. The name will be consistent with the image escape system
This commit is contained in:
@@ -121,11 +121,11 @@ static bool populate_widget(char* file, char* action, struct widget_builder* bui
|
||||
|
||||
pixbuf = utils_g_resize_pixbuf(pixbuf, wofi_get_image_size() * wofi_get_window_scale(), GDK_INTERP_BILINEAR);
|
||||
|
||||
wofi_widget_builder_insert_image(builder, pixbuf, "icon");
|
||||
wofi_widget_builder_insert_image(builder, pixbuf, "icon", NULL);
|
||||
g_object_unref(pixbuf);
|
||||
}
|
||||
wofi_widget_builder_insert_text(builder, name, "name");
|
||||
wofi_widget_builder_insert_text(builder, generic_name, "generic-name");
|
||||
wofi_widget_builder_insert_text(builder, name, "name", NULL);
|
||||
wofi_widget_builder_insert_text(builder, generic_name, "generic-name", NULL);
|
||||
free(generic_name);
|
||||
|
||||
if(action == NULL) {
|
||||
|
Reference in New Issue
Block a user