Toolbar: Don't emphasize toolbar items (save, open, undo)

This commit is contained in:
Clement Lefebvre 2016-08-19 10:44:43 +02:00
parent c8ef96a94d
commit c8f0c14add
1 changed files with 0 additions and 7 deletions

View File

@ -1381,7 +1381,6 @@ setup_toolbar_open_button (XedWindow *window,
action = gtk_action_group_get_action (window->priv->always_sensitive_action_group, action = gtk_action_group_get_action (window->priv->always_sensitive_action_group,
"FileOpen"); "FileOpen");
g_object_set (action, g_object_set (action,
"is_important", TRUE,
"short_label", _("Open"), "short_label", _("Open"),
NULL); NULL);
gtk_activatable_set_related_action (GTK_ACTIVATABLE (open_button), gtk_activatable_set_related_action (GTK_ACTIVATABLE (open_button),
@ -1448,12 +1447,6 @@ create_menu_bar_and_toolbar (XedWindow *window,
action = gtk_action_group_get_action (action_group, "SearchReplace"); action = gtk_action_group_get_action (action_group, "SearchReplace");
g_object_set (action, "short_label", _("Replace"), NULL); g_object_set (action, "short_label", _("Replace"), NULL);
/* set which actions should have priority on the toolbar */
action = gtk_action_group_get_action (action_group, "FileSave");
g_object_set (action, "is_important", TRUE, NULL);
action = gtk_action_group_get_action (action_group, "EditUndo");
g_object_set (action, "is_important", TRUE, NULL);
action_group = gtk_action_group_new ("XedQuitWindowActions"); action_group = gtk_action_group_new ("XedQuitWindowActions");
gtk_action_group_set_translation_domain (action_group, NULL); gtk_action_group_set_translation_domain (action_group, NULL);
gtk_action_group_add_actions (action_group, gtk_action_group_add_actions (action_group,