From de6db9224990e14d03a2f0448af77c12850d09cb Mon Sep 17 00:00:00 2001 From: bgk Date: Sun, 20 Feb 2011 08:33:01 +0000 Subject: [PATCH] GTK: Rename the main GtkBuilder file for consistency --- src/gtk/main.cpp | 6 +++--- src/gtk/ui/{vbam.glade => vbam.ui} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename src/gtk/ui/{vbam.glade => vbam.ui} (100%) diff --git a/src/gtk/main.cpp b/src/gtk/main.cpp index a525541a..95741af1 100644 --- a/src/gtk/main.cpp +++ b/src/gtk/main.cpp @@ -85,14 +85,14 @@ int main(int argc, char * argv[]) Gtk::Window::set_default_icon_name("vbam"); - std::string sGladeFile = VBA::Window::sGetUiFilePath("vbam.glade"); + std::string sGtkBuilderFile = VBA::Window::sGetUiFilePath("vbam.ui"); Glib::RefPtr poXml; try { poXml = Gtk::Builder::create(); - poXml->add_from_file(sGladeFile, "accelgroup1"); - poXml->add_from_file(sGladeFile, "MainWindow"); + poXml->add_from_file(sGtkBuilderFile, "accelgroup1"); + poXml->add_from_file(sGtkBuilderFile, "MainWindow"); } catch (const Gtk::BuilderError & e) { diff --git a/src/gtk/ui/vbam.glade b/src/gtk/ui/vbam.ui similarity index 100% rename from src/gtk/ui/vbam.glade rename to src/gtk/ui/vbam.ui