Cosimo Cecchi
215f9cff68
view: don't connect to NautilusWindow signals
...
Since the window of the slot can change, we don't want to connect
signals from the view to the window.
We only connect to NautilusWindow signals for two reasons:
- updating the shadow type of the content view when the number of tabs
in the notebook changes
- following the hidden-files-changed signal
Since the first is really a hack, it can live in NautilusWindow itself
To implement the second, move the Show Hidden Files action to the view
action group, and handle hidden files action changes completely in the
view.
2012-08-31 23:00:48 -04:00
Cosimo Cecchi
0de1d3fe10
notebook: make tabs detachable
...
Implement support for detaching a tab with DnD.
https://bugzilla.gnome.org/show_bug.cgi?id=562583
2012-08-31 22:57:36 -04:00
Cosimo Cecchi
2b62d950b0
window: make notebook-removal in close_slot() optional
...
In preparation for the next commit.
2012-08-31 22:57:36 -04:00
Cosimo Cecchi
109d00336b
window: remove redundant code
...
We already do this check in NautilusNotebook's remove implementation.
2012-08-31 22:57:36 -04:00
Cosimo Cecchi
1f9a07a1c3
window-slot: allow setting the window after construction
...
Turn the window construct-only property into a construct property, and
add a setter method.
2012-08-31 22:57:36 -04:00
Cosimo Cecchi
f56098a6d2
application: remove unused defines
2012-08-31 22:57:36 -04:00
Cosimo Cecchi
34d087390c
slot: remove unused method
...
This method was used to make the window panes active on focus click, but
it's not needed anymore.
2012-08-31 22:57:36 -04:00
Cosimo Cecchi
7643a28eb1
pathbar: clear buttons directly when file is gone
...
Instead of having the code in nautilus-window-manage-views clear the
pathbar, since it receives the same signal, handle it internally. This
should make code more robust.
2012-08-31 22:56:58 -04:00
Cosimo Cecchi
0a4aa51224
view: do not store a pointer to NautilusWindow
...
Instead, use nautilus_view_get_ui_manager() and
nautilus_view_get_window(), and turn the checks on window != NULL to
slot != NULL.
This is needed in preparation for detachable tabs; since the window for
a given slot might change underway then, avoid staying out of sync by
not storing a pointer to the window.
2012-08-31 22:54:31 -04:00
Bruce Cowan
36fb4cb670
Updated British English translation
2012-09-01 01:30:39 +01:00
Fran Diéguez
6055e14511
Updated Galician translations
2012-09-01 02:19:25 +02:00
Khaled Hosny
621bc5e4e7
Updated Arabic translation
2012-09-01 00:44:12 +02:00
William Jon McCann
0852847e26
Don't try to close the window when a mount goes away
...
Go to home instead.
https://bugzilla.gnome.org/show_bug.cgi?id=666985
2012-08-31 16:44:55 -04:00
William Jon McCann
c8b27b3b8b
Add paste and location properties to the gear menu
...
So that we have everything there that we used to have in the
now harder to get to "background" menu.
https://bugzilla.gnome.org/show_bug.cgi?id=667386
2012-08-31 16:44:55 -04:00
William Jon McCann
88f9c3cc46
Remove duplicate view items from the background menu
...
https://bugzilla.gnome.org/show_bug.cgi?id=667386
2012-08-31 16:44:55 -04:00
Cosimo Cecchi
1aab9dc4bd
list-view: remove context-menu on blank space
...
https://bugzilla.gnome.org/show_bug.cgi?id=667386
2012-08-31 16:44:54 -04:00
William Jon McCann
9455df5c19
Update directory size in properties when it changes
...
https://bugzilla.gnome.org/show_bug.cgi?id=342670
2012-08-31 16:44:54 -04:00
Cosimo Cecchi
9369787415
preferences: remove double label in List Column tab
...
The label on the tab itself is enough, no need to repeat the heading
again.
https://bugzilla.gnome.org/show_bug.cgi?id=683071
2012-08-31 15:54:37 -04:00
Piotr Drąg
e68d1da4e7
Updated Polish translation
2012-08-31 21:51:04 +02:00
Cosimo Cecchi
c68a487c8f
floating-bar: ellipsize the filename separately from the details
...
This patch does three things:
- It adds API to the floating bar to have primary and details labels
instead of a single label. The primary label is ellipsized separately
from the details, so it makes a good fit for a filename.
- Modifies the code setting status messages in NautilusView to split
them into two separate strings
- Removes obsolete code in NautilusView and NautilusWindowSlot that was
setting long statuses for the old non-floating statusbar
https://bugzilla.gnome.org/show_bug.cgi?id=660695
2012-08-31 15:20:51 -04:00
Fran Diéguez
9082b6b578
Updated Galician translations
2012-08-31 20:50:54 +02:00
Cosimo Cecchi
5dd2e1f974
slot: make the NautilusWindow a construct property
...
Instead of setting it in _new(). This makes code more robust.
2012-08-31 12:51:42 -04:00
Cosimo Cecchi
d9ef715ea1
file: use a frame around custom icons
...
Make it consistent with the appearance of thumbnails.
https://bugzilla.gnome.org/show_bug.cgi?id=524392
2012-08-31 12:25:43 -04:00
Cosimo Cecchi
17f17214a6
ui-utilities: move nautilus_thumbnail_frame_image() here
...
So that we can use it also for custom icons.
Also, merge some icon size checks into the function itself.
2012-08-31 12:25:18 -04:00
Piotr Drąg
40aed38d59
Updated Polish translation
2012-08-31 15:37:18 +02:00
Tom Tryfonidis
ad1bd22877
Updated Greek translation
2012-08-31 13:49:39 +03:00
Dr.T.Vasudevan
1f6ab21700
updated Tamil translation
2012-08-31 14:23:57 +05:30
Cosimo Cecchi
ce90a4e1a0
views: make sure to set the right zoom level at startup
...
Otherwise we won't size correctly the rows or the icons in the grid,
since we don't set it anymore in begin_loading().
https://bugzilla.gnome.org/show_bug.cgi?id=683075
2012-08-30 21:32:27 -04:00
William Jon McCann
173940ac28
Use 24 hour date format when requested
...
https://bugzilla.gnome.org/show_bug.cgi?id=680234
2012-08-30 17:25:30 -04:00
William Jon McCann
94967e5af4
Don't allow multiline filenames
...
https://bugzilla.gnome.org/show_bug.cgi?id=683059
2012-08-30 16:46:16 -04:00
Cosimo Cecchi
8a6f915d16
build: require glib master
...
For the latest symbolic icons API.
2012-08-30 13:56:46 -04:00
Cosimo Cecchi
d4f7b566e9
view: stale action cleanup
...
Forgot to remove this in commit ef23f8794c
2012-08-30 13:39:21 -04:00
Piotr Drąg
7b97ad32b1
Updated Polish translation
2012-08-30 18:15:11 +02:00
William Jon McCann
b5c79d26b8
Use symbolic icons in the sidebar
...
https://bugzilla.gnome.org/show_bug.cgi?id=681457
2012-08-30 11:34:55 -04:00
Cosimo Cecchi
3004852518
view: remove code for the unused Duplicate action
...
We don't have this action anymore in the context menu; remove the
associated code.
2012-08-30 09:28:48 -04:00
Cosimo Cecchi
ef23f8794c
view: remove unused Connect To Server Link action
...
This was supposed to be used with "nautilus links", which is a feature
we don't have anymore. In fact, the code was commented out since the GIO
transition, and is basically unused.
Remove it completely.
2012-08-30 09:07:16 -04:00
Cosimo Cecchi
133db53143
view: add back the Create Link action to the context menu
...
This was lost during the menu reorganization.
https://bugzilla.gnome.org/show_bug.cgi?id=682838
2012-08-30 09:02:44 -04:00
Ihar Hrachyshka
3e15c17e9b
Updated Belarusian translation.
2012-08-30 15:52:37 +03:00
Cosimo Cecchi
a4ecbd076f
Remove unnecessary gdk_threads_enter/leave calls
...
Since we don't ever call gdk_threads_init()
2012-08-30 08:48:03 -04:00
William Jon McCann
ef25261edd
Make sure the file is trashable before offering to move to Trash
...
https://bugzilla.gnome.org/show_bug.cgi?id=154478
2012-08-30 08:46:32 -04:00
Fran Diéguez
159c086cc1
Updated Galician translations
2012-08-30 03:53:20 +02:00
William Jon McCann
b96e70d89e
Don't initialize the desktop link monitor when it isn't needed
2012-08-29 14:43:51 -04:00
Cosimo Cecchi
c3c9fa607b
bookmarks-window: make this a real GtkWindow subclass
...
This was long overdue, and in addition to making the whole code a
little cleaner, it also allows us to disconnect signals from objects
that outlive the window in dispose() (such as NautilusBookmarkList).
This also fixes the crasher reported in
https://bugzilla.gnome.org/show_bug.cgi?id=682916
2012-08-29 11:59:22 -04:00
Cosimo Cecchi
b9f26a571f
window: never sync the View As actions for the desktop
...
Since doing so can set a view_id != NAUTILUS_DESKTOP_CANVAS_VIEW_ID to
its view, which will have bad consequences (i.e. a crash) when
finalizing the views at application quit.
This commit fixes it by making sync_view_as_menus an overriddable class
method.
2012-08-28 17:33:10 -04:00
Piotr Drąg
34c7916d7d
Updated POTFILES.in
2012-08-28 21:50:53 +02:00
William Jon McCann
874f69f244
Set a better file display name by default
...
https://bugzilla.gnome.org/show_bug.cgi?id=524116
2012-08-28 13:46:25 -04:00
William Jon McCann
4047e53197
Try to store names for bookmarked uris
...
https://bugzilla.gnome.org/show_bug.cgi?id=524116
2012-08-28 13:46:25 -04:00
Kjartan Maraas
b49e144e37
Updated Norwegian bokmål translation
2012-08-28 07:55:21 +02:00
William Jon McCann
88e353645d
Use action defines instead of text
...
This makes them easier to grep for and change.
2012-08-27 16:51:37 -04:00
Nilamdyuti Goswami
5c545b23d7
Implemented FUEL entries to Assamese translation
2012-08-28 00:40:40 +05:30