Logo Search packages:      
Sourcecode: pan version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes

pan::PostUI Class Reference
[GUI]

#include <post-ui.h>

Inheritance diagram for pan::PostUI:
Inheritance graph
[legend]
Collaboration diagram for pan::PostUI:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void apply_profile ()
void close_window ()
void manage_profiles ()
void open_draft ()
void prompt_for_charset ()
GtkWidget * root ()
void rot13_selection ()
void save_draft ()
void send_now ()
void set_always_run_editor (bool)
void set_charset (const StringView &)
void set_spellcheck_enabled (bool)
void set_wrap_mode (bool wrap)
void spawn_editor ()
void wrap_body ()

Static Public Member Functions

static PostUIcreate_window (GtkWindow *, Data &, Queue &, GroupServer &, Profiles &, GMimeMessage *, Prefs &, GroupPrefs &)

Protected Member Functions

 PostUI (GtkWindow *, Data &, Queue &, GroupServer &, Profiles &, GMimeMessage *, Prefs &, GroupPrefs &)

Private Types

enum  Mode { DRAFTING, POSTING }
typedef std::map< std::string,
std::string > 
str2str_t

Private Member Functions

void add_actions (GtkWidget *box)
void apply_profile_to_body ()
void apply_profile_to_headers ()
bool check_charset ()
bool check_message (const Quark &server, GMimeMessage *)
GtkWidget * create_body_widget (GtkTextBuffer *&, GtkWidget *&, const pan::Prefs &)
GtkWidget * create_extras_tab ()
GtkWidget * create_main_tab ()
void done_sending_message (GMimeMessage *, bool)
std::string get_body () const
Profile get_current_profile ()
void maybe_mail_message (GMimeMessage *)
bool maybe_post_message (GMimeMessage *)
GMimeMessage * new_message_from_ui (Mode mode)
virtual void on_progress_error (Progress &, const StringView &)
virtual void on_progress_finished (Progress &, int status)
virtual void on_progress_pulse (Progress &)
virtual void on_progress_status (Progress &, const StringView &)
virtual void on_progress_step (Progress &, int percentage UNUSED)
void populate_from_message (GMimeMessage *)
void set_message (GMimeMessage *)
void update_profile_combobox ()
void update_widgetry ()
std::string utf8ize (const StringView &) const

Static Private Member Functions

static void body_view_realized_cb (GtkWidget *, gpointer)
static void body_widget_resized_cb (GtkWidget *, GtkAllocation *, gpointer)
static void group_entry_changed_cb (GtkEditable *, gpointer)
static gboolean group_entry_changed_idle (gpointer)

Private Attributes

GtkActionGroup * _agroup
GtkTextBuffer * _body_buf
GtkWidget * _body_view
std::string _charset
std::string _current_signature
Data_data
GtkWidget * _followupto_entry
GtkWidget * _from_combo
unsigned long _group_entry_changed_id
unsigned int _group_entry_changed_idle_tag
GroupPrefs_group_prefs
GtkWidget * _groups_entry
GroupServer_gs
GtkTextBuffer * _headers_buf
str2str_t _hidden_headers
GMimeMessage * _message
GtkWidget * _message_id_check
GtkWidget * _post_dialog
TaskPost_post_task
Prefs_prefs
str2str_t _profile_headers
Profiles_profiles
Queue_queue
GtkWidget * _replyto_entry
GtkWidget * _root
GtkWidget * _subject_entry
TextMassager _tm
GtkWidget * _to_entry
GtkTooltips * _ttips
GtkUIManager * _uim
std::string _unchanged_body
GtkWidget * _user_agent_check
int _wrap_pixels
gulong body_view_realized_handler

Detailed Description

Dialog for posting new messages Pan's GTK GUI.

Definition at line 39 of file post-ui.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index