[meld] Only try to set tab labels if custom labels were given
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Only try to set tab labels if custom labels were given
- Date: Thu, 29 Dec 2011 22:43:48 +0000 (UTC)
commit fdea562489ee24914d087b76a68eef8d82514932
Author: Kai Willadsen <kai willadsen gmail com>
Date: Fri Dec 30 08:42:20 2011 +1000
Only try to set tab labels if custom labels were given
meld/meldapp.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/meldapp.py b/meld/meldapp.py
index 7f78e4a..9d554b9 100644
--- a/meld/meldapp.py
+++ b/meld/meldapp.py
@@ -186,7 +186,7 @@ class MeldApp(gobject.GObject):
self.window.open_paths(files)
tab = self.window.open_paths(args, options.auto_compare)
- if tab:
+ if options.label and tab:
tab.set_labels(options.label)
if options.outfile and tab and isinstance(tab, filediff.FileDiff):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]