Disabled keyboard shortcuts for some actions

master
Yevgen Muntyan 2006-06-04 22:51:44 -05:00
parent 9019a6104e
commit c94d811a41
3 changed files with 7 additions and 4 deletions

View File

@ -292,16 +292,16 @@
</kdevdoctreeview>
<kdevfilecreate>
<filetypes>
<type icon="source" ext="g" name="GAP source" create="template" >
<type icon="source" ext="g" create="template" name="GAP source" >
<descr>A new empty GAP source file</descr>
</type>
<type icon="source_cpp" ext="cpp" name="C++ Source" create="template" >
<type icon="source_cpp" ext="cpp" create="template" name="C++ Source" >
<descr>A new empty C++ file.</descr>
</type>
<type icon="source_h" ext="h" name="C/C++ Header" create="template" >
<type icon="source_h" ext="h" create="template" name="C/C++ Header" >
<descr>A new empty header file for C/C++.</descr>
</type>
<type icon="source_c" ext="c" name="C Source" create="template" >
<type icon="source_c" ext="c" create="template" name="C Source" >
<descr>A new empty C file.</descr>
</type>
</filetypes>

View File

@ -1192,6 +1192,7 @@ install_actions (MooApp *app,
moo_window_class_new_action (klass, "About",
"display-name", "About",
"label", _about,
"no-accel", TRUE,
"tooltip", about,
"stock-id", GTK_STOCK_ABOUT,
"closure-callback", moo_app_about_dialog,

View File

@ -162,6 +162,7 @@ static void moo_window_class_init (MooWindowClass *klass)
"display-name", "Configure Shortcuts",
"label", "Configure _Shortcuts...",
"tooltip", "Configure _Shortcuts...",
"no-accel", TRUE,
"stock-id", MOO_STOCK_KEYBOARD,
"closure-callback", moo_window_shortcuts_prefs_dialog,
NULL);
@ -179,6 +180,7 @@ static void moo_window_class_init (MooWindowClass *klass)
"display-name", "Show Menubar",
"label", "Show Menubar",
"tooltip", "Show Menubar",
"no-accel", TRUE,
"condition::active", "menubar-visible",
NULL);