[Mac] Menu separator is not needed under Export menu
Bug #526047 reported by
Stani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Low
|
Stani |
Bug Description
It looks ugly.
Changed in phatch: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → stani (stani) |
milestone: | none → 0.2.7 |
Changed in phatch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
$ bzr diff pyWx/gui. py'
self. menu_file_ export = \
self. menu_file_ export_ actionlist_ to_clipboard. GetMenu( ) file.AppendSepa rator()
self. menu_file_ recent = wx.Menu()
self. filehistory = wx.FileHistory()
self. filehistory. UseMenu( self.menu_ file_recent)
app. SetMacAboutMenu ItemId( wx.ID_ABOUT)
app. SetMacExitMenuI temId(wx. ID_EXIT)
# app.SetMacPrefe rencesMenuItemI d(wx.ID_ PREFERENCES) file.InsertSepa rator(8) split(self. filename)
self. SetTitle( ct.FRAME_ TITLE\
=== modified file 'phatch/
--- phatch/pyWx/gui.py 2010-02-04 11:56:34 +0000
+++ phatch/pyWx/gui.py 2010-02-23 06:07:48 +0000
@@ -361,7 +361,6 @@
#file history
- self.menu_
@@ -426,6 +425,8 @@
+ else:
+ self.menu_
def _title(self):
path, filename = os.path.
=== modified file 'phatch/ pyWx/wxGlade/ frame.py' pyWx/wxGlade/ frame.py 2009-10-11 16:51:58 +0000 pyWx/wxGlade/ frame.py 2010-02-23 06:08:18 +0000
self. menu_file_ export_ inspector_ to_clipboard = wx.MenuItem( menu_file_ export, wx.NewId(), _("Copy Image I&nspector as Command to Clipboard"), _("Paste this command in a launcher"), wx.ITEM_NORMAL)
menu_ file_export. AppendItem( self.menu_ file_export_ inspector_ to_clipboard)
self. menu_file. AppendMenu( wx.ID_FORWARD, _("&Export"), menu_file_export, "") file.AppendSepa rator()
self. menu_file_ quit = wx.MenuItem( self.menu_ file, wx.ID_EXIT, _("&Quit\tCtrl-Q"), _("Quit the application."), wx.ITEM_NORMAL)
self. menu_file. AppendItem( self.menu_ file_quit)
self. frame_menubar. Append( self.menu_ file, _("&Action List"))
--- phatch/
+++ phatch/
@@ -59,7 +59,6 @@
- self.menu_
=== modified file 'phatch/ pyWx/wxGlade/ frame.wxg' pyWx/wxGlade/ frame.wxg 2009-10-11 16:51:58 +0000 pyWx/wxGlade/ frame.wxg 2010-02-23 06:08:17 +0000
--- phatch/
+++ phatch/
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- generated by wxGlade 0.6.3 on Sun Oct 11 17:05:06 2009 -->
+<!-- generated by wxGlade 0.6.3 on Tue Feb 23 01:08:17 2010 -->
<application path="frame.py" name="app" class="App" option="0" language="python" top_window="frame" encoding="UTF-8" use_gettext="1" overwrite="0" use_new_ namespace= "1" for_version="2.6" is_template="0">
</item>
</menu>
<item>
<label> &Quit\ tCtrl-Q< /label>
<id> wx.ID_EXIT< /id>
<name> menu_file_ quit</name>
<object class="Frame" name="frame" base="EditFrame">
@@ -70,11 +70,6 @@
- <label>---</label>
- <id>---</id>
- <name>---</name>
- </item>
- <item>
stani@x9150: ~/sync/ python/ phatch/ repo/trunk/ phatch$ bzr commit -m "remove last separator from file menu [mac]" sync/python/ phatch/ repo/trunk/ pyWx/wxGlade/ frame.py pyWx/wxGlade/ frame.wxg
Committing to: /home/stani/
modified phatch/pyWx/gui.py
modified phatch/
modified phatch/
Committed revision 1557.