Bump to 2.2.2. Require Eel 2.2.2

2003-03-10  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	* NEWS:
	Bump to 2.2.2.
	Require Eel 2.2.2

	* libnautilus-private/nautilus-customization-data.c:
	Don't embedd reset label into the reset image.
	This drops the last user of PangoFT2.
This commit is contained in:
Alexander Larsson 2003-03-10 18:44:31 +00:00 committed by Alexander Larsson
parent f4723e980c
commit e4e171b1ae
4 changed files with 71 additions and 45 deletions

View file

@ -1,3 +1,14 @@
2003-03-10 Alexander Larsson <alexl@redhat.com>
* configure.in:
* NEWS:
Bump to 2.2.2.
Require Eel 2.2.2
* libnautilus-private/nautilus-customization-data.c:
Don't embedd reset label into the reset image.
This drops the last user of PangoFT2.
2003-03-10 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-global-preferences.c:

58
NEWS
View file

@ -1,4 +1,60 @@
This is nautilus 2.2.1. The file manager for the Gnome 2 desktop.
This is nautilus 2.2.2. The file manager for the Gnome 2 desktop.
Major changes since 2.2.1 are:
* Going back/forwards scrolls to the position you left
* Better support for Gtk+ themes on the toolbar and location bar
* Disable the "switch to manual layout" dialog
* Ctrl-dragging on a selected file doesn't de-select it
* Save the current active side pane
* Now easier to hit icons, since you can also click on the transparent
parts.
* Select the directory name for renaming when creating a new directory
* Select the base name (not extension) when renaming a file
* List view smaller zoomlevel by default
* Text view has copy to clipboard functionallity
* Padding and alignment changes in the preferences dialog
* Performance enhancement for embedded text
* The delete key now works on the desktop
* Added back the "erase" emblem to the Backgrounds & emblems dialog
* Better accessibility support for the icon view
* Refresh listview when icon theme changes
* Correct font size when renaming and not 100% zoomed view
* Remove all usage of deprecated APIs
* Use monospace font in text view
* Added 1 gigabyte pref tor max thumbnailing size
* Handle floppies and cdroms mounted outside /mnt
* Fix duplicated entries in context menu.
* Don't session manage NautilusViews
* Multi-head fixes for the preference dialog
* Leak fixes
* Fix bonobo-activation forkbomb
Major changes since 2.2.0.2 are:

View file

@ -6,7 +6,7 @@ ART_REQUIRED=2.3.10
BONOBO_ACTIVATION_REQUIRED=2.1.0
BONOBO_REQUIRED=2.1.0
BONOBO_UI_REQUIRED=2.0.0
EEL_REQUIRED=2.2.1
EEL_REQUIRED=2.2.2
ESOUND_REQUIRED=0.2.27
GLIB_REQUIRED=2
GNOME_DESKTOP_REQUIRED=2.1.0
@ -28,7 +28,7 @@ AC_SUBST(XML_REQUIRED)
dnl ===========================================================================
AM_INIT_AUTOMAKE(nautilus, 2.2.1)
AM_INIT_AUTOMAKE(nautilus, 2.2.2)
AM_CONFIG_HEADER(config.h)
AM_SANITY_CHECK

View file

@ -352,43 +352,6 @@ get_file_path_for_mode (const NautilusCustomizationData *data,
return directory_name;
}
/* utility to composite localizable text onto the reset pixbuf */
static void
add_reset_text (GdkPixbuf *pixbuf)
{
int width, height;
int h_offset, v_offset;
PangoContext *context;
PangoLayout *layout;
PangoRectangle text_extent;
PangoFontDescription *font_desc;
width = gdk_pixbuf_get_width (pixbuf);
height = gdk_pixbuf_get_height (pixbuf);
font_desc = pango_font_description_from_string ("Mono");
context = eel_pango_ft2_get_context ();
layout = pango_layout_new (context);
g_object_unref (context);
pango_layout_set_text (layout, _("reset"), -1);
pango_layout_set_font_description (layout, font_desc);
pango_font_description_free (font_desc);
text_extent = eel_pango_layout_fit_to_dimensions (
layout, width - 12, -1);
/* compute text position, correcting for the imbalanced shadow, etc. */
h_offset = ((width - text_extent.width) / 2) - 2;
v_offset = (((height - 8)/ 2) - text_extent.height) / 2;
eel_gdk_pixbuf_draw_layout (pixbuf,
h_offset, v_offset,
EEL_RGBA_COLOR_OPAQUE_WHITE,
layout);
g_object_unref (layout);
}
/* utility to make an attractive pattern image by compositing with a frame */
GdkPixbuf*
@ -425,10 +388,6 @@ nautilus_customization_make_pattern_chit (GdkPixbuf *pattern_tile, GdkPixbuf *fr
g_object_unref (pattern_tile);
if (is_reset) {
add_reset_text (pixbuf);
}
return pixbuf;
}
@ -444,7 +403,7 @@ format_name_for_display (NautilusCustomizationData *data, const char* name)
/* don't display a name for the "reset" property, since its name is
contained in its image and also to help distinguish it */
if (!eel_strcmp(name, RESET_IMAGE_NAME)) {
return g_strdup("");
return g_strdup(_("reset"));
}
/* map file names to display names using the mappings defined in the hash table */