Commit ad1b2d57 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

fixed some action_area uglyness which occured after the switch to

2001-11-13  Michael Natterer  <mitch@gimp.org>

	* app/gui/user-installed-dialog.c: fixed some action_area uglyness
	which occured after the switch to GtkDialog.
parent bc5011e4
2001-11-13 Michael Natterer <mitch@gimp.org>
* app/gui/user-installed-dialog.c: fixed some action_area uglyness
which occured after the switch to GtkDialog.
2001-11-13 Sven Neumann <sven@gimp.org>
* app/base/temp-buf.c: added some safety checks.
......
......@@ -77,9 +77,9 @@
static void user_install_continue_callback (GtkWidget *widget,
gpointer data);
gpointer data);
static void user_install_cancel_callback (GtkWidget *widget,
gpointer data);
gpointer data);
static gboolean user_install_run (void);
static void user_install_tuning (void);
......@@ -521,6 +521,8 @@ user_install_dialog_create (Gimp *gimp)
GtkWidget *page;
GtkWidget *sep;
GtkWidget *eek_box;
dialog = user_install_dialog =
gimp_dialog_new (_("GIMP User Installation"), "user_installation",
NULL, NULL,
......@@ -540,6 +542,19 @@ user_install_dialog_create (Gimp *gimp)
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
eek_box = gtk_hbox_new (FALSE, 8);
g_object_ref (G_OBJECT (GTK_DIALOG (dialog)->action_area));
gtk_container_remove (GTK_CONTAINER (GTK_DIALOG (dialog)->action_area->parent),
GTK_DIALOG (dialog)->action_area);
gtk_box_pack_end (GTK_BOX (eek_box), GTK_DIALOG (dialog)->action_area,
FALSE, FALSE, 0);
g_object_unref (GTK_DIALOG (dialog)->action_area);
gtk_box_pack_end (GTK_BOX (GTK_DIALOG (dialog)->vbox), eek_box,
FALSE, FALSE, 0);
gtk_widget_show (eek_box);
gdk_color_parse ("black", &black_color);
gdk_color_parse ("white", &white_color);
gdk_color_parse ("dark orange", &title_color);
......@@ -574,10 +589,7 @@ user_install_dialog_create (Gimp *gimp)
footer_label = gtk_label_new (NULL);
PAGE_STYLE (footer_label);
gtk_label_set_justify (GTK_LABEL (footer_label), GTK_JUSTIFY_RIGHT);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->action_area), footer_label,
FALSE, FALSE, 8);
gtk_box_reorder_child (GTK_BOX (GTK_DIALOG (dialog)->action_area),
footer_label, 0);
gtk_box_pack_end (GTK_BOX (eek_box), footer_label, FALSE, FALSE,0 );
gtk_widget_show (footer_label);
vbox = gtk_vbox_new (FALSE, 0);
......
......@@ -77,9 +77,9 @@
static void user_install_continue_callback (GtkWidget *widget,
gpointer data);
gpointer data);
static void user_install_cancel_callback (GtkWidget *widget,
gpointer data);
gpointer data);
static gboolean user_install_run (void);
static void user_install_tuning (void);
......@@ -521,6 +521,8 @@ user_install_dialog_create (Gimp *gimp)
GtkWidget *page;
GtkWidget *sep;
GtkWidget *eek_box;
dialog = user_install_dialog =
gimp_dialog_new (_("GIMP User Installation"), "user_installation",
NULL, NULL,
......@@ -540,6 +542,19 @@ user_install_dialog_create (Gimp *gimp)
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
eek_box = gtk_hbox_new (FALSE, 8);
g_object_ref (G_OBJECT (GTK_DIALOG (dialog)->action_area));
gtk_container_remove (GTK_CONTAINER (GTK_DIALOG (dialog)->action_area->parent),
GTK_DIALOG (dialog)->action_area);
gtk_box_pack_end (GTK_BOX (eek_box), GTK_DIALOG (dialog)->action_area,
FALSE, FALSE, 0);
g_object_unref (GTK_DIALOG (dialog)->action_area);
gtk_box_pack_end (GTK_BOX (GTK_DIALOG (dialog)->vbox), eek_box,
FALSE, FALSE, 0);
gtk_widget_show (eek_box);
gdk_color_parse ("black", &black_color);
gdk_color_parse ("white", &white_color);
gdk_color_parse ("dark orange", &title_color);
......@@ -574,10 +589,7 @@ user_install_dialog_create (Gimp *gimp)
footer_label = gtk_label_new (NULL);
PAGE_STYLE (footer_label);
gtk_label_set_justify (GTK_LABEL (footer_label), GTK_JUSTIFY_RIGHT);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->action_area), footer_label,
FALSE, FALSE, 8);
gtk_box_reorder_child (GTK_BOX (GTK_DIALOG (dialog)->action_area),
footer_label, 0);
gtk_box_pack_end (GTK_BOX (eek_box), footer_label, FALSE, FALSE,0 );
gtk_widget_show (footer_label);
vbox = gtk_vbox_new (FALSE, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment