summaryrefslogtreecommitdiff
path: root/thunar/thunar-renamer-dialog.c
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2009-08-22 21:17:55 +0200
committerNick Schermer <nick@xfce.org>2009-08-22 21:17:55 +0200
commit1e2096fcb6bacaadc134d1d99d085532c3df819e (patch)
treed2e199ba1745f23f7e65202662a854a3b8a6869a /thunar/thunar-renamer-dialog.c
parent293bfc66c650d52d4d87b4f6bc7c9f7bd1278934 (diff)
downloadthunar-1e2096fcb6bacaadc134d1d99d085532c3df819e.tar.gz
Use new tooltip API.
Diffstat (limited to 'thunar/thunar-renamer-dialog.c')
-rw-r--r--thunar/thunar-renamer-dialog.c4
1 files changed, 2 insertions, 2 deletions
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);