diff options
author | Stefano Karapetsas <[email protected]> | 2014-05-02 19:36:57 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-05-02 19:36:57 +0200 |
commit | 71dfbd694341aa2d9758297fc1fd8ccde910a662 (patch) | |
tree | 3f8083cea02ba73e8fbb088c4cf9515435699d5a /sensors-applet/sensor-config-dialog.c | |
parent | 310181bbdddc2e8bdb43d54a6321a1f36649423f (diff) | |
download | mate-sensors-applet-71dfbd694341aa2d9758297fc1fd8ccde910a662.tar.bz2 mate-sensors-applet-71dfbd694341aa2d9758297fc1fd8ccde910a662.tar.xz |
Add GTK3 support
Diffstat (limited to 'sensors-applet/sensor-config-dialog.c')
-rw-r--r-- | sensors-applet/sensor-config-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sensors-applet/sensor-config-dialog.c b/sensors-applet/sensor-config-dialog.c index dd9f3c7..fa05c9f 100644 --- a/sensors-applet/sensor-config-dialog.c +++ b/sensors-applet/sensor-config-dialog.c @@ -395,7 +395,7 @@ void sensor_config_dialog_create(SensorsApplet *sensors_applet) { config_dialog->dialog = gtk_dialog_new_with_buttons(header_text, GTK_WINDOW(sensors_applet->prefs_dialog->dialog), - GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR, + GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_HELP, GTK_RESPONSE_HELP, GTK_STOCK_CLOSE, @@ -912,7 +912,7 @@ void sensor_config_dialog_create(SensorsApplet *sensors_applet) { 2, 3, 14, 15); - gtk_box_pack_start_defaults(GTK_BOX(GTK_DIALOG(config_dialog->dialog)->vbox), GTK_WIDGET(config_dialog->table)); + gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area (GTK_DIALOG(config_dialog->dialog))), GTK_WIDGET(config_dialog->table), TRUE, TRUE, 0); gtk_widget_show_all(config_dialog->dialog); } |