Commit graph

16338 commits

Author SHA1 Message Date
Praveen Illa
9832741667 Updated Telugu Translation 2012-05-14 11:45:07 +05:30
Cosimo Cecchi
cfb7befb90 dnd: remove commented out code
This code has been commented out for a long time.
2012-05-09 09:53:37 -04:00
Cosimo Cecchi
270ffdfa13 window-manage-views: don't call methods on a NULL NautilusFile
In got_file_info_for_view_selection_callback(), we unconditionally try
to fetch information for the parent directory in case the selection is a
regular file, but we should avoid doing that when the file has no
parent, such as when it's the root of a web server.

https://bugzilla.gnome.org/show_bug.cgi?id=675259
2012-05-08 17:01:21 -04:00
Cosimo Cecchi
bff5894f3f file: add note to the list of excluded metadata emblems
This also slightly changes the behavior for emblems added by an
extension: before the patch they were subject to the same exclusion
list of metadata keywords. Now they are added unconditionally, since we
assume an extension knows better and will always want the emblem list it
sets properly displayed.
2012-05-08 12:05:43 -04:00
Cosimo Cecchi
151a96add6 file: don't automatically prepend a note emblem for annotated files
Since we don't support editing notes in the UI anymore, it doesn't make
sense to display a note emblem when the file is annotated.
2012-05-08 12:05:43 -04:00
Cosimo Cecchi
244b0c2896 file: make nautilus_file_get_keywords() private
No need to export this, since the only caller is inside nautilus-file.c
2012-05-08 12:05:43 -04:00
Cosimo Cecchi
61d09c72b0 all: compute emblem names to ignore automatically
Consolidate identical code that builds a list of emblems to ignore
inside nautilus_file_get_emblem_icons()
2012-05-08 12:05:43 -04:00
Cosimo Cecchi
7cf92f0de3 file: remove dead code
TRASH_FAST_ENOUGH is never defined
2012-05-08 12:05:43 -04:00
Åsmund Skjæveland
a8a4eb7336 Updated Norwegian Nynorsk translation 2012-05-08 14:26:44 +02:00
Åsmund Skjæveland
a693756f70 Updated Norwegian Nynorsk translation 2012-05-08 14:25:39 +02:00
Cosimo Cecchi
32def10c7b x-content-bar: pack the media label in the content area
Instead of just packing it into the GtkInfoBar's box, since that will
put it after the buttons of the action area.

https://bugzilla.gnome.org/show_bug.cgi?id=670129
2012-05-07 18:07:37 -04:00
Cosimo Cecchi
7f762ed76a places-sidebar: disallow context menus for sidebar headings
We already make them non-selectable - there's no point in having a menu
for headings here.

https://bugzilla.redhat.com/show_bug.cgi?id=819404
2012-05-07 14:24:08 -04:00
Kalev Lember
db0b28fd8e icon-container: Fix the build with self tests disabled 2012-05-07 18:18:02 +03:00
Cosimo Cecchi
5e26371335 places-sidebar: don't double unref GMount objects
Fixes a lot of reported crashers with NFS/Samba volumes.

https://bugzilla.gnome.org/show_bug.cgi?id=674659
2012-05-04 14:38:43 -04:00
Cosimo Cecchi
c1400ff4f1 release: prepare for 3.5.1 2012-04-30 17:46:23 -04:00
Cosimo Cecchi
d2b62cce99 bookmarks-window: fix wrong include path 2012-04-30 17:46:23 -04:00
Cosimo Cecchi
7eab8fc964 build: add nautilus-app-menu.ui to EXTRA_DIST
Needed for distcheck.
2012-04-30 17:42:28 -04:00
Cosimo Cecchi
377349ba19 editable-label: don't use deprecated gtk_draw_insertion_cursor()
Replace the calls with gtk_render_insertion_cursor()
2012-04-30 10:43:29 -04:00
Cosimo Cecchi
e098781b3e bookmark-list: make sure to avoid sync I/O while loading/saving
Last patch introduces sync I/O in the load and save paths; avoid that by
explicitly using separate threads for saving and loading, thanks to
g_simple_async_result_run_in_thread().
2012-04-30 10:17:24 -04:00
William Jon McCann
ed90577118 Use new GTK bookmarks location
If it doesn't exist fallback to reading from the old location but
always write to the new location.

https://bugzilla.gnome.org/show_bug.cgi?id=674986
2012-04-30 10:17:24 -04:00
Kjartan Maraas
4b23fe542a Added Norwegian bokmål translation 2012-04-30 12:46:37 +02:00
Cosimo Cecchi
875efc324f pathbar: remove unused code
The path-set signal has no listeners connected anymore, so it can be
safely removed.
2012-04-29 17:42:52 -04:00
Cosimo Cecchi
cfa51e6702 window-pane: use the path-event signal from NautilusPathBar
Simplifies code quite a bit.
2012-04-29 17:42:21 -04:00
Cosimo Cecchi
e1ad3c05a6 pathbar: add a path-event signal
This will be useful to remove some hairy code from NautilusWindowPane
2012-04-29 17:42:17 -04:00
Cosimo Cecchi
6432c95e61 pathbar: remove fake root attributes
We currently allow going up from Home towards the filesystem root with a
little back arrow; in the code this is implemented by keeping track of an
additional fake root.
Since we want to change the pathbar not to show the back arrow anymore
in such cases, remove this code (and refactor other pieces of code
around it).

