[network-manager-applet] core: GTK+ 2.14 fixes
- From: Dan Williams <dcbw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-applet] core: GTK+ 2.14 fixes
- Date: Sun, 20 Sep 2009 15:21:52 +0000 (UTC)
commit 458a6be9f2331e66ba7d0bd36a66418cdf88ad80
Author: David Greaves <david dgreaves com>
Date: Sun Sep 20 08:20:23 2009 -0700
core: GTK+ 2.14 fixes
src/wireless-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wireless-dialog.c b/src/wireless-dialog.c
index c973be1..1a34b4f 100644
--- a/src/wireless-dialog.c
+++ b/src/wireless-dialog.c
@@ -921,7 +921,7 @@ internal_init (NMAWirelessDialog *self,
widget = glade_xml_get_widget (priv->xml, "image1");
gtk_image_set_from_icon_name (GTK_IMAGE (widget), icon_name, GTK_ICON_SIZE_DIALOG);
- gtk_box_set_spacing (GTK_BOX (gtk_bin_get_child (GTK_BIN (self))), 2);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (self))), 2);
widget = gtk_dialog_add_button (GTK_DIALOG (self), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
gtk_box_set_child_packing (GTK_BOX (GTK_DIALOG (self)->action_area), widget,
@@ -951,7 +951,7 @@ internal_init (NMAWirelessDialog *self,
return FALSE;
}
- gtk_container_add (GTK_CONTAINER (gtk_bin_get_child (GTK_BIN (self))), widget);
+ gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (self))), widget);
/* If given a valid connection, hide the SSID bits and connection combo */
if (specific_connection) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]