~ubuntu-branches/ubuntu/trusty/pcmanfm/trusty-proposed

« back to all changes in this revision

Viewing changes to src/ptk/ptk-input-dialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2008-09-26 10:19:20 UTC
  • mfrom: (4.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080926101920-cfldybkmwgwrtv9u
Tags: 0.5-3
* Correct spellings,  03_correct_spelling.dpatch (Closes:498794) 
* Code in some files are taken from other projects, added these
  informations into copyright file. (Closes:499678)
* Applied 04_defaut_terminal.dpatch to support x-terminal-emulator
  alternative. (Closes:497494) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
*  C Implementation: ptk-input-dialog
3
3
*
4
 
* Description: 
 
4
* Description:
5
5
*
6
6
*
7
7
* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2005
29
29
    GtkWidget* entry;
30
30
    dlg = gtk_dialog_new_with_buttons( title,
31
31
                                       parent,
32
 
                                       GTK_DIALOG_MODAL,
 
32
                                       0,
33
33
                                       GTK_STOCK_CANCEL,
34
34
                                       GTK_RESPONSE_CANCEL,
35
35
                                       GTK_STOCK_OK,
36
36
                                       GTK_RESPONSE_OK,
37
37
                                       NULL );
 
38
    gtk_dialog_set_alternative_button_order( dlg, GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1 );
 
39
 
38
40
    box = ( ( GtkDialog* ) dlg )->vbox;
39
41
    label = gtk_label_new( prompt );
40
42
    gtk_box_pack_start( GTK_BOX( box ), label, FALSE, FALSE, 4 );