/gpump/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/gpump/trunk

« back to all changes in this revision

Viewing changes to src/GPumpApp.c

  • Committer: Gustav Hartvigsson
  • Date: 2014-02-09 19:02:49 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140209190249-yr1kctvdom40q7ey
Added tooltips to the buttons in the header bar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
  GtkWidget * gear_icon = gtk_image_new_from_icon_name(
116
116
    "emblem-system-symbolic", GTK_ICON_SIZE_LARGE_TOOLBAR);
117
117
  gtk_button_set_image (GTK_BUTTON (priv->btn_gear), gear_icon);
 
118
  
 
119
  gtk_widget_set_tooltip_text (GTK_WIDGET (priv->btn_gear), "GPupm gear menu");
118
120
}
119
121
 
120
122
void _prepere_new_post_button (GPumpApp * self) {
127
129
  
128
130
  gtk_header_bar_pack_start (GTK_HEADER_BAR (priv->header_bar),
129
131
    priv->btn_new_post);
 
132
  gtk_widget_set_tooltip_text (GTK_WIDGET (priv->btn_new_post),
 
133
    "Create new post");
130
134
}
131
135
 
132
136
void _prepere_window (GPumpApp * self) {
167
171
  priv->btn_refresh = gtk_button_new ();
168
172
  gtk_button_set_image (GTK_BUTTON (priv->btn_refresh), refresh_icon);
169
173
  gtk_header_bar_pack_start (GTK_HEADER_BAR(priv->header_bar), priv->btn_refresh);
 
174
  gtk_widget_set_tooltip_text (GTK_WIDGET (priv->btn_refresh),
 
175
    "Refresh the stream");
170
176
}
171
177
 
172
178
/* * Callback implemenations **************************************************/