Commit graph

16322 commits

Author SHA1 Message Date
Cosimo Cecchi
04fc9452e1 notebook: remove unused prototypes 2012-07-11 16:52:02 -04:00
Cosimo Cecchi
ac78104225 view: add a shadow to the view when not showing tabs
When we are showing tabs, the notebook will take care of drawing a
border around the view.
When there is only one view, since we disable tabs from the notebook,
the view needs to draw a shadow instead, or we won't draw any shadow at
all. In the past this wasn't a problem because the toolbar used to draw
a stroke for us.
2012-07-11 16:32:45 -04:00
Cosimo Cecchi
888d712d78 window: only emit slot-removed after it has been removed from the list
Or a call to nautilus_window_get_slots() in the callback for
slot-removed would still report the old slot.
2012-07-11 16:28:03 -04:00
William Jon McCann
382b59d06e Use a delete action for backends that don't support trash 2012-07-11 12:31:10 -04:00
William Jon McCann
b1c9273758 Move getting xdg user directories icons into the sidebar
Since it is the only place it is used or needed.
2012-07-11 10:57:47 -04:00
William Jon McCann
f0e28d7fa0 Use symbolic icons for the sidebar and bookmarks 2012-07-11 10:52:09 -04:00
William Jon McCann
5b495db06a Don't try to update the icon as the file loads
We would like bookmark icons to be stable and this doesn't work
at all with using symbolic icons for bookmarks.
2012-07-11 10:49:39 -04:00
William Jon McCann
6be7b953a0 Use GIcons in pathbar
This allow it to work with symbolic icons
2012-07-11 10:43:33 -04:00
William Jon McCann
c33a5e6e10 Use GIcons for places instead of pixbufs
This will allow us to use symbolic icons
2012-07-11 10:43:33 -04:00
William Jon McCann
1974f86b8f Revert "window-slot: simplify code"
This reverts commit 79e915b6fa.

See https://bugzilla.gnome.org/show_bug.cgi?id=679640
2012-07-11 10:42:34 -04:00
William Jon McCann
1db7630091 Make eject icon invert when selected
https://bugzilla.gnome.org/show_bug.cgi?id=679292
2012-07-10 20:41:58 -04:00
Yaron Shahrabani
e48b4942b7 Updated Hebrew translation. 2012-07-10 23:04:57 +03:00
William Jon McCann
338091bd0f Add locations for open windows to the destination selection dialog
These locations are identified as interesting by the fact that they
are in use and it makes sense to offer them as quick options for
explicit copies and moves.

https://bugzilla.gnome.org/show_bug.cgi?id=679580
2012-07-10 10:30:23 -04:00
Kjartan Maraas
5c06328bc1 Updated Norwegian nynorsk translation 2012-07-10 15:34:16 +02:00
William Jon McCann
5db3b0eb7d Add every window to its own window group
This prevents window modal dialogs from blocking the entire app.

https://bugzilla.gnome.org/show_bug.cgi?id=443785
2012-07-10 09:10:39 -04:00
Kjartan Maraas
ff2958cbba Updated Norwegian bokmål translation 2012-07-10 08:02:26 +02:00
Cosimo Cecchi
e355ec66f5 toolbar: ensure square buttons on the toolbar
Since we use symbolic 16px icons inside tool buttons, we should make
sure they still get a square aspect, and buttons of the right size.

As we create the contents of our tool buttons manually, ensure this
by setting a margin on the tool button's GtkImage, sized as the
difference in pixels between the icon we render and the icon size
expected by GtkToolbar.
2012-07-09 14:51:30 -04:00
Fran Diéguez
15ba152899 Updated Galician translations 2012-07-09 15:41:16 +02:00
Cosimo Cecchi
dc34668f1f toolbar: don't unref the GtkUIManager
Since we don't own any references to it.
2012-07-07 16:59:16 -04:00
Daniel Mustieles
a5c988408a Updated Spanish translation 2012-07-06 12:25:35 +02:00
Khaled Hosny
c52b08d152 Updated Arabic translation 2012-07-05 02:54:47 +02:00
William Jon McCann
ae8e78ba4b Fix some compiler warnings 2012-07-03 11:17:56 -04:00
William Jon McCann
8feb022894 Add an explicit way to move and copy files
Use the file chooser to select a destination directory.

https://bugzilla.gnome.org/show_bug.cgi?id=679298
2012-07-03 11:17:56 -04:00
William Jon McCann
aeb13f6c46 Enable more warnings for git builds
And turn off Werror
2012-07-03 09:51:33 -04:00
Cosimo Cecchi
1366373ceb pathbar: fix set_label_size_request() for no-label buttons
It's convenient to just call this in a loop on the button data, so just
return if there's no label to set the size request for.
2012-07-02 19:04:15 -04:00
William Jon McCann
fb977bd42a Reorganize sidebar according to mockups
* put built in items at the top so they are stable
 * move file system item into Devices section
 * use pretty hostname instead of File System

