~ubuntu-branches/ubuntu/lucid/giggle/lucid

« back to all changes in this revision

Viewing changes to src/giggle-branches-view.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrea Corradi
  • Date: 2009-03-30 19:41:43 UTC
  • mfrom: (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090330194143-nyr9ze1xola1shm5
Tags: 0.4.91-1
* New upstream release (Closes:  #519014)
* Use Standards-Version 3.8.1
* Add new Build-Depends
* Update Homepage and watch file
* Update debian/copyright
* Remove patch
* Update path in debian/rules
* Remove defs option from LDFLAGS

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Boston, MA 02111-1307, USA.
19
19
 */
20
20
 
21
 
#include <config.h>
 
21
#include "config.h"
 
22
#include "giggle-branches-view.h"
 
23
 
 
24
#include <libgiggle/giggle-ref.h>
 
25
#include <libgiggle/giggle-job.h>
 
26
 
 
27
#include <libgiggle-git/giggle-git.h>
 
28
#include <libgiggle-git/giggle-git-refs.h>
 
29
 
22
30
#include <glib/gi18n.h>
23
 
#include <gtk/gtk.h>
24
 
 
25
 
#include "giggle-branches-view.h"
26
 
#include "giggle-git-refs.h"
27
 
#include "giggle-ref.h"
28
 
#include "giggle-job.h"
29
 
#include "giggle-git.h"
30
31
 
31
32
typedef struct GiggleBranchesViewPriv GiggleBranchesViewPriv;
32
33
 
77
78
                                                 GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
78
79
                                                 GTK_MESSAGE_ERROR,
79
80
                                                 GTK_BUTTONS_OK,
80
 
                                                 _("An error ocurred when retrieving branches list:\n%s"),
 
81
                                                 _("An error occurred when retrieving branches list:\n%s"),
81
82
                                                 error->message);
82
83
 
83
84
                gtk_dialog_run (GTK_DIALOG (dialog));
144
145
                                  G_CALLBACK (branches_view_update), view);
145
146
 
146
147
        g_object_set (view, "label", _("Branches:"), NULL);
 
148
 
 
149
        /* initialize for first time */
 
150
        branches_view_update (view);
147
151
}
148
152
 
149
153
static void