Commit 99d82311 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

end-session-dialog: don't override get_preferred_width

Instead set label width to 70 characters.
parent abb9da94
......@@ -836,14 +836,6 @@ gf_inhibit_dialog_stop_timer (GfInhibitDialog *dialog)
}
}
static void
gf_inhibit_dialog_get_preferred_width (GtkWidget *widget,
gint *minimum_width,
gint *natural_width)
{
*minimum_width = *natural_width = 460;
}
static void
gf_inhibit_dialog_class_init (GfInhibitDialogClass *dialog_class)
{
......@@ -862,8 +854,6 @@ gf_inhibit_dialog_class_init (GfInhibitDialogClass *dialog_class)
object_class->constructor = gf_inhibit_dialog_constructor;
object_class->dispose = gf_inhibit_dialog_dispose;
widget_class->get_preferred_width = gf_inhibit_dialog_get_preferred_width;
signals[SIGNAL_RESPONSE] =
g_signal_new ("response",
G_OBJECT_CLASS_TYPE (dialog_class),
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
<!-- Generated with glade 3.19.0 -->
<interface domain="gnome-flashback">
<requires lib="gtk+" version="3.10"/>
<template class="GfInhibitDialog" parent="GtkWindow">
......@@ -77,9 +77,10 @@
<property name="label" translatable="yes">Waiting for these applications to finish. Interrupting them can lead to loss of data.</property>
<property name="justify">center</property>
<property name="wrap">True</property>
<property name="max_width_chars">70</property>
</object>
<packing>
<property name="expand">True</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
......
Supports Markdown
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