forked from AuroraMiddleware/gtk
gtkprinteroptionwidget: gtk_misc_set_alignment
Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkprinteroptionwidget.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
This commit is contained in:
parent
90e2fdca71
commit
b16c973699
@ -797,7 +797,8 @@ construct_widgets (GtkPrinterOptionWidget *widget)
|
||||
gtk_printer_option_get_activates_default (source));
|
||||
|
||||
label = gtk_label_new_with_mnemonic (_("_Name:"));
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
|
||||
gtk_widget_set_halign (label, GTK_ALIGN_START);
|
||||
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
|
||||
gtk_label_set_mnemonic_widget (GTK_LABEL (label), priv->entry);
|
||||
|
||||
gtk_table_attach (GTK_TABLE (priv->filechooser), label,
|
||||
@ -809,7 +810,8 @@ construct_widgets (GtkPrinterOptionWidget *widget)
|
||||
0, 0);
|
||||
|
||||
label = gtk_label_new_with_mnemonic (_("_Save in folder:"));
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
|
||||
gtk_widget_set_halign (label, GTK_ALIGN_START);
|
||||
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
|
||||
gtk_label_set_mnemonic_widget (GTK_LABEL (label), priv->combo);
|
||||
|
||||
gtk_table_attach (GTK_TABLE (priv->filechooser), label,
|
||||
|
Loading…
Reference in New Issue
Block a user