summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-13 02:36:45 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-13 02:36:45 (EDT)
commit980fefc173df2cd805f8fa7987d3544a34d2b342 (patch)
tree31528aa0adfbf01bfb17923ecfda4bb91631f393 /src
parent45e10b6706a683d7541ed227a306e0336eed2dd6 (diff)
downloadmarquee-980fefc173df2cd805f8fa7987d3544a34d2b342.zip
marquee-980fefc173df2cd805f8fa7987d3544a34d2b342.tar.gz
marquee-980fefc173df2cd805f8fa7987d3544a34d2b342.tar.bz2
MqStopReloadButton: Add a few comments and line breaks
Diffstat (limited to 'src')
-rw-r--r--src/stop-reload-button.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stop-reload-button.c b/src/stop-reload-button.c
index a55f571..7a006a3 100644
--- a/src/stop-reload-button.c
+++ b/src/stop-reload-button.c
@@ -152,12 +152,17 @@ mq_stop_reload_button_class_init(MqStopReloadButtonClass *klass)
static void
mq_stop_reload_button_init(MqStopReloadButton *stop_reload_button)
{
+ /* Stop icon */
stop_reload_button->stop_icon = gtk_image_new_from_icon_name(
"process-stop", GTK_ICON_SIZE_SMALL_TOOLBAR);
g_object_ref_sink(stop_reload_button->stop_icon);
+
+ /* Reload icon */
stop_reload_button->reload_icon = gtk_image_new_from_icon_name(
"view-refresh", GTK_ICON_SIZE_SMALL_TOOLBAR);
g_object_ref_sink(stop_reload_button->reload_icon);
+
+ /* Button */
gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(stop_reload_button),
stop_reload_button->stop_icon);
gtk_tool_button_set_label(GTK_TOOL_BUTTON(stop_reload_button), "Stop");