summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/system.py2
-rw-r--r--portato/gui/gtk/windows.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py
index bf1b821..c40473e 100644
--- a/portato/backend/portage/system.py
+++ b/portato/backend/portage/system.py
@@ -101,7 +101,7 @@ class PortageSystem (SystemInterface):
if name != None:
if isinstance(name, str):
- return lambda x: re.match(".*"+name+".*",x)
+ return lambda x: re.match(".*"+name+".*",x, re.I)
else: # assume regular expression
return lambda x: name.match(x)
else:
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 2cba5b2..c1789bd 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -1165,10 +1165,10 @@ class MainWindow (Window):
else:
title = (_("Console (%(title)s)") % {"title" : title})
- return False
-
self.notebook.set_tab_label_text(self.termHB, title)
+ return False
+
gobject.idle_add(__update, title)
def cb_cat_list_selection (self, view):