X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=windows.c;h=46b6951bd87bd8c7a9d6ad43020b994d557d263d;hb=513df18f50afc13fcef9f2421b5a33b772eed380;hp=3e40c38ef72ccc56d1f03fe6aded3d948fb37a38;hpb=b0759feef87fcf820682cb36d65f2252c2cc12ae;p=ext%2Fsubsurface.git diff --git a/windows.c b/windows.c index 3e40c38..46b6951 100644 --- a/windows.c +++ b/windows.c @@ -2,6 +2,7 @@ /* implements Windows specific functions */ #include "display-gtk.h" #include +#define DIVELIST_DEFAULT_FONT "Sans 8" static HKEY hkey; @@ -81,5 +82,18 @@ void subsurface_close_conf(void) const char *subsurface_USB_name() { - return("COM3"); + return "COM3"; +} + +const char *subsurface_icon_name() +{ + return "subsurface.ico"; +} + +void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, + GtkWidget *vbox, GtkUIManager *ui_manager) +{ + if (!divelist_font) + divelist_font = DIVELIST_DEFAULT_FONT; + gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE, 0); }