From 36875203bdfc21bbe79a50ab58aae913b0280c91 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 25 May 2020 21:07:37 +0200 Subject: mate-dictionary-source.ui: Fix deprecations --- mate-dictionary/data/mate-dictionary-source.ui | 297 ++++++++----------------- mate-dictionary/src/gdict-source-dialog.c | 4 +- 2 files changed, 92 insertions(+), 209 deletions(-) (limited to 'mate-dictionary') diff --git a/mate-dictionary/data/mate-dictionary-source.ui b/mate-dictionary/data/mate-dictionary-source.ui index 4ba2b6b5..f340bbc8 100644 --- a/mate-dictionary/data/mate-dictionary-source.ui +++ b/mate-dictionary/data/mate-dictionary-source.ui @@ -1,8 +1,11 @@ - + + + + @@ -11,250 +14,149 @@ - + True - False + False 12 True True - True - True - GTK_POS_TOP - False - False + 5 - - 5 + True - 4 - 2 - False + False + 12 6 12 True + False + start _Description: True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 description_entry - PANGO_ELLIPSIZE_NONE - -1 - False - 0 0 - 1 0 - 1 - fill - + + + + + True + True + True + + Source Name + + + 1 + 0 True + False + start _Transport: True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 transport_combo - PANGO_ELLIPSIZE_NONE - -1 - False - 0 0 - 1 1 - 2 - fill - - - H_ostname: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - hostname_entry - PANGO_ELLIPSIZE_NONE - -1 - False - 0 + + True + False + True + model1 + + + + 0 + + - 0 - 1 - 2 - 3 - fill - + 1 + 1 - - _Port: + + False + start + H_ostname: True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - port_entry - PANGO_ELLIPSIZE_NONE - -1 - False - 0 + hostname_entry 0 - 1 - 3 - 4 - fill - - - - - - True - True - True - True - True - 0 - Source Name - True - * - False - - - 1 - 2 - 0 - 1 - + 2 True - True - True - 0 + True + dict.org - True - * - False 1 - 2 2 - 3 - - - True - True - True - 0 - 2628 - True - * - False + + False + start + _Port: + True + port_entry - 1 - 2 + 0 3 - 4 - - - True - False - True - model1 - - - - 0 - - + + True + True + + 2628 1 - 2 - 1 - 2 - fill - fill + 3 - - False - True - - + True + False Source - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 + + False + - - 5 + True - False - 0 + False + True + 12 @@ -263,70 +165,51 @@ - False - True + 1 - + True + False Dictionaries - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 + + 1 + False + - - 5 + True - False - 0 + False + True + 12 - False - True + 2 - + True + False Strategies - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 + + 2 + False + - 0 - True + False True + 0 - diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c index 444febdd..622ee9e4 100644 --- a/mate-dictionary/src/gdict-source-dialog.c +++ b/mate-dictionary/src/gdict-source-dialog.c @@ -612,11 +612,11 @@ gdict_source_dialog_constructor (GType type, GTK_RESPONSE_HELP); dialog->db_chooser = gdict_database_chooser_new (); - gtk_box_pack_start (GTK_BOX (GET_WIDGET ("db-vbox")), dialog->db_chooser, TRUE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (GET_WIDGET ("db-box")), dialog->db_chooser, TRUE, TRUE, 0); gtk_widget_show (dialog->db_chooser); dialog->strat_chooser = gdict_strategy_chooser_new (); - gtk_box_pack_start (GTK_BOX (GET_WIDGET ("strat-vbox")), dialog->strat_chooser, TRUE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (GET_WIDGET ("strat-box")), dialog->strat_chooser, TRUE, TRUE, 0); gtk_widget_show (dialog->strat_chooser); /* the UI changes depending on the action that the source dialog -- cgit v1.2.1