void action_execute_startup(void) { actions_register("Execute", setup_func, free_func, run_func); actions_set_shutdown("Execute", shutdown_func); client_add_destroy_notify(client_dest, NULL); }
void moveresize_startup(gboolean reconfig) { popup = popup_new(); popup_set_text_align(popup, RR_JUSTIFY_CENTER); if (!reconfig) client_add_destroy_notify(client_dest, NULL); }
void client_list_combined_menu_startup(gboolean reconfig) { if (!reconfig) client_add_destroy_notify(client_dest, NULL); combined_menu = menu_new(MENU_NAME, _("Windows"), TRUE, NULL); menu_set_update_func(combined_menu, self_update); menu_set_cleanup_func(combined_menu, self_cleanup); menu_set_execute_func(combined_menu, menu_execute); }
void client_list_menu_startup(gboolean reconfig) { ObMenu *menu; if (!reconfig) client_add_destroy_notify(client_dest, NULL); menu = menu_new(MENU_NAME, _("Desktops"), TRUE, NULL); menu_set_update_func(menu, self_update); menu_set_cleanup_func(menu, self_cleanup); menu_set_execute_func(menu, self_execute); }
void menu_frame_startup(gboolean reconfig) { gint i; a_sep = RrAppearanceCopy(ob_rr_theme->a_clear); RrAppearanceAddTextures(a_sep, ob_rr_theme->menu_sep_width); for (i = 0; i < ob_rr_theme->menu_sep_width; ++i) { a_sep->texture[i].type = RR_TEXTURE_LINE_ART; a_sep->texture[i].data.lineart.color = ob_rr_theme->menu_sep_color; } if (reconfig) return; client_add_destroy_notify(client_dest, NULL); menu_frame_map = g_hash_table_new(g_int_hash, g_int_equal); }