~ubuntu-branches/ubuntu/utopic/gnome-online-accounts/utopic

« back to all changes in this revision

Viewing changes to src/goabackend/nautilus-floating-bar.c

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson, Laurent Bigonville, Andreas Henriksson
  • Date: 2014-05-16 11:42:52 UTC
  • mfrom: (1.1.28) (0.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20140516114252-u5ect6mk6ht8i38x
Tags: 3.12.2-1
[ Laurent Bigonville ]
* debian/control.in: Recommends realmd package (Closes: #725965)

[ Andreas Henriksson ]
* New upstream release.
  - Removes chat support from Windows Live provider (XMPP gateway gone).
* Bump Standards-Version to 3.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * Library General Public License for more details.
16
16
 *
17
17
 * You should have received a copy of the GNU Library General Public
18
 
 * License along with this library; if not, write to the
19
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
 
 * Boston, MA 02111-1307, USA.
 
18
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
21
19
 *
22
20
 * Authors: Cosimo Cecchi <cosimoc@redhat.com>
23
21
 *
230
228
        self->priv->spinner = w;
231
229
 
232
230
        gtk_widget_set_size_request (w, 16, 16);
233
 
        gtk_widget_set_margin_left (w, 8);
 
231
        gtk_widget_set_margin_start (w, 8);
234
232
 
235
233
        w = gtk_label_new (NULL);
236
234
        gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_MIDDLE);
341
339
 
342
340
void
343
341
nautilus_floating_bar_add_action (NautilusFloatingBar *self,
344
 
                                  const gchar *stock_id,
 
342
                                  const gchar *icon_name,
345
343
                                  gint action_id)
346
344
{
347
345
        GtkWidget *w, *button;
348
346
 
349
 
        w = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU);
 
347
        w = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU);
350
348
        gtk_widget_show (w);
351
349
 
352
350
        button = gtk_button_new ();