comparison src/pan-view.c @ 1513:c9ed5a43c576

dropped show_copy_path option
author nadvornik
date Sat, 04 Apr 2009 22:09:50 +0000
parents b106af9689db
children 24a12aa0cb54
comparison
equal deleted inserted replaced
1512:0a1266bde95b 1513:c9ed5a43c576
2826 G_CALLBACK(pan_move_cb), pw); 2826 G_CALLBACK(pan_move_cb), pw);
2827 menu_item_add_sensitive(menu, _("_Rename..."), active, 2827 menu_item_add_sensitive(menu, _("_Rename..."), active,
2828 G_CALLBACK(pan_rename_cb), pw); 2828 G_CALLBACK(pan_rename_cb), pw);
2829 menu_item_add_stock_sensitive(menu, _("_Delete..."), GTK_STOCK_DELETE, active, 2829 menu_item_add_stock_sensitive(menu, _("_Delete..."), GTK_STOCK_DELETE, active,
2830 G_CALLBACK(pan_delete_cb), pw); 2830 G_CALLBACK(pan_delete_cb), pw);
2831 if (options->show_copy_path) 2831 menu_item_add_sensitive(menu, _("_Copy path"), active,
2832 menu_item_add_sensitive(menu, _("_Copy path"), active, 2832 G_CALLBACK(pan_copy_path_cb), pw);
2833 G_CALLBACK(pan_copy_path_cb), pw);
2834 2833
2835 menu_item_add_divider(menu); 2834 menu_item_add_divider(menu);
2836 item = menu_item_add_check(menu, _("Sort by E_xif date"), pw->exif_date_enable, 2835 item = menu_item_add_check(menu, _("Sort by E_xif date"), pw->exif_date_enable,
2837 G_CALLBACK(pan_exif_date_toggle_cb), pw); 2836 G_CALLBACK(pan_exif_date_toggle_cb), pw);
2838 gtk_widget_set_sensitive(item, (pw->layout == PAN_LAYOUT_TIMELINE || pw->layout == PAN_LAYOUT_CALENDAR)); 2837 gtk_widget_set_sensitive(item, (pw->layout == PAN_LAYOUT_TIMELINE || pw->layout == PAN_LAYOUT_CALENDAR));