[geany/geany] 1ee35c: Flatten-out the View menu
Matthew Brush
git-noreply at xxxxx
Fri Apr 26 23:13:46 UTC 2013
Branch: refs/heads/master
Author: Matthew Brush <matt at geany.org>
Committer: Matthew Brush <matt at geany.org>
Date: Fri, 26 Apr 2013 23:13:46 UTC
Commit: 1ee35c68cdbef76d4a38bb7e52524c0cb175d1fe
https://github.com/geany/geany/commit/1ee35c68cdbef76d4a38bb7e52524c0cb175d1fe
Log Message:
-----------
Flatten-out the View menu
Rationale:
----------
* Existing View menu already contained Editor-related options
like "Change Font" and Zoom controls, so it makes sense to
group all of the View-related items together.
* Anecdotally, some users have been unable to easily discover
the Color Schemes changer dialog because it was nested under
a submenu.
* Distinction between "Editor" (Scintilla) and "Editor" (All
of Geany) is likely non-obvious to most users, especially
new users exploring the menus.
* There's not very many items to cause scrolling on low-res
monitors, and the View menu still has less items than the
Document menu.
Modified Paths:
--------------
data/geany.glade
Modified: data/geany.glade
164 files changed, 75 insertions(+), 89 deletions(-)
===================================================================
@@ -8381,19 +8381,80 @@
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="menu_separator4">
+ <object class="GtkImageMenuItem" id="menu_color_schemes">
+ <property name="label" translatable="yes">Change _Color Scheme</property>
+ <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_underline">True</property>
+ <property name="image">image2</property>
+ <property name="use_stock">False</property>
+ <signal name="activate" handler="on_menu_color_schemes_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkMenuItem" id="menu_toggle_all_additional_widgets1">
+ <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">To_ggle All Additional Widgets</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="menu_markers_margin1">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Show _Markers Margin</property>
<property name="use_underline">True</property>
- <signal name="activate" handler="on_menu_toggle_all_additional_widgets1_activate" swapped="no"/>
+ <property name="active">True</property>
+ <signal name="toggled" handler="on_markers_margin1_toggled" swapped="no"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="menu_linenumber_margin1">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Show _Line Numbers</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="toggled" handler="on_show_line_numbers1_toggled" swapped="no"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="menu_show_white_space1">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Show _White Space</property>
+ <property name="use_underline">True</property>
+ <signal name="toggled" handler="on_menu_show_white_space1_toggled" swapped="no"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="menu_show_line_endings1">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Show Line _Endings</property>
+ <property name="use_underline">True</property>
+ <signal name="toggled" handler="on_menu_show_line_endings1_toggled" swapped="no"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="menu_show_indentation_guides1">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Show _Indentation Guides</property>
+ <property name="use_underline">True</property>
+ <signal name="toggled" handler="on_menu_show_indentation_guides1_toggled" swapped="no"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="menu_separator4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
</object>
</child>
<child>
@@ -8407,6 +8468,16 @@
</object>
</child>
<child>
+ <object class="GtkMenuItem" id="menu_toggle_all_additional_widgets1">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">To_ggle All Additional Widgets</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_menu_toggle_all_additional_widgets1_activate" swapped="no"/>
+ </object>
+ </child>
+ <child>
<object class="GtkCheckMenuItem" id="menu_show_messages_window1">
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
@@ -8440,91 +8511,6 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="menu_view_editor1">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Editor</property>
- <property name="use_underline">True</property>
- <child type="submenu">
- <object class="GtkMenu" id="menu_view_editor1_menu">
- <property name="can_focus">False</property>
- <child>
- <object class="GtkImageMenuItem" id="menu_color_schemes">
- <property name="label" translatable="yes">_Color Schemes</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="use_underline">True</property>
- <property name="image">image2</property>
- <property name="use_stock">False</property>
- <signal name="activate" handler="on_menu_color_schemes_activate" swapped="no"/>
- </object>
- </child>
- <child>
- <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- </child>
- <child>
- <object class="GtkCheckMenuItem" id="menu_markers_margin1">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Show _Markers Margin</property>
- <property name="use_underline">True</property>
- <property name="active">True</property>
- <signal name="toggled" handler="on_markers_margin1_toggled" swapped="no"/>
- </object>
- </child>
- <child>
- <object class="GtkCheckMenuItem" id="menu_linenumber_margin1">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Show _Line Numbers</property>
- <property name="use_underline">True</property>
- <property name="active">True</property>
- <signal name="toggled" handler="on_show_line_numbers1_toggled" swapped="no"/>
- </object>
- </child>
- <child>
- <object class="GtkCheckMenuItem" id="menu_show_white_space1">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Show _White Space</property>
- <property name="use_underline">True</property>
- <signal name="toggled" handler="on_menu_show_white_space1_toggled" swapped="no"/>
- </object>
- </child>
- <child>
- <object class="GtkCheckMenuItem" id="menu_show_line_endings1">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Show Line _Endings</property>
- <property name="use_underline">True</property>
- <signal name="toggled" handler="on_menu_show_line_endings1_toggled" swapped="no"/>
- </object>
- </child>
- <child>
- <object class="GtkCheckMenuItem" id="menu_show_indentation_guides1">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Show _Indentation Guides</property>
- <property name="use_underline">True</property>
- <signal name="toggled" handler="on_menu_show_indentation_guides1_toggled" swapped="no"/>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child>
<object class="GtkSeparatorMenuItem" id="menu_separator5">
<property name="visible">True</property>
<property name="can_focus">False</property>
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list