Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@laptop.org>2012-08-29 14:36:34 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-08-29 14:36:34 (GMT)
commit0904da14a04b98cf250ae9bb44137656581f1491 (patch)
tree9d034606483c5b7cee8f8bc79ed6395c3ab20e0a
parentf27f7ec6ddcb915f5491a7eb36a1a5ddf44b00fb (diff)
Journal: display message when search matches no entry
Need to specify all the parameters for pack_start in GTK+ 3.
-rw-r--r--src/jarabe/journal/listview.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
index f14a46b..8710660 100644
--- a/src/jarabe/journal/listview.py
+++ b/src/jarabe/journal/listview.py
@@ -381,20 +381,20 @@ class BaseListView(Gtk.Bin):
icon_name='activity-journal',
stroke_color=style.COLOR_BUTTON_GREY.get_svg(),
fill_color=style.COLOR_TRANSPARENT.get_svg())
- box.pack_start(icon, expand=True, fill=False)
+ box.pack_start(icon, True, False, 0)
label = Gtk.Label()
color = style.COLOR_BUTTON_GREY.get_html()
label.set_markup('<span weight="bold" color="%s">%s</span>' % ( \
color, glib.markup_escape_text(message)))
- box.pack_start(label, expand=True, fill=False)
+ box.pack_start(label, True, False, 0)
if show_clear_query:
button = Gtk.Button(label=_('Clear search'))
button.connect('clicked', self.__clear_button_clicked_cb)
button.props.image = Icon(icon_name='dialog-cancel',
icon_size=Gtk.IconSize.BUTTON)
- box.pack_start(button, expand=True, fill=False)
+ box.pack_start(button, True, False, 0)
alignment.add(box)
alignment.show_all()