@@ -191,11 +191,11 @@ trash_dialog_response_callback (GtkDialog *dialog,
191191 gtk_widget_destroy (GTK_WIDGET (dialog ));
192192}
193193
194- static void
195- mate_dialog_add_button (GtkDialog * dialog ,
196- const gchar * button_text ,
197- const gchar * icon_name ,
198- gint response_id )
194+ void
195+ eel_dialog_add_button (GtkDialog * dialog ,
196+ const gchar * button_text ,
197+ const gchar * icon_name ,
198+ gint response_id )
199199{
200200 GtkWidget * button ;
201201
@@ -232,9 +232,9 @@ timed_wait_callback (gpointer callback_data)
232232 NULL );
233233
234234 if (g_strcmp0 (button , "process-stop" ) == 0 )
235- mate_dialog_add_button (GTK_DIALOG (dialog ), _ ("_Cancel" ), button , GTK_RESPONSE_OK );
235+ eel_dialog_add_button (GTK_DIALOG (dialog ), _ ("_Cancel" ), button , GTK_RESPONSE_OK );
236236 else
237- mate_dialog_add_button (GTK_DIALOG (dialog ), _ ("_OK" ), button , GTK_RESPONSE_OK );
237+ eel_dialog_add_button (GTK_DIALOG (dialog ), _ ("_OK" ), button , GTK_RESPONSE_OK );
238238
239239 gtk_dialog_set_default_response (GTK_DIALOG (dialog ), GTK_RESPONSE_OK );
240240
@@ -387,9 +387,9 @@ eel_run_simple_dialog (GtkWidget *parent, gboolean ignore_close_box,
387387 }
388388
389389 if (g_strcmp0 (button_title , "process-stop" ) == 0 )
390- mate_dialog_add_button (GTK_DIALOG (dialog ), _ ("_Cancel" ), button_title , response_id );
390+ eel_dialog_add_button (GTK_DIALOG (dialog ), _ ("_Cancel" ), button_title , response_id );
391391 else
392- mate_dialog_add_button (GTK_DIALOG (dialog ), _ ("_OK" ), button_title , response_id );
392+ eel_dialog_add_button (GTK_DIALOG (dialog ), _ ("_OK" ), button_title , response_id );
393393
394394 gtk_dialog_set_default_response (GTK_DIALOG (dialog ), response_id );
395395 response_id ++ ;
@@ -588,14 +588,14 @@ eel_create_question_dialog (const char *primary_text,
588588 parent );
589589
590590 if (g_strcmp0 (answer_1 , "process-stop" ) == 0 )
591- mate_dialog_add_button (dialog , _ ("_Cancel" ), answer_1 , response_1 );
591+ eel_dialog_add_button (dialog , _ ("_Cancel" ), answer_1 , response_1 );
592592 else
593593 gtk_dialog_add_button (dialog , answer_1 , response_1 );
594594
595595 if (g_strcmp0 (answer_2 , "gtk-ok" ) == 0 )
596- mate_dialog_add_button (dialog , _ ("_OK" ), answer_2 , response_2 );
596+ eel_dialog_add_button (dialog , _ ("_OK" ), answer_2 , response_2 );
597597 else if (g_strcmp0 (answer_2 , "edit-clear" ) == 0 )
598- mate_dialog_add_button (dialog , _ ("_Clear" ), answer_2 , response_2 );
598+ eel_dialog_add_button (dialog , _ ("_Clear" ), answer_2 , response_2 );
599599 else
600600 gtk_dialog_add_button (dialog , answer_2 , response_2 );
601601
0 commit comments