Skip to content

Commit

Permalink
Widgets|libappfw: Renamed a PopupWidget method
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 3, 2017
1 parent 8365473 commit 3dc556a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doomsday/sdk/libappfw/include/de/widgets/popupwidget.h
Expand Up @@ -103,7 +103,7 @@ class LIBAPPFW_PUBLIC PopupWidget : public PanelWidget

ColorTheme colorTheme() const;

void enableCloseButton(bool enable);
void setCloseButtonVisible(bool enable);

/**
* Returns the close button of the popup.
Expand Down
4 changes: 2 additions & 2 deletions doomsday/sdk/libappfw/src/widgets/popupwidget.cpp
Expand Up @@ -326,7 +326,7 @@ GuiWidget::ColorTheme PopupWidget::colorTheme() const
return d->colorTheme;
}

void PopupWidget::enableCloseButton(bool enable)
void PopupWidget::setCloseButtonVisible(bool enable)
{
if (enable && !d->close)
{
Expand All @@ -351,7 +351,7 @@ void PopupWidget::enableCloseButton(bool enable)

ButtonWidget &PopupWidget::closeButton()
{
enableCloseButton(true);
setCloseButtonVisible(true);
return *d->close;
}

Expand Down

0 comments on commit 3dc556a

Please sign in to comment.