aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-info-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-info-label.c')
-rw-r--r--widgets/misc/e-info-label.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/widgets/misc/e-info-label.c b/widgets/misc/e-info-label.c
index e38d4692cc..617a92f350 100644
--- a/widgets/misc/e-info-label.c
+++ b/widgets/misc/e-info-label.c
@@ -73,7 +73,7 @@ static void
el_class_init(GObjectClass *klass)
{
klass->finalize = el_finalise;
-
+
((GtkObjectClass *)klass)->destroy = el_destroy;
((GtkWidgetClass *)klass)->expose_event = el_expose_event;
}
@@ -101,12 +101,12 @@ e_info_label_get_type(void)
/**
* e_info_label_new:
- * @icon:
- *
+ * @icon:
+ *
* Create a new info label widget. @icon is the name of the icon
* (from the icon theme) to use for the icon image.
- *
- * Return value:
+ *
+ * Return value:
**/
GtkWidget *
e_info_label_new(const char *icon)
@@ -114,7 +114,7 @@ e_info_label_new(const char *icon)
EInfoLabel *el = g_object_new(e_info_label_get_type(), NULL);
GtkWidget *image;
char *name = e_icon_factory_get_icon_filename (icon, E_ICON_SIZE_MENU);
-
+
image = gtk_image_new_from_file(name);
g_free(name);
gtk_misc_set_padding((GtkMisc *)image, 6, 6);
@@ -128,10 +128,10 @@ e_info_label_new(const char *icon)
/**
* e_info_label_set_info:
- * @el:
- * @location:
- * @info:
- *
+ * @el:
+ * @location:
+ * @info:
+ *
* Set the information to show on the label. @location is some
* context about the current view. e.g. the folder name. If the
* label is too wide, this will be truncated.