Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to GSettings #250

Merged
merged 7 commits into from
Jun 11, 2020
Merged

Move to GSettings #250

merged 7 commits into from
Jun 11, 2020

Conversation

ShadowRZ
Copy link

I'm almost done moving to GSettings. Waiting for more tests.
Ref: #249

@SilverRainZ
Copy link
Member

Q_Q 抱歉拖了这么久,这周我一定看。

@SilverRainZ SilverRainZ self-requested a review June 8, 2020 08:28
@SilverRainZ SilverRainZ added this to the 2.0 milestone Jun 8, 2020
@SilverRainZ SilverRainZ changed the base branch from master to dev/2.0 June 8, 2020 08:33
@SilverRainZ SilverRainZ linked an issue Jun 8, 2020 that may be closed by this pull request
@@ -33,4 +33,5 @@ jobs:
- name: Install
run: |
sudo make install;
sudo glib-compile-schemas /usr/local/share/glib-2.0/schemas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ends with a ;?

# - msg-nickserv: Login with /msg NickServ identify
# - sasl-plain: Login with SASL PLAIN mechanism
# - sasl-ecdsa: Login with SASL ECDSA-NIST256P-CHALLENGE mechanism
# String; Path to login certificate file (For method "sasl-ecdsa")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个应该是 login-certificate 的注释?

@@ -20,8 +20,8 @@ DEFS = -D PACKAGE='"$(PACKAGE)"' \
-D PACKAGE_COPYRIGHT_DATES='"$(PACKAGE_COPYRIGHT_DATES)"'
GTK3FLAGS = $(shell pkg-config --cflags gtk+-3.0)
GTK3LIBS = $(shell pkg-config --libs gtk+-3.0)
LIBCONFIGFLAGS = $(shell pkg-config --cflags libconfig)
LIBCONFIGLIBS = $(shell pkg-config --libs libconfig)
GIOFLAGS = $(shell pkg-config --cflags gio-2.0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其实应该不需要特别制定 GIO 的 flags,应该已经包含在 GTK 里了?

src/config/reader.c Show resolved Hide resolved
@SilverRainZ
Copy link
Member

感谢,这个 PR 帮大忙了。 我的想法是让 GSetting 替代 SrnServerConfig、SrnChatConfig 等等的结构体,之后还要在这个 PR 的基础上继续开发,所以先合并到 dev/2.0 分支,因为是比较大的 breaking change,因此 GSetting 的支持也不会在 1.0 中出现 。

@SilverRainZ SilverRainZ merged commit a421532 into SrainApp:dev/2.0 Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop Libconfig?
2 participants