~ubuntu-branches/ubuntu/quantal/gnusim8085/quantal

« back to all changes in this revision

Viewing changes to src/gui-list-message.c

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2011-02-21 00:01:55 UTC
  • mfrom: (4.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110221000155-8k286v0kurbve3fp
Tags: 1.3.7-1
* New upstream release.
* debian/control
  - Update standards version to 3.9.1.
  - Reduce debhelper version required to 5 as no dh7 features are used.
  - Remove autotools-dev build-dep. Not needed anymore.
* debian/copyright
  - Update as per latest source.
* debian/rules
  - Exclude asm-guide.txt from compression as it is loaded by application.
* debian/source/format
  - Specify 1.0 source format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  Copyright (C) 2003  Sridhar Ratnakumar <srid@nearfar.org>
 
2
  Copyright (C) 2003  Sridhar Ratnakumar <sridhar.ratna@gmail.com>
3
3
        
4
4
  This file is part of GNUSim8085.
5
5
 
15
15
 
16
16
  You should have received a copy of the GNU General Public License
17
17
  along with GNUSim8085; if not, write to the Free Software
18
 
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
  Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
19
  02110-1301, USA.
19
20
*/
20
21
 
21
22
#ifdef HAVE_CONFIG_H
43
44
  g_assert (view);
44
45
 
45
46
  renderer = gtk_cell_renderer_text_new ();
 
47
  g_object_set (renderer, "wrap-mode", PANGO_WRAP_WORD, "wrap-width", 250, NULL);
46
48
  column = gtk_tree_view_column_new_with_attributes (title,
47
 
                                                                                                         renderer,
48
 
                                                                                                         "text", id, NULL);
 
49
                                                         renderer,
 
50
                                                         "text", id, NULL);
49
51
  gtk_tree_view_append_column (GTK_TREE_VIEW (view), column);
50
52
}
51
53
 
71
73
 
72
74
  gtk_widget_grab_focus (app->editor->widget);
73
75
  gui_editor_goto_line (app->editor, ln-1);
 
76
  gui_editor_clear_all_highlights (app->editor);
 
77
  gui_editor_set_highlight (app->editor, ln-1, TRUE);
74
78
 
75
79
}
76
80