g_object_class_install_property(object_class,
PROP_PIXBUF,
g_param_spec_object("pixbuf",
- _("Pixbuf Object"),
- _("The pixbuf to render"),
+ "Pixbuf Object",
+ "The pixbuf to render",
GDK_TYPE_PIXBUF,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_TEXT,
g_param_spec_string("text",
- _("Text"),
- _("Text to render"),
+ "Text",
+ "Text to render",
NULL,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_BACKGROUND_GDK,
g_param_spec_boxed("background_gdk",
- _("Background color"),
- _("Background color as a GdkColor"),
+ "Background color",
+ "Background color as a GdkColor",
GDK_TYPE_COLOR,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_FOREGROUND_GDK,
g_param_spec_boxed("foreground_gdk",
- _("Foreground color"),
- _("Foreground color as a GdkColor"),
+ "Foreground color",
+ "Foreground color as a GdkColor",
GDK_TYPE_COLOR,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_FOCUSED,
g_param_spec_boolean("has_focus",
- _("Focus"),
- _("Draw focus indicator"),
+ "Focus",
+ "Draw focus indicator",
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_FIXED_WIDTH,
g_param_spec_int("fixed_width",
- _("Fixed width"),
- _("Width of cell"),
+ "Fixed width",
+ "Width of cell",
-1, FIXED_ICON_SIZE_MAX,
-1,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_FIXED_HEIGHT,
g_param_spec_int("fixed_height",
- _("Fixed height"),
- _("Height of icon excluding text"),
+ "Fixed height",
+ "Height of icon excluding text",
-1, FIXED_ICON_SIZE_MAX,
-1,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_BACKGROUND_SET,
g_param_spec_boolean("background_set",
- _("Background set"),
- _("Whether this tag affects the background color"),
+ "Background set",
+ "Whether this tag affects the background color",
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_FOREGROUND_SET,
g_param_spec_boolean("foreground_set",
- _("Foreground set"),
- _("Whether this tag affects the foreground color"),
+ "Foreground set",
+ "Whether this tag affects the foreground color",
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_SHOW_TEXT,
g_param_spec_boolean("show_text",
- _("Show text"),
- _("Whether the text is displayed"),
+ "Show text",
+ "Whether the text is displayed",
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_SHOW_MARKS,
g_param_spec_boolean("show_marks",
- _("Show marks"),
- _("Whether the marks are displayed"),
+ "Show marks",
+ "Whether the marks are displayed",
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_NUM_MARKS,
g_param_spec_int("num_marks",
- _("Number of marks"),
- _("Number of marks"),
+ "Number of marks",
+ "Number of marks",
0, 32,
6,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_MARKS,
g_param_spec_uint("marks",
- _("Marks"),
- _("Marks bit array"),
+ "Marks",
+ "Marks bit array",
0, 0xffffffff,
0,
G_PARAM_READWRITE));
g_object_class_install_property(object_class,
PROP_TOGGLED,
g_param_spec_uint("toggled_mark",
- _("Toggled mark"),
- _("Toggled mark"),
+ "Toggled mark",
+ "Toggled mark",
0, 32,
0,
G_PARAM_READWRITE));