Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adrien Plazas
libhandy
Commits
8d88d7cb
Commit
8d88d7cb
authored
Jan 23, 2020
by
Adrien Plazas
Browse files
Rename paginator files to carousel
This is needed to rename HdyPaginator into HdyCarousel.
parent
063d9b29
Changes
15
Hide whitespace changes
Inline
Side-by-side
doc/meson.build
View file @
8d88d7cb
...
...
@@ -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',
...
...
glade/glade-hdy-
paginator
.c
→
glade/glade-hdy-
carousel
.c
View file @
8d88d7cb
...
...
@@ -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>
...
...
glade/glade-hdy-
paginator
.h
→
glade/glade-hdy-
carousel
.h
View file @
8d88d7cb
File moved
glade/meson.build
View file @
8d88d7cb
...
...
@@ -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',
]
...
...
src/handy.gresources.xml
View file @
8d88d7cb
...
...
@@ -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>
...
...
src/handy.h
View file @
8d88d7cb
...
...
@@ -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"
...
...
src/hdy-
paginator
-box-private.h
→
src/hdy-
carousel
-box-private.h
View file @
8d88d7cb
File moved
src/hdy-
paginator
-box.c
→
src/hdy-
carousel
-box.c
View file @
8d88d7cb
...
...
@@ -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>
...
...
src/hdy-
paginator
.c
→
src/hdy-
carousel
.c
View file @
8d88d7cb
...
...
@@ -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
);
...
...
src/hdy-
paginator
.h
→
src/hdy-
carousel
.h
View file @
8d88d7cb
File moved
src/hdy-
paginator
.ui
→
src/hdy-
carousel
.ui
View file @
8d88d7cb
File moved
src/hdy-enums.c.in
View file @
8d88d7cb
/*** 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"
...
...
src/meson.build
View file @
8d88d7cb
...
...
@@ -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',
...
...
tests/meson.build
View file @
8d88d7cb
...
...
@@ -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',
...
...
tests/test-
paginator
.c
→
tests/test-
carousel
.c
View file @
8d88d7cb
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment