From 2ca71994f4f2ecdfe8f7526d321d014a19ba82af Mon Sep 17 00:00:00 2001 From: gauravp94 Date: Thu, 27 Feb 2014 12:57:45 +0000 Subject: replace icon_size with pixel_size --- diff --git a/pdfviewer.py b/pdfviewer.py index 7f2838f..a49b3bf 100644 --- a/pdfviewer.py +++ b/pdfviewer.py @@ -344,7 +344,7 @@ class PDFProgressMessageBox(Gtk.EventBox): button = Gtk.Button(label=_('Cancel')) button.connect('clicked', button_callback) button.props.image = Icon(icon_name='dialog-cancel', - icon_size=Gtk.IconSize.BUTTON) + pixel_size=style.SMALL_ICON_SIZE) button_box.pack_start(button, expand=True, fill=False, padding=0) button.show() @@ -397,7 +397,7 @@ class PDFErrorMessageBox(Gtk.EventBox): button = Gtk.Button(label=_('Try again')) button.connect('clicked', button_callback) button.props.image = Icon(icon_name='entry-refresh', - icon_size=Gtk.IconSize.BUTTON, + pixel_size=style.SMALL_ICON_SIZE, stroke_color=style.COLOR_WHITE.get_svg(), fill_color=style.COLOR_TRANSPARENT.get_svg()) button_box.pack_start(button, expand=True, fill=False, padding=0) -- cgit v0.9.1