~ubuntu-branches/ubuntu/trusty/bluefish/trusty

« back to all changes in this revision

Viewing changes to src/dialog_utils.c

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert
  • Date: 2012-06-27 22:28:39 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20120627222839-5g0f5s6gpaezfhve
Tags: 2.2.3-1
* New upstream release.
* debian/control: Dropped DM-Upload-Allowed.
  (Maintainer): Set to my new address.
  (Suggests): Calculate browsers depending on distribution.
  (Depends): Added python depends for newly shipped Python scripts.
* debian/copyright: Minor update. Link to GPLv2 text.
* debian/rules: Enabled hardening. Added python2 module. Calculate brwoser
  dependencies via dpkg-vendor.
* debian/patches/LP810663_blacklist_from_appmenu.patch: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Bluefish HTML Editor
2
2
 * dialog_utils.c - dialog utility functions
3
3
 *
4
 
 * Copyright (C) 2005-2011 James Hayward and Olivier Sessink
 
4
 * Copyright (C) 2005-2012 James Hayward and Olivier Sessink
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify
7
7
 * it under the terms of the GNU General Public License as published by
498
498
        GtkWidget *label;
499
499
 
500
500
        label = gtk_label_new(NULL);
501
 
        gtk_label_set_markup_with_mnemonic(GTK_LABEL(label), labeltext);
 
501
        if (labeltext)
 
502
                gtk_label_set_markup_with_mnemonic(GTK_LABEL(label), labeltext);
502
503
        gtk_misc_set_alignment(GTK_MISC(label), xalign, yalign);
503
504
        gtk_box_pack_start(GTK_BOX(box), label, FALSE, FALSE, padding);
504
505
 
519
520
        GtkWidget *alignment, *vbox;
520
521
 
521
522
        alignment = gtk_alignment_new(0, 0, 1, 1);
522
 
        gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 0, 0, 12, 6);
 
523
        gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 0, 0, 8, 4);
523
524
        gtk_box_pack_start(GTK_BOX(box), alignment, FALSE, FALSE, 0);
524
 
        vbox = gtk_vbox_new(FALSE, 12);
 
525
        vbox = gtk_vbox_new(FALSE, 8);
525
526
        gtk_container_add(GTK_CONTAINER(alignment), vbox);
526
527
 
527
528
        return vbox;