summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/Menu.m
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-17 17:51:10 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-17 18:00:22 +0000
commit5ac1d383d2a89d22fbf54d688d64bf6a1036df6b (patch)
tree4633a52220e18eb0be7db5bae90d7b6e286c4d38 /tikzit/src/gtk/Menu.m
parent410fdf146246e014f1598e1880b5326e75159c43 (diff)
Factor out properties pane from properties window
PropertiesWindow is now ContextWindow. Preparing for putting more stuff in this window.
Diffstat (limited to 'tikzit/src/gtk/Menu.m')
-rw-r--r--tikzit/src/gtk/Menu.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/tikzit/src/gtk/Menu.m b/tikzit/src/gtk/Menu.m
index e6b87fe..a741520 100644
--- a/tikzit/src/gtk/Menu.m
+++ b/tikzit/src/gtk/Menu.m
@@ -67,9 +67,9 @@ static void show_preamble_cb (GtkAction *action, Application *appl) {
}
#endif
-static void show_properties_cb (GtkAction *action, Application *appl) {
+static void show_context_window_cb (GtkAction *action, Application *appl) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- [appl showPropertyEditor];
+ [appl showContextWindow];
[pool drain];
}
@@ -160,8 +160,8 @@ static GtkActionEntry app_action_entries[] = {
N_("Edit the preambles used to generate the preview"), G_CALLBACK (show_preamble_cb) },
#endif
- { "ShowProperties", NULL, N_("_Properties Window"), NULL,
- N_("Show the property editor window"), G_CALLBACK (show_properties_cb) },
+ { "ShowContextWindow", NULL, N_("_Context Window"), NULL,
+ N_("Show the contextual tools window"), G_CALLBACK (show_context_window_cb) },
/* HelpMenu */
{ "HelpManual", GTK_STOCK_HELP, N_("_Online manual"), "F1",
@@ -509,7 +509,7 @@ static const gchar ui_info[] =
#endif
" </menu>"
" <menu action='ViewMenu'>"
-" <menuitem action='ShowProperties'/>"
+" <menuitem action='ShowContextWindow'/>"
#ifdef HAVE_POPPLER
" <menuitem action='ShowPreamble'/>"
" <menuitem action='ShowPreview'/>"