widget: Remove show-all property

Doesn't make sense anymore now that gtk_widget_show_all is gone.
This commit is contained in:
Timm Bäder 2017-01-19 10:31:03 +01:00
parent ea897c6df4
commit f4341ee9f7
32 changed files with 34 additions and 139 deletions

View File

@ -48,7 +48,7 @@
</child>
<child>
<object class="GtkInfoBar" id="infobar">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="hexpand">1</property>
<child internal-child="content_area">
<object class="GtkBox" id="content_area">

View File

@ -781,7 +781,7 @@ load_special_items (GtkToolPalette *palette)
gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "edit-delete");
gtk_tool_item_set_tooltip_text (item, "Do not show at all");
gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
gtk_widget_set_no_show_all (GTK_WIDGET (item), TRUE);
gtk_widget_hide (GTK_WIDGET (item));
item = gtk_tool_button_new (NULL, NULL);
gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "view-fullscreen");

View File

@ -2317,7 +2317,6 @@ microphone-sensitivity-medium-symbolic</property>
<object class="GtkInfoBar" id="infobar">
<property name="visible">0</property>
<property name="show-close-button">1</property>
<property name="no-show-all">1</property>
<child internal-child="content_area">
<object class="GtkBox">
<child>
@ -2347,7 +2346,7 @@ microphone-sensitivity-medium-symbolic</property>
</child>
<child>
<object class="GtkStatusbar" id="statusbar">
<property name="no-show-all">1</property>
<property name="visible">0</property>
</object>
</child>
</object>
@ -3036,7 +3035,6 @@ microphone-sensitivity-medium-symbolic</property>
<child type="overlay">
<object class="GtkToolbar" id="totem_like_osd">
<property name="visible">0</property>
<property name="no-show-all">1</property>
<property name="opacity">0.9</property>
<property name="margin">20</property>
<property name="valign">end</property>

View File

@ -4583,8 +4583,6 @@ gtk_widget_get_size_request
gtk_widget_set_child_visible
gtk_widget_set_size_request
gtk_widget_thaw_child_notify
gtk_widget_set_no_show_all
gtk_widget_get_no_show_all
gtk_widget_list_mnemonic_labels
gtk_widget_add_mnemonic_label
gtk_widget_remove_mnemonic_label

View File

@ -282,7 +282,7 @@ create_accel_label (void)
button = gtk_button_new_with_label ("Quit");
gtk_accel_label_set_accel_widget (GTK_ACCEL_LABEL (widget), button);
gtk_widget_set_no_show_all (button, TRUE);
gtk_widget_hide (button);
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_add (GTK_CONTAINER (box), widget);

View File

@ -1693,9 +1693,7 @@ gtk_assistant_insert_page (GtkAssistant *assistant,
page_info->page = page;
page_info->regular_title = gtk_label_new (NULL);
page_info->has_padding = TRUE;
gtk_widget_set_no_show_all (page_info->regular_title, TRUE);
page_info->current_title = gtk_label_new (NULL);
gtk_widget_set_no_show_all (page_info->current_title, TRUE);
gtk_label_set_xalign (GTK_LABEL (page_info->regular_title), 0.0);
gtk_label_set_xalign (GTK_LABEL (page_info->current_title), 0.0);

View File

@ -594,9 +594,7 @@ gtk_color_chooser_widget_init (GtkColorChooserWidget *cc)
gtk_color_chooser_set_rgba (GTK_COLOR_CHOOSER (cc), &color);
gtk_widget_hide (GTK_WIDGET (cc->priv->editor));
gtk_widget_set_no_show_all (cc->priv->palette, TRUE);
gtk_widget_set_no_show_all (cc->priv->editor, TRUE);
gtk_widget_hide (GTK_WIDGET (cc->priv->palette));
cc->priv->size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
gtk_size_group_add_widget (cc->priv->size_group, cc->priv->palette);

View File

@ -443,7 +443,6 @@ add_cb (GtkContainer *container,
g_warning ("Content added to the action area of a dialog using header bars");
gtk_widget_set_visible (priv->action_box, TRUE);
gtk_widget_set_no_show_all (priv->action_box, FALSE);
}
static void
@ -495,7 +494,6 @@ gtk_dialog_constructed (GObject *object)
}
gtk_widget_set_visible (priv->action_box, !priv->use_header_bar);
gtk_widget_set_no_show_all (priv->action_box, priv->use_header_bar);
}
static void

View File

