From 1e2096fcb6bacaadc134d1d99d085532c3df819e Mon Sep 17 00:00:00 2001 From: Nick Schermer Date: Sat, 22 Aug 2009 21:17:55 +0200 Subject: Use new tooltip API. --- thunar/thunar-renamer-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thunar/thunar-renamer-dialog.c') diff --git a/thunar/thunar-renamer-dialog.c b/thunar/thunar-renamer-dialog.c index f75bcfd3..87fff855 100644 --- a/thunar/thunar-renamer-dialog.c +++ b/thunar/thunar-renamer-dialog.c @@ -347,7 +347,7 @@ thunar_renamer_dialog_init (ThunarRenamerDialog *renamer_dialog) button = gtk_dialog_add_button (GTK_DIALOG (renamer_dialog), _("_Rename Files"), GTK_RESPONSE_ACCEPT); exo_binding_new (G_OBJECT (renamer_dialog->model), "can-rename", G_OBJECT (button), "sensitive"); gtk_dialog_set_default_response (GTK_DIALOG (renamer_dialog), GTK_RESPONSE_ACCEPT); - thunar_gtk_widget_set_tooltip (button, _("Click here to actually rename the files listed above to their new names.")); + gtk_widget_set_tooltip_text (button, _("Click here to actually rename the files listed above to their new names.")); /* setup the action group for this dialog */ renamer_dialog->action_group = gtk_action_group_new ("ThunarRenamerDialog"); @@ -486,7 +486,7 @@ thunar_renamer_dialog_init (ThunarRenamerDialog *renamer_dialog) /* add a "Help" button */ button = gtk_button_new (); - thunar_gtk_widget_set_tooltip (button, _("Click here to view the documentation for the selected rename operation.")); + gtk_widget_set_tooltip_text (button, _("Click here to view the documentation for the selected rename operation.")); g_signal_connect_swapped (G_OBJECT (button), "clicked", G_CALLBACK (thunar_renamer_dialog_help), renamer_dialog); gtk_box_pack_start (GTK_BOX (rbox), button, FALSE, FALSE, 0); gtk_widget_show (button); -- cgit v1.2.1