hildon-application-manager:mainline.git
12 years agoImplemented 3rd party package policy to no break SSU.
Víctor Manuel Jáquez Leal [Tue, 2 Jun 2009 14:56:22 +0000 (16:56 +0200)]
Implemented 3rd party package policy to no break SSU.

* src/apt-worker-proto.h: Added status_incompatible_thirdparty installable
  package status.
* src/apt-worker.cc (package_policy_status): New function.
  (cmd_get_package_info): Set the installable status given the new function.

12 years agoUpdated toolbar logic strings.
Víctor Manuel Jáquez Leal [Wed, 3 Jun 2009 08:41:40 +0000 (10:41 +0200)]
Updated toolbar logic strings.

* src/main.cc (installed_package_selected) (make_install_section_view)
  (make_upgrade_applications_view) (make_uninstall_applications_view)
  (make_search_results_view) (set_operation_label): Updated logical strings in
  toolbar.

12 years agoDon't refresh the current view after retrieving the package list. (NB#120002)
David Kedves [Tue, 2 Jun 2009 13:00:23 +0000 (15:00 +0200)]
Don't refresh the current view after retrieving the package list. (NB#120002)

* src/main.cc (get_package_list_reply): Don't refresh the current view
  after retrieving the package list. (NB#120002)

12 years agoStops the entertainment dialogue when the package download fails. (NB#119941)
David Kedves [Tue, 2 Jun 2009 12:04:01 +0000 (14:04 +0200)]
Stops the entertainment dialogue when the package download fails. (NB#119941)

* src/operations.cc (ip_download_cur_reply): Stops the entertainment dialogue
  when the package download fails before annoying the user (NB#119941).

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
12 years agoDisconnect "map" event on finalize. (NB#115611)
David Kedves [Tue, 2 Jun 2009 09:25:25 +0000 (11:25 +0200)]
Disconnect "map" event on finalize. (NB#115611)

* statusbar/ham-updates-status-menu-item.c
  (ham_updates_status_menu_item_finalize): Disconnect map event on ancestor
  widget.
  (ham_updates_status_menu_item_parent_set): Save the ancestor widget.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
12 years agoPrepare 2.2.22 (once again)
Víctor Manuel Jáquez Leal [Tue, 2 Jun 2009 10:21:06 +0000 (12:21 +0200)]
Prepare 2.2.22 (once again)

12 years agoRelease 2.2.21-2 release_2.2.21-2
Víctor Manuel Jáquez Leal [Tue, 2 Jun 2009 07:39:30 +0000 (09:39 +0200)]
Release 2.2.21-2

12 years agoPrepare 2.2.22 (again)
Víctor Manuel Jáquez Leal [Mon, 1 Jun 2009 14:47:18 +0000 (16:47 +0200)]
Prepare 2.2.22 (again)

12 years agoRelease 2.2.21-1 release_2.2.21-1
Víctor Manuel Jáquez Leal [Mon, 1 Jun 2009 14:40:01 +0000 (16:40 +0200)]
Release 2.2.21-1

12 years agoDon't use chroot to run text2screen in rescue mode.
Gabriel Schulhof [Mon, 1 Jun 2009 07:42:36 +0000 (09:42 +0200)]
Don't use chroot to run text2screen in rescue mode.

* src/apt-worker.cc (show_fb_text) (show_fb_status): Don't chroot the
  text2screen command execution.

13 years agoPrepare 2.2.22
Víctor Manuel Jáquez Leal [Thu, 28 May 2009 16:26:03 +0000 (18:26 +0200)]
Prepare 2.2.22

13 years agoRelease 2.2.21 release_2.2.21
Víctor Manuel Jáquez Leal [Thu, 28 May 2009 16:15:05 +0000 (18:15 +0200)]
Release 2.2.21

13 years agoRevert "Let official category translations override the community ones."
Marius Vollmer [Thu, 28 May 2009 12:00:18 +0000 (15:00 +0300)]
Revert "Let official category translations override the community ones."

This reverts commit b4adfe927af7dba0e99f80ec92fa31123658d4ea.
Reverting "Let official category translations override the community ones."

13 years agoInvalid logical ids. (NB#118348)
David Kedves [Wed, 27 May 2009 07:04:43 +0000 (09:04 +0200)]
Invalid logical ids. (NB#118348)

* src/menu.cc (create_menu): Use the new "ai_me_settings" id.
* src/settings.cc (show_settings_dialog_flow): Use the "wdgt_bd_save" id
  (NB#118348)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoDeinitialize OSSO at finalize. (NB#115611)
David Kedves [Wed, 27 May 2009 12:17:54 +0000 (14:17 +0200)]
Deinitialize OSSO at finalize. (NB#115611)

* /statusbar/ham-updates-status-menu-item.c
  (ham_updates_status_menu_item_finalize): Deinitialize OSSO. Removes the
  alarm source id.
  (close_dbus): New function.
  (ham_updates_status_menu_item_init): Holds the alarm setup source.
  (run_service_now): Reset the alarm source id. (NB#115611)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoAdmit as valid bearer types GPRS and WIMAX.
Víctor Manuel Jáquez Leal [Mon, 25 May 2009 16:56:01 +0000 (18:56 +0200)]
Admit as valid bearer types GPRS and WIMAX.

* statusbar/ham-updates-status-menu-item.c
  (ham_updates_status_menu_item_connection_cb): Admit as valid bearer types
  GPRS and WIMAX.

13 years agoMerge branch 'master' of git@dvcs.projects.maemo.org:hildon-application-manager
Marius Vollmer [Wed, 27 May 2009 15:50:45 +0000 (18:50 +0300)]
Merge branch 'master' of git@dvcs.projects.maemo.org:hildon-application-manager

13 years agoLet official category translations override the community ones.
Marius Vollmer [Wed, 27 May 2009 15:49:44 +0000 (18:49 +0300)]
Let official category translations override the community ones.

* src/main.cc (nicify_section_name): Here.

13 years agoSet the device to offline mode when doing an OS upgrade (NB#118137).
David Kedves [Wed, 27 May 2009 11:27:33 +0000 (13:27 +0200)]
Set the device to offline mode when doing an OS upgrade (NB#118137).

* src/dbus.cc (get_device_mode) (set_device_mode): New functions.
* src/dbuc.h (device_mode): New enum type.
* src/operations.cc (ip_maybe_offline_device_mode)
  (ip_maybe_restore_device_mode): New functions.
  (ip_install_cur): Offline the device if needed.
  (ip_install_cur_reply): Restore the device mode. (NB#118137)

Based on Hult Richard <richard@imendio.com> snippet.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoFixed the displacement size of domain keys.
Víctor Manuel Jáquez Leal [Mon, 25 May 2009 16:44:35 +0000 (18:44 +0200)]
Fixed the displacement size of domain keys.

* src/apt-worker.cc (find_deb_meta_index): Calculate the response string size
  in order to obtain the displacement to extract the domain key.

13 years agoFix typo in fi_FI category translations (NB#117616).
Marius Vollmer [Mon, 25 May 2009 16:31:02 +0000 (19:31 +0300)]
Fix typo in fi_FI category translations (NB#117616).

13 years agoAdding some missing dependencies.
David Kedves [Fri, 22 May 2009 13:09:23 +0000 (15:09 +0200)]
Adding some missing dependencies.

* debian/control: Added l10n dependencies.

13 years agoDropped the unused function scare_user_with_legalese. (NB#118348)
David Kedves [Fri, 22 May 2009 14:07:05 +0000 (16:07 +0200)]
Dropped the unused function scare_user_with_legalese. (NB#118348)

* src/util.cc (scare_user_with_legalese): Removed function. (NB#118348)

13 years agoInvalid logical id. (NB#118348)
David Kedves [Mon, 25 May 2009 08:03:36 +0000 (10:03 +0200)]
Invalid logical id. (NB#118348)

* src/operations.cc (ip_install_with_info): Changed invalid logical id
  "Install" for "ai_tb_install". (NB#118348)

13 years agoFiltering out installing from memory card code. (NB#118348)
David Kedves [Mon, 25 May 2009 08:00:50 +0000 (10:00 +0200)]
Filtering out installing from memory card code. (NB#118348)

* src/instr.cc (eci_with_temp_catalogues): ifdef memory card installing.
* src/operations.cc (ip_install_with_info) (ip_select_package_response): ifdef
  memory card installing and adding /*NOALLOC*/ to unused logical ids.
  (NB#118348)

13 years agoRemoving invalid logical id. (NB#118348)
David Kedves [Mon, 25 May 2009 07:35:31 +0000 (09:35 +0200)]
Removing invalid logical id. (NB#118348)

* src/repo.cc (show_cat_edit_dialog): Removed "ai_bd_new_repository_cancel"
  (NB#118348)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoRemoved unused source code files.
David Kedves [Mon, 25 May 2009 08:29:07 +0000 (10:29 +0200)]
Removed unused source code files.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoEnhance the domain validation. (NB#103607)
David Kedves [Fri, 22 May 2009 11:50:58 +0000 (13:50 +0200)]
Enhance the domain validation. (NB#103607)

* src/apt-worker.cc (find_domain_by_tag): Compare only the end of the tag.
  (get_meta_info_key): Accept also GOODSIG as return value. (NB#103607)

13 years agoFixed code style.
David Kedves [Fri, 22 May 2009 11:49:48 +0000 (13:49 +0200)]
Fixed code style.

* src/apt-worker-proto.h: Removed a spurious comma in enum definition.

13 years agoLaunch a different dialogue if the package to installed failed and it's a OS
Víctor Manuel Jáquez Leal [Fri, 22 May 2009 11:23:24 +0000 (13:23 +0200)]
Launch a different dialogue if the package to installed failed and it's a OS
update.

* src/operations.cc (ip_abort_cur_os_update)
  (ip_abort_cur_os_update_response): New functions.
  (ip_abort_cur): If the failed package is a OS update launch the new
  dialogue.

13 years agoAdded and used a new function to launch osso-backup.
Víctor Manuel Jáquez Leal [Fri, 22 May 2009 11:21:08 +0000 (13:21 +0200)]
Added and used a new function to launch osso-backup.

* src/operations.cc (launch_osso_backup): New function.
  (ip_warn_about_reboot_response): Replace th code for the new function.

13 years agoUse the is_pkg_ssu function.
Víctor Manuel Jáquez Leal [Fri, 22 May 2009 11:18:18 +0000 (13:18 +0200)]
Use the is_pkg_ssu function.

* src/details.cc (spd_with_details): Use the is_pkg_ssu function instead of
  the local calculation.

13 years agoNew function to check if a package is a broken system update.
Víctor Manuel Jáquez Leal [Fri, 22 May 2009 11:14:23 +0000 (13:14 +0200)]
New function to check if a package is a broken system update.

* src/util.cc (is_pkg_ssu): New function.

13 years agoConform the details dialogue to spec.
Víctor Manuel Jáquez Leal [Thu, 21 May 2009 19:10:22 +0000 (21:10 +0200)]
Conform the details dialogue to spec.

* src/details.cc (spd_create_ssu_page): Use the proposed logical string.
  (spd_with_details): Reorder the tabs and their content in case of a broken
  SSU package.

13 years agoUpdated to Hildon widgets in details dialogue.
Víctor Manuel Jáquez Leal [Thu, 21 May 2009 19:01:51 +0000 (21:01 +0200)]
Updated to Hildon widgets in details dialogue.

* src/details.cc (spd_create_common_page) (make_small_text_label)
  (spd_create_summary_page): Use HildonPannableArea instead of
  GtkScrolledWindow.
  (spd_with_details): Update deprecated Gtk API.

13 years agoMisc code style fixes.
Víctor Manuel Jáquez Leal [Thu, 21 May 2009 18:56:21 +0000 (20:56 +0200)]
Misc code style fixes.

* src/details.cc (spd_update_common_page): Code style fixes.

13 years agoUse a macro defining the icon size.
Gabriel Schulhof [Thu, 21 May 2009 11:17:43 +0000 (13:17 +0200)]
Use a macro defining the icon size.

* src/repo.cc (cat_icon_func): Use a macro insted of a harcoded value to
  define the icon size.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoUse Hildon widgets in the edit catalogues dialogue.
Gabriel Schulhof [Wed, 20 May 2009 17:56:41 +0000 (19:56 +0200)]
Use Hildon widgets in the edit catalogues dialogue.

* src/repo.cc (add_entry): Use HildonEntry.
  (cat_edit_response): Use HildonCheckButton.
  (show_cat_edit_dialog): Use HildonCheckButton.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoUse GtkTable widgets in main view to make spacings consistent.
Gabriel Schulhof [Wed, 20 May 2009 11:12:58 +0000 (13:12 +0200)]
Use GtkTable widgets in main view to make spacings consistent.

* src/main.cc (make_main_view): Use GtkTable widget to make spacing
  consistent. Besides, use hildon-helper to set the label color.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoPrevent the button expand in section list.
Víctor Manuel Jáquez Leal [Tue, 19 May 2009 11:16:40 +0000 (13:16 +0200)]
Prevent the button expand in section list.

* src/util.cc (make_global_section_list): Set the table's attach options for
  the buttons in section list.

13 years agoWhen the user modified the catalogue list and interrupted the package list
David Kedves [Tue, 19 May 2009 10:16:24 +0000 (12:16 +0200)]
When the user modified the catalogue list and interrupted the package list
downloading the old package cache is still used. (NB#102707)

* src/apt-worker.cc (cmd_set_catalogues): Request to update the package
  cache after the catalogue setting. (NB#102707)
* src/main.cc (get_package_list_reply): Refresh the current view after
  fetching the package list.
  (rpcwu_reply): Don't save the last update time if the update was
  cancelled.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoSince catalogue setting doesn't need network operations, ensuring the
David Kedves [Tue, 19 May 2009 10:08:55 +0000 (12:08 +0200)]
Since catalogue setting doesn't need network operations, ensuring the
network is avoided in those operations. (NB#102050)

* src/main.cc (set_catalogues_and_refresh_cont): Function removed.
  (set_catalogues_and_refresh) (add_temp_catalogues_and_refresh): Don't
  ensure network before setting the catalogues. (NB#102050)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoAvoid a gtk warning.
Víctor Manuel Jáquez Leal [Mon, 18 May 2009 10:45:25 +0000 (12:45 +0200)]
Avoid a gtk warning.

* src/util.cc (hide_main_window): Check if the current pointer to the main
  window is a valid widget pointer.

13 years agoRemoved GtkScrolledWindow calls in HildonPannableArea widgets.
Víctor Manuel Jáquez Leal [Mon, 18 May 2009 10:43:20 +0000 (12:43 +0200)]
Removed GtkScrolledWindow calls in HildonPannableArea widgets.

* src/util.cc (make_scare_user_with_legalese): Removed
  gtk_scrolled_window_set_policiy call.
  (scroll_to_widget): Removed gtk_scrolled_window_get_vadjustment call.
  (make_global_section_list): Removed gtk_scrolled_window_set_policiy
  call.

13 years agoUse themed buttons for main view (NB#117277)
Víctor Manuel Jáquez Leal [Mon, 18 May 2009 10:34:45 +0000 (12:34 +0200)]
Use themed buttons for main view (NB#117277)

* src/main.cc (make_padded_button): Use hildon_gtk_button_new instead of
  gtk_button_new. (NB#117277)

13 years agoReenabled the .run binaries without launcher dependency.
Víctor Manuel Jáquez Leal [Mon, 18 May 2009 08:27:30 +0000 (10:27 +0200)]
Reenabled the .run binaries without launcher dependency.

13 years agoForgot to add build dependency on maemo-launcher-dev to debian/control.
Gabriel Schulhof [Fri, 15 May 2009 10:28:41 +0000 (13:28 +0300)]
Forgot to add build dependency on maemo-launcher-dev to debian/control.

13 years agoRemoving utils/maemo-confirm-text, which was accidentally added
Gabriel Schulhof [Fri, 15 May 2009 08:34:10 +0000 (11:34 +0300)]
Removing utils/maemo-confirm-text, which was accidentally added

13 years agoMerge branch 'master' of https://dvcs.projects.maemo.org/git/hildon-application-manager
Gabriel Schulhof [Fri, 15 May 2009 08:24:27 +0000 (11:24 +0300)]
Merge branch 'master' of https://dvcs.projects.maemo.org/git/hildon-application-manager

13 years agoUse maemo-launcher only if the "nolauncher" value is absent from the "DEB_BUILD_OPTIO...
Gabriel Schulhof [Fri, 15 May 2009 08:07:12 +0000 (11:07 +0300)]
Use maemo-launcher only if the "nolauncher" value is absent from the "DEB_BUILD_OPTIONS" list

13 years ago update logical id based on NB#106181
Richard Sun [Fri, 15 May 2009 07:58:58 +0000 (10:58 +0300)]
 update logical id based on NB#106181

13 years agoUpdated the status menu item logical string (NB#113409)
Víctor Manuel Jáquez Leal [Thu, 14 May 2009 12:24:14 +0000 (14:24 +0200)]
Updated the status menu item logical string (NB#113409)

* statusbar/ham-updates.c (ham_updates_build_button): Fixed the logical string
  used in the status menu button (NB#113409)

13 years agoDon't hide the restore button in menu, just set it as inactive.
Víctor Manuel Jáquez Leal [Thu, 14 May 2009 12:02:11 +0000 (14:02 +0200)]
Don't hide the restore button in menu, just set it as inactive.

* src/menu.cc (create_menu): Set the restore button in menu as inactive if
  there's not a backup.

13 years agoSync the seen_update files.
Víctor Manuel Jáquez Leal [Thu, 14 May 2009 11:51:12 +0000 (13:51 +0200)]
Sync the seen_update files.

* src/main.cc (update_seen_updates_file): update the icon file too.
* statusbar/ham-updates.c (ham_updates_dialog_response_cb): update the icon
  file too.

13 years agoPrepare 2.2.21 (again)
Víctor Manuel Jáquez Leal [Thu, 14 May 2009 09:53:59 +0000 (11:53 +0200)]
Prepare 2.2.21 (again)

13 years agoRelease 2.2.20-1 release_2.2.20-1
Víctor Manuel Jáquez Leal [Thu, 14 May 2009 09:46:27 +0000 (11:46 +0200)]
Release 2.2.20-1

13 years agoBypass the icon visibility transition rules when loading its state.
Víctor Manuel Jáquez Leal [Thu, 14 May 2009 09:35:00 +0000 (11:35 +0200)]
Bypass the icon visibility transition rules when loading its state.

* statusbar/ham-updates-status-menu-item.c (load_icon_state): Bypassed the
  icon state transition rules.

13 years agoUse a pannable area to contain the section list.
Víctor Manuel Jáquez Leal [Wed, 13 May 2009 14:19:55 +0000 (16:19 +0200)]
Use a pannable area to contain the section list.

* src/util.cc (make_global_section_list): Use a HildonPannableArea instead of
  a GtkScrolledWindow to show the sections table.

13 years agoSections in two columns and finger-sized. (NB#116290)
Víctor Manuel Jáquez Leal [Wed, 13 May 2009 14:18:30 +0000 (16:18 +0200)]
Sections in two columns and finger-sized. (NB#116290)

* src/util.cc (make_global_section_list): Use HildonButton with height of
  finger-size, and the number of columns to show is two. (NB#116290)

13 years agoHandle read-only filesystem errors. (NB#113743)
David Kedves [Mon, 4 May 2009 12:02:47 +0000 (14:02 +0200)]
Handle read-only filesystem errors. (NB#113743)

* src/util.cc (annoy_user_with_gnome_vfs_result): handle
  GNOME_VFS_ERROR_READ_ONLY and GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM
  value returns.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoPrepare 2.2.21
Víctor Manuel Jáquez Leal [Wed, 13 May 2009 09:46:10 +0000 (11:46 +0200)]
Prepare 2.2.21

13 years agoRelease 2.2.20 release_2.2.20
Víctor Manuel Jáquez Leal [Wed, 13 May 2009 09:33:58 +0000 (11:33 +0200)]
Release 2.2.20

13 years agoAnnoy user when the IAP disconnects at downloading. (NB#103611)
David Kedves [Tue, 12 May 2009 18:14:19 +0000 (20:14 +0200)]
Annoy user when the IAP disconnects at downloading. (NB#103611)

* src/operations.cc (ip_download_cur_reply): Check if the entertainment
  process was "broke" and show the information note if so.
* src/util.cc (start_entertaining_user): Initialize the broke status to
  false.
  (break_entertainment) (entertainment_was_broke): New functions.
  (iap_callback): Break the entertainment if the iap status is disconnected.
* src/util.h (break_entertainment) (entertainment_was_broke): Export and
  document functions.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoUpdate view menu to Hildon 2.2 (NB#112804)
David Kedves [Tue, 12 May 2009 10:54:49 +0000 (12:54 +0200)]
Update view menu to Hildon 2.2 (NB#112804)

* src/main.cc (installed_package_selected): Removed the
  set_operation_menu_item_sensitiveness function.
  (set_details_callback): Removed the set_details_menu_sensitive
  function.
  (set_operation_label): Removed the function set_operation_menu_label.
  (window_delete_event): Don't call menu_close, instead do the
  operations by itself.
  (make_new_window): Don't create a menu per window, instead add the
  window to the application.
  (enable_search): Removed the function set_search_menu_sensitive.
  (main): Create the main menu here.
* src/menu.cc (add_item): Use the HildonAppMenu, creates buttons and
  append them to the menu.
  (create_menu): Removed accel group, create the HildonAppMenu reorder
  the menu items to a single menu view.
* src/menu.h: Removed unused functions.

This patch also merges the patch sent by Soini Mox
<ext-mox.soini@nokia.com>

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoRemoved context sensitive menus. (NB#113654)
Víctor Manuel Jáquez Leal [Tue, 12 May 2009 09:52:10 +0000 (11:52 +0200)]
Removed context sensitive menus. (NB#113654)

* src/menu.cc (create_package_menu): Hide the function with TAP_AND_HOLD
  define.
* src/menu.h (create_package_menu): Hide the function with TAP_AND_HOLD
  define.
* src/repo.cc (add_entry): Marked the end of the define block.
* src/util.cc (tap_and_hold_cb): Hide the function with TAP_AND_HOLD
  define.
  (make_global_package_list): Hide the menu widget with TAP_AND_HOLD define.

13 years agoUse the specified icon to show the failed repositories.
Víctor Manuel Jáquez Leal [Mon, 11 May 2009 07:49:31 +0000 (09:49 +0200)]
Use the specified icon to show the failed repositories.

* src/repo.cc (cat_icon_func): Use "app_install_error" icon to show failed
  repositories.

13 years agoReset the show dialogue errors ignoring intention.
Víctor Manuel Jáquez Leal [Mon, 11 May 2009 11:23:13 +0000 (13:23 +0200)]
Reset the show dialogue errors ignoring intention.

* src/operations.cc (ip_end) (up_end): force to show the catalogue errors.
* src/repo.cc (scdf_end): force to show the catalogue errors.
* src/main.cc (rpcwuf_end): force to show the catalogue errors.

13 years agoShow catalogue error dialog flow.
Víctor Manuel Jáquez Leal [Mon, 11 May 2009 07:09:34 +0000 (09:09 +0200)]
Show catalogue error dialog flow.

* src/main.cc (force_show_catalogue_errors)
  (show_catalogue_errors_dialog) (scedf_check_catalogues)
  (scedf_dialog_done) (scedf_end) (scedf_cont)
  (show_update_partially_successfull_dialog_flow): New functions.
  (check_catalogues_reply): Run the update partially successfull
  dialogue flow.
* src/main.h (force_show_catalogue_errors) Function exported.

Based on the patches provided by David Kedves <dkedves@blumsoft.eu>

13 years agoAvoid set sensitive attribute to non-instanciated button.
Víctor Manuel Jáquez Leal [Fri, 8 May 2009 17:34:02 +0000 (19:34 +0200)]
Avoid set sensitive attribute to non-instanciated button.

* src/repo.cc (show_catalogue_dialog): initialize to null the
  button widget and change the sensitive attribute the "new" button only
  if it was instanciated.
  (scd_get_catalogues_reply): change the sensitive attribute to the
  "new" button only if it was instanciated.

13 years agoCreate an empty seen-notifications file either there's no file right now or if
Víctor Manuel Jáquez Leal [Fri, 8 May 2009 11:45:25 +0000 (13:45 +0200)]
Create an empty seen-notifications file either there's no file right now or if
the available-notifications is different from it. (NB#114920)

* statusbar/ham-notifier.c (ham_notifier_empty_seen_notifications): Create an
  empty seen-notifications file either there's no file right now or if the
  available-notifications is different from it. (NB#114920)
  (new_notifications) (ham_notifier_are_available): minor indentation fixes.

13 years agoSet rules for icon state transtition (NB#114920).
Víctor Manuel Jáquez Leal [Fri, 8 May 2009 10:30:00 +0000 (12:30 +0200)]
Set rules for icon state transtition (NB#114920).

* statusbar/ham-updates-status-menu-item.c
  (ham_updates_status_menu_item_map_event): take out the rule from here
  (set_icon_state): set all the rules at this point.

13 years agoOnly stop blinking when user taps on status-bar instead of hiding it.
David Kedves [Thu, 7 May 2009 13:22:11 +0000 (15:22 +0200)]
Only stop blinking when user taps on status-bar instead of hiding it.
(NB#114920)

* statusbar/ham-updates-status-menu-item.c
(ham_updates_status_menu_item_map_event): When the status area is tapped
the icon stops the blinking. (NB#114920)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoPrepare 2.2.20
Víctor Manuel Jáquez Leal [Wed, 29 Apr 2009 16:40:59 +0000 (18:40 +0200)]
Prepare 2.2.20

13 years agoRelease 2.2.19 release_2.2.19
Víctor Manuel Jáquez Leal [Wed, 29 Apr 2009 16:30:46 +0000 (18:30 +0200)]
Release 2.2.19

13 years agoUpdated the FUTURE and PAST files.
Víctor Manuel Jáquez Leal [Wed, 29 Apr 2009 15:01:21 +0000 (17:01 +0200)]
Updated the FUTURE and PAST files.

13 years agoWorkaround for pop_dialog assertion.
David Kedves [Wed, 29 Apr 2009 09:37:09 +0000 (11:37 +0200)]
Workaround for pop_dialog assertion.

* src/util.cc (end_interaction_flow): Workaround for popping the last
  widget in the dialog stack, that should be the current window and
  also the window where the interaction flow started. See the FUTURE
  file for details.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoTracing messages at pushing and popping dialogues.
Víctor Manuel Jáquez Leal [Wed, 29 Apr 2009 13:42:31 +0000 (15:42 +0200)]
Tracing messages at pushing and popping dialogues.

* src/main.cc (get_main_window): print the current main window pointer.
* src/util.cc (push_dialog): trace parent/child dialogues pushing.
  (pop_dialog): trace parent/child dialogues popping.

13 years agoShow the in the details dialogue that the device must be reflashed.
Víctor Manuel Jáquez Leal [Wed, 29 Apr 2009 11:21:13 +0000 (13:21 +0200)]
Show the in the details dialogue that the device must be reflashed.

* src/details.cc (spd_create_ssu_page): New function.
  (spd_with_details): Show the ssu page if it's an update details of a
  system_update package not able to update/install. If so don't show the
  details page either.

13 years agoRevert "Show the user annoyance dialogue as a Hildon confirmation note."
Víctor Manuel Jáquez Leal [Mon, 27 Apr 2009 14:17:19 +0000 (16:17 +0200)]
Revert "Show the user annoyance dialogue as a Hildon confirmation note."

This reverts commit 03e82df372aec571c18f5897b594dccdc07b4255.

13 years agoUse the hildon-libs text domain for common widgets.
Víctor Manuel Jáquez Leal [Mon, 27 Apr 2009 13:43:55 +0000 (15:43 +0200)]
Use the hildon-libs text domain for common widgets.

* src/util.cc (select_package_list_with_info): Use the hildn-libs text domain
  for yes/no dialogue buttons.

13 years agoShow an error message if any catalogue didn't refresh or if there's not
David Kedves [Fri, 24 Apr 2009 14:15:20 +0000 (16:15 +0200)]
Show an error message if any catalogue didn't refresh or if there's not
catalogues defined. (NB#111866, NB#109807)

* src/main.cc (check_catalogues_reply): Show an error message if any
  catalogue didn't refresh or if there's not catalogues defined.
  (NB#111866, NB#109807)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoHandle repositories without distribution name. (NB#103998)
David Kedves [Fri, 24 Apr 2009 11:00:17 +0000 (13:00 +0200)]
Handle repositories without distribution name. (NB#103998)

* src/apt-worker.cc (find_catalogues_for_item_desc): Handle repositories
  without distribution name. (NB#1039908)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoPrepare 2.2.19
Víctor Manuel Jáquez Leal [Sun, 26 Apr 2009 14:58:02 +0000 (16:58 +0200)]
Prepare 2.2.19

13 years agoRelease 2.2.18 release_2.2.18
Víctor Manuel Jáquez Leal [Sun, 26 Apr 2009 14:55:41 +0000 (16:55 +0200)]
Release 2.2.18

13 years agoThe setting of the current view is the first activity in the topmost callback.
Víctor Manuel Jáquez Leal [Fri, 24 Apr 2009 18:05:30 +0000 (20:05 +0200)]
The setting of the current view is the first activity in the topmost callback.

* src/main.cc (is_topmost_cb): The setting of the current view is the first
  activity callback.

13 years agoShow the user annoyance dialogue as a Hildon confirmation note.
Víctor Manuel Jáquez Leal [Fri, 24 Apr 2009 17:26:12 +0000 (19:26 +0200)]
Show the user annoyance dialogue as a Hildon confirmation note.

* src/util.cc (annoy_user_with_details_1): Set the window hint as a
  notification window type.

13 years agoThe progress bar ignores the outside-tapping. (NB#112259)
Víctor Manuel Jáquez Leal [Fri, 24 Apr 2009 17:18:03 +0000 (19:18 +0200)]
The progress bar ignores the outside-tapping. (NB#112259)

* src/util.cc (start_entertaining_user): The progress bar always will ignore
  the delete-event (no tapping outside to dismiss). (NB#112259)

13 years agoProper Hildon initialization. (NB#112804)
Soini Mox [Thu, 23 Apr 2009 14:37:29 +0000 (16:37 +0200)]
Proper Hildon initialization. (NB#112804)

* src/ham-after-boot.c (main):
* src/main.cc (main):
* src/mime-open.c (main): Proper Hildon initialization
  ( hildon_gtk_init() ), which is required for proper use of Hildon
  libraries. (NB#112804)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoRevert "Use an non-translated string for an unsupported feature."
Víctor Manuel Jáquez Leal [Thu, 23 Apr 2009 14:01:53 +0000 (16:01 +0200)]
Revert "Use an non-translated string for an unsupported feature."
(NB#112751)

This reverts commit fe8dbab2f824f04b36cff6ebc74170895129ec84.

13 years agoUse a GtkDialog for error messages with details instead of a hacked
Víctor Manuel Jáquez Leal [Thu, 23 Apr 2009 13:44:23 +0000 (15:44 +0200)]
Use a GtkDialog for error messages with details instead of a hacked
Hildon information note. (NB#112638)

* src/util.cc (annoy_user_with_details_1): Use a GtkDialog for error messages
  with details instead of a hacked Hildon information note. (NB#112638)

13 years agoSeparate and wrap the non-nokia warning in a pannable area. (NB#111749)
Víctor Manuel Jáquez Leal [Wed, 22 Apr 2009 10:18:14 +0000 (12:18 +0200)]
Separate and wrap the non-nokia warning in a pannable area. (NB#111749)

* src/util.cc (make_scare_user_with_legalese): New function.
  (install_confirm): Take out the non-nokia warning into another label wrapped
  in pannable area. (NB#111749)

13 years agoSet the current window pointer when the window is created.
Víctor Manuel Jáquez Leal [Wed, 22 Apr 2009 09:20:42 +0000 (11:20 +0200)]
Set the current window pointer when the window is created.

* src/main.cc (show_view): Set here.
  (is_topmost_cb): Not here. A crash was observed.

13 years agoMark the non-nokia package warning is shown in small size font. (NB#111749)
Víctor Manuel Jáquez Leal [Tue, 21 Apr 2009 16:59:11 +0000 (18:59 +0200)]
Mark the non-nokia package warning is shown in small size font. (NB#111749)

* src/util.cc (install_confirm): Mark the non-nokia package warning with small
  size font. (NB#111749)

13 years agoFixed HAL procedure to obtain the battery status. (NB#103701)
David Kedves [Tue, 21 Apr 2009 11:11:45 +0000 (13:11 +0200)]
Fixed HAL procedure to obtain the battery status. (NB#103701)

* src/dbus.cc (enough_battery_p): Used the correct return value of
libhal_device_get_property_bool and break the loop if the battery is
charging. (NB#103701)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoUpdated the bluetooth dbus (bluez) interface which retrieves the device
David Kedves [Tue, 21 Apr 2009 10:39:42 +0000 (12:39 +0200)]
Updated the bluetooth dbus (bluez) interface which retrieves the device
name. (NB#96564)

* src/dbus.cc (string_property_from_message) (string_value_from_signal):
  New functions.
  (set_bt_name_from_message): Handle if the message came from a
  property.
  (btname_received) (handle_dbus_signal): Use the new function signature
  for set_bt_name_from_message.
  (btadapter_received): New function.
  (init_dbus_or_die): Use the new bluetooth interface. (NB#96564)

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
13 years agoUse an non-translated string for an unsupported feature.
Víctor Manuel Jáquez Leal [Tue, 21 Apr 2009 10:06:42 +0000 (12:06 +0200)]
Use an non-translated string for an unsupported feature.

* src/menu.cc (create_menu): Instead of a logical string we'll show an english
  string.

13 years agoThe main_window pointer acts as a pointer to the current window. (NB#111795)
Víctor Manuel Jáquez Leal [Tue, 21 Apr 2009 09:50:37 +0000 (11:50 +0200)]
The main_window pointer acts as a pointer to the current window. (NB#111795)

* src/main.cc (is_topmost_cb): Set main_window as the current top most window.
  (main): Set the cur_view_struct as the main_view at the begining.

13 years agoCapture the map event of the parent widget so we can know when the status menu
Víctor Manuel Jáquez Leal [Mon, 20 Apr 2009 17:12:45 +0000 (19:12 +0200)]
Capture the map event of the parent widget so we can know when the status menu
is open. (NB#109501)

* statusbar/ham-updates-status-menu-item.c
  (ham_updates_status_menu_item_init): Connect the parent-set event.
  (ham_updates_status_menu_item_map_event)
  (ham_updates_status_menu_item_parent_set): New functions.
  (update_icon_state): Update the icon seen file.

13 years agoHandle the icon seen updates different from the button seen updates.
Víctor Manuel Jáquez Leal [Mon, 20 Apr 2009 16:44:56 +0000 (18:44 +0200)]
Handle the icon seen updates different from the button seen updates.

* statusbar/ham-updates-status-menu-item.c (update_state): Handle the icon
  seen updates different from the button seen updates.

13 years agoSupport the icon seen files.
Víctor Manuel Jáquez Leal [Mon, 20 Apr 2009 15:54:44 +0000 (17:54 +0200)]
Support the icon seen files.

* src/user_files.h: Added the "seen-updates-icon" user file.
* statusbar/ham-updates.c statusbar/ham-updates.h
  (ham_updates_update_seen_file) (ham_updates_are_available_icon): New
  functions.

Support the icon seen files.