From 3061bc9f7d4f2008f741074cd103eb182a36a53e Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sun, 18 Mar 2018 01:16:18 +0100 Subject: spell-checker.ui plugin: avoid deprecated: avoid deprecated: GtkLabel:xpad/ypad GtkTable GtkVBox GtkHBox GtkHButtonBox GtkImage:stock GtkButton:use-stock --- plugins/spell/pluma-spell-checker-dialog.c | 3 + plugins/spell/spell-checker.ui | 292 +++++++++++------------------ 2 files changed, 113 insertions(+), 182 deletions(-) diff --git a/plugins/spell/pluma-spell-checker-dialog.c b/plugins/spell/pluma-spell-checker-dialog.c index 995d6853..05a69d4b 100644 --- a/plugins/spell/pluma-spell-checker-dialog.c +++ b/plugins/spell/pluma-spell-checker-dialog.c @@ -296,6 +296,9 @@ create_dialog (PlumaSpellCheckerDialog *dlg, gtk_entry_set_activates_default (GTK_ENTRY (dlg->word_entry), TRUE); + gtk_button_set_image (GTK_BUTTON (dlg->close_button), + gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_BUTTON)); + /* Connect signals */ g_signal_connect (dlg->word_entry, "changed", G_CALLBACK (word_entry_changed_handler), dlg); diff --git a/plugins/spell/spell-checker.ui b/plugins/spell/spell-checker.ui index ea84290f..973e70e0 100644 --- a/plugins/spell/spell-checker.ui +++ b/plugins/spell/spell-checker.ui @@ -1,482 +1,410 @@ - + + - - gtk-spell-check - 4 - + - gtk-add - 4 + False + list-add - - gtk-go-down - 4 + + False + gtk-convert - gtk-convert - 4 + False + gtk-convert + + + False + tools-check-spelling - gtk-goto-bottom - 4 + False + go-bottom - - gtk-convert - 4 + + False + go-down True + False Check spelling - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False False - False - - 12 + True - False + False + 12 + vertical 6 - + True - 2 - 2 - False + False 6 12 True + False Misspelled word: - False - False - GTK_JUSTIFY_CENTER - False - False + center 0 0.5 - 0 - 0 0 - 1 0 - 1 - fill - True + False word - False True - GTK_JUSTIFY_CENTER - False - False + center 0 0.5 - 0 - 0 - + 1 - 2 0 - 1 - fill - True + False Change _to: True - False - GTK_JUSTIFY_CENTER - False - False + center + word_entry 0 0.5 - 0 - 0 - word_entry 0 - 1 1 - 2 - fill - - + True - False + False + True 12 True True - True - True - 0 - - True - False - 0 True True + 0 + Check _Word True True - GTK_RELIEF_NORMAL + False check_word_image - Check _Word True - 0 False False + 1 1 - 2 1 - 2 - fill - 0 False - True + False + 0 - + True - 3 - 2 - False + False 6 12 True + False _Suggestions: True - False - GTK_JUSTIFY_CENTER - False - False + center + suggestions_list 0 0.5 - 0 - 0 - suggestions_list 0 - 1 0 - 1 - fill - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_ETCHED_IN - GTK_CORNER_TOP_LEFT + False + etched-in 200 True True False - False - False - True + + + 0 - 1 1 - 2 - + True - True + False + vertical 12 + True - + True - 2 - 2 - True + False + True 12 12 + True + _Ignore True True - GTK_RELIEF_NORMAL + False ignore_image - _Ignore True 0 - 1 0 - 1 - expand + Cha_nge True True - GTK_RELIEF_NORMAL + False change_image - Cha_nge True 0 - 1 1 - 2 - expand + Ignore _All True True - GTK_RELIEF_NORMAL + False ignore_all_image - Ignore _All True 1 - 2 0 - 1 - expand + Change A_ll True True - GTK_RELIEF_NORMAL + False change_all_image - Change A_ll True 1 - 2 1 - 2 - expand - 0 True True + 0 - + True - False + False + vertical 11 True + False User dictionary: - False True - GTK_JUSTIFY_LEFT - False - False - 7.45058e-09 + 7.4505801528346183e-09 0.5 - 0 - 0 - 0 False True + 0 - + True - True + False 6 + True + Add w_ord True True - GTK_RELIEF_NORMAL + False add_word_image - Add w_ord True - 0 True True + 0 - 0 False False + 1 - 0 True False + 1 1 - 2 1 - 2 - + True - False + False 12 True + False Language: - False - False - GTK_JUSTIFY_LEFT - False - False 0.5 0.5 - 0 - 0 - 0 False False + 0 True + False Language - False True - GTK_JUSTIFY_LEFT - False - False 0.5 0.5 - 0 - 0 - + - 0 False False + 1 0 - 1 2 - 3 - fill - fill - + True - GTK_BUTTONBOX_END - 0 + False + end + _Close True - True True - gtk-close - True - GTK_RELIEF_NORMAL + True + False + True + + True + True + 0 + 1 - 2 2 - 3 - fill - fill + + + - 0 True True + 1 + + + -- cgit v1.2.1