diff options
Diffstat (limited to 'logview/src/logview-findbar.c')
-rw-r--r-- | logview/src/logview-findbar.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/logview/src/logview-findbar.c b/logview/src/logview-findbar.c index 56141752..33ea4958 100644 --- a/logview/src/logview-findbar.c +++ b/logview/src/logview-findbar.c @@ -1,22 +1,22 @@ /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* logview-findbar.c - find toolbar for logview - * - * Copyright (C) 2005 Vincent Noel <[email protected]> +/* Copyright (C) 2005 Vincent Noel <[email protected]> * Copyright (C) 2008 Cosimo Cecchi <[email protected]> + * Copyright (C) 2012-2021 MATE Developers + * + * This file is part of MATE Utils. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. + * MATE Utils is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * MATE Utils is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * along with MATE Utils. If not, see <https://www.gnu.org/licenses/>. */ #ifdef HAVE_CONFIG_H @@ -197,7 +197,8 @@ logview_findbar_init (LogviewFindbar *findbar) gtk_widget_show_all (GTK_WIDGET (priv->forward_button)); /* clear button */ - priv->clear_button = gtk_tool_button_new_from_stock ("gtk-clear"); + w = gtk_image_new_from_icon_name ("edit-clear-all", GTK_ICON_SIZE_BUTTON); + priv->clear_button = gtk_tool_button_new (w, NULL); gtk_tool_item_set_tooltip_text (priv->clear_button, _("Clear the search string")); gtk_toolbar_insert (gtoolbar, priv->clear_button, -1); |