@ -191,7 +191,6 @@ create_title_box (const char *title,
gtk_label_set_single_line_mode (GTK_LABEL (subtitle_label), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (subtitle_label), PANGO_ELLIPSIZE_END);
gtk_box_pack_start (GTK_BOX (label_box), subtitle_label, FALSE, FALSE);
gtk_widget_set_no_show_all (subtitle_label, TRUE);
gtk_widget_set_visible (subtitle_label, subtitle && subtitle[0]);
if (ret_title_label)
@ -340,7 +339,6 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
t = g_strsplit (tokens[i], ",", -1);
separator = gtk_separator_new (GTK_ORIENTATION_VERTICAL);
gtk_widget_set_no_show_all (separator, TRUE);
gtk_style_context_add_class (gtk_widget_get_style_context (separator), "titlebutton");
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, priv->spacing);

View File

@ -83,7 +83,6 @@
* widget = gtk_info_bar_new ();
* bar = GTK_INFO_BAR (bar);
*
* gtk_widget_set_no_show_all (widget, TRUE);
* message_label = gtk_label_new ("");
* gtk_widget_show (message_label);
* content_area = gtk_info_bar_get_content_area (bar);
@ -443,7 +442,6 @@ gtk_info_bar_init (GtkInfoBar *info_bar)
gtk_widget_init_template (widget);
gtk_widget_set_no_show_all (priv->close_button, TRUE);
g_signal_connect (priv->close_button, "clicked",
G_CALLBACK (close_button_clicked_cb), info_bar);
}

View File

@ -417,7 +417,7 @@ gtk_message_dialog_constructed (GObject *object)
gtk_widget_show (box);
gtk_widget_set_size_request (box, -1, 16);
label = gtk_label_new ("");
gtk_widget_set_no_show_all (label, TRUE);
gtk_widget_hide (label);
gtk_widget_set_margin_top (label, 6);
gtk_widget_set_margin_bottom (label, 6);
gtk_widget_set_halign (label, GTK_ALIGN_CENTER);

View File

@ -1143,9 +1143,9 @@ gtk_model_button_init (GtkModelButton *button)
gtk_widget_set_halign (button->box, GTK_ALIGN_FILL);
gtk_widget_show (button->box);
button->image = gtk_image_new ();
gtk_widget_set_no_show_all (button->image, TRUE);
gtk_widget_hide (button->image);
button->label = gtk_label_new ("");
gtk_widget_set_no_show_all (button->label, TRUE);
gtk_widget_hide (button->label);
gtk_container_add (GTK_CONTAINER (button->box), button->image);
gtk_container_add (GTK_CONTAINER (button->box), button->label);
gtk_container_add (GTK_CONTAINER (button), button->box);

View File

@ -320,7 +320,6 @@ gtk_recent_chooser_menu_constructed (GObject *object)
GINT_TO_POINTER (TRUE));
gtk_menu_shell_insert (GTK_MENU_SHELL (menu), priv->placeholder, 0);
gtk_widget_set_no_show_all (priv->placeholder, TRUE);
gtk_widget_show (priv->placeholder);
/* (re)populate the menu */

View File

@ -445,7 +445,6 @@ gtk_search_bar_init (GtkSearchBar *bar)
g_signal_connect (priv->revealer, "notify::child-revealed",
G_CALLBACK (child_revealed_changed_cb), bar);
gtk_widget_set_no_show_all (priv->close_button, TRUE);
g_signal_connect (priv->close_button, "clicked",
G_CALLBACK (close_button_clicked_cb), bar);
};

View File

@ -443,14 +443,12 @@ gtk_shortcuts_section_init (GtkShortcutsSection *self)
"stack", self->stack,
"spacing", 12,
"visible", FALSE,
"no-show-all", TRUE,
NULL);
gtk_style_context_remove_class (gtk_widget_get_style_context (GTK_WIDGET (self->switcher)), GTK_STYLE_CLASS_LINKED);
self->show_all = gtk_button_new_with_mnemonic (_("_Show All"));
gtk_widget_set_no_show_all (self->show_all, TRUE);
gtk_widget_set_visible (self->show_all, FALSE);
gtk_widget_hide (self->show_all);
g_signal_connect_swapped (self->show_all, "clicked",
G_CALLBACK (gtk_shortcuts_section_show_all), self);

View File

@ -280,13 +280,11 @@ update_visible_from_direction (GtkShortcutsShortcut *self)
if (self->direction == GTK_TEXT_DIR_NONE ||
self->direction == gtk_widget_get_direction (GTK_WIDGET (self)))
{
gtk_widget_set_visible (GTK_WIDGET (self), TRUE);
gtk_widget_set_no_show_all (GTK_WIDGET (self), FALSE);
gtk_widget_show (GTK_WIDGET (self));
}
else
{
gtk_widget_set_visible (GTK_WIDGET (self), FALSE);
gtk_widget_set_no_show_all (GTK_WIDGET (self), TRUE);
gtk_widget_hide (GTK_WIDGET (self));
}
}
@ -735,14 +733,12 @@ gtk_shortcuts_shortcut_init (GtkShortcutsShortcut *self)
self->image = g_object_new (GTK_TYPE_IMAGE,
"visible", FALSE,
"valign", GTK_ALIGN_CENTER,
"no-show-all", TRUE,
NULL);
gtk_container_add (GTK_CONTAINER (self->box), GTK_WIDGET (self->image));
self->accelerator = g_object_new (GTK_TYPE_SHORTCUT_LABEL,
"visible", TRUE,
"valign", GTK_ALIGN_CENTER,
"no-show-all", TRUE,
NULL);
gtk_container_add (GTK_CONTAINER (self->box), GTK_WIDGET (self->accelerator));
@ -762,7 +758,6 @@ gtk_shortcuts_shortcut_init (GtkShortcutsShortcut *self)
self->subtitle = g_object_new (GTK_TYPE_LABEL,
"visible", FALSE,
"no-show-all", TRUE,
"xalign", 0.0f,
NULL);
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (self->subtitle)),

View File

@ -196,8 +196,6 @@ gtk_stack_sidebar_init (GtkStackSidebar *sidebar)
priv = gtk_stack_sidebar_get_instance_private (sidebar);
sw = gtk_scrolled_window_new (NULL, NULL);
gtk_widget_show (sw);
gtk_widget_set_no_show_all (sw, TRUE);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);
@ -205,7 +203,6 @@ gtk_stack_sidebar_init (GtkStackSidebar *sidebar)
gtk_container_add (GTK_CONTAINER (sidebar), sw);
priv->list = GTK_LIST_BOX (gtk_list_box_new ());
gtk_widget_show (GTK_WIDGET (priv->list));
gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (priv->list));

View File

@ -576,7 +576,6 @@ enum {
PROP_HAS_DEFAULT,
PROP_RECEIVES_DEFAULT,
PROP_EVENTS,
PROP_NO_SHOW_ALL,
PROP_HAS_TOOLTIP,
PROP_TOOLTIP_MARKUP,
PROP_TOOLTIP_TEXT,
@ -1172,13 +1171,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GDK_STRUCTURE_MASK,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
widget_props[PROP_NO_SHOW_ALL] =
g_param_spec_boolean ("no-show-all",
P_("No show all"),
P_("Whether gtk_widget_show_all() should not affect this widget"),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
* GtkWidget:has-tooltip:
*
@ -3228,9 +3220,6 @@ gtk_widget_set_property (GObject *object,
if (!_gtk_widget_get_realized (widget) && _gtk_widget_get_has_window (widget))
gtk_widget_set_events (widget, g_value_get_flags (value));
break;
case PROP_NO_SHOW_ALL:
gtk_widget_set_no_show_all (widget, g_value_get_boolean (value));
break;
case PROP_HAS_TOOLTIP:
gtk_widget_real_set_has_tooltip (widget,
g_value_get_boolean (value), FALSE);
@ -3403,9 +3392,6 @@ gtk_widget_get_property (GObject *object,
eventp = g_object_get_qdata (G_OBJECT (widget), quark_event_mask);
g_value_set_flags (value, GPOINTER_TO_INT (eventp));
break;
case PROP_NO_SHOW_ALL:
g_value_set_boolean (value, gtk_widget_get_no_show_all (widget));
break;
case PROP_HAS_TOOLTIP:
g_value_set_boolean (value, gtk_widget_get_has_tooltip (widget));
break;
@ -13272,56 +13258,6 @@ gtk_widget_remove_mnemonic_label (GtkWidget *widget,
new_list, (GDestroyNotify) g_slist_free);
}
/**
* gtk_widget_get_no_show_all:
* @widget: a #GtkWidget
*
* Returns the current value of the #GtkWidget:no-show-all property,
* which determines whether calls to gtk_widget_show_all()
* will affect this widget.
*
* Returns: the current value of the no-show-all property.
*
* Since: 2.4
**/
gboolean
gtk_widget_get_no_show_all (GtkWidget *widget)
{
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
return widget->priv->no_show_all;
}
/**
* gtk_widget_set_no_show_all:
* @widget: a #GtkWidget
* @no_show_all: the new value for the no-show-all property
*
* Sets the #GtkWidget:no-show-all property, which determines whether
* calls to gtk_widget_show_all() will affect this widget.
*
* This is mostly for use in constructing widget hierarchies with externally
* controlled visibility.
*
* Since: 2.4
**/
void
gtk_widget_set_no_show_all (GtkWidget *widget,
gboolean no_show_all)
{
g_return_if_fail (GTK_IS_WIDGET (widget));
no_show_all = (no_show_all != FALSE);
if (widget->priv->no_show_all != no_show_all)
{
widget->priv->no_show_all = no_show_all;
g_object_notify_by_pspec (G_OBJECT (widget), widget_props[PROP_NO_SHOW_ALL]);
}
}
static void
gtk_widget_real_set_has_tooltip (GtkWidget *widget,
gboolean has_tooltip,

View File

@ -509,11 +509,6 @@ void gtk_widget_hide (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_widget_show_now (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_widget_set_no_show_all (GtkWidget *widget,
gboolean no_show_all);
GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_get_no_show_all (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_widget_map (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_widget_unmap (GtkWidget *widget);

View File

@ -67,7 +67,6 @@ struct _GtkWidgetPrivate
guint has_grab : 1;
guint shadowed : 1;
guint redraw_on_alloc : 1;
guint no_show_all : 1;
guint child_visible : 1;
guint multidevice : 1;
guint has_shape_mask : 1;

View File

@ -14,8 +14,8 @@
<property name="show-close-button">1</property>
<child type="title">
<object class="GtkStackSwitcher" id="stack_switcher">
<property name="visible">0</property>
<property name="stack">stack</property>
<property name="no-show-all">1</property>
</object>
</child>
</object>
@ -67,10 +67,10 @@
<property name="spacing">8</property>
<child>
<object class="GtkLabel" id="version_label">
<property name="visible">0</property>
<property name="label">version 1.0</property>
<property name="justify">center</property>
<property name="selectable">1</property>
<property name="no-show-all">1</property>
</object>
<packing>
<property name="fill">0</property>
@ -78,11 +78,11 @@
</child>
<child>
<object class="GtkLabel" id="comments_label">
<property name="visible">0</property>
<property name="label">comments</property>
<property name="justify">center</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
<property name="no-show-all">1</property>
<property name="max-width-chars">60</property>
</object>
<packing>
@ -91,7 +91,7 @@
</child>
<child>
<object class="GtkLabel" id="website_label">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="label">http://website.com</property>
<property name="selectable">1</property>
<signal name="activate-link" handler="emit_activate_link" object="GtkAboutDialog" swapped="yes"/>
@ -102,11 +102,11 @@
</child>
<child>
<object class="GtkLabel" id="copyright_label">
<property name="visible">0</property>
<property name="label">copyright</property>
<property name="justify">center</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
<property name="no-show-all">1</property>
<property name="max-width-chars">60</property>
</object>
<packing>
@ -115,12 +115,12 @@
</child>
<child>
<object class="GtkLabel" id="license_label">
<property name="visible">0</property>
<property name="label">license</property>
<property name="use-markup">1</property>
<property name="justify">center</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
<property name="no-show-all">1</property>
<property name="max-width-chars">60</property>
</object>
<packing>
@ -135,7 +135,7 @@
</child>
<child>
<object class="GtkBox" id="credits_page">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
@ -175,7 +175,7 @@
</child>
<child>
<object class="GtkBox" id="license_page">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
@ -208,7 +208,7 @@
</child>
<child>
<object class="GtkBox" id="system_page">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>

View File

@ -96,8 +96,8 @@
</child>
<child type="overlay">
<object class="GtkBox" id="no_apps">
<property name="visible">0</property>
<property name="orientation">vertical</property>
<property name="no-show-all">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
<child>

View File

@ -47,11 +47,11 @@
<property name="margin">6</property>
<child>
<object class="GtkButton" id="apply">
<property name="visible">0</property>
<property name="label" translatable="yes">_Apply</property>
<property name="can-focus">1</property>
<property name="can-default">1</property>
<property name="receives-default">1</property>
<property name="no-show-all">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
@ -70,7 +70,6 @@
<property name="can-focus">1</property>
<property name="can-default">1</property>
<property name="receives-default">1</property>
<property name="no-show-all">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
@ -89,7 +88,6 @@
<property name="visible">1</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="no-show-all">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
@ -104,10 +102,10 @@
</child>
<child>
<object class="GtkButton" id="last">
<property name="visible">0</property>
<property name="label" translatable="yes">_Finish</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="no-show-all">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
@ -122,11 +120,11 @@
</child>
<child>
<object class="GtkButton" id="cancel">
<property name="visible">0</property>
<property name="label" translatable="yes">_Cancel</property>
<property name="visible">1</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="no-show-all">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
@ -141,11 +139,11 @@
</child>
<child>
<object class="GtkButton" id="close">
<property name="visible">0</property>
<property name="label" translatable="yes">_Close</property>
<property name="can-focus">1</property>
<property name="can-default">1</property>
<property name="receives-default">1</property>
<property name="no-show-all">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>

View File

@ -135,7 +135,6 @@
</template>
<object class="GtkBox" id="a_popup">
<property name="visible">0</property>
<property name="no-show-all">1</property>
<style>
<class name="popover"/>
<class name="osd"/>
@ -182,7 +181,6 @@
</object>
<object class="GtkBox" id="h_popup">
<property name="visible">0</property>
<property name="no-show-all">1</property>
<style>
<class name="popover"/>
<class name="osd"/>
@ -229,7 +227,6 @@
</object>
<object class="GtkBox" id="sv_popup">
<property name="visible">0</property>
<property name="no-show-all">1</property>
<style>
<class name="popover"/>
<class name="osd"/>

View File

@ -77,7 +77,7 @@
</child>
<child>
<object class="GtkBox" id="location_entry_box">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="spacing">6</property>
<property name="margin">6</property>
</object>
@ -87,7 +87,7 @@
</child>
<child>
<object class="GtkBox" id="search_entry_box">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="spacing">6</property>
<property name="margin">6</property>
<child type="center">
@ -352,7 +352,6 @@
<child>
<object class="GtkActionBar" id="extra_and_filters">
<property name="visible">0</property>
<property name="no-show-all">1</property>
<child>
<object class="GtkBox" id="extra_align">
<property name="spacing">12</property>

View File

@ -20,7 +20,6 @@
<child>
<object class="GtkBox" id="font_size_box">
<property name="visible">1</property>
<property name="no-show-all">1</property>
<child>
<object class="GtkSeparator" id="separator">
<property name="visible">1</property>

View File

@ -33,6 +33,7 @@
</child>
<child>
<object class="GtkButton" id="close_button">
<property name="visible">0</property>
<property name="can-focus">1</property>
<property name="relief">none</property>
<property name="margin">6</property>

View File

@ -40,7 +40,7 @@
</child>
<child>
<object class="GtkLabel" id="secondary_label">
<property name="no-show-all">1</property>
<property name="visible">0</property>
<property name="margin-bottom">2</property>
<property name="halign">center</property>
<property name="valign">start</property>

View File

@ -40,7 +40,7 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="close_button">
<property name="visible">1</property>
<property name="visible">0</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="relief">none</property>

View File

@ -45,7 +45,6 @@
<property name="halign">center</property>
<property name="valign">center</property>
<property name="margin-start">4px</property>
<property name="no-show-all">1</property>
<property name="icon-name">media-eject-symbolic</property>
<style>
<class name="sidebar-button"/>

View File

@ -20,7 +20,6 @@
<child>
<object class="GtkButton" id="headerbutton">
<property name="visible">True</property>
<property name="no-show-all">True</property>
<style>
<class name="image-button"/>
</style>
@ -48,7 +47,7 @@
<packing>
<property name="name">title</property>
</packing>
</child>
</child>
<child>
<object class="GtkMenuButton">
<property name="visible">True</property>
@ -83,7 +82,6 @@
<child>
<object class="GtkButton" id="select-button">
<property name="visible">True</property>
<property name="no-show-all">True</property>
<style>
<class name="image-button"/>
</style>
@ -101,7 +99,7 @@
</child>
<child>
<object class="GtkButton" id="cancel-button">
<property name="no-show-all">True</property>
<property name="visible">0</property>
<property name="label">Cancel</property>
</object>
<packing>
@ -120,7 +118,7 @@
<property name="visible">True</property>
<property name="selection-mode">none</property>
<property name="activate-on-single-click">True</property>
</object>
</object>
</child>
</object>
</child>

View File

@ -114,7 +114,7 @@ main (int argc, char *argv[])
gtk_container_add (GTK_CONTAINER (popup), spinner);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), popup);
gtk_widget_set_no_show_all (popup, TRUE);
gtk_widget_hide (popup);
sw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);