Remove the "print_label" construct from the reports. The only label is "Open with default viewer". No need to check the mime type or to look for the default application because Gramps uses the host OS to figure it out for the user.
svn: r12351
This commit is contained in:
@@ -56,7 +56,7 @@ class DrawFormatComboBox(gtk.ComboBox):
|
||||
self.store.append(row=[name])
|
||||
#if callback:
|
||||
# menuitem.connect("activate",callback)
|
||||
if item[6] == active:
|
||||
if item[5] == active:
|
||||
active_index = index
|
||||
elif not active and name == out_pref:
|
||||
active_index = index
|
||||
@@ -78,8 +78,8 @@ class DrawFormatComboBox(gtk.ComboBox):
|
||||
def get_ext(self):
|
||||
return self.__drawdoc_list[self.get_active()][4]
|
||||
|
||||
def get_printable(self):
|
||||
return self.__drawdoc_list[self.get_active()][5]
|
||||
def is_file_output(self):
|
||||
return len(self.get_ext()) > 0
|
||||
|
||||
def get_clname(self):
|
||||
return self.__drawdoc_list[self.get_active()][6]
|
||||
return self.__drawdoc_list[self.get_active()][5]
|
||||
|
Reference in New Issue
Block a user