diff options
author | Rebecca Schulman <rebecka@eazel.com> | 2000-12-01 02:44:08 +0000 |
---|---|---|
committer | Rebecca Schulman <rebecka@src.gnome.org> | 2000-12-01 02:44:08 +0000 |
commit | bb8e4c5827eac2d4abfc5784fa6aa7d06950b6dd (patch) | |
tree | d39b7bd1c6fc4c4956781d2380018fe7099fa965 /src/nautilus-search-bar-criterion.c | |
parent | 1c6c0b949dcdcafa83fc0a1a6071e60de28ea7d6 (diff) | |
download | nautilus-bb8e4c5827eac2d4abfc5784fa6aa7d06950b6dd.tar.gz |
Fixed bug 3750, to make cut/copy/paste work in the complex search bar
2000-11-30 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 3750, to make cut/copy/paste work
in the complex search bar
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-complex-search-bar.h:
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_new),
Set up the first criterion after we create
the bar.
(nautilus_complex_search_bar_set_up_enclosed_entry_for_clipboard):
add a second procedure that new criteria with entries call
when they are added.
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_new_with_type):
set an entry up for the clipboard, if one exists.
Diffstat (limited to 'src/nautilus-search-bar-criterion.c')
-rw-r--r-- | src/nautilus-search-bar-criterion.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nautilus-search-bar-criterion.c b/src/nautilus-search-bar-criterion.c index 44151ad27..f0b752808 100644 --- a/src/nautilus-search-bar-criterion.c +++ b/src/nautilus-search-bar-criterion.c @@ -548,8 +548,10 @@ nautilus_search_bar_criterion_new_with_type (NautilusSearchBarCriterionType crit new_criterion = NULL; g_assert_not_reached (); } - - + if (new_criterion->details->value_entry) { + nautilus_complex_search_bar_set_up_enclosed_entry_for_clipboard + (bar, new_criterion->details->value_entry); + } return new_criterion; } |