forked from AuroraMiddleware/gtk
Reinstate the ruler metrics strings, since they are used by glade, pointed
2006-05-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkruler.c: Reinstate the ruler metrics strings, since they are used by glade, pointed out by Damon Chaplin.
This commit is contained in:
parent
d8f1ce735c
commit
de7cc34dde
@ -1,3 +1,8 @@
|
||||
2006-05-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkruler.c: Reinstate the ruler metrics strings, since
|
||||
they are used by glade, pointed out by Damon Chaplin.
|
||||
|
||||
2006-05-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c:
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-05-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkruler.c: Reinstate the ruler metrics strings, since
|
||||
they are used by glade, pointed out by Damon Chaplin.
|
||||
|
||||
2006-05-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c:
|
||||
|
@ -57,9 +57,9 @@ static void gtk_ruler_get_property (GObject *object,
|
||||
|
||||
static const GtkRulerMetric ruler_metrics[] =
|
||||
{
|
||||
{ NULL, NULL, 1.0, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
|
||||
{ NULL, NULL, 72.0, { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 }, { 1, 2, 4, 8, 16 }},
|
||||
{ NULL, NULL, 28.35, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
|
||||
{ "Pixel", "Pi", 1.0, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
|
||||
{ "Inches", "In", 72.0, { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 }, { 1, 2, 4, 8, 16 }},
|
||||
{ "Centimeters", "Cn", 28.35, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkRuler, gtk_ruler, GTK_TYPE_WIDGET);
|
||||
|
Loading…
Reference in New Issue
Block a user