summaryrefslogtreecommitdiff
path: root/src/nautilus-sidebar.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-02-22 02:37:02 +0000
committerDarin Adler <darin@src.gnome.org>2001-02-22 02:37:02 +0000
commit35992826e91fcd2bd1dc085d56653863f93ce954 (patch)
tree64f140d6223066081cdd78b60b39bf88fed096a2 /src/nautilus-sidebar.c
parentdd91ac6136cf4315a7e0041466e532f7e6502c87 (diff)
downloadnautilus-35992826e91fcd2bd1dc085d56653863f93ce954.tar.gz
reviewed by: Mike Engber <engber@eazel.com>
Fixed bug 6839 (Nautilus crashes with a segmentation fault when clicking Edit->Nautilus Themes). * src/nautilus-theme-selector.c: (get_theme_description_and_display_name): Make a bad URI be non-fatal (not really needed for bug fix). (populate_list_with_themes): Pass the URI for the URI parameter, not the local path. Other stuff. * src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons): Added a FIXME to some questionable code.
Diffstat (limited to 'src/nautilus-sidebar.c')
-rw-r--r--src/nautilus-sidebar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-sidebar.c b/src/nautilus-sidebar.c
index 4e3a31511..d66d7a23d 100644
--- a/src/nautilus-sidebar.c
+++ b/src/nautilus-sidebar.c
@@ -1386,6 +1386,7 @@ nautilus_sidebar_update_buttons (NautilusSidebar *sidebar)
/* here is a hack to provide an "empty trash" button when displaying the trash. Eventually, we
* need a framework to allow protocols to add commands buttons */
if (nautilus_istr_has_prefix (sidebar->details->uri, "trash:")) {
+ /* FIXME: We don't use spaces to pad labels! */
temp_button = gtk_button_new_with_label (_(" Empty Trash "));
gtk_box_pack_start (GTK_BOX (sidebar->details->button_box),
temp_button, FALSE, FALSE, 0);