Added another patch by Jonas: this one adds the ellipsis to Shutdown/Restart in

the Deskbar (see ticket #1181). Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21157 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-05-16 16:41:37 +00:00
parent 66eba86f4b
commit ea69b502e1
+10
View File
@@ -366,7 +366,12 @@ TBeMenu::AddStandardBeMenuItems()
AddSeparatorItem();
#ifdef __HAIKU__
item = new BMenuItem("Restart" B_UTF8_ELLIPSIS,
new BMessage(CMD_REBOOT_SYSTEM));
#else
item = new BMenuItem("Restart", new BMessage(CMD_REBOOT_SYSTEM));
#endif
item->SetEnabled(!dragging);
AddItem(item);
@@ -378,7 +383,12 @@ TBeMenu::AddStandardBeMenuItems()
}
#endif
#ifdef __HAIKU__
item = new BMenuItem("Shut Down" B_UTF8_ELLIPSIS,
new BMessage(CMD_SHUTDOWN_SYSTEM));
#else
item = new BMenuItem("Shut Down", new BMessage(CMD_SHUTDOWN_SYSTEM));
#endif
item->SetEnabled(!dragging);
AddItem(item);