summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 0ea38f416..76097cbe3 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -501,6 +501,13 @@ void preview_window_expose_cb(void);
// Some style definitions for the preview window and hud
const gchar *hud_rcstyle =
+"style \"ghb-entry\" {\n"
+"GtkEntry::inner-border = {2,2,1,1}\n"
+"}\n"
+"style \"ghb-combo\" {\n"
+"xthickness = 1\n"
+"ythickness = 1\n"
+"}\n"
"style \"ghb-preview\" {\n"
"bg[NORMAL]=\"black\"\n"
"}\n"
@@ -516,6 +523,8 @@ const gchar *hud_rcstyle =
"fg[ACTIVE]=\"white\"\n"
"fg[PRELIGHT]=\"white\"\n"
"}\n"
+"widget_class \"*.GtkComboBox.GtkToggleButton\" style \"ghb-combo\"\n"
+"widget_class \"*.GtkEntry\" style \"ghb-entry\"\n"
"widget \"preview_window.*.preview_hud.*\" style \"ghb-hud\"\n"
"widget \"preview_window\" style \"ghb-preview\"\n";
@@ -565,6 +574,9 @@ main (int argc, char *argv[])
watch_volumes (ud);
ud->builder = create_builder_or_die (BUILDER_NAME);
+ //GtkWidget *widget = GHB_WIDGET(ud->builder, "PictureDetelecineCustom");
+ //gtk_entry_set_inner_border(widget, 2);
+
// Set up the "hud" control overlay for the preview window
GtkWidget *draw, *hud, *blender, *align;