Commit ade2655a authored by Tshepang Lekhonkhobe's avatar Tshepang Lekhonkhobe Committed by Philip Van Hoof
Browse files

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
parent fe5c6d4d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment