summaryrefslogtreecommitdiff
path: root/src/nautilus-toolbar.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-01-25 17:12:09 +0000
committerCosimo Cecchi <cosimoc@gnome.org>2015-01-26 11:19:22 +0000
commitbe0f488a2d2525deab363ebf98ce548395e60d90 (patch)
treea17b1c6baa1037ec431a89ae494e1d014f6796c3 /src/nautilus-toolbar.h
parentb20990b1eb4d1d4636d409f3235133358994059a (diff)
downloadnautilus-be0f488a2d2525deab363ebf98ce548395e60d90.tar.gz
toolbar: rework how Undo/Redo actions are added to the menu
Currently we always reload the menu from scratch and reset the menu button; the intent of the code here is to modify the menu in-place.
Diffstat (limited to 'src/nautilus-toolbar.h')
-rw-r--r--src/nautilus-toolbar.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nautilus-toolbar.h b/src/nautilus-toolbar.h
index bfec6233e..a2caf496e 100644
--- a/src/nautilus-toolbar.h
+++ b/src/nautilus-toolbar.h
@@ -67,12 +67,10 @@ GtkWidget *nautilus_toolbar_new (NautilusWindow *window);
GtkWidget *nautilus_toolbar_get_path_bar (NautilusToolbar *self);
GtkWidget *nautilus_toolbar_get_location_entry (NautilusToolbar *self);
+GMenu *nautilus_toolbar_get_action_menu (NautilusToolbar *self);
void nautilus_toolbar_set_show_location_entry (NautilusToolbar *self,
gboolean show_location_entry);
-void nautilus_toolbar_action_menu_add_item (NautilusToolbar *self,
- GMenuItem *item,
- const gchar *section_name);
void nautilus_toolbar_reset_menus (NautilusToolbar *self);
void nautilus_toolbar_view_menu_widget_set_zoom_level (NautilusToolbar *self,