~ubuntu-branches/ubuntu/wily/evolution/wily

« back to all changes in this revision

Viewing changes to widgets/menus/gal-view-etable.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-05-24 22:36:14 UTC
  • mfrom: (1.1.90) (1.7.20 experimental)
  • Revision ID: package-import@ubuntu.com-20120524223614-exaxktbdlt72uryf
Tags: 3.4.2-1ubuntu1
* Merge with Debian. Remaining changes:
  - debian/control:
    - Build-Depend on python-dev (for the python module) and libpst-dev
      (for the pst-import plugin).
    - Don't build depend on libchamplain (it's in universe) and disable the
      contact maps plugin
    - Don't build-depend on clutter since mx isn't in main yet
    - Depend on gnome-icon-theme-full instead of gnome-icon-theme
    - Have evolution-dev depend on libevolution instead of evolution
    - Update Vcs-* fields.
  - debian/rules:
    - use --enable-pst-import, --enable-python, --disable-contacts-map,
      and --with-clutter=no
  - debian/patches:
    - 01_ubuntu_signature.patch: don't set the ubuntu signature as default
      for new accounts.
    - 04_delay_alarm_notifier.patch: delay alarm-notifier by 30 seconds.
    - 09_add_ubuntuone_email.patch: add patch to add Ubuntu One introduction.
    - 10_desktop_shortcuts.patch: fix the calendar shortcut to appear in the
      Launcher.
    - 11_remove_upstream_submit_bugreport.patch: Remove 'Submit Bug Report'
      option from Help menu.
    - 20_skip_broken_gconf_conversions.patch: Don't install the window size
      gconf conversions. Besides not being very useful, they are broken and
      cause gnome-settings-daemon to fail to start
    - 62_no_upstream_email_notification_by_default.patch: don't enable the
      notification icon by default since the message indicator is running.
    - 89_remove_component_id_registration.patch: ignore -c component gconf
      registration on launching just "evolution".
    - 91_add_u1_email_translations.patch: Add translations for Ubuntu One
      welcome mail https://wiki.ubuntu.com/Translations/Wanted/UbuntuOneEmail
    - onlyshowin-add-unity.patch: add Unity to the OnlyShowIn field in
      desktop files.
    - alarm-notify-nodisplay.patch: don't show the alarm notifier
      in gnome-session-properties (add NoDisplay=true to the .desktop file).
  - debian/evolution-common.gsettings-override:
    - Disable systray for alarms, as Unity doesn't have a systray. Use popup
      windows instead.
    - Correct the path to spamd as /usr/sbin/spamd.
  - debian/evolution-common.install: install signature.py to generate the
    "Sent from Ubuntu" signature.
* Dropped Ubuntu patches:
  - 02_fix_missing_include_for_composer.patch: doesn't seem needed
  - 89_remove_quit_button.patch: This didn't seem to do anything & we don't
    use express mode for anything now anyway
  - 61_translate_menu_entry.patch: No longer needed
  - 62_no_upstream_email_notification_by_default.patch: Obsolete
  - 93_no_tray_icon_by_default.patch: Use gsettings override instead
  - spamd_sbin_path.patch: Use gsettings override instead
  - nss-paths.patch: Included by Debian as 02_nss_paths.patch
  - git_edit_as_new_from_addr_3dc8b0b.patch: Already applied
  - gmodule-linking.patch: Already applied
  - libpst-pst_open-args.patch: Already applied
  - git_crash_in_mail_sidebar_936a488.patch: Already applied
  - 99git_remove_g_thread_init_09c88ab.patch: Already applied

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
                                    etable_view->state,
87
87
                                    parent);
88
88
 
89
 
        g_signal_connect (config, "changed",
90
 
                         G_CALLBACK (config_changed), view);
 
89
        g_signal_connect (
 
90
                config, "changed",
 
91
                G_CALLBACK (config_changed), view);
91
92
}
92
93
 
93
94
static void
134
135
        new = g_object_new (GAL_TYPE_VIEW_ETABLE, NULL);
135
136
        new->spec  = gve->spec;
136
137
        new->title = g_strdup (gve->title);
 
138
        g_object_unref (new->state);
137
139
        new->state = e_table_state_duplicate (gve->state);
138
140
 
139
141
        g_object_ref (new->spec);
164
166
}
165
167
 
166
168
static void
167
 
gal_view_etable_class_init (GalViewEtableClass *klass)
 
169
gal_view_etable_class_init (GalViewEtableClass *class)
168
170
{
169
 
        GalViewClass *gal_view_class  = GAL_VIEW_CLASS (klass);
170
 
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
171
        GalViewClass *gal_view_class  = GAL_VIEW_CLASS (class);
 
172
        GObjectClass *object_class = G_OBJECT_CLASS (class);
171
173
 
172
174
        gal_view_class->edit          = gal_view_etable_edit;
173
175
        gal_view_class->load          = gal_view_etable_load;
296
298
 
297
299
        e_table_set_state_object (view->table, view->state);
298
300
        g_object_ref (view->table);
299
 
        view->table_state_changed_id =
300
 
                g_signal_connect (view->table, "state_change",
301
 
                                 G_CALLBACK (table_state_changed), view);
 
301
        view->table_state_changed_id = g_signal_connect (
 
302
                view->table, "state_change",
 
303
                G_CALLBACK (table_state_changed), view);
302
304
}
303
305
 
304
306
void
314
316
 
315
317
        e_tree_set_state_object (view->tree, view->state);
316
318
        g_object_ref (view->tree);
317
 
        view->tree_state_changed_id =
318
 
                g_signal_connect (view->tree, "state_change",
319
 
                                 G_CALLBACK (tree_state_changed), view);
 
319
        view->tree_state_changed_id = g_signal_connect (
 
320
                view->tree, "state_change",
 
321
                G_CALLBACK (tree_state_changed), view);
320
322
}
321
323
 
322
324
void