Commit fb6db20b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/config/gimpdisplayconfig.c changed the default monitor resolution to

2007-02-01  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.c
	* app/widgets/gimpwidgets-utils.c (gimp_get_screen_resolution):
	changed the default monitor resolution to 96 dpi and also use that
	as a fallback value.


svn path=/trunk/; revision=21830
parent 6072f873
2007-02-01 Sven Neumann <sven@gimp.org>
* app/config/gimpdisplayconfig.c
* app/widgets/gimpwidgets-utils.c (gimp_get_screen_resolution):
changed the default monitor resolution to 96 dpi and also use that
as a fallback value.
2007-01-31 Michael Natterer <mitch@gimp.org>
 
* app/core/gimpitem.c (gimp_item_parasite_detach): require "name"
......@@ -37,8 +37,8 @@
#include "gimp-intl.h"
#define DEFAULT_ACTIVATE_ON_FOCUS TRUE
#define DEFAULT_ACTIVATE_ON_FOCUS TRUE
#define DEFAULT_MONITOR_RESOLUTION 96.0
enum
{
......@@ -181,12 +181,12 @@ gimp_display_config_class_init (GimpDisplayConfigClass *klass)
GIMP_CONFIG_INSTALL_PROP_RESOLUTION (object_class, PROP_MONITOR_XRESOLUTION,
"monitor-xresolution",
MONITOR_XRESOLUTION_BLURB,
72.0,
DEFAULT_MONITOR_RESOLUTION,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_RESOLUTION (object_class, PROP_MONITOR_YRESOLUTION,
"monitor-yresolution",
MONITOR_YRESOLUTION_BLURB,
72.0,
DEFAULT_MONITOR_RESOLUTION,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_MONITOR_RES_FROM_GDK,
"monitor-resolution-from-windowing-system",
......
......@@ -732,10 +732,10 @@ gimp_get_screen_resolution (GdkScreen *screen,
y < GIMP_MIN_RESOLUTION || y > GIMP_MAX_RESOLUTION)
{
g_warning ("GDK returned bogus values for the screen resolution, "
"using 75 dpi instead.");
"using 96 dpi instead.");
x = 75.0;
y = 75.0;
x = 96.0;
y = 96.0;
}
/* round the value to full integers to give more pleasant results */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment