Cheng Zhao
e53bfad018
Fix building on Windows
2016-05-16 10:09:41 +09:00
Ben Gotow
54c654530e
Fix linux support
2016-05-15 01:29:13 -05:00
Ben Gotow
6217d497ed
Fix build issues
2016-05-15 01:03:32 -05:00
Ben Gotow
40c531737d
Add buttonLabel param to showOpen/showSave dialogs
2016-05-15 01:03:32 -05:00
Cheng Zhao
e77582baee
Fix compilation warnings introduced by VS 2015
2016-05-13 11:12:01 +09:00
Brian R. Bondy
f93fa53aea
Update linux menu overrides
2016-05-13 11:07:17 +09:00
Brian R. Bondy
732936713a
GetNativeScreen -> GetScreen
2016-05-13 11:07:17 +09:00
Cheng Zhao
b32bc8cf3e
Merge pull request #5502 from anthonyryan1/master
...
Replace gtk_widget_hide_all with gtk_widget_hide
2016-05-12 19:37:25 +09:00
Anthony Ryan
c29b844a97
Replace gtk_widget_hide_all with gtk_widget_hide
...
gtk_widget_hide_all was deprecated in gtk+ 2.24 and was removed
entirely in recent versions. This is a pretty straight forward
replacement.
2016-05-11 15:33:43 -04:00
deepak1556
64718888dd
dialog: resize icon on linux before showing
2016-05-11 22:30:10 +05:30
Daniel Pham
21af03d71a
🍎 Fix converting from windows virtual keycode back to mac keycode
2016-04-26 10:53:26 -04:00
Cheng Zhao
548febfa4c
Fix style issues
2016-04-07 15:23:16 +09:00
Ben Gotow
e0ee60f290
Fix memory leak
2016-04-07 15:21:07 +09:00
Ben Gotow
91457fe739
Support images larger than self.bounds
2016-04-07 15:21:07 +09:00
Ben Gotow
f9644463a9
Fix broken template image support in Tray icon
...
Between Electron `0.30.x` and `0.37.x`, the tray icon stopped automatically inverting template images when highlighted. NSImageView normally uses the correct color for template images magicaly, but I think the addition of event handlers in the container view prevents the image view from determining highlight state.
This PR switches to drawing the image manually. The `drawRect` function decides whether to use `image` or `alternateImage`(pressed image) and then if that image is marked as a template, it fills it with the same color used for the text before drawing it.
2016-04-07 15:21:07 +09:00
Cheng Zhao
c2797e1864
Replace extension with the one in filter
2016-03-14 17:08:32 +09:00
Cheng Zhao
81a16b424f
Add extension to filename automatically for GTK+ save dialog
2016-03-14 16:28:01 +09:00
Cheng Zhao
20466bad8f
Fix cpplint warnings
2016-03-10 17:06:23 +09:00
Paul Betts
f4ec369873
More boring fixups
2016-03-10 17:06:22 +09:00
Paul Betts
1c01e4955f
Modifiers moved under UI
2016-03-10 17:06:22 +09:00
Paul Betts
12e9b7ab88
Use assignment operator since both sides are scoped now
2016-03-10 17:06:22 +09:00
Paul Betts
60a2495b30
Update Get() => get(), Set() => reset()
2016-03-10 17:06:22 +09:00
Cheng Zhao
a31cbd24a1
Final pieces of int16 and .Pass()
2016-03-10 17:06:21 +09:00
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Paul Betts
d2944c62a5
basictypes.h => macros.h
2016-03-10 17:06:21 +09:00
Cheng Zhao
549cccfce4
Merge pull request #4715 from dongjoon-hyun/fix_typos_in_comments
...
Fix typos in comments.
2016-03-08 19:45:05 +09:00
Dongjoon Hyun
0c92d44077
Fix typos in comments.
2016-03-07 20:22:03 -08:00
Machisté N. Quintana
2bfc7aa152
Add mapping for performZoom
2016-03-07 16:01:46 -08:00
Machisté N. Quintana
eae5cc9d2c
🎨 [ci skip]
2016-03-07 15:53:09 -08:00
Machisté N. Quintana
4ded709307
Map selectors for delete and pasteAndMatchStyle to roles
2016-03-07 15:42:32 -08:00
Cheng Zhao
2515425cd5
Remove duplicated keyboard code
2016-03-06 15:04:05 +09:00
Dongjoon Hyun
fee56df400
Rename function FilterAccecelator
to FilterAccelerator
in submenu_button.cc
.
2016-02-24 11:15:21 -08:00
Cheng Zhao
49f995925c
Notify the global menu bar when window is mapped
2016-02-23 15:43:32 +08:00
Kevin Sawicki
756aeffe03
Set icon on NSAlert when specified
2016-02-08 15:18:05 -08:00
Heilig Benedek
61e0219e91
Added documentation, restructured the files to fit better with electron's style and fixed a typo in keyboard_util's name.
2016-01-31 02:27:14 +01:00
Robo
65325dc63f
browser: fix crash when switching to sibling menu from submenus
2016-01-20 10:54:12 +05:30
Cheng Zhao
26bd97d6cf
Fix style issues of #4029
2016-01-11 21:12:07 +08:00
leethomas
fee301e768
follow style guidelines
2016-01-10 19:15:40 -08:00
leethomas
803b06b7de
🏁 support defaultId for dialog boxes on Windows
2016-01-10 15:55:26 -08:00
leethomas
ae5c6add11
rename all references to default_button_index -> default_id to keep consistent with cancel_id
2016-01-10 15:33:27 -08:00
leethomas
dfce803045
🏁 update windows message_box function signatures to accept default_button_index....and do nothing with it
2016-01-08 08:23:06 -08:00
leethomas
22c455175a
🐧 add default button index for linux/gtk
2016-01-08 08:22:10 -08:00
leethomas
f1edd5f26f
🍎 add default button index for osx
2016-01-08 08:21:54 -08:00
leethomas
59eda67ba4
🍎 🐛 make displaying alternate tray image depend on mouse down event instead of highlight state
2016-01-05 09:49:27 -08:00
Cheng Zhao
2b6ac966c0
Do not write our own filter code
...
The Win32 API has done everything for us, there is no need to do this
oursevles.
2016-01-05 13:45:34 +08:00
Cheng Zhao
698700716b
Show menu by clicking the menu button
2016-01-05 12:05:27 +08:00
Cheng Zhao
43bfce26a7
Do not behave like bookmarkbar menu
2016-01-05 11:57:58 +08:00
Cheng Zhao
8aced2c31e
Add comment on why checking empty set
2015-12-31 18:58:16 +08:00
Cheng Zhao
b308cd6f96
Merge pull request #3967 from leethomas/fix-osx-crash-when-extensions-empty
...
🍎 fix #3864 where saving a file causes a crash if file extensio…
2015-12-31 18:51:55 +08:00
leethomas
eac2f6fec3
🍎 only add sub menus to Window when they actually have menu items. fixes #3873
2015-12-30 19:38:14 -08:00