X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-properties-dialog.c;h=e82f2423943c0a6162f8295afc01b8bcb7e75038;hb=e769474337c9a6ffdaed2327056e8de2f7ca9ee4;hp=c829b3c6a4718803cd3657245d8484d018067f1b;hpb=fbc5a66df0f65fa6f06d2d8496794512033a9ef3;p=evince.git diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c index c829b3c6..e82f2423 100644 --- a/shell/ev-properties-dialog.c +++ b/shell/ev-properties-dialog.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H @@ -55,11 +55,14 @@ ev_properties_dialog_class_init (EvPropertiesDialogClass *properties_class) static void ev_properties_dialog_init (EvPropertiesDialog *properties) { + GtkBox *content_area; + + content_area = GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (properties))); + gtk_window_set_title (GTK_WINDOW (properties), _("Properties")); gtk_window_set_destroy_with_parent (GTK_WINDOW (properties), TRUE); - gtk_dialog_set_has_separator (GTK_DIALOG (properties), FALSE); gtk_container_set_border_width (GTK_CONTAINER (properties), 5); - gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (properties)->vbox), 2); + gtk_box_set_spacing (content_area, 2); gtk_dialog_add_button (GTK_DIALOG (properties), GTK_STOCK_CLOSE, GTK_RESPONSE_CANCEL); @@ -68,8 +71,7 @@ ev_properties_dialog_init (EvPropertiesDialog *properties) properties->notebook = gtk_notebook_new (); gtk_container_set_border_width (GTK_CONTAINER (properties->notebook), 5); - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (properties)->vbox), - properties->notebook, TRUE, TRUE, 0); + gtk_box_pack_start (content_area, properties->notebook, TRUE, TRUE, 0); gtk_widget_show (properties->notebook); g_signal_connect (properties, "response",