summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* release: prepare for 3.7.13.7.1Cosimo Cecchi2012-10-232-1/+43
|
* build: fix distcheckCosimo Cecchi2012-10-231-1/+0
|
* build: use GNOME_MAINTAINER_MODE_DEFINESCosimo Cecchi2012-10-237-12/+6
| | | | Instead of defining our own set of deprecation cflags.
* Updated German translationHendrik Knackstedt2012-10-241-631/+670
|
* eel: remove unused codeCosimo Cecchi2012-10-232-77/+18
|
* all: don't use eel_g_str_list_copy()Cosimo Cecchi2012-10-235-26/+7
| | | | Use g_list_copy_deep() instead.
* all: don't use eel_g_object_list_copy()Cosimo Cecchi2012-10-235-24/+8
| | | | Use g_list_copy_deep() instead.
* slot: rename a function for clarityCosimo Cecchi2012-10-231-24/+16
| | | | | Rename set_displayed_file() to nautilus_window_slot_update_bookmark(), as that's what it does.
* slot: unify handling of back/forward navigationCosimo Cecchi2012-10-231-61/+27
| | | | | These two functions are identical, only the variables are inverted. Unify them into a single function.
* slot: finish moving all other private data to private structCosimo Cecchi2012-10-239-566/+520
| | | | | Now that we got rid of nautilus-window-manage-views, move all the private data in NautilusWindowSlot outside of the public struct.
* slot: restructure window slot loadingCosimo Cecchi2012-10-2312-2061/+1875
| | | | | | | | Move all the code related to loading a new slot from nautilus-window-manage-views.c to nautilus-window-slot.c or nautilus-window.c; then restructure loading to avoid having the view call back into the window. Instead, use the begin-loading and end-loading signals on the view.
* window: make sure search button state is consistent with query editorCosimo Cecchi2012-10-231-1/+2
| | | | | | | In addition to checking whether the directory is a search, check for the query editor visibility. This ensures the toggle button state is consistent when switching tabs with the query editor visible in one of those.
* search-directory: make the simple engine recursiveCosimo Cecchi2012-10-224-2/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=325146
* search-directory: always start the simple engineCosimo Cecchi2012-10-221-3/+3
| | | | | | | This is needed to load results incrementally, which will be done in a separate commit. https://bugzilla.gnome.org/show_bug.cgi?id=325146
* search-directory: enable incremental directory loadCosimo Cecchi2012-10-221-33/+25
| | | | | | | | | Instead of emitting nautilus_directory_done_loading() from the "finished" callback, do it as soon as we receive the first batch of hits. The rest of the results will be added to the directory in background. https://bugzilla.gnome.org/show_bug.cgi?id=663242
* notebook: add missing part for last commitCosimo Cecchi2012-10-221-0/+1
| | | | For some reason, this got lost while rebasing.
* window-slot-dnd: handle tab switching on hover ourselvesCosimo Cecchi2012-10-221-0/+67
| | | | | | Since we handle envets manually. https://bugzilla.gnome.org/show_bug.cgi?id=635485
* bookmarks-window: don't offer to reorder or remove builtin bookmarksCosimo Cecchi2012-10-221-3/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683158
* bookmark: add nautilus_bookmark_get_is_builtin()Cosimo Cecchi2012-10-224-21/+34
| | | | | | Move the builtin check for bookmarks from the sidebar to a method on NautilusBookmark itself, since we need to use the same check in the bookmark window.
* bookmark: add nautilus_bookmark_get_xdg_type()Cosimo Cecchi2012-10-223-45/+61
| | | | Returns whether a bookmark is for a specific XDG directory.
* bookmark-list: clear state when loading operation failsCosimo Cecchi2012-10-221-0/+1
| | | | | When the load operation for the bookmark file fails (e.g. because we have no file at all), don't forget to clear the queue state.
* bookmarks-window: don't make the no bookmarks string italicCosimo Cecchi2012-10-221-7/+1
| | | | Italics are not used anymore in GNOME 3 style.
* places-sidebar: use the bookmark display nameCosimo Cecchi2012-10-224-22/+61
| | | | | | Instead of the XDG directory name; this makes name edits from the Bookmarks window apply correctly to the sidebar. Likewise, allow renaming of XDG bookmarks from the context menu.
* places-sidebar: don't add non-existent XDG bookmarksCosimo Cecchi2012-10-221-0/+11
| | | | | | | | If an XDG bookmark has been removed from ~/.config/user-dirs.dirs, or if its entry there points to an invalid directory, don't add it to the places sidebar. https://bugzilla.gnome.org/show_bug.cgi?id=645054
* window: make Bookmark this Location insensitive when it's bookmarkedCosimo Cecchi2012-10-222-0/+38
| | | | | | | If the directory is in the bookmark list already (or if it's the home directory), don't offer to bookmark it again. https://bugzilla.gnome.org/show_bug.cgi?id=327707
* bookmark-list: add a can_bookmark() methodCosimo Cecchi2012-10-222-0/+13
| | | | Using the previously added API.
* bookmark-list: change item_with_uri() API to use a GFile insteadCosimo Cecchi2012-10-223-21/+21
| | | | | Avoid GFile<->URI roundtrips if possible. Also, this will allow us to use the same API for another purpose.
* location-entry: use GFile instead of an uri for last_locationCosimo Cecchi2012-10-225-47/+37
| | | | | We will create a GFile internally and most of the times we have a GFile already, so change NautilusLocationEntry to just use a GFile too.
* mime-actions: resolve symbolic links before launching the applicationCosimo Cecchi2012-10-191-2/+10
| | | | | | | | | | We already do this for all other kind of references, and I think it makes sense to do it for symbolic links too. This also ensures applications don't have to deal with e.g. ensuring backup files are saved relative to the original file and not the symlink, as reported in https://bugzilla.gnome.org/show_bug.cgi?id=686465
* Updated Slovenian translationMatej Urbančič2012-10-201-4/+4
|
* monitor: use GSliceCosimo Cecchi2012-10-191-2/+2
|
* monitor: watch for removal of non-native mounts on GVolumeMonitorCosimo Cecchi2012-10-191-8/+49
| | | | | | | | | | | | | | Nowadays, we rely on G_FILE_MONITOR_EVENT_UNMOUNTED to be emitted when a mount disappears, since we already monitor the directory, in order to switch the view to a different location. Since non-native mounts very likely won't have file monitoring though, we're not going to receive such events in that case, and fail to redirect the view as a consequence. This patch fixes it by listening to the mount-removed signal on GVolumeMonitor when a monitor is requested for a non-native mount, and emulating a file removal in that case. https://bugzilla.gnome.org/show_bug.cgi?id=684226
* places-sidebar: always add non-native bookmarksCosimo Cecchi2012-10-191-2/+3
|
* pathbar: don't assume a mounted mount is always availableCosimo Cecchi2012-10-191-2/+6
| | | | | | We might be refreshing while the mount disappears; in that case, the pathbar will try to get a symbolic icon from a NULL mount, hitting an assertion.
* places-sidebar: simplfy setting eject iconCosimo Cecchi2012-10-191-15/+4
|
* bookmarks: remove unused methodsCosimo Cecchi2012-10-196-99/+7
|
* bookmark: simplify codeCosimo Cecchi2012-10-193-32/+4
| | | | | No need for nautilus_bookmark_copy(), when we can just g_object_ref() the object.
* shell-provider: fix an erroneous typoCosimo Cecchi2012-10-191-0/+2
| | | | Didn't mean to remove this line.
* bookmark: avoid sync I/OCosimo Cecchi2012-10-193-22/+104
|
* shell-provider: make the provider more robust to cancellationCosimo Cecchi2012-10-181-43/+38
| | | | | | | | | | | Don't assume there's only one engine running at the time, and avoid requiring state from the global app singleton in search callbacks. This fixes a crash where we would dereference NULL in the hits-added callback, since we would access it through the global app object, and self->active_search was previously cleared on cancellation. https://bugzilla.gnome.org/show_bug.cgi?id=686168
* test-search-engine: test cancellation and NautilusSearchEngineModelCosimo Cecchi2012-10-181-2/+15
| | | | | Add some code in the search engine test to verify cancellation and NautilusSearchEngine model work properly.
* search-engine-tracker: refactor search completion notificationCosimo Cecchi2012-10-181-35/+38
| | | | | | | | | | | Keep a ref to the engine while the async search is in progress. This is what all the other engines do, and not doing it causes problems when cancelling the operation. While we're at it, also refactor the completion notification code in a single function. https://bugzilla.gnome.org/show_bug.cgi?id=686168
* search-engine-model: emit finished when cancelled in-flightCosimo Cecchi2012-10-181-8/+23
| | | | | If we get stopped while the directory ready callback is pending, make sure to still emit the finished signal on the provider.
* search-engine: keep a reference to the engine while searchingCosimo Cecchi2012-10-181-3/+4
| | | | | This way, we can ensure the engine will be alive when the providers finish.
* query: always set a query location URICosimo Cecchi2012-10-182-15/+9
| | | | | It makes sense for a query object to always be relative to a specific location, so just initialize the query URI to g_get_home_dir().
* editable-label: add an input-only window for eventsCosimo Cecchi2012-10-172-6/+43
| | | | | | | | | | Add another input-only child to the parent GdkWindow's for events and imcontext. Since we will be painted in a GtkLayout, using only one input-only window won't work well with scrolling, but this way we can ensure that whatever GdkWindow the XIM engine will try to ensure native, it won't be our (floating) drawing window. https://bugzilla.gnome.org/show_bug.cgi?id=686053
* Revert "editable-label: don't use a input-output window"Cosimo Cecchi2012-10-172-36/+17
| | | | | | | This reverts commit b67360316cf975c85569527f55803cad1ea5e28e. It breaks scrolling, as explained in https://bugzilla.gnome.org/show_bug.cgi?id=686322
* editable-label: don't use a input-output windowCosimo Cecchi2012-10-152-17/+36
| | | | | | | | Use the same behavior of GtkEntry i.e. create an input only GdkWindow for the text area. This avoids the text area becoming black when it's used together with the XIM module. https://bugzilla.gnome.org/show_bug.cgi?id=686053
* application: call gtk_init() manually when doing self checksCosimo Cecchi2012-10-151-0/+2
| | | | | | | We used to do this implicitly, but 6b5ffd4e8841202d31e444358b542ffbeac516bf made it necessary to call it manually, since we avoid g_application_register() when we perform self checks.
* search: remove unused hits-subtracted signalCosimo Cecchi2012-10-156-134/+0
| | | | | Since this is never emitted, keeping the code around just makes it more complicated.