Changeset dc5c303 in mainline for uspace/app/calculator/calculator.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/calculator/calculator.c

    r42c2e65 rdc5c303  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * Copyright (c) 2016 Martin Decky
    44 * All rights reserved.
     
    4646#include <ui/entry.h>
    4747#include <ui/fixed.h>
     48#include <ui/menu.h>
    4849#include <ui/menubar.h>
    49 #include <ui/menu.h>
     50#include <ui/menudd.h>
    5051#include <ui/menuentry.h>
    5152#include <ui/pbutton.h>
     
    896897        }
    897898
    898         rc = ui_menu_create(calc.menubar, "~F~ile", &mfile);
     899        rc = ui_menu_dd_create(calc.menubar, "~F~ile", NULL, &mfile);
    899900        if (rc != EOK) {
    900901                printf("Error creating menu.\n");
     
    910911        ui_menu_entry_set_cb(mexit, calc_file_exit, (void *) &calc);
    911912
    912         rc = ui_menu_create(calc.menubar, "~E~dit", &medit);
     913        rc = ui_menu_dd_create(calc.menubar, "~E~dit", NULL, &medit);
    913914        if (rc != EOK) {
    914915                printf("Error creating menu.\n");
Note: See TracChangeset for help on using the changeset viewer.