Skip to content
Snippets Groups Projects
Commit 83e187b8 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

gnome: increase size of workign dialog

Refs #69020

Change-Id: I3d235efbe4ca6ec8bf2a51e7d7873e3b78deee97
parent f903d1be
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ ring_dialog_working(GtkWidget *parent, const gchar *msg) ...@@ -37,6 +37,7 @@ ring_dialog_working(GtkWidget *parent, const gchar *msg)
{ {
GtkWidget *dialog = gtk_dialog_new(); GtkWidget *dialog = gtk_dialog_new();
gtk_window_set_destroy_with_parent(GTK_WINDOW(dialog), TRUE); gtk_window_set_destroy_with_parent(GTK_WINDOW(dialog), TRUE);
gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
if (parent && GTK_IS_WIDGET(parent)) { if (parent && GTK_IS_WIDGET(parent)) {
/* get parent window so we can center on it */ /* get parent window so we can center on it */
...@@ -49,6 +50,8 @@ ring_dialog_working(GtkWidget *parent, const gchar *msg) ...@@ -49,6 +50,8 @@ ring_dialog_working(GtkWidget *parent, const gchar *msg)
GtkWidget *content_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); GtkWidget *content_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
gtk_box_set_spacing(GTK_BOX(content_area), 10); gtk_box_set_spacing(GTK_BOX(content_area), 10);
gtk_widget_set_size_request(content_area, 250, -1);
gtk_widget_set_margin_top(content_area, 25);
GtkWidget *message = NULL; GtkWidget *message = NULL;
if (msg) { if (msg) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment