MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / queue_window_show

Function queue_window_show

gtk/src/queuehandler.c:2040–2053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040static void
2041queue_window_show (signal_user_data_t *ud)
2042{
2043 gboolean show_sidebar = ghb_dict_get_bool(ud->prefs, "show_queue_sidebar");
2044 GtkWidget *widget = ghb_builder_widget("queue_sidebar");
2045 gtk_widget_set_visible(widget, show_sidebar);
2046
2047 GActionMap *map = G_ACTION_MAP(g_application_get_default());
2048 GSimpleAction *action = G_SIMPLE_ACTION(g_action_map_lookup_action(map, "queue-show-sidebar"));
2049 g_simple_action_set_state(action, g_variant_new_boolean(show_sidebar));
2050
2051 widget = ghb_builder_widget("queue_window");
2052 gtk_window_present(GTK_WINDOW(widget));
2053}
2054
2055G_MODULE_EXPORT void
2056show_queue_action_cb (GSimpleAction *action, GVariant *value,

Callers 2

ghb_reload_queueFunction · 0.85
show_queue_action_cbFunction · 0.85

Calls 2

ghb_dict_get_boolFunction · 0.85
ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected