Commit 8d88d7cb authored by Adrien Plazas's avatar Adrien Plazas
Browse files

Rename paginator files to carousel

This is needed to rename HdyPaginator into HdyCarousel.
parent 063d9b29
......@@ -8,9 +8,9 @@ private_headers = [
'gtkprogresstrackerprivate.h',
'gtk-window-private.h',
'hdy-animation-private.h',
'hdy-carousel-box-private.h',
'hdy-main-private.h',
'hdy-keypad-button-private.h',
'hdy-paginator-box-private.h',
'hdy-preferences-group-private.h',
'hdy-preferences-page-private.h',
'hdy-shadow-helper-private.h',
......
......@@ -8,7 +8,7 @@
* Copyright (C) 2014 Red Hat, Inc.
*/
#include "glade-hdy-paginator.h"
#include "glade-hdy-carousel.h"
#include <config.h>
#include <glib/gi18n-lib.h>
......
......@@ -18,8 +18,8 @@ else
endif
libglade_hdy_sources = [
'glade-hdy-carousel.c',
'glade-hdy-header-group.c',
'glade-hdy-paginator.c',
'glade-hdy-swipe-group.c',
]
......
......@@ -2,11 +2,11 @@
<gresources>
<gresource prefix="/sm/puri/handy/ui">
<file preprocess="xml-stripblanks">hdy-action-row.ui</file>
<file preprocess="xml-stripblanks">hdy-carousel.ui</file>
<file preprocess="xml-stripblanks">hdy-combo-row.ui</file>
<file preprocess="xml-stripblanks">hdy-expander-row.ui</file>
<file preprocess="xml-stripblanks">hdy-keypad.ui</file>
<file preprocess="xml-stripblanks">hdy-keypad-button.ui</file>
<file preprocess="xml-stripblanks">hdy-paginator.ui</file>
<file preprocess="xml-stripblanks">hdy-preferences-group.ui</file>
<file preprocess="xml-stripblanks">hdy-preferences-page.ui</file>
<file preprocess="xml-stripblanks">hdy-preferences-window.ui</file>
......
......@@ -27,6 +27,7 @@ G_BEGIN_DECLS
#include "hdy-version.h"
#include "hdy-action-row.h"
#include "hdy-animation.h"
#include "hdy-carousel.h"
#include "hdy-column.h"
#include "hdy-combo-row.h"
#include "hdy-deprecation-macros.h"
......@@ -39,7 +40,6 @@ G_BEGIN_DECLS
#include "hdy-keypad.h"
#include "hdy-leaflet.h"
#include "hdy-list-box.h"
#include "hdy-paginator.h"
#include "hdy-preferences-group.h"
#include "hdy-preferences-page.h"
#include "hdy-preferences-row.h"
......
......@@ -7,8 +7,8 @@
#include "config.h"
#include <glib/gi18n-lib.h>
#include "hdy-paginator-box-private.h"
#include "hdy-animation-private.h"
#include "hdy-carousel-box-private.h"
#include <math.h>
......
......@@ -7,9 +7,9 @@
#include "config.h"
#include <glib/gi18n-lib.h>
#include "hdy-paginator.h"
#include "hdy-carousel.h"
#include "hdy-paginator-box-private.h"
#include "hdy-carousel-box-private.h"
#include "hdy-swipe-tracker-private.h"
#include "hdy-swipeable-private.h"
......@@ -946,7 +946,7 @@ hdy_paginator_class_init (HdyPaginatorClass *klass)
G_TYPE_UINT);
gtk_widget_class_set_template_from_resource (widget_class,
"/sm/puri/handy/ui/hdy-paginator.ui");
"/sm/puri/handy/ui/hdy-carousel.ui");
gtk_widget_class_bind_template_child (widget_class, HdyPaginator, box);
gtk_widget_class_bind_template_child (widget_class, HdyPaginator, empty_box);
gtk_widget_class_bind_template_child (widget_class, HdyPaginator, scrolling_box);
......
/*** BEGIN file-header ***/
#include "config.h"
#include "hdy-carousel.h"
#include "hdy-enums.h"
#include "hdy-fold.h"
#include "hdy-header-bar.h"
#include "hdy-leaflet.h"
#include "hdy-paginator.h"
#include "hdy-squeezer.h"
#include "hdy-view-switcher.h"
......
......@@ -7,10 +7,10 @@ libhandy_resources = gnome.compile_resources(
c_name: 'hdy',
)
hdy_enum_headers = ['hdy-fold.h',
hdy_enum_headers = ['hdy-carousel.h',
'hdy-fold.h',
'hdy-header-bar.h',
'hdy-leaflet.h',
'hdy-paginator.h',
'hdy-squeezer.h',
'hdy-view-switcher.h',
]
......@@ -53,6 +53,7 @@ libhandy_generated_headers += [hdy_enums[1]]
src_headers = [
'hdy-action-row.h',
'hdy-animation.h',
'hdy-carousel.h',
'hdy-column.h',
'hdy-combo-row.h',
'hdy-deprecation-macros.h',
......@@ -65,7 +66,6 @@ src_headers = [
'hdy-keypad.h',
'hdy-leaflet.h',
'hdy-list-box.h',
'hdy-paginator.h',
'hdy-preferences-group.h',
'hdy-preferences-page.h',
'hdy-preferences-row.h',
......@@ -96,6 +96,8 @@ src_sources = [
'gtk-window.c',
'hdy-action-row.c',
'hdy-animation.c',
'hdy-carousel.c',
'hdy-carousel-box.c',
'hdy-column.c',
'hdy-combo-row.c',
'hdy-dialog.c',
......@@ -109,8 +111,6 @@ src_sources = [
'hdy-leaflet.c',
'hdy-list-box.c',
'hdy-main.c',
'hdy-paginator.c',
'hdy-paginator-box.c',
'hdy-preferences-group.c',
'hdy-preferences-page.c',
'hdy-preferences-row.c',
......
......@@ -20,13 +20,13 @@ test_link_args = [
test_names = [
'test-action-row',
'test-carousel',
'test-combo-row',
'test-dialog',
'test-expander-row',
'test-header-bar',
'test-header-group',
'test-keypad',
'test-paginator',
'test-preferences-group',
'test-preferences-page',
'test-preferences-row',
......
Markdown is supported
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