https://bugzilla.gnome.org/show_bug.cgi?id=679278
2012-07-02 18:58:01 -04:00
William Jon McCann
c60a9a7b6c Remove stray compact mode option 2012-07-02 18:58:01 -04:00
William Jon McCann
d055c6f58b Don't scale text size when zooming
We have a separate way of scaling text size.
2012-07-02 18:58:01 -04:00
William Jon McCann
7b9212cef4 Don't show open with for folders
The only thing that handles this by default is nautilus. The
same effect is better done through select all in a folder.
2012-07-02 18:58:01 -04:00
William Jon McCann
7d869c0fd4 Use the open with submenu when there are multiple options
Put all extra apps in the open with submenu.
2012-07-02 18:58:01 -04:00
William Jon McCann
b69528fb50 Make stop and reload orthogonal
Don't show stop when it is ineffective and don't show reload
when stop needs to be shown.
2012-07-02 18:58:00 -04:00
William Jon McCann
3c3d278fe5 Don't show a titlebar when maximized
https://bugzilla.gnome.org/show_bug.cgi?id=676531
2012-07-02 18:58:00 -04:00
William Jon McCann
faf646539d Migrate menu bar to a view menu button
https://bugzilla.gnome.org/show_bug.cgi?id=676531
2012-07-02 18:58:00 -04:00
William Jon McCann
2c3191c5b6 Remove the Go menu
https://bugzilla.gnome.org/show_bug.cgi?id=676531
2012-07-02 18:58:00 -04:00
Cosimo Cecchi
4d2c8c1ad1 view: don't update undo actions for inactive views
If the view is not active, our menus are not merged in, so we shouldn't
try to update the relative actions underway, as they're not in the
action group.

This fixes crashers/warnings when doing a file operation with more than
one view open.
2012-07-02 12:59:00 -04:00
Cosimo Cecchi
67322ddefe view: consolidate menu update code
Remove an useless callback and ensure all the global changes go trough
the menu update queue.
2012-07-02 12:59:00 -04:00
Daniel Mustieles
ac5b66ffa0 Updated Spanish translation 2012-07-02 17:30:35 +02:00
Tom Tryfonidis
11b2e5a0a5 Updated Greek translation 2012-07-01 23:51:22 +03:00
Cosimo Cecchi
cceb760e84 pathbar: implement get_path_for_child()
Implementation taken from GtkPathBar
2012-06-30 17:52:15 -04:00
William Jon McCann
4583f7bc0c Use a more GNOME 3 toolbar layout
https://bugzilla.gnome.org/show_bug.cgi?id=676531
2012-06-30 12:32:52 -04:00
William Jon McCann
ef467c8775 Use a list model instead of a tree model
It is the list view after all. Tree models don't work well on
touch and it isn't consistent with the file chooser.

https://bugzilla.gnome.org/show_bug.cgi?id=676531
2012-06-30 12:32:51 -04:00
William Jon McCann
6aac88928b Remove text besides icons mode for icon view
This doesn't really work well, it is inconsistent with the file chooser,
isn't use anywhere else in GNOME, and we want to enhance the list
view to cover this case.

https://bugzilla.gnome.org/show_bug.cgi?id=676531
2012-06-30 12:32:51 -04:00
William Jon McCann
d228c0e721 Fix display sizing of name column
https://bugzilla.gnome.org/show_bug.cgi?id=676898
2012-06-30 12:32:51 -04:00
William Jon McCann
367f01a9cd Use better column names
https://bugzilla.gnome.org/show_bug.cgi?id=676898
2012-06-30 12:32:51 -04:00
William Jon McCann
73465be367 Remove date format settings
https://bugzilla.gnome.org/show_bug.cgi?id=676898
2012-06-30 12:32:51 -04:00
William Jon McCann
3fd9cba41e Improve date display
https://bugzilla.gnome.org/show_bug.cgi?id=676898
2012-06-30 12:32:51 -04:00
Cosimo Cecchi
222d31a98b query-editor: don't set special style classes on query editor labels
We make bold by default using Pango and we don't need any other special
theming for these.
2012-06-27 02:43:21 -04:00
Matej Urbančič
5a761a3725 Updated Slovenian translation 2012-06-26 09:29:02 +02:00
Cosimo Cecchi
53d6749af1 release: prepare for 3.5.3 2012-06-25 13:53:24 -04:00
Cosimo Cecchi
d808c2d08e pathbar: fix unwanted ellipsizing in buttons with certain themes
Themes can nowadays set padding on GtkLabel widgets (e.g. Ambiance and
Radiance do this for labels in primary toolbar buttons). This breaks our
hack to force a size request for the pathbar labels, since we measure
the PangoLayout directly instead of measuring the GtkLabel it's part of
(which includes the border/padding values from the theme).

Fix this by measuring the size requisition of GtkLabel directly; for
this to work effectively, we need to pack an (invisible) additional
label in the button GtkBox, always set the text to both labels and
update the requisition of the non-bold one to
MIN(MAX_POSSIBLE_WIDTH, MAX (width, bold_width)) every time a
size-request cycle is called.

https://bugzilla.gnome.org/show_bug.cgi?id=678341
2012-06-25 13:30:46 -04:00