]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Client/src/principal.cpp
* Se agrega el TIP de luca
[z.facultad/75.42/plaqui.git] / Client / src / principal.cpp
index cdba798f5de388db80fbe3ddb41d8964b9705811..a94ec37775589196663e07390899fbdfd872d809 100644 (file)
@@ -23,6 +23,8 @@ Principal::Principal(BaseObjectType *co, const Glib::RefPtr<Gnome::Glade::Xml> &
        Gtk::MenuItem *conect=0, *exit=0, *about=0, *mnu_prop=0, *mnu_disconnect=0, *server_stop=0;
        Gtk::Button *bar_connect=0, *close_about=0;
        Gtk::Image *plaqui_logo;
+       Gtk::Label *lbl_plaqui_version;
+
        txt_view = 0;
        work_place = 0;
        lbl_cap_flujo = lbl_cap_extra = lbl_extra = lbl_nombre = lbl_color = lbl_flujo = 0;
@@ -39,9 +41,19 @@ Principal::Principal(BaseObjectType *co, const Glib::RefPtr<Gnome::Glade::Xml> &
        current_frame = 0;
 
        plaqui_logo = anim = 0;
+       lbl_plaqui_version = 0;
+       rg->get_widget("lbl_plaqui_version", lbl_plaqui_version);
        rg->get_widget("plaqui_logo", plaqui_logo);
        plaqui_logo->set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/logo.png");
 
+       rg->get_widget("plaqui_logo", plaqui_logo);
+       // Calculo número de revisión.
+       std::string rev = "$Rev$";
+       rev = rev.substr(6, rev.length() - 8);
+       std::string s = "PlaQui Client versión " VERSION " (revisión ";
+       s += rev + ")"; 
+       lbl_plaqui_version->set_text(s);
+
        rg->get_widget("anim_frames", anim);
        anim->set(anim_frames[current_frame]);