summaryrefslogtreecommitdiff
path: root/src/nautilus-window-slot.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-08-31 15:14:35 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-08-31 15:20:51 -0400
commitc68a487c8faaad3afede2b6454f0c1f5a006de0a (patch)
tree36866a90b4e737a563f7501adc2cfc4539d026c5 /src/nautilus-window-slot.h
parent9082b6b5788a77ade30882e309358e395de7580a (diff)
downloadnautilus-c68a487c8faaad3afede2b6454f0c1f5a006de0a.tar.gz
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
Diffstat (limited to 'src/nautilus-window-slot.h')
-rw-r--r--src/nautilus-window-slot.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nautilus-window-slot.h b/src/nautilus-window-slot.h
index b55a419d2..ea91752eb 100644
--- a/src/nautilus-window-slot.h
+++ b/src/nautilus-window-slot.h
@@ -81,7 +81,6 @@ struct NautilusWindowSlot {
/* Current location. */
GFile *location;
char *title;
- char *status_text;
NautilusFile *viewed_file;
gboolean viewed_file_seen;
@@ -164,8 +163,8 @@ void nautilus_window_slot_set_viewed_file (NautilusWindowSlot *slot,
void nautilus_window_slot_set_allow_stop (NautilusWindowSlot *slot,
gboolean allow_stop);
void nautilus_window_slot_set_status (NautilusWindowSlot *slot,
- const char *status,
- const char *short_status);
+ const char *primary_status,
+ const char *detail_status);
void nautilus_window_slot_add_extra_location_widget (NautilusWindowSlot *slot,
GtkWidget *widget);