From a29f7405e31e2222ea116f1fe1d600967fff409a Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Mon, 5 Mar 2018 01:57:02 +0100 Subject: pluma-encodings-dialog.ui: avoid GtkButton:use-stock --- pluma/dialogs/pluma-encodings-dialog.c | 3 +++ pluma/dialogs/pluma-encodings-dialog.ui | 45 ++++++++++++++++++++++++--------- 2 files changed, 36 insertions(+), 12 deletions(-) diff --git a/pluma/dialogs/pluma-encodings-dialog.c b/pluma/dialogs/pluma-encodings-dialog.c index 2e58e723..e71b5473 100644 --- a/pluma/dialogs/pluma-encodings-dialog.c +++ b/pluma/dialogs/pluma-encodings-dialog.c @@ -366,6 +366,9 @@ pluma_encodings_dialog_init (PlumaEncodingsDialog *dlg) g_object_unref (content); gtk_container_set_border_width (GTK_CONTAINER (content), 5); + gtk_button_set_image (GTK_BUTTON (dlg->priv->add_button), gtk_image_new_from_icon_name ("list-add", GTK_ICON_SIZE_BUTTON)); + gtk_button_set_image (GTK_BUTTON (dlg->priv->remove_button), gtk_image_new_from_icon_name ("list-remove", GTK_ICON_SIZE_BUTTON)); + g_signal_connect (dlg->priv->add_button, "clicked", G_CALLBACK (add_button_clicked_callback), diff --git a/pluma/dialogs/pluma-encodings-dialog.ui b/pluma/dialogs/pluma-encodings-dialog.ui index a388d84d..66602e63 100644 --- a/pluma/dialogs/pluma-encodings-dialog.ui +++ b/pluma/dialogs/pluma-encodings-dialog.ui @@ -1,8 +1,23 @@ - + - + + + True + False + help-browser + + + True + False + process-stop + + + True + False + gtk-ok + 650 400 @@ -22,12 +37,13 @@ end - gtk-help + _Help True True True False - True + image1 + True True @@ -37,12 +53,13 @@ - gtk-cancel + _Cancel True True True False - True + image2 + True True @@ -52,12 +69,13 @@ - gtk-ok + _OK True True True False - True + image3 + True True @@ -129,11 +147,11 @@ False - gtk-add + _Add True True False - True + True False @@ -207,11 +225,11 @@ False - gtk-remove + _Remove True True False - True + True False @@ -250,5 +268,8 @@ closebutton1 button1 + + + -- cgit v1.2.1