Changeset dc5c303 in mainline for uspace/app/edit/edit.c


Ignore:
Timestamp:
2023-12-28T13:59:23Z (15 months ago)
Author:
GitHub <noreply@…>
Children:
6b66de6b
Parents:
42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
git-committer:
GitHub <noreply@…> (2023-12-28 13:59:23)
Message:

Merge branch 'master' into topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/edit/edit.c

    r42c2e65 rdc5c303  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * Copyright (c) 2012 Martin Sucha
    44 * All rights reserved.
     
    6060#include <ui/menu.h>
    6161#include <ui/menubar.h>
     62#include <ui/menudd.h>
    6263#include <ui/menuentry.h>
    6364#include <ui/promptdialog.h>
     
    430431        }
    431432
    432         rc = ui_menu_create(edit->menubar, "~F~ile", &mfile);
     433        rc = ui_menu_dd_create(edit->menubar, "~F~ile", NULL, &mfile);
    433434        if (rc != EOK) {
    434435                printf("Error creating menu.\n");
     
    466467        ui_menu_entry_set_cb(mexit, edit_file_exit, (void *) edit);
    467468
    468         rc = ui_menu_create(edit->menubar, "~E~dit", &medit);
     469        rc = ui_menu_dd_create(edit->menubar, "~E~dit", NULL, &medit);
    469470        if (rc != EOK) {
    470471                printf("Error creating menu.\n");
     
    518519        ui_menu_entry_set_cb(mselall, edit_edit_select_all, (void *) edit);
    519520
    520         rc = ui_menu_create(edit->menubar, "~S~earch", &msearch);
     521        rc = ui_menu_dd_create(edit->menubar, "~S~earch", NULL, &msearch);
    521522        if (rc != EOK) {
    522523                printf("Error creating menu.\n");
Note: See TracChangeset for help on using the changeset viewer.