Remove all calls to deprecated gtk_dialog_set_has_separator
This commit is contained in:
parent
495f56659d
commit
b3097ad42b
|
@ -139,9 +139,6 @@ create_dialog (PlumaSpellLanguageDialog *dlg,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW (dlg), _("Set language"));
|
gtk_window_set_title (GTK_WINDOW (dlg), _("Set language"));
|
||||||
#if !GTK_CHECK_VERSION (3, 0, 0)
|
|
||||||
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
|
|
||||||
#endif
|
|
||||||
gtk_window_set_modal (GTK_WINDOW (dlg), TRUE);
|
gtk_window_set_modal (GTK_WINDOW (dlg), TRUE);
|
||||||
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
|
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
|
||||||
|
|
||||||
|
|
|
@ -770,9 +770,6 @@ get_configure_dialog (PlumaTimePlugin *plugin)
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_window_set_resizable (GTK_WINDOW (dialog->dialog), FALSE);
|
gtk_window_set_resizable (GTK_WINDOW (dialog->dialog), FALSE);
|
||||||
#if !GTK_CHECK_VERSION (3, 0, 0)
|
|
||||||
gtk_dialog_set_has_separator (GTK_DIALOG (dialog->dialog), FALSE);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
sf = get_selected_format (plugin);
|
sf = get_selected_format (plugin);
|
||||||
create_formats_list (dialog->list, sf, plugin);
|
create_formats_list (dialog->list, sf, plugin);
|
||||||
|
@ -936,9 +933,6 @@ get_choose_format_dialog (GtkWindow *parent,
|
||||||
gtk_window_group_add_window (wg, GTK_WINDOW (err_dialog));
|
gtk_window_group_add_window (wg, GTK_WINDOW (err_dialog));
|
||||||
|
|
||||||
gtk_window_set_resizable (GTK_WINDOW (err_dialog), FALSE);
|
gtk_window_set_resizable (GTK_WINDOW (err_dialog), FALSE);
|
||||||
#if !GTK_CHECK_VERSION (3, 0, 0)
|
|
||||||
gtk_dialog_set_has_separator (GTK_DIALOG (err_dialog), FALSE);
|
|
||||||
#endif
|
|
||||||
gtk_dialog_set_default_response (GTK_DIALOG (err_dialog), GTK_RESPONSE_OK);
|
gtk_dialog_set_default_response (GTK_DIALOG (err_dialog), GTK_RESPONSE_OK);
|
||||||
|
|
||||||
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (err_dialog))),
|
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (err_dialog))),
|
||||||
|
|
|
@ -199,9 +199,6 @@ pluma_close_confirmation_dialog_init (PlumaCloseConfirmationDialog *dlg)
|
||||||
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
|
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
|
||||||
14);
|
14);
|
||||||
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
|
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
|
||||||
#if !GTK_CHECK_VERSION (3, 0, 0)
|
|
||||||
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
|
|
||||||
#endif
|
|
||||||
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE);
|
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE);
|
||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW (dlg), "");
|
gtk_window_set_title (GTK_WINDOW (dlg), "");
|
||||||
|
|
|
@ -320,9 +320,6 @@ pluma_encodings_dialog_init (PlumaEncodingsDialog *dlg)
|
||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW (dlg), _("Character Encodings"));
|
gtk_window_set_title (GTK_WINDOW (dlg), _("Character Encodings"));
|
||||||
gtk_window_set_default_size (GTK_WINDOW (dlg), 650, 400);
|
gtk_window_set_default_size (GTK_WINDOW (dlg), 650, 400);
|
||||||
#if !GTK_CHECK_VERSION (3, 0, 0)
|
|
||||||
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* HIG defaults */
|
/* HIG defaults */
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
|
||||||
|
|
|
@ -1089,9 +1089,6 @@ pluma_preferences_dialog_init (PlumaPreferencesDialog *dlg)
|
||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW (dlg), _("pluma Preferences"));
|
gtk_window_set_title (GTK_WINDOW (dlg), _("pluma Preferences"));
|
||||||
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
|
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
|
||||||
#if !GTK_CHECK_VERSION (3, 0, 0)
|
|
||||||
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
|
|
||||||
#endif
|
|
||||||
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
|
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
|
||||||
|
|
||||||
/* HIG defaults */
|
/* HIG defaults */
|
||||||
|
|
|
@ -334,9 +334,6 @@ pluma_search_dialog_init (PlumaSearchDialog *dlg)
|
||||||
dlg->priv = PLUMA_SEARCH_DIALOG_GET_PRIVATE (dlg);
|
dlg->priv = PLUMA_SEARCH_DIALOG_GET_PRIVATE (dlg);
|
||||||
|
|
||||||
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
|
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
|
||||||
#if !GTK_CHECK_VERSION (3, 0, 0)
|
|
||||||
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
|
|
||||||
#endif
|
|
||||||
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
|
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
|
||||||
|
|
||||||
gtk_dialog_add_buttons (GTK_DIALOG (dlg),
|
gtk_dialog_add_buttons (GTK_DIALOG (dlg),
|
||||||
|
|
Loading…
Reference in New Issue