[gnome-games/wip/exalm/cleanups: 3/3] ui: Prefer enum value nicks instead of C identifiers
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/cleanups: 3/3] ui: Prefer enum value nicks instead of C identifiers
- Date: Fri, 19 Oct 2018 20:15:45 +0000 (UTC)
commit 20449582a162cff12d411ea8977a0ac501a7393e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Oct 20 01:09:06 2018 +0500
ui: Prefer enum value nicks instead of C identifiers
data/ui/collection-box.ui | 2 +-
data/ui/collection-header-bar.ui | 2 +-
data/ui/fullscreen-box.ui | 4 ++--
data/ui/preferences-window.ui | 6 +++---
4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/ui/collection-box.ui b/data/ui/collection-box.ui
index eaa66002..12c4c1c4 100644
--- a/data/ui/collection-box.ui
+++ b/data/ui/collection-box.ui
@@ -20,7 +20,7 @@
<object class="GtkStack" id="viewstack">
<property name="visible">True</property>
<property name="visible-child">collection_view</property>
- <property name="transition-type">GTK_STACK_TRANSITION_TYPE_CROSSFADE</property>
+ <property name="transition-type">crossfade</property>
<signal name="notify::visible-child" handler="on_visible_child_changed"/>
<child>
<object class="GamesEmptyCollection" id="empty_collection">
diff --git a/data/ui/collection-header-bar.ui b/data/ui/collection-header-bar.ui
index 06d5f54b..a7407a8d 100644
--- a/data/ui/collection-header-bar.ui
+++ b/data/ui/collection-header-bar.ui
@@ -55,7 +55,7 @@
<child type="title">
<object class="GtkStack" id="title_stack">
<property name="visible">True</property>
- <property name="transition-type">GTK_STACK_TRANSITION_TYPE_CROSSFADE</property>
+ <property name="transition-type">crossfade</property>
<child>
<object class="GtkStackSwitcher" id="view_switcher">
<property name="visible">True</property>
diff --git a/data/ui/fullscreen-box.ui b/data/ui/fullscreen-box.ui
index 27b453da..52d68afd 100644
--- a/data/ui/fullscreen-box.ui
+++ b/data/ui/fullscreen-box.ui
@@ -3,7 +3,7 @@
<requires lib="gtk+" version="3.16"/>
<template class="GamesFullscreenBox" parent="GtkEventBox">
<property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK</property>
+ <property name="events">pointer-motion-mask</property>
<signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
<signal name="motion-notify-event" handler="on_motion_event"/>
<child>
@@ -15,7 +15,7 @@
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="transition-type">slide-down</property>
- <property name="events">GDK_POINTER_MOTION_MASK</property>
+ <property name="events">pointer-motion-mask</property>
<signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
<signal name="motion-notify-event" handler="on_motion_event"/>
</object>
diff --git a/data/ui/preferences-window.ui b/data/ui/preferences-window.ui
index 868abac9..2bc34700 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -6,7 +6,7 @@
<property name="title" translatable="yes">Preferences</property>
<property name="default-width">800</property>
<property name="default-height">500</property>
- <property name="window-position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+ <property name="window-position">center-on-parent</property>
<child type="titlebar">
<object class="HdyTitleBar" id="titlebar">
<property name="visible">True</property>
@@ -85,7 +85,7 @@
<property name="visible">True</property>
<property name="expand">True</property>
<property name="visible-child">video_page</property>
- <property name="transition-type">GTK_STACK_TRANSITION_TYPE_CROSSFADE</property>
+ <property name="transition-type">crossfade</property>
<child>
<object class="GamesPreferencesPageVideo" id="video_page">
<property name="visible">True</property>
@@ -121,7 +121,7 @@
</child>
</template>
<object class="GtkSizeGroup">
- <property name="mode">GTK_SIZE_GROUP_HORIZONTAL</property>
+ <property name="mode">horizontal</property>
<widgets>
<widget name="left_header_bar"/>
<widget name="sidebar"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]