Added wofi_insert_widgets()
This allows modes to ask for wofi to query them for new entries
This commit is contained in:
parent
3693e89739
commit
3a80153e17
@ -42,6 +42,8 @@ struct wl_list* wofi_read_cache(struct mode* mode);
|
|||||||
|
|
||||||
struct widget* wofi_create_widget(struct mode* mode, char** text, char* search_text, char** actions, size_t action_count);
|
struct widget* wofi_create_widget(struct mode* mode, char** text, char* search_text, char** actions, size_t action_count);
|
||||||
|
|
||||||
|
void wofi_insert_widgets(struct mode* mode);
|
||||||
|
|
||||||
bool wofi_allow_images(void);
|
bool wofi_allow_images(void);
|
||||||
|
|
||||||
bool wofi_allow_markup(void);
|
bool wofi_allow_markup(void);
|
||||||
|
@ -626,6 +626,10 @@ struct widget* wofi_create_widget(struct mode* mode, char** text, char* search_t
|
|||||||
return widget;
|
return widget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wofi_insert_widgets(struct mode* mode) {
|
||||||
|
gdk_threads_add_idle(_insert_widget, mode);
|
||||||
|
}
|
||||||
|
|
||||||
bool wofi_allow_images(void) {
|
bool wofi_allow_images(void) {
|
||||||
return allow_images;
|
return allow_images;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user