[tracker/tracker-0.8] tracker-preferences: improvements to the ignored_dirs gtkentry UI
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] tracker-preferences: improvements to the ignored_dirs gtkentry UI
- Date: Tue, 6 Apr 2010 12:09:51 +0000 (UTC)
commit a822ddabbea2eee5129c5126acc36d9c2ab29496
Author: Tshepang Lekhonkhobe <tshepang gmail com>
Date: Mon Apr 5 14:08:22 2010 +0200
tracker-preferences: improvements to the ignored_dirs gtkentry UI
* removes the separator between text entry and the 2 buttons
* OK is the default action when hitting return
these were suggested by mitch
src/tracker-preferences/tracker-preferences.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index fd3c213..54a28ee 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -123,12 +123,14 @@ public static void add_freevalue (ListStore model) {
dialog = new Dialog.with_buttons (_("Enter value"),
window,
- DialogFlags.DESTROY_WITH_PARENT,
+ DialogFlags.DESTROY_WITH_PARENT | DialogFlags.NO_SEPARATOR,
STOCK_CANCEL, ResponseType.CANCEL,
STOCK_OK, ResponseType.ACCEPT);
+ dialog.set_default_response(ResponseType.ACCEPT);
content_area = (Container) dialog.get_content_area ();
entry = new Entry ();
+ entry.set_activates_default (true);
entry.show ();
content_area.add (entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]