gnome-specimen r29 - branches/import-from-bzr
- From: wbolster svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-specimen r29 - branches/import-from-bzr
- Date: Tue, 17 Jun 2008 18:52:19 +0000 (UTC)
Author: wbolster
Date: Tue Jun 17 18:52:19 2008
New Revision: 29
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=29&view=rev
Log:
* specimenwindow.py:
- Fix focus issue after clicking the remove button.
Modified:
branches/import-from-bzr/ (props changed)
branches/import-from-bzr/specimenwindow.py
Modified: branches/import-from-bzr/specimenwindow.py
==============================================================================
--- branches/import-from-bzr/specimenwindow.py (original)
+++ branches/import-from-bzr/specimenwindow.py Tue Jun 17 18:52:19 2008
@@ -336,7 +336,8 @@
def on_remove_button_clicked(self, widget, data=None):
'Callback for the Remove button'
self.delete_selected();
- self.previews_treeview.grab_focus()
+ if self.num_previews(): self.previews_treeview.grab_focus()
+ else: self.fonts_treeview.grab_focus()
def on_clear_button_clicked(self, widget, data=None):
'Callback for the Clear button'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]