diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-01 14:37:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-01 14:37:38 -0800 |
commit | 1d51c7772996705fb69b2b3433cd94af3543583d (patch) | |
tree | c269437a6fc35ed24c2ac675c1a4bd0ba740b303 /linux.c | |
parent | 16b6df559f7b5aabbcbec7d7d08f3687b30384dc (diff) | |
parent | 605e063203f8a2a35a5c3be1e7129e80099dd68a (diff) | |
download | subsurface-1d51c7772996705fb69b2b3433cd94af3543583d.tar.gz |
Merge branch 'mac' of git://git.hohndel.org/subsurface
* 'mac' of git://git.hohndel.org/subsurface:
Turn subsurface into a real Mac application
Diffstat (limited to 'linux.c')
-rw-r--r-- | linux.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2,6 +2,7 @@ /* implements Linux specific functions */ #include "display-gtk.h" #include <gconf/gconf-client.h> +#define DIVELIST_DEFAULT_FONT "Sans 8" GConfClient *gconf; @@ -56,3 +57,11 @@ const char *subsurface_icon_name() { return "subsurface.svg"; } + +void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, + GtkWidget *vbox) +{ + if (!divelist_font) + divelist_font = DIVELIST_DEFAULT_FONT; + gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE, 0); +} |