You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-fixi...

37 lines
1.4 KiB

--- a/README
+++ b/README
@@ -28,6 +28,7 @@
bright or max dark depending on the current value.
Changelog:
+ Sat 20 Mar 2004 Fixed the "Info" tab (Billy Goto)
2.5 Sun 20 Oct 2002 Removed need for external helper applications
entirely. SonyPI is now required, but no suid
or spicctrl binaries are needed.
--- a/vaiobright.c
+++ b/vaiobright.c
@@ -422,21 +422,9 @@
(GtkSignalFunc) vaiobright_toggle_toggled, REVERSE_TOGGLE);
/* Help tab */
- frame = gtk_frame_new(NULL);
- gtk_container_border_width(GTK_CONTAINER(frame),3);
- scrolled = gtk_scrolled_window_new(NULL,NULL);
- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled),
- GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC);
-
- gtk_container_add(GTK_CONTAINER(frame),scrolled);
- label = gtk_label_new("Info");
- gtk_notebook_append_page(GTK_NOTEBOOK(tabs),frame,label);
-
- text = gtk_text_view_new();
- gtk_text_view_set_editable(GTK_TEXT_VIEW(text),FALSE);
+ vbox = gkrellm_gtk_framed_notebook_page(tabs,"Info");
+ text = gkrellm_gtk_scrolled_text_view(vbox, NULL, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
vaiobright_create_help_text(text);
- gtk_container_add(GTK_CONTAINER(scrolled),text);
-
/* About tab */
plugin_about_text = g_strdup_printf(