From f4d34a48862f28a1c9c560c025c650d3d38eacaf Mon Sep 17 00:00:00 2001 From: daleclack Date: Tue, 26 Jul 2022 13:08:45 +0800 Subject: [PATCH] Change MyDialog to MyPrefs --- XeRelease_Gtkmm3/CMakeLists.txt | 4 ++-- XeRelease_Gtkmm3/src/{MyDialog.cc => MyPrefs.cc} | 2 +- XeRelease_Gtkmm3/src/{MyDialog.hh => MyPrefs.hh} | 0 XeRelease_Gtkmm3/src/MyWin.hh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename XeRelease_Gtkmm3/src/{MyDialog.cc => MyPrefs.cc} (99%) rename XeRelease_Gtkmm3/src/{MyDialog.hh => MyPrefs.hh} (100%) diff --git a/XeRelease_Gtkmm3/CMakeLists.txt b/XeRelease_Gtkmm3/CMakeLists.txt index 91c76ae..eeb881f 100644 --- a/XeRelease_Gtkmm3/CMakeLists.txt +++ b/XeRelease_Gtkmm3/CMakeLists.txt @@ -21,8 +21,8 @@ pkg_check_modules (GTKMM3 REQUIRED gtkmm-3.0) include_directories (${GTKMM3_INCLUDE_DIRS}) link_directories (${GTKMM3_LIBRARY_DIRS}) -set(SOURCES src/main.cc src/MyWin.cc src/MyDialog.cc - src/xerelease.cc src/xeapi.cc ../cfgfile2/cfgfile.cc) +set(SOURCES src/main.cc src/MyWin.cc src/MyPrefs.cc + src/xerelease.cc src/xeapi.cc) #Compile resources with GCR_CMake set(RESOURCE_LIST diff --git a/XeRelease_Gtkmm3/src/MyDialog.cc b/XeRelease_Gtkmm3/src/MyPrefs.cc similarity index 99% rename from XeRelease_Gtkmm3/src/MyDialog.cc rename to XeRelease_Gtkmm3/src/MyPrefs.cc index c9f5582..0585793 100644 --- a/XeRelease_Gtkmm3/src/MyDialog.cc +++ b/XeRelease_Gtkmm3/src/MyPrefs.cc @@ -1,4 +1,4 @@ -#include "MyDialog.hh" +#include "MyPrefs.hh" MyPrefs::MyPrefs(BaseObjectType *cobject, const Glib::RefPtr &ref_builder) : Gtk::Box(cobject), diff --git a/XeRelease_Gtkmm3/src/MyDialog.hh b/XeRelease_Gtkmm3/src/MyPrefs.hh similarity index 100% rename from XeRelease_Gtkmm3/src/MyDialog.hh rename to XeRelease_Gtkmm3/src/MyPrefs.hh diff --git a/XeRelease_Gtkmm3/src/MyWin.hh b/XeRelease_Gtkmm3/src/MyWin.hh index 9acbcea..f35fb6d 100644 --- a/XeRelease_Gtkmm3/src/MyWin.hh +++ b/XeRelease_Gtkmm3/src/MyWin.hh @@ -1,7 +1,7 @@ #pragma once #include -#include "MyDialog.hh" +#include "MyPrefs.hh" class MyWin : public Gtk::ApplicationWindow {