https://bugzilla.gnome.org/show_bug.cgi?id=619616
2012-04-29 16:56:20 -04:00
Cosimo Cecchi
aabb468c1f pathbar: simplify code 2012-04-27 15:07:42 -04:00
Cosimo Cecchi
572a55bf6f pathbar: use nautilus_is_[home/root/desktop]_directory()
Instead of having a separate check.
2012-04-27 15:07:42 -04:00
Cosimo Cecchi
74f748e6b2 pathbar: use a private struct 2012-04-27 15:07:42 -04:00
Sebastien Bacher
84e0604672 update ZERO_OR_THREE_DIGITS define to work as intended
https://bugzilla.gnome.org/show_bug.cgi?id=674924
2012-04-27 15:02:55 -04:00
Cosimo Cecchi
c039b03590 all: fix some issues highlighted by static analysis
Thanks to Jasper for the clang scanner tricks.
2012-04-27 15:02:00 -04:00
Cosimo Cecchi
cc479264e5 places-sidebar: trivial cleanup 2012-04-27 15:02:00 -04:00
Fran Diéguez
26951b5a8c Updated Galician translations 2012-04-27 17:00:53 +02:00
Daniel Mustieles
51955c9bc0 Updated Spanish translation 2012-04-27 12:59:32 +02:00
Yaron Shahrabani
3c8e7faca2 Updated Hebrew translation. 2012-04-27 02:59:40 +03:00
Cosimo Cecchi
5ab3050f22 all: remove desktop-is-home-dir GSetting preference
These days, still having the desktop in Nautilus is alone questionable;
having an additional option to make the desktop be the home directory is
even weirder (and kind of redundant, since the user can control that
with XDG dirs already).

https://bugzilla.gnome.org/show_bug.cgi?id=469614
2012-04-26 15:24:28 -04:00
Cosimo Cecchi
042b7990ac file-utilities: remove custom inhibit/unhibit methods
We use GtkApplication now for this.
2012-04-26 15:17:23 -04:00
Cosimo Cecchi
8468037daa file-operations: use gtk_application_inhibit/uninhibit()
Instead of our custom code that does the same thing.
2012-04-26 15:17:23 -04:00
Cosimo Cecchi
e76c79022d file-utilities: remove unused code 2012-04-26 15:17:23 -04:00
Cosimo Cecchi
2666fe27cb view: use 0700 as permission mask to create scripts directory 2012-04-26 12:17:32 -04:00
Cosimo Cecchi
8d3289d3f5 window: propagate key events to GtkEditables early
Even when we're not renaming, process events for focused GtkEditables
before activating the menu accels and mnemonics.

https://bugzilla.gnome.org/show_bug.cgi?id=619529
2012-04-26 12:03:51 -04:00
William Jon McCann
05e7b7cc4d Migrate .gnome2 scripts dir to use XDG data dir
https://bugzilla.gnome.org/show_bug.cgi?id=646584
2012-04-26 09:08:33 -04:00
William Jon McCann
5c17044597 Don't trust .desktop files in .gnome2
gnome-panel no longer stores files there.

https://bugzilla.gnome.org/show_bug.cgi?id=646584
2012-04-26 09:08:33 -04:00
William Jon McCann
b3fc292bce Remove gtk accel map functionality
https://bugzilla.gnome.org/show_bug.cgi?id=646584
2012-04-26 09:08:33 -04:00
Yaron Shahrabani
e222a23034 Updated Hebrew translation. 2012-04-26 15:28:13 +03:00
Cosimo Cecchi
6fb160ab90 window-menus: hide "Help" menu when using an application menu
It doesn't make a lot of sense to keep it with a list of entries like that
without "All Topics", which is now in the application menu; so hide it
entirely in such a case.
2012-04-25 13:30:52 -04:00
Cosimo Cecchi
de011cd078 window-menus: activate GActions when possible
For actions that have a corresponding GAction available, activate them
instead of duplicating activation code.
2012-04-25 13:24:54 -04:00
Cosimo Cecchi
65bb4c9fb1 application: don't handle the singleton ourselves
Since GIO has g_application_get_default() now, there's no need to keep
track of the singleton ourselves.
Remove the _get_singleton() method from NautilusApplication.
2012-04-25 13:24:54 -04:00
Cosimo Cecchi
011cae0512 all: use g_application_get_default()
Instead of nautilus_application_get_singleton()
2012-04-25 13:24:54 -04:00
Cosimo Cecchi
7d7d92a315 application: remove unused code
Just activate the GAction when the menu item is clicked.
2012-04-25 13:19:41 -04:00
Cosimo Cecchi
3c629b5281 window-menus: hide "Close All Windows" when the app menu is showing
Since it's the same as our "Quit" option.
2012-04-25 13:05:13 -04:00