#define GETTEXT_DOM "status-area-displayblanking-applet"
#define gettext_noop(str) (str)
+// Undocumented blanking modes as reported by David Weinehall from Nokia:
+// http://www.gossamer-threads.com/lists/maemo/developers/61201#61201
#define BLANKING_MODES 5
static const char *_DisplayBlankingDescription[BLANKING_MODES] =
{
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (priv->mode_dialog)->vbox),
pan_area, TRUE, TRUE, 0);
- g_object_set (G_OBJECT (pan_area), "height-request",
- MIN (350, BLANKING_MODES * 70), NULL);
+ gtk_widget_set_size_request (pan_area, -1, MIN (350, BLANKING_MODES * 70));
gint mode = BLANKING_MODES;
for (int i = 0; i < BLANKING_MODES; i++) {