aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/callbacks.c
diff options
context:
space:
mode:
authorGravatar koral <koral@mailoo.org>2011-02-02 16:25:54 +0100
committerGravatar koral <koral@mailoo.org>2011-02-02 16:25:54 +0100
commit7fbebb427be655ee17de0b786e0ce9a3d86ea3d8 (patch)
treef6f24fb07f0345909c91199ee5379d7369deea28 /src/callbacks.c
parent375a896be26f1ee580fa80a7a73a272bc27a9287 (diff)
Cleaning/commenting uzbl-core.h.
Diffstat (limited to 'src/callbacks.c')
-rw-r--r--src/callbacks.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 7b06873..f6fe284 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -8,11 +8,12 @@
#include "events.h"
#include "util.h"
+
void
set_proxy_url() {
SoupURI *suri;
- if(uzbl.net.proxy_url == NULL || *uzbl.net.proxy_url == ' ') {
+ if (uzbl.net.proxy_url == NULL || *uzbl.net.proxy_url == ' ') {
soup_session_remove_feature_by_type(uzbl.net.soup_session,
(GType) SOUP_SESSION_PROXY_URI);
}
@@ -23,9 +24,11 @@ set_proxy_url() {
suri, NULL);
soup_uri_free(suri);
}
+
return;
}
+
void
set_authentication_handler() {
/* Check if WEBKIT_TYPE_SOUP_AUTH_DIALOG feature is set */
@@ -45,10 +48,12 @@ set_authentication_handler() {
return;
}
+
void
set_status_background() {
GdkColor color;
gdk_color_parse (uzbl.behave.status_background, &color);
+
/* labels and hboxes do not draw their own background. applying this
* on the vbox/main_window is ok as the statusbar is the only affected
* widget. (if not, we could also use GtkEventBox) */
@@ -58,6 +63,7 @@ set_status_background() {
gtk_widget_modify_bg (GTK_WIDGET(uzbl.gui.plug), GTK_STATE_NORMAL, &color);
}
+
void
set_icon() {
if(file_exists(uzbl.gui.icon)) {