Brandon Cash
60b14d03e9
Fix: tray NotfiyDropFiles typo
2015-10-18 00:32:13 -05:00
Cheng Zhao
3b1ee994e2
views: Remove hack on setting min/max size for frameless window
2015-10-05 20:37:08 +08:00
Cheng Zhao
a76ea00249
views: Implement NativeWindow::SetSizeConstraints
2015-10-05 20:07:20 +08:00
Cheng Zhao
2b9b4c6789
Merge pull request #2979 from etiktin/fix_calculating_min_max_4_frameless
...
Fix calculating min/max size in frameless view
2015-10-05 15:10:27 +08:00
Eran Tiktin
c34c123b33
Make it work only on Windows
...
Limiting the solution to Windows only.
2015-10-05 04:01:25 +03:00
Cheng Zhao
add9c38023
linux: Enable force showing menubar
...
This is for debugging purpose.
2015-10-04 16:33:03 +08:00
Eran Tiktin
aea1f8aebb
Fix calculating min/max size in frameless views
...
The minimum and maximum size that frameless windows had used, was
incorrect. It included the border, so when it was called it actually
added that to the size, so window increased in size. The fix makes sure
that the view will use the frameless size.
This fixes #2945 and partially fixes #1806 (it also refers to some other
issues with hidpi which might still exist).
2015-10-03 22:09:57 +03:00
Eran Tiktin
6dcc752f67
Set default extension in Windows file dialog
...
On Windows when you open the save dialog and switch the filter, the
extension is supposed to change accordingly. It didn't happen with the
existing code, since the existing code didn't set the default extension
(should be set to the first filter).
This resolves #2915 .
2015-09-28 02:12:47 +03:00
Cheng Zhao
9b1fa04988
win: Fix building
2015-09-24 12:01:57 +08:00
Paul Betts
b0e5039951
Fix initializer
2015-09-23 11:26:57 -07:00
Paul Betts
22e6f15795
Remove GUID from Shell_NotifyIcon calls
...
https://github.com/atom/electron/issues/2468#issuecomment-142684129 has
the details
2015-09-23 11:20:26 -07:00
Cheng Zhao
84ce441fb6
Add converters for WebInputEvent
2015-09-18 13:33:06 +08:00
Cheng Zhao
53b9d61831
Fix building on Windows
2015-09-03 20:07:29 +08:00
Cheng Zhao
4254eb279f
Fix API changes on Linux
2015-09-03 17:50:23 +09:00
Cheng Zhao
45491ca7ab
Fix API changes
2015-09-03 17:50:23 +09:00
Cheng Zhao
d830badc57
Add role property for MenuItem
2015-09-02 09:42:17 +08:00
Cheng Zhao
3e5449561f
Merge pull request #2595 from atom/mac-tray-quick-click
...
mac: make tray's behavior more official when getting clicked quickly multiple times.
2015-08-26 17:18:51 +08:00
Haojian Wu
2b051e3884
mac: make tray's behavior more official when getting clicked quickly
...
multiple times.
2015-08-26 16:28:22 +08:00
Cheng Zhao
da10df3a9a
Merge pull request #2556 from etiktin/fix_msg_box_no_close_btn
...
Fix message box missing a close button on Windows
2015-08-25 13:57:24 +08:00
Eran Tiktin
9232620023
Fixed comment spacing
2015-08-22 04:26:09 +03:00
Eran Tiktin
b1406fbad9
Fix no close button in message box on Windows
...
This resolves #2293 .
2015-08-22 04:20:52 +03:00
Haojian Wu
5f663dbf0a
mac: make * extension filter works.
2015-08-21 12:15:20 +08:00
Haojian Wu
c566ba575f
Linux: make * extension filter works.
2015-08-21 12:13:33 +08:00
Paul Betts
0efdb448b6
Merge pull request #2509 from atom/fix-win-tray
...
Correct generation of GUID on Windows.
2015-08-17 09:02:21 -07:00
Haojian Wu
763dcc545d
Correct generation of GUID on Windows.
2015-08-17 13:20:36 +08:00
Cheng Zhao
33eadad139
popContextMenu => popUpContextMenu
2015-08-10 13:00:15 +08:00
Cheng Zhao
225140bd64
win: Don't emit right-clicked event when there is menu attached
2015-08-10 12:52:55 +08:00
Cheng Zhao
58dee04d5c
mac: Redraw icon when menu is closed
2015-08-10 12:52:35 +08:00
Cheng Zhao
4b9ff309ec
Add our own MenuModel class
2015-08-10 12:39:05 +08:00
Cheng Zhao
a3f3a35fd1
mac: Don't emit "clicked" event if there is menu attached
2015-08-10 12:18:00 +08:00
Cheng Zhao
744059b8bd
Check button size
2015-08-06 15:22:17 +08:00
Cheng Zhao
454085eb95
Fix cpplint warning
2015-08-06 13:07:39 +08:00
Cheng Zhao
6e75af5c0f
Move SetOverlayIcon to TaskbarHost
2015-08-06 13:07:00 +08:00
Cheng Zhao
8da7803f3e
Save the taskbar object
2015-08-06 12:58:40 +08:00
Cheng Zhao
2d6f8350cb
Move SetProgressBar to TaskbarHost
2015-08-06 12:54:00 +08:00
Cheng Zhao
958658513c
Refactor code in taskbarHost
2015-08-06 12:44:07 +08:00
Cheng Zhao
a28f70e85c
Decouple TaskbarHost from NativeWindow
2015-08-06 11:10:34 +08:00
Cheng Zhao
8f8c3aef87
ThumbarHost => TaskbarHost
2015-08-06 10:30:22 +08:00
Cheng Zhao
39af10cc8d
Move thumbar_host_ from TreeHost to NativeWindow
2015-08-06 10:25:50 +08:00
Cheng Zhao
d175a68586
Add MessageHandlerDelegate
2015-08-06 10:15:27 +08:00
Haojian Wu
2f1cb8b52a
Expose NativeWindow.setThumbarButtons API to all platforms.
2015-08-05 22:30:05 +08:00
Haojian Wu
78eac4116c
Polish thumbar code.
...
* Fix a memory leak in thumbar initialization.
* Check the number of thumbar buttons, should be <= 7.
* Correct to check thumbar button click event.
2015-08-05 19:38:12 +08:00
Haojian Wu
dfd076a3e5
Move atom_desktop_window_tree_host_win to atom/browser/ui/win directory.
2015-08-05 13:55:06 +08:00
Haojian Wu
54af048f04
win: Add BrowserWindow.setThumbarButtons API.
2015-08-05 13:55:02 +08:00
Cheng Zhao
488a69d461
Merge pull request #2419 from atom/clean-native-window
...
Clean up NativeWindow code
2015-08-05 13:28:09 +08:00
Cheng Zhao
adbb909b39
Move ShouldUseGlobalMenuBar to x_window_utils
2015-08-05 13:16:03 +08:00
Cheng Zhao
dc60bfa885
Merge pull request #2410 from atom/pop_context_menu_issue
...
Check context menu when calling popContextMenu API.
2015-08-05 10:04:26 +08:00
Cheng Zhao
50f226e34e
win: Use app name as default title of message box
...
TaskDialogIndirect doesn't allow empty name, if we set empty title
it will show "electron.exe" in title.
2015-08-04 21:57:00 +08:00
Haojian Wu
613e5c77ea
Check context menu when calling popContextMenu API.
2015-08-04 19:45:44 +08:00
Cheng Zhao
be24d3e78c
mac: Make the tray icon behave more like the official one
2015-07-30 13:58:53 +